.Net5 Blazor application

Ami Sett 1 Reputation point
2020-11-24T19:21:30.93+00:00

Hi,
I have a project I'm developing using .Net Core 3.1 for a Blazor server-side project. As I only started this recently, I thought why not move the code to .Net5. So I've just copied and pasted most of my application over and renamed the namespaces and updated some NuGet packages as required.
However, functionality seems to be working in the dev environment on my pc (via code) but when I publish locally to IIS, that functionality just isn't working!!!

Any ideas anyone?
Am I missing something obvious?

Thanks in advance
Ami

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,398 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Kevork Keheian 1 Reputation point
    2020-11-27T05:44:47.213+00:00

    I think you only installed the runtime of .net 5.0
    Make sure you install the hosting bundle of .net 5.0

    0 comments No comments

  2. Ami Sett 1 Reputation point
    2020-11-27T17:06:23.88+00:00

    All installed on server. Getting : This site can’t be reached with a port number of 465 & ERR_UNSAFE_PORT.
    Any ideas?

    Thanks in advance