I can't use email as Username with MVC5 Microsoft.AspNet.Identity

Problem: I want to use email as the username with Microsoft.AspNet.Identity in MVC 5 application. But when I do I get the following error: User name ... is invalid, can only contain letters or digits. Solution: In the AccountController constructor that takes a userManager as a parameter add the following code: UserManager.UserValidator = new UserValidator<ApplicationUser>(UserManager)  { AllowOnlyAlphanumericUserNames = false };

Web application causes An attempt was made to load a program with an incorrect format error.

Problem: When I attempt to start my asp.net web application running in IIS 8 I receive the following error: Could not load file or assembly 'Xxx' or one of its dependencies. An attempt was made to load a program with an incorrect format. Solution: Enable 32-Bit Applications for the Application Pool running your application. Explanation: Start IIS and select your web applications virtual directory under Sites\Default Web Site. Select Basic Settings from the Actions pane.  Note the Application pool your application is using and click Cancel to close the dialog.  Select Application Pools from the Connections pane.  Right click on the application pool running your web application and select Advanced Settings from the context menu.  Change Enable 32-bit Applications from False to True.

I can't view my localized values of my MVC application

Problem: I have changed the language of my browser but I am still only getting me default resources. Solution: Add the following line to your web.config as a child of the system.web element. <globalization enableClientBasedCulture="true" uiCulture="auto" culture="auto"/> Explanation: While working on an ASP.NET MVC application I wanted to test my localized resource files.  From the options of my browser I updated the language.  However, when I viewed the page I continued to see the default values.  Not until I added the globalization element to me web.config did my browser load the correct resources.