# Thursday, September 15, 2011

On my home pc the MVC4 developer preview installed on my box but at the office I tried a few different times with no success.


Visual Studio 2010 SP1

It’s required for MVC4.  Already have it on your box?  That’s likely the reason WPI is failing to install.

Reading the log didn’t really give me much information but I was very sure that I had already installed VS 2010 SP1 on my box.  Time to go around WPI.

WPI Installer Location

Aren’t sure where WPI installers are stored?


They are stored in your profile’s AppData\Local\Microsoft\Web Platform Installer\installers folder.

When I ran the MVC4VS2010 Installer by itself, outside WPI, the install worked.

Happy Coding!

Posted 09.15.2011  #    Comments [1]  | 

I updated Adam Anderly’s SimpleMembershipMvc3.Sample application available as a nuget package and on GitHub.  The sample as is only hooks up the registration and login for the Account Controller. 

What I Added

  • Require Email Verification for sign up.
  • Resetting Password
  • Forgotten Password
  • In doing so I had to add the reset and forgotten models to the AccountModels class.  If you are interested in using this code please be aware of this and take the necessary steps to backup your AccountModels and/or merge the two.

    How to get it

    In talking to Adam he is likely going to create a new sample available via NuGet for those wanting this more complete solution.

    For now you can get it via my GitHub Fork of Adam’s work.  Hopefully soon, either Adam or myself will create a nuget package for it.

    Happy Coding!

    Posted 09.15.2011  #    Comments [1]  | 
    # Saturday, April 30, 2011

    If you are doing work with LINQ, LinqPad is an indispensable tool.  The latest beta release (4.34.2) of LinqPad has added support for connecting to Entity Framework Code First libraries.  As long as your data context is based on DbContext.

    Now when you add a connection you’ll get a new option for Entity Framework POCO (4.1 RC). 


    Next, you’ll need to browse to your Code First Library:


    If you’re data context is based on DbContext (public class YourContext: DbContext) then LinqPad will find your data context:



    The last step is to point it to your application / web config file for the connection string:ConnectionString

    And voila:


    Happy Coding!

    Posted 04.30.2011  #    Comments [2]  |