Steven Gazo M.
Steven Gazo M.

Reputation: 107

It's possible use Areas in Blazor Server App?

I'm building a solution with blazor server app, and i need to create an area like MVC application. It's possible create solution in blazor using areas?

Anyone have information or something to use for learn about it?

Upvotes: 4

Views: 3431

Answers (1)

Henk Holterman
Henk Holterman

Reputation: 273449

When you want the Areas for your Blazor pages (razor components) then: No, but you can easily use folders to achieve the same.

When you want Areas to hold razor pages (or MVC views) then create a new (scratch) Blazor server project and select Authentication=Individual accounts. That template has everything you need.

Upvotes: 0

Related Questions