For Questions about the ASP.NET MVC 3 Framework

learn more… | top users | synonyms

42
votes
20answers
20k views

When to favor webforms over MVC

I know Microsoft has said "MVC is not a replacement for webforms". Some developers say webforms is faster to develop than MVC, but I believe this all comes down to comfort level with the technology; ...
30
votes
2answers
11k views

What are the definitive guidelines for custom Error Handling in ASP.NET MVC 3?

The process of doing custom error handling in ASP.NET MVC (3 in this case) seems to be incredibly neglected. I've read through the various questions and answers here, on the web, help pages for ...
25
votes
4answers
940 views

Javascript modularity, server based MVC & business reality

I understand this is a very broad question, but I have worked with various aspects of this problem individually and am struggling to bring all the concepts and technologies together. I'd like to ...
10
votes
3answers
4k views

How Do You Organize Your ASP.NET MVC 3 Applications?

The one thing that I am having a hard time figuring out with developing an extensible application platform in ASP.NET MVC 3 is how to modularize everything into an easy to update and distributable ...
9
votes
2answers
6k views

Use-cases for node.js and c#

I do quite a bit of ASP.NET work (C#, MVC), but most of it is typical web development. I do Restful architecture using CRUD repositories. Most of my clients don't have a lot of advanced requirements ...
9
votes
1answer
364 views

Is there a way to visualize an ASP.NET MVC project, ie class diagram but with the web pages too?

Maybe I'm looking for a dependency visualizer/matrix. I'm not sure. I'm just trying to wrap my head around an existing and large web app, and I like pretty pictures. I know of Autodiagrammer but I ...
7
votes
3answers
568 views

What is the biggest obstacle ASP.NET MVC ever had for you? Why and how it can be fixed? [closed]

What aspects of ASP.NET MVC can be considered bad practices of Microsoft or problematic? In ASP.NET web forms, thing like ViewState, Automatically generated Id and names, single form usage and pattern ...
6
votes
5answers
1k views

Inversion of Control in ASP.NET MVC

I was going to refactor my ASP.NET MVC application and inject some IoC. Last time I was using IoC, Unity was all the rage, but I hated it. It was difficult to setup and had very nondescript errors. ...
6
votes
4answers
2k views

Whats the logic behind making ViewBag a dynamic object in ASP.NET MVC 3

Last time I checked C# was loved by many because it's a statically typed language but the introduction of ViewBag in ASP.NET MVC 3 brings the same problem that is there with strings: in a controller ...
5
votes
2answers
778 views

Why does microsoft's own included MVC3 template not follow fat models, skinny controllers?

From Microsoft's own built in template for MVC3 The model is extremely skinny, having basically no code. Model public class RegisterModel { [Required] [Display(Name = "User name")] ...
4
votes
3answers
2k views

MVVM or MVC? Want to use the same set of classes for WPF and ASP.NET

I am a newbie in terms of Design Patterns. I just started learning MVC when I am hearing a new buzz, MVVM. I want to learn the insights of both of these by redesigning an old inventory and invoicing ...
4
votes
3answers
934 views

Is the .NET/Microsoft technology stack a financially viable option for a startup with limited finances?

I have an unpaid internship for a very new startup company with little tech experience that's trying to be a Groupon clone. They're currently using Wordpress and I've been trying to decide what web ...
4
votes
4answers
410 views

When developing a MVC web application should views or models be created first?

I have to build a new application from scratch, so I want to implement it using MVC3 and try to follow general best practices as closely as possible. However, I'm developing it as a one man army. ...
4
votes
1answer
1k views

Session Flash vs TempData C# MVC 3

A little background. A developer I used to work with insisted on disabling Tempdata and using Session Flash for passing data in the return view. Question is, is there any advantage to doing it ...
4
votes
4answers
382 views

Javascript client - which is likely to be better serverside? WCF or MVC3 controller with restful messages?

I'm looking to write a server side service, which will be accessed from a Javascript/HTML5 client. The client will likely be sending a bunch of restful messages over HTTPS. All other things being ...

1 2 3 4
15 30 50 per page