No, you pick client as the interactive render mode to create an asp.net hosted WASM blazor app.
I can't find the Blazor Web Assembly option, I only see two options the Blazor Web App and the standalone Web Assembly application but none of them give me the ASP .NET Core Hosted option, why?
I do have a question related to this topic because I want to start a project with the Blazor WebAssembly App template but it is no longer only those two that you mention. according to a video it should look like this:
I would like to know if the way I have it is the same or similar:
and the result of the video after finishing it looks like this with the file explorer but I get it without the .Shared section at the end :
2 answers
Sort by: Most helpful
-
-
Tiny Wang-MSFT 3,066 Reputation points Microsoft Vendor
2025-01-21T02:50:51.1733333+00:00 Hi @Carlos Enrique Canales L�pez , the screenshot you shared already gave you the answer. It has to choose .Net version before .Net 8.
In .Net 8, blazor imports a new template named blazor web app and removed blazor server, and the ASP.NET Core Hosted option has been removed from the Blazor WebAssembly template too. You can see the description in this section.
So that if you choose .Net 7 or .Net 6, you will be able to see this option. But both of the versions are out of support now.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Tiny