Morten Empeños Blog

Search:

Conditional render in Razor

Posted on Jan 17, 2015 by Morten Empeño

This small article shows you how you can easily show or hide a group of content based on a simple condition.

Read More

Categories: ASP.NET

Tags: MVC, Razor

Implement CAPTCHA on MVC Mail Form

Posted on Jan 24, 2015 by Morten Empeño

This blog is a short and easy description on how to implement CAPTCHA validation on a mail form in an ASP:NET MVC project.

Read More

Categories: ASP.NET

Tags: MVC, Razor

The type IUserStore`1 does not have an accessible constructor

Posted on Jan 26, 2015 by Morten Empeño

Setting up Unity in an MVC application with authentication may cause the error: The type IUserStore`1 does not have an accessible constructor This blog describes why and how to fix it.

Read More

Categories: ASP.NET

Tags: MVC, Unity

Handle periods in MVC urls

Posted on Jan 31, 2015 by Morten Empeño

This is a small blog, on how to handle 404 error caused by dots in an MVC url.

Read More

Categories: ASP.NET

Tags: MVC

Multiple database contexts with Unit of Work

Posted on Feb 06, 2015 by Morten Empeño

In this blog I explain how you can fix the error: The relationship between the two objects cannot be defined because they are attached to different ObjectContext objects. In my case I ran in to the problem when building an application with a generic repository, using Unit of Work and using Unity for dependency injection.

Read More

Categories: ASP.NET

Tags: MVC, Unity


Page 1 of 1

Categories

Tags