How to create a reusable Asp.Net Mvc application?

How to create a reusable Asp.Net Mvc application?

We have multiple Asp.Net WebSites each running on IIS.

Site1 :     Site2 : 

We have to implement Shopping Cart functionality for each of the above WebSites. For each web site the corresponding shopping cart should work on the following Url.

Shopping Cart for Site1 :     Shopping Cart for Site2 : 

We want to develop the Shopping Cart application using Asp.Net MVC 2.0. But it should be reusable in both the above sites.

Generate PDF document based on Word document

1: mvc ckeditor in jquery dialog
Right now there is no mvc site I believe that does what you want, so it's difficult to point you to samples, but DotNetNuke does the same thing what you want, so you can take a look but it's in pure web forms, no mvc.. mvc integration test

Filtering a List view in an ASP.MVC application

setting displayname data annotation dynamically in mvc


ASP.NET MVC - TextArea values
I don't believe you can do it using the site url, but you can do it with an additional routing field.

What's the difference between a Web Server and a Game Server?
I do something similar for some blog software I wrote where I have

C#: Caching w/ method attributes VS manually using System.Web.Caching
Where targetBlog can be games, software, personal or whatever.

Blog is the controller, and post is the action.

You just put it in your url, add it to your routes before the controller, and then you get it passed to your methods just like any other paramter.

. Here is a route example.
            routes.MapRoute(             "BlogSpecific",                                              // Route name             "{blogSubFolder}/{controller}/{action}",                           // URL with parameters             new { blogSubFolder = "", controller = "", action = "" }  // Parameter defaults         ); 

88 out of 100 based on 78 user ratings 628 reviews