This week I came across a problem related to structuring an ASP.NET MVC Web application one development team was facing. What they were trying to do was quite simple: to create a folder structure each having their own subfolders for View/Controller/Scripts/CSS etc. The application resources like JS/CSS etc. were not getting rendered properly. The issue [...]
Posts Tagged ‘ASP.NET MVC’
ASP.NET MVC Areas–A Better Way To Structure The Application
Posted: April 14, 2012 in ASP.NETTags: .NET, Areas, ASP.NET MVC
A Layered ASP.NET MVC Application [with StructureMap] – Part V
Posted: May 5, 2009 in ASP.NETTags: ASP.NET MVC, StructureMap
In my last post I had completed the demo of building a layered ASP.NET MVC application(the bookmark list application).This week I thought of adding the StructureMap container to that demo.I am quite new to StructureMap but I loved it’s usage of Fluent Interfaces and DSL a lot.I have primarily applied what I understood from it’s [...]
A Layered ASP.NET MVC Application – Part IV
Posted: April 12, 2009 in .NET, ASP.NET, WCFTags: ASP.NET MVC, WCF
Building the ASP.NET MVC Application In the last 2 posts we have seen how to develop the Repository and WCF Services for our sample ASP.NET MVC application.This application contains the following Views: Home/Index (Index.aspx) – Displaying the list of Bookmarks with options to Add New,Edit and Delete. Add New (Create.aspx) – Displaying a blank form [...]
A Layered ASP.NET MVC Application – Part III
Posted: April 12, 2009 in .NET, ASP.NET, WCFTags: ASP.NET MVC, WCF
Building the Service In my last post I have explained step by step how we can implement the Repository pattern with ADO.NET Entity Framework.In this post we will see how to expose that functionality as a WCF service.But prior to that let us briefly touch upon the Service Interface pattern to get our concepts clear.While [...]
A Layered ASP.NET MVC Application – Part II
Posted: April 12, 2009 in ASP.NET, UncategorizedTags: ASP.NET MVC, Entity Framework
Building The Repository In my last post I had discussed about the various O/R mapping patterns and Repository is one of them.In this post we will develop a repository library for our sample application.This application is a very list of personal bookmarks with an url and description. Step1: Create the database table The database contains [...]
A Layered ASP.NET MVC Application – Part I
Posted: April 12, 2009 in .NET, ASP.NETTags: ASP.NET MVC, O/R, Patterns
Normally while developing ASP.NET applications we follow a layered architecture with the Web/Presentation layer decoupled from the core business logic via the Service Interface.Whereas most of the examples we come across in ASP.NET MVC, the Model (O/R layer) seems to be very tightly integrated with the web application.I just started how I can seperate out [...]

