Implementing Password Reset in MVC 4 EF Code First using Simple Membership – Part 2

I apologize for the long delay between part 1 and part 2, but I’ve been really busy. I’ve created 2 new jQuery plugins (scrolling related) and I’ve put out my own RWD Grid Framework called Bare Bones. Check them out! So it took me a while to figure out where we left off and what the next step is. Before you continue with this tutorial, you should already have a working copy of where we ended up with Part 1: an extended account model that allows for email entry. That was the hard part.  In Part 2, I’m going to …

Implementing Password Reset in MVC 4 EF Code First using Simple Membership – Part 1

So everyone by now knows that I’m a big fan of Entity Framework Code First approach: I’m a developer and not a DBA so I appreciate anything that allows me to abstract my task away from the SQL world. A previous post explained how to setup an MVC 4 EF-Code First application. That application comes with a baked in user authentication system using Simple Membership; however, it lacks one necessary function for it to be truly usable–a password reset. I’m not sure what the Microsoft guys were thinking when they created the starting sample application without a password reset since …

Choosing an ASP.NET MVC 4 Book

(the above graph takes the public review statistics from amazon.com on 6/21/2013) I find that choosing the right book is as important as going through the exercises and tutorials in it. If I am to invest 40+ hours into consuming it, I better choose the right one. The above info graphic represents the user review statistics from amazon.com as of 6/21/2013 (see references below). I don’t always follow Amazon reviews when picking out my books, and sometimes a really good review will sway me over many negative reviews; however, Freeman’s Pro ASP.NET MVC 4 (978-1430242369) had overwhelming positive reviews written …

Using LESS with ASP.NET MVC

There are several option in implementing LESS (the dynamic style sheet language) with your asp.net MVC application. While MVC 4.5 provides bundling and, with that, minification, it still does not provide the same dynamism as LESS; that being said, you can take advantage of both using the following technique. An aside for those unfamiliar with LESS: it’s a dynamic stylesheet language that allows you to extend CSS to allow variables, “mixins,” operations and function. It’s a powerful tool that can help decrease dev time while making your style code more robust. It allows you, for example, to declare a variable …

Migrating the full Application Services database schema

When you need to run ASP.Net Membership from a Shared Server One of the main advantages of ASP.NET is it’s out of the box user management system. With ASP.NET membership, the developer has a proven service for validating and storing user credentials. If you’re interested in all the possibilities of this technology, read this MSDN article. Because the IIS and the SQL Server work their magic in the background and the user management schema is not exposed in the application’s database, the developer can often feel perplexed at the prospect of migrating their application to a shared server. In those …

Bin Deploying MVC 3 Web Projects

Many shared hosts including WinHosts and GoDaddy do not provide all the necessary assemblies in the GAC to successfully publish an MVC application. Have no fear for as long as you have the right ASP.NET version (4) running on the host, you’ll be able to publish your creation with little additional effort. MVC 3 is bin deployable, and you can simply copy all the necessary asseblies missing from the GAC into your own bin folder. These assemblies include: Microsoft.Web.Infrastructure.dll System.Web.Helpers.dll System.Web.Mvc.dll System.Web.Razor.dll System.Web.WebPages.Deployment.dll System.Web.WebPages.dll System.Web.WebPages.Razor.dll However, before you start adding them into your References folder and ensuring they copy on …