User is in role “admin” but [Authorize(Roles=”admin”)] won’t authenticate
I found a great answer on SO describing how to set up custom user roles, and I’ve done the same in my project. So in my Login service I have:
I found a great answer on SO describing how to set up custom user roles, and I’ve done the same in my project. So in my Login service I have:
I’ve just published my site in my server, but when I type in the browser www.mysite.com I get this error : HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory.However if I type www.mysite.com/Home.aspx it loads correctly. So, how can I set the default page?? I … Read more
I have used OWIN authentication in my application.
That’s probably not MVC specific, it might as well applicable to ASP.NET WebForms, but we’ve been experiencing it on MVC2 so far.
Please I need assistance in implementing a custom way of assigning claims to authenticated users.
On successful login,
With asp.net core 1.0 There are lots of functionality added. But there is not way to get Bin Folder path.
This likely applies to non MVC too. But, Is it possible to use the ‘using’ statement in my aspx views?
I am Learning ASP.NET MVC and downloaded a couple of sample apps. MusicStore etc…
I’m writing a IHttpHandler and I’ll need to implement a IsReusable property. When I look at the MSDN documentation it says: