开发者

How can I create a login partial view in MVC?

开发者 https://www.devze.com 2022-12-18 19:45 出处:网络
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.

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 co开发者_如何学编程ntroller 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消