I've been using ASP.NET MVC for personal projects since before it hit RTM.
I am preparing a presentation for my colleagues to introduce them to basic concepts of ASP.NET MVC and show them how it could be used in our environment.
My presentation has a 15 minute limit. There is a lot of information to relay (especially if you factor in projects like MVCContrib and various blog posts).
What topics should I focus on?
Some context: I work for a digital agency. My colleagues are .NET developers with 3+ years of ASP.NET experience.
What's been suggested so far:
The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating MVC-based Web applications.
It shouldn't! That's why it's designed in a modular way. In most web applications out there, we version and deploy all these assemblies (Web, BLL and DAL) together. So, separating a project into 3 projects does not add any values.
You only have time for 2 or 3 main points.
The most important concept to grasp is that requests arrive at controllers then the controller chooses what view to present the results the controller has generated.
The next important concept is that MVC has its big win over the "classic" ASP.NET when you create unit tests for your controllers and the model. Without this MVC is just another way to skin a cat.
For a final point I would focus on the structure of URLs not because its that important but because we like things that have a clean feel and MVC Urls can do that, this may help generate a positive response.
Avoid going on about there being no server controls (which isn't entirely true) since that is likely to elicite a negative response. In general avoid mentioning what is doesn't do compared with ASP.NET forms (although there not being any need for Viewstate is worth mentioning in passing). You know that the benefits out weigh the things that are missing (or unnecessary) but your audience does not. Keep it positive.
The big Topic of Unit Testing may be too big for a 15 Minute meeting, but if your developers are already using TDD I would add it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With