Is MVC .net right for my project type?

Is MVC .net right for my project type?

After countless hours researching (creating a few demo projects, viewing webinars etc..) I feel like MVC .net works great for 90% of the web application types out there, but not for mine.

Basically I have a dashboard application where I'm displaying large amounts of information in many different graphs / charts (all on the same screen). If I change the state of a control on the page, say a date range, I would like all of the graphs / charts to update accordingly.

This is fairly trivial in webforms using usercontrols with ajax update panels, but I've not seen a 'good' simple implementation in MVC without doing most of the heavy lifting in JQuery / Javascript code.

Most of the examples of post backs in MVC involve a form submission (we don't have any forms on our dashboard) or it involves navigation from view to view (which I don't want to do either). The closest thing I can relate what we need to would be an MVVM framework but we won't be moving to Silverlight for a few months.

Am I thinking of MVC wrong, am I missing such a simple example that the major bloggers / tutorials don't cover it? Any thoughts?

SSI-like feature in ASP.NET / ASP.NET MVC


how do i load thousands of rows in my mvc project from database into slickgrid?
No, you're not wrong.

HTML.DropDownList values from multiple sources?
In many ways, MVC is closer to the "metal." Web Forms makes things like this "trivial" in terms of code, but usually only by making it extremely inefficient in terms of bandwidth..
Authentication for IIS content in virtual directory under ASP.NET MVC website
MVC takes a different approach; they force you to notice inefficient practices by doing it manually.

How can I get the client side date and currency formats?
jQuery and AJAX must be added to MVC for this kind of complexity..
When to use Singleton vs Transient vs Request using Ninject and MongoDB
It does really sound like you need a Silverlight solution..
ASP.NET MVC Registration With Captcha

ASP.NET MVC: Why is `ToMvcHtmlString` not public?


If your chart/graph controls are classic controls then it might be best to stick with a classic application.

Some of the controls don't work too well with MVC..


MVC is supposed to ease your development.

If it doesn't, dont use it by force.

Stick to WebForms if they fit your requirements better..


The dashboard app as you describe it doesn't sound like ASP.NET MVC would be a BAD choice.. Charts - you can use the Microsoft Charting controls with ASP.NET MVC - here's how.. Forms & Views - I can imagine you'd wrap those datepickers in form tags.

Each grid or chart would have a collection or member variable of some kind on the ViewModel.

Create a partial view for each grid, send the appropriate data to it as the ViewModel, and simply foreach to build a table or ul to display your tabular data as you see fit..


As others have said, MVC is not necessarily better than WebForms, and you should use what is best for your project needs.

Don't use MVC just because it is the latest and greatest.. With that said, because ASP.NET MVC and Webforms use the same runtime environment, you could create an ASP.NET MVC project and use Webforms within that project when needed.

That way, you can get advantage of both worlds..


Thanks for everyone's response! I greatly appreciate it.

. I found a way to make MVC work very effectively over the weekend for my use case by incorporating AJAX postbacks to particular div tags.

I added a few AJAX extension methods to handle buttons / drop downs etc (also with a little JQuery) so that they call a particular controller and return a view updated in only specified divs.. Probably the basics of MVC, but once I put on my javascript hat (and stopped looking at this from a webforms perspective) it actually made a lot of sense.

Also incorporating McvContrib and Ninject into my code base eased quite a few pains that I foresaw.

I would highly recommend anyone looking into MVC to check out those two tools (even though Ninject isn't exclusively MVC).. Thanks again.. D^t.

74 out of 100 based on 29 user ratings 904 reviews