RE: Blazor server deploy to Azure

2020-11-24 Thread David Apelt
I had this last night as I upgraded an Azure project to .Net Core 5.0. The App Service refused to start with the same error message. (I recognise Greg is doing a Web App) I destroyed the App Service and created a new one and selected the framework “.Net 5 Early Access” as the “run time stack”.

RE: Blazor server deploy to Azure

2020-11-24 Thread Nick Randolph
of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Built to Roam Pty Ltd. From: ozdotnet-boun...@ozdotnet.com On Behalf Of Greg Keogh Sent: Wednesday, 25 November 2020 10:19 AM To: ozDotNet Subject: Re: Blazor

Re: Blazor server deploy to Azure

2020-11-24 Thread Greg Keogh
> > > Unfortunately you can’t always do this – for example because of the > hosting model for Azure Functions you have to use a framework version > that’s supported. This will change with the new hosting model (actually > it’s basically the same hosting model that’s used for all other frameworks >

RE: Blazor server deploy to Azure

2020-11-24 Thread Nick Randolph
am Pty Ltd. From: ozdotnet-boun...@ozdotnet.com On Behalf Of Greg Keogh Sent: Wednesday, 25 November 2020 9:14 AM To: ozDotNet Subject: Re: Blazor server deploy to Azure Have you got the right version of for net core installed on the server? Since I'm deploying to an Azure Web App I t

Re: Blazor server deploy to Azure

2020-11-24 Thread Greg Keogh
> Have you got the right version of for net core installed on the server? > Since I'm deploying to an Azure Web App I thought that was out of my control -- *GK*

Re: Blazor server deploy to Azure

2020-11-24 Thread Tony Wright
Have you got the right version of for net core installed on the server? On Wed, 25 Nov 2020, 8:52 am Greg Keogh, wrote: > Folks, I created a simple Blazor Server Core 5 app using the Visual Studio > 2019 template, and it runs nicely in local debugging. When I deploy it to > Azure I get > > HTTP

Re: Blazor server deploy to Azure

2020-11-24 Thread Greg Keogh
> > > Have you tried deploying with “self-contained” set to true (dotnet > publish command - .NET Core CLI | Microsoft Docs > ). If > you’re using command line you just need to include the self-contained flag. > If you’re using

RE: Blazor server deploy to Azure

2020-11-24 Thread Nick Randolph
Have you tried deploying with “self-contained” set to true (dotnet publish command - .NET Core CLI | Microsoft Docs). If you’re using command line you just need to include the self-contained flag. If you’re using VS, it’s one