ASP.NET MVC - HTTP Authentication Prompt
问题 Is it possible to make my application ask for username and password prompting for it before render a view? Just like on twitter API to get information about your account: http://twitter.com/account/verify_credentials.xml So before render the view || file it asks you to insert you username and password, I think this is made directly on the server since the curl request is based on username:password as well like this: curl -u user:password http://twitter.com/account/verify_credentials.xml As I