Tagged Questions

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

2
votes
0answers
25 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 ...
3
votes
0answers
391 views

Raising errors back to associated controls on the view, from a model [closed]

I'm wanting to know a better way to feed errors back from my model logic to the front end view ensuring the errors are tied directly with the control they are against. So, essentially I have code ...
2
votes
0answers
663 views

MVC folder structure [closed]

I currently have a folder structure on my MVC .NET website that I am completely at a loss as to whether it is acceptable or not. Here is an outline of the structure ...
1
vote
3answers
416 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
414 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 ...
3
votes
1answer
4k 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, ...
6
votes
3answers
737 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 ...