views:

297

answers:

3

Does anyone know how to get to work the authentication mechanism configured using Web Site Administration Tool under Linux running Mono? Is it even possible?

+5  A: 

I don't think you're going to find a ton of support for this, evidenced by the lack of activity on your question. The Web Site Administration Tool was removed from CodePlex around April 2009 due to inactivity (CodePlex rules state: It must be an ongoing project (no "abandoned" projects)) and it's use/adoption really declined. Many projects that were using it as a component just wrote their own after that.

There have been a few alternatives that have popped up in the community after it went missing:

I think using code from one of those two projects is going to come as close to what you're after as is available. It's not ideal and will require some work to get working with the back-ends you desire (both of those use a SQL server back-end). I know this answer sucks, but sometimes that's the answer. I hope someone comes and proves me wrong and that what you want is out there, or at least could provide the WSAT source code as it last was on codeplex...that's be a huge head start in getting it to run.

If you're referring to a different WSAT please comment and correct me....it's such a generic term really, but that was by far the most popular one so I based this answer on that.

Nick Craver
I'd like to know how the WSAT being removed from CodePlex impacts the fact that it is in fact part of the framework and/or VisualStudio. If you take a look how it's invoked then you'll clearly see that it's part of the tooling support.
Matthias Hryniszak
Ah you are talking about something entirely different, do you want to run it from Linux or just point it to a linux/mono based site?
Nick Craver
Ok so I was referring to the one that's most popular when you do a google search :) It's on most of the preliminary results when you search for it. So what I wanted to have is the same functionality available on Mono/Linux. I guess (judging from the other answer by Iain) it's probably going to have to end with a custom WSAT-like implementation.
Matthias Hryniszak
@Matthias Hryniszak: I agreed...sorry the answer sucks, but sometimes what you're after just isn't written yet, unfortunately this is one of those.
Nick Craver
A: 

It's not a good answer, but I'm with Nick. I believe you will just have to roll your own authentication..

Earlz
A: 

You have to set up your database schema manually for Membership/Roles support if using Mono. That said, following the FAQ answer (which I have found very handy in the past) alone may not be enough, I am not sure about the other dependancies for the Web Site Administration Tool itself (e.g. any .NET specific libraries it needs) but combined with an appropriate membership provider configured in system.web I'd say there is a reasonable chance it may.

If that doesn't work for you, I would second Nick's suggestion of taking a look at the solution by 4GuysFromRolla.com who have a lot of good info relevant to both .NET & Mono.

Iain Collins