Basic stuff - how to create a front-end user login?

Hello all,

I'm totally new to both MVC and Umbraco so this is probably a stupid question. I apologise in advance. I'm using Umbraco 7.1.4 in VS 2013, installed from the nuget package.

I need to implement a front end user login, through a membership provider, to secure various sections of the site. We have an existing SQL Server provider set up to do this from our old webforms world; my question is how do I incorporate this into my Umbraco templates? I understand the MVC paradigm when used in isolation, but shoehorning it into an existing CMS, with its own routing logic, is way beyond me right now.

Also, if we were able to use the existing provider built-in with Umbraco to do this, it would in fact be beneficial. I could jusifty binning the old provider.

I have got so far as to creating a login partial [view macro], from the snippets dropdown available in v7 - it appears on the screen, gives me a button to push, and then errors out. I have no clue how to wire it in!

Thanks, Skip.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/55150-basic-stuff-how-to-create-a-front-end-user-login