Combining MVC + Blazor in the same project

前端 未结 2 1911
[愿得一人]
[愿得一人] 2021-02-07 12:20

Our current application is now running on ASP.NET Core (MVC) and I was wondering is there will be an offical way to use MVC and Blazor (client side) in the same project?

2条回答
  •  迷失自我
    2021-02-07 12:39

    According to ASP.NET Core 3.0 Preview 2 release notes

    Currently you cannot use Blazor directly with ASP.NET Core MVC but you can use with newly introduced Razor Component. Microsoft is expecting using Blazor directly with ASP.NET Core MVC will be possible in the upcoming versions of ASP.MET Core.

    For more details: ASP.NET Core updates in .NET Core 3.0 Preview 2

提交回复
热议问题