mvc

Refactoring the ASP.NET MVC project template authentication – Part 3

In part 3 I wanted to clean up a few small details. And once again I’ll  be focusing on the server side .net  code and saving the client side javascript for another post.

In this post I’ll be making use of the ASP.NET MVC Futures codebase which you can get here.

One of the complaints that is heard about MVC summed up by the following comment over at Los Techies “…I‘m not ready to start putting clunky C# code in my views, like asp.net MVC is using, feels like legacy asp all over again”. And yes many examples of this coding style exist including the LoginUserControl.ascx in the example MVC project.

› Continue reading

Tags: ,

Monday, January 19th, 2009 Coding Comments Off

Refactoring the ASP.NET MVC project template authentication – Part 2

When we left off last time we had cleaned up the Login action method. Now lets look at the Logout method:

› Continue reading

Tags: ,

Sunday, January 18th, 2009 Coding Comments Off

Refactoring the ASP.NET MVC project template authentication

I know this subject has been touched on before, but I can never find the links when I need them. So I decided I would write up my attempt at creating a better implementation of the MVC project template that ships with ASP.NET MVC Beta. I don’t claim any of these ideas were originally mine, if you know of a link to the original content please let me know and I’ll update this article. Now on with the show.

› Continue reading

Tags: ,

Sunday, January 18th, 2009 Coding 4 Comments