How to Deploy .Net Core 3.1/Blazor Application to Local IIS

preview_player
Показать описание
In this video, I go through the process to set up a .Net Core application to run in your local IIS. The steps are listed in a numbered format below. If you have any questions, feel free to comment them below.

1.)Download Runtime + Hosting Bundle/Install for your version of .Net Core
2.)Download SDK/Install for your version of .Net Core
3.)Ensure that IIS Manager is enabled for viewing on your PC
4.)Create a new application pool for .Net Core in IIS
5.)Create a folder that you plan to publish your app files to locally
6.)Create a new website in IIS, give the website a domain in the editor,
point it to the publish folder you created earlier
7.)Edit the hosts file in your system files
8.)Create your visual studio solution
9.)Publish to the folder specified in step 6

00:00-00:28 Introduction
00:28-02:04 Download Runtime + hosting bundle and install
02:04-02:35 Download SDK and install
02:35-03:40 Ensure that you can view IIS Manager
03:40-04:35 Set up application pool for your .Net Core Application
04:35-06:46 Create a new site in IIS that points to your publish folder
06:46-08:39 Publish your .Net Core application to your website folder
08:39-10:17 Edit the hosts file in your System to match the IIS domain
10:17-11:09 Application running + Outro

--SUPPORT ME HERE--

--FOLLOW ME--
Рекомендации по теме
Комментарии
Автор

I'd like to understand something. If I have a blazor sever application and will like to set it up locally on one of my client's PC or laptop? Would that mean I need to install Visual studio and perhaps sql server management on the clients PC or laptop before I can publish the app locally for my client ? I'm trying to understand how I can deploy the app on another pc without needing to use Visual studio.

jamesscott
Автор

thanks. important issue : vs must be launched with administrator priviliges

alisriti
Автор

Great video!
Do you know if this can be done without having to publish each time?
With ASP.Net Framework 4.5 I could build to a folder and just host the folder directly through IIS but now with core we seem to have to publish like this each time instead of just a regular build.

sol-uk
Автор

Thank you. But what about https setup?

girornsveinsson