Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mono and ASP.NET Authentication

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?

like image 401
Matthias Hryniszak Avatar asked Jan 05 '10 18:01

Matthias Hryniszak


2 Answers

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:

  • Rolling Your Own Website Administration Tool
  • Create Your Own Web Site Administration Tool in ASP.NET

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.

like image 96
Nick Craver Avatar answered Oct 11 '22 12:10

Nick Craver


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.

like image 38
Iain Collins Avatar answered Oct 11 '22 13:10

Iain Collins