Skip to content

TcPirate1/Publish_and_Deploy_practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Publishing and Deploying app

Steps

Important notes

  • Self-contained publishing does not need users to have .NET runtimes. Framework-dependent publishing does. Both are platform dependent so important to specify the runtime identifier, otherwise it defaults to the currently used platform.
  • Docker images/containers can either be created in Docker or at the same time when publishing .NET apps. Both ways require Docker to run.
  • Docker containers can be created an ran in 2 ways. One with docker create and with docker run. The former creates a container and the latter creates and runs a container. The former is more handy when it isn't necessary to run the container upon it's creation.
  • Git tags default to lightweight tags. Consider using an alias for annotated tags as they are generally more useful.