Category Archives: MVC

Using Metro UI CSS version 2.0 with ASP.NET MVC

Metro UI CSS is now in version 2.0 so the previous post is not useful. Metro UI CSS’s author is Sergey Pimenov from Kiev, Ukraine. Metro UI CSS a set of styles to create a site with an interface similar to Windows … Continue reading

Posted in ASP.NET, MVC | Tagged , , , , , , , | 10 Comments

How to use Metro UI CSS in ASP.NET MVC 4 ?

Metro UI CSS allows to create a Web site in the style of Windows 8 quickly and without distractions on routine tasks. You can find more info here: http://metroui.org.ua/ UPDATE. This article is about version 0.95 now Metro UI CSS is in version … Continue reading

Posted in MVC, Visual Studio 2012 | Tagged , , , , | 8 Comments

Succinctly Series

Syncfusion publishes the Succinctly series of technical eBooks. If you are interested you can download them here http://www.syncfusion.com/resources/techportal/ebooks These eBooks cover many different topics like: TypeScript WPF iOS Windows Store Apps Data Structures (Part 1/Part 2) GIS Objective-C F# Knockout.js … Continue reading

Posted in .NET Framework, eBooks, MVC | Tagged , , , | Leave a comment

ELMAH Error Logging in MVC 4

ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for … Continue reading

Posted in CSharp, MVC, Visual Studio 2012 | Tagged , , , , , , , , | Leave a comment

Dependency Injection in MVC 4 using Ninject, Unity and StructureMap (IoCs)

Dependency injection is a software design pattern that allows removing hard-coded dependencies and making it possible to change them. This software design pattern injects the depended-on element (object or value etc) to the destination automatically by knowing the requirement of … Continue reading

Posted in CSharp, MVC, Visual Studio 2012 | Tagged , , , , , , , , , , | 3 Comments

Entity Framework Code First Example in MVC 4.

This example will show you how to create a MVC 4 application using Entity Framework Code First in Visual Studio 2012. 1. Create a new Project MVC 4 Internet template. Name: MVCMovieTraining. 2. In the Models folder add new class. Name: … Continue reading

Posted in CSharp, Entity Framework, MVC, Visual Studio 2012 | Tagged , , , , , , , , | 1 Comment

Repository Pattern

Use a Repository to separate logic that retrieves data from the business logic. It is an abstraction between data access and business logic. The following example is based on the project in the post Entity Framework Code-First example in MVC 4, in … Continue reading

Posted in CSharp, Entity Framework, MVC, Visual Studio 2012 | Tagged , , , , , | 1 Comment