What is OnActionExecuting defined for in ASP.NET-MVC's AccountController? -


Project template for ASP.NET-MVC includes an AccountController that contains the following part of the code

  Protected Override Zero Onnection Execution (Action Accepting Contact Filter Context) {If (Filter Contents ..httcx User is Identity Windows Identity) (New Invalid Operation Expansion) ("Windows authentication is not supported."); }}  

What's for this?

For information on the method, see.

Notifying you are throwing an exception if the website has been set up to use Windows authentication, in effect, prevent it from being used as a method of authentication.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -