Can anyone give me an example to use authentication and authotization in MVC and C#?

Recommended Answers

All 2 Replies

The ASP.NET MVC site has plenty of documentation on authentication and authorisation.

You can choose to ASP.NET Forms Authentication in your ASP.NET MVC application. Also, in MVC 5 (based on .NET 4.5) there is no seperate MVC components (installer); everything is one single Web application and working with web forms and MVC is more seamless.

http://www.asp.net/mvc/overview/security

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.