The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [asp.net-mvc-4]

ASP.NET MVC 4 is the fourth major version of the ASP.NET Model-View-Controller platform for web applications.

Filter by
Sorted by
Tagged with
5
votes
1answer
8k views

Unit of Work with Repository Pattern MVC 5 & EF 6

I put together a sample of how I am using the Unit of Work & Repository pattern based on my understanding. Can anyone please let me know if I am implementing this the correct way? If I am not, how ...
5
votes
2answers
993 views

PreWarmCache for MVC Application with Stopwatch Infinite Loop

I used the information from the article "Auto-Start ASP.NET Applications (VS 2010 and .NET 4.0 Series)" to create a background task that runs on an infinite loop. Ultimately, this program is going to ...
4
votes
2answers
119 views

Eager load additional data about some instructors

Below is a snippet of code of a little practice project. I am still pretty new to EF and I was wondering if there is a way to write the below statement so that all required data is eager loaded since ...
4
votes
2answers
9k views

Using a recurring System.Threading.Timer in an Mvc Application

I'd like your opinion on something. I have the following class: ...
3
votes
4answers
189 views

Setting new lines and adding them to a list to be drawn

I have a method that basically passes in a known drawn line segment in my view and then draws parallel lines n distances away from the passed in original line. This one in particular draws two ...
-1
votes
1answer
42 views

Class for Managing Office Details [closed]

...