Doing the same thing with MVC seems a little more tricky and I wondered if there is any easy way to do this. I tried searching for it, but I didn't find what I was looking for.
That's one of the things I already found on the web, but it's not exactly what I had in mind.
I mean if protecting a page has been made that easy by Umbraco with the public access setting, why is there no direct "out of the box" solution to access those sites then? Isn't there a solution to this without having to actually compile a binary?
Public access login form with MVC for single user protection
Ahoi mateys
Currently I'd like to add a protected area to my newest website with single user protection. Now this is a task that I've done several times.. however before I switched to MVC/Razor. Back in those days I used a snippet posted here and was pretty much done: http://our.umbraco.org/forum/using/ui-questions/29641-Creating-Login-Page-for-Public-Access
Doing the same thing with MVC seems a little more tricky and I wondered if there is any easy way to do this. I tried searching for it, but I didn't find what I was looking for.
Ideas? Snippets?
Jan
Maybe this is a nice start: http://24days.in/umbraco/2012/creating-a-login-form-with-umbraco-mvc-surfacecontroller/
Jeroen
Thanks for the link.
That's one of the things I already found on the web, but it's not exactly what I had in mind.
I mean if protecting a page has been made that easy by Umbraco with the public access setting, why is there no direct "out of the box" solution to access those sites then? Isn't there a solution to this without having to actually compile a binary?
Jan
Perhaps the Standard Website MVC is what you need?
Jeroen
is working on a reply...