29 thoughts on “Installing an ASP .NET CORE Site on an IIS Server

  1. You have to change this video introducing music, it's terrible. But the content is great. Thanks for sharing Jeremy

  2. 24 Core 16 GB 2TB Dedicated Server with 1000 mbps Internet Port $64/month

    Please visit www.datasoft.ws for more details.

  3. Hi Jeremy, that was great thanks. The firm I work for is very risk averse, are there any risks with installing the .NET Core Windows Hosting Service in a Production environment please?

  4. Jeremy, I had followed your instruction but it is not working, I have the error was like "An error occurred while starting the application.

    .NET Core 4.6.27617.05 X64 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.2.0-rtm-35687 | Microsoft Windows 10.0.17134 | Need help?"
    Is this error means my Hosting installed is not matched with my project?

  5. You need to watch this a x1.5 speed so you don't fall to sleep before he gets to the useful bit, otherwise very helpful

  6. I had to additionally install the SDK AFTER the Hosting bundle due to errors about ANCM hosting process, even tried to change to AspNetCoreModule instead of AspNetCoreModuleV2 and received similar errors. Works fine now. Is it possible the hosting bundle only installs the runtimes or something strange about the SDK install setting the config differently?

  7. My steps inspired by this confusing video:
    1. https://www.microsoft.com/net/download, "Other Windows downloads" / "Can't find the file you want? Find more in .NET Core 2.1 downloads." –> https://www.microsoft.com/net/download/dotnet-core/2.1, on the right "Run apps – Runtime" / "Runtime 2.1.6" / Windows / "ASP.NET Core/.NET Core: Runtime & Hosting Bundle"; instaLL this on the server

    2. iisreset (beware! run it when people don't work on the hosted webs; will restart all webs, e.g. forgets their sessions)

    3. in the web project's folder, run "dotnet publish -c Release"

    4. on the server create the folder for the web app and copy there the inside of (you project)binReleasenetcoreapp2.1publish

    5. in the IIS, create the app pool: ".NET CLR version"="No Managed Code"

    6. in the IIS, "Add Website" or "Add Application" under a website (as a subfolder), choose that app pool

  8. I'm a little bit confused, because you did the publish to a folder saying that we should copy those files to the server, but later on when you create a folder on wwwroot (dotnetmvc) you put inside this folder the content from other folder called MVCApp. Why you didn't copy the content inside the folder "binReleasenetcoreapp2.0publish"?

Leave a Reply

Your email address will not be published. Required fields are marked *