﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Adrian Lanning commented on System Users and Application Users</title><description>One of the little-known benefits of the MembershipAPI is that there is a very thorough administration section available for it up on codeplex:
http://mywsat.codeplex.com/

Hunzonian, the author, really outdid himself putting that together and it has saved me a lot of time over the years.  I have used it in a production MVC site since 2008.

Recently I needed an admin section for an MVC site that uses Mongo so I made a port (the MyWSAT project is heavily tied to SQL Server - see project page for details):
http://www.nuget.org/List/Packages/MongoWSAT


It should be fairly straightforward to make a RavenDB version.  If anyone wants to attempt it and would like pointers, hit me up via nuget or github.
</description><link>http://ayende.com/121857/system-users-and-application-users#comment7</link><guid>http://ayende.com/121857/system-users-and-application-users#comment7</guid><pubDate>Sun, 30 Oct 2011 17:11:31 GMT</pubDate></item><item><title>Scott Scowden commented on System Users and Application Users</title><description>Justin,
I am looking forward to your sample. 

Are there any other good samples out there of integrating IPrincipal with MVC?</description><link>http://ayende.com/121857/system-users-and-application-users#comment6</link><guid>http://ayende.com/121857/system-users-and-application-users#comment6</guid><pubDate>Sun, 23 Oct 2011 19:25:54 GMT</pubDate></item><item><title>Justin Adler commented on System Users and Application Users</title><description>@Daniel Lang - keep well away from the evil Membership API. Ayende and Andrew summed it up nicely.

In fact, when I get a chance, I'll try and complete my facebook integration/authorization into RavenOverflow so you can see how you can have _application users_ in an application, easily and without having to have passwords also. watch this space (in a week or so).</description><link>http://ayende.com/121857/system-users-and-application-users#comment5</link><guid>http://ayende.com/121857/system-users-and-application-users#comment5</guid><pubDate>Tue, 18 Oct 2011 22:50:53 GMT</pubDate></item><item><title>Daniel Lang commented on System Users and Application Users</title><description>Ayende and Andrew,
thanks, I see your point. I will take a look at implementing IPrincipal instead or writing a custom authorization filter. </description><link>http://ayende.com/121857/system-users-and-application-users#comment4</link><guid>http://ayende.com/121857/system-users-and-application-users#comment4</guid><pubDate>Tue, 18 Oct 2011 11:17:47 GMT</pubDate></item><item><title>Andrew Rimmer commented on System Users and Application Users</title><description>The membership API is pretty awful. The cons really do outweigh the pros...

Daniel - you can just implement IPrincipal to get the out-of-the-box Authorize attribute to work.

I usually do this and use forms authentication vs using the membership provider.</description><link>http://ayende.com/121857/system-users-and-application-users#comment3</link><guid>http://ayende.com/121857/system-users-and-application-users#comment3</guid><pubDate>Tue, 18 Oct 2011 11:08:49 GMT</pubDate></item><item><title>Ayende Rahien commented on System Users and Application Users</title><description>Daniel,
It is a huge API, it makes a lot of assumptions and it is really not nice to work with in terms of what it gives you and what you have to implement</description><link>http://ayende.com/121857/system-users-and-application-users#comment2</link><guid>http://ayende.com/121857/system-users-and-application-users#comment2</guid><pubDate>Tue, 18 Oct 2011 11:05:35 GMT</pubDate></item><item><title>Daniel Lang commented on System Users and Application Users</title><description>Ayende, what is the problem with the membership API?

I find it quite useful to implement at least a few methods of both providers, so that the Authorize attribute works on controllers and actions.</description><link>http://ayende.com/121857/system-users-and-application-users#comment1</link><guid>http://ayende.com/121857/system-users-and-application-users#comment1</guid><pubDate>Tue, 18 Oct 2011 10:58:56 GMT</pubDate></item></channel></rss>