How can I create a login partial view in MVC 2.0?
I want to include this in several masterpages in my site since I can't use the login control in MVC.
What code do I put in the controller which will accept the username and password?
How can I create a login partial view in MVC 2.0?
I want to include this in several masterpages in my site since I can't use the login control in MVC.
What code do I put in the controller which will accept the username and password?
The default MVC project creates one for you. Just install MVC and create a MVC project. It will have a Master page, with a login partial view already created.