Join Nate Barbettini for an in-depth discussion in this video Self-hosting with Kestrel, part of Deploying ASP.NET Core Applications.
- View Offline
- [Male Narrator] Now that .NET Core is set up…on our Linux machine, let's deploy and run…an ASP.NET Core application.…We can double check to make sure .NET Core is really…installed correctly by running dotnet --info again.…Everything looks good.…The next step is to get our application's…published binaries onto the Linux machine.…You can do this by running dotnet publish…on another machine, as I talked about previously,…and then copying the files over the network,…or you can compile from source directly on Linux.…In my case, I already ran dotnet publish…and then copied the files over to my Linux box.…
Those files are here, under the HelloCoreWorld folder,…and we have a folder called publish.…What I'm going to do is create a folder called websites…under /var to put these in a more central place.…I can do sudo mkdir /var/websites,…and then we'll do the same thing,…make a subfolder called HelloCoreWorld,…and what I want to do is copy the contents…of that published folder into that new directory I created.…I can do that with sudo cp -r, forward cursive,…
- Setting up your ASP.NET project
- Setting up IIS
- Creating an IIS site and app pool
- Publishing your app with Visual Studio or the command line
- Deploying to Azure
- Deploying to Linux
- Deploying with Docker
Skill Level Intermediate
1. Get Started
2. Deploying to IIS
3. Deploying to Azure
Get started with Azure1m 4s
4. Deploying to Linux
5. Deploying with Docker
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.