Learn how to customize the publishing output of your ASP.NET Core application by editing the project file. Nate explains the publishing-related project settings and discusses when it makes sense to change these values.
- [Narrator] Before we dive in to publishing…an ASP.NET Core application, let's explore the options…related to publishing that are available…in the project file.…You can view and edit the project file,…by right clicking on the project…in the Solution Explorer, and choosing Edit.…The csproj file defines the…dependencies for your application,…what framework your building against, and so on.…It can also be used to include or exclude…additional files from the publishing process.…For example, if you have a file that's outside…the wwwroot folder, it won't automatically be included…in the published artifact or site.…
You can manually include it,…by adding some markup to your csproj.…Let's say there's a file called readme.md…in the root of the solution,…and if we want to include this in the published site…we can add some markup here in the project file.…We need to add an ItemGroup element,…and then the ResolvedFileToPublish element,…and we'll tell it to include readme.md.…Next, we need to say where we want that file to end up,…
- 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.