locked
Using blazor in asp.net MVC projects ? RRS feed

  • Question

  • User-79977429 posted

    Hi

    Is there any way to use blazor (to create spa) in Asp.Net MVC without .Net Core ?

    Thanks in advance

    Thursday, April 16, 2020 7:39 AM

All replies

  • User475983607 posted

    Is there any way to use blazor (to create spa) in Asp.Net MVC without .Net Core ?

    No. Blazor requires Core.  This fact is very clear if you read the official docs.

    Thursday, April 16, 2020 10:40 AM
  • User-474980206 posted

    Your only option is a blazor webassembly project with no backend. 

        dotnet new blazorwasm

    This project type only create static files hosted by a web server. For dev with mvc create a folder In the mvc root. The create the blazor project there. 

    Thursday, April 16, 2020 2:11 PM
  • User-857013053 posted

    No, Blazor is supported in  Asp.NET core . If you use blazor then you can use core mvc in your projects 

    Monday, April 20, 2020 8:39 PM
  • User-474980206 posted

    No, Blazor is supported in  Asp.NET core . If you use blazor then you can use core mvc in your projects 

    only if you use server side blazor must the website be core. a web assembly blazor projects works with any backend.

    Monday, April 20, 2020 9:24 PM