I can't use email as Username with MVC5 Microsoft.AspNet.Identity 09 March 2014 Donovan-Brown Work (0) 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 ... [More]
I can't view my localized values of my MVC application 29 September 2012 Donovan-Brown Work (0) 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"/> ... [More]
How to create a custom Value Provider for MVC 23 September 2011 Donovan-Brown Work (0) Problem: I need to test an MVC Controller Action that needs the Identity of the current user without mocking the HTTPContext. Solution: Create a custom Value Provider that allows access to the current user via an Action Parameter. Explanation: One of the goals of the MVC pattern is making the a... [More]
Need help learning MVC 22 December 2010 Donovan-Brown Work (0) Book review of Pro ASP.NET MVC 2 Framework, Second Edition. [More]
MVC 2 Client Side validation messages are showing on page load 19 December 2010 Donovan-Brown Work (0) Styles are missing for *-valid classes [More]
My MVC 2 server side validation rules are not firing 19 December 2010 Donovan-Brown Work (0) How to ensure server side validation with MVC 2 FormCollection [More]