ASP.NET MVC 2 is the second major version of the ASP.NET MVC platform, it has since been outdated by ASP.NET MVC 3.

learn more… | top users | synonyms

4
votes
3answers
257 views

Generic repository pattern

Please have a through look my custom implementation of generic repository pattern and suggest anything I may be lacking. I am using a generic interface with 6 methods I'll be using a repository ...
1
vote
3answers
575 views

Removing repetitive code in ASP.NET MVC Controller actions?

I want to keep things DRY, so I'm trying to figure out: Is it possible to remove repetitive parameters and code from ASP.NET MVC Controller actions? eg given these Actions: ...
1
vote
1answer
510 views

Adding or Replacing a Page item in a QueryString in C#.

Can this code be improved? I'm avoiding using the QueryString collection because the query string may contain eg: OrderBy=Column1&OrderBy=Column2 and it didn't ...
4
votes
1answer
6k views

Storing Temporal Message Lists in ASP.NET MVC TempData

I've been using the following the code to store temporal error messages in TempData, to be displayed from my master page on production sites without any problems, ...
7
votes
3answers
796 views

My Calendar generation code is slow. How do I improve it?

I have a model I have created to generate iCal and the necessary JSON for the jQuery calendar plugin Full Calendar to work. When I display the page, the JSON generation takes about 7 seconds. The ...