Building your first ASP.NET MVC 4 application in VS 2012 – using MVC Scaffolding

Previously I wrote a post about creating a simple ASP.NET MVC 4 application. I have told you, that it is so simple. Today you will see that it can be easier with MVC scaffolding.   1. Open Visual Studio 2012 2. File/New/Project -> select Web/ASP.NET MVC 4 Web Application. Name it MvcCars. 3. When new … Czytaj dalej Building your first ASP.NET MVC 4 application in VS 2012 – using MVC Scaffolding

Building your first ASP.NET MVC 4 application in VS 2012

How many times have you heard about building a well designed web application? 3-4? I mean in your daily work. How many times have you faced a problem with code written before? Wrong naming, wrong spacing, wrong design, wrong patterns/no patterns, wrong repository, wrong database connection, wrong architecture. There are a lot of mistakes done, … Czytaj dalej Building your first ASP.NET MVC 4 application in VS 2012

Interfaces. Do I need these?

My friend has asked this question one week ago. He was not able to understand the usage of interfaces in his small projects. I decided to explain it, but I knew that it would be a long journey, from the beginning to the end. FInally he got the idea. Today I will try to explain … Czytaj dalej Interfaces. Do I need these?