Azure Publish Asp.net core 5.0 hosted web assembly ( VS 2019)

Chandra Mohan 461 Reputation points
2020-12-06T13:12:25.023+00:00

I've created a new Asp.NET Core 5.0 Blazor web assembly hosted on Asp.net core server. Publishing the app to Azure is taking longer times. I notice lots of dll's getting copied/uploaded in the build output view every time the app is published. Could you please help in resolving this issue.

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,402 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,236 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Michael Washington 911 Reputation points MVP
    2020-12-06T16:39:15.483+00:00

    1) Ensure that your Azure App Service is set to .NET 5

    45503-image.png

    45484-image.png

    Then when publishing, ensure that you are not using "self-contained". You need to use "Framework-dependent"

    45474-image.png

    2 people found this answer helpful.
    0 comments No comments