Skip to content

Experiment to see how to make MVC and Blazor co-exist

Notifications You must be signed in to change notification settings

conficient/BlazorMvcExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlazorMvcExample

Experiment to see how to make MVC and Blazor co-exist

If you create a new Blazor WASM (client-side) application with authentication enabled, a request to any MVC controller with the [Authorize] attribute returns a 401 not-authorized response. Expected a redirect to the login page.

To test

  • Run the application and click the public link: /Mvc/Public - should get a basic response showing the content.
  • click the private link: /Mvc/Private - get a 401 browser error page.

References:

About

Experiment to see how to make MVC and Blazor co-exist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published