The ASP.NET MVC Framework is an open source web application framework and tooling that implements a version of the model-view-controller (MVC) pattern tailored towards web applications and built upon an ASP.NET technology foundation.

- Stackoverflow.com Wiki
41 articles, 9 books. Go to books ↓

MVC allows you to create strongly-typed views, but since those views aren’t compiled until run-time, you don’t always get warned about changes to your models (like property name changes) or other errors in your view until it’s running.


You really don't know what needs to be optimized until you measure performance.


This article will show you how to hit the ground running with AngularJS while using a server side MVC framework, ASP.NET MVC.


.NET has a built in SyndicatedFeed and SyndicatedItem class for content and two classes (Rss20FeedFormatter and Atom10FeedFormatter) to handle XML generation with correct encoding, formatting and optional fields.


The new release brings with it some long-awaited new features, and marks a substantial expansion of the security and authorization capabilities available to ASP.NET applications of all types.


A wide range of topics, tips, tricks and the ins-and-outs of working with the Bootstrap library and CSS framework with Asp.Net’s MVC Framework.


ASP.NET team released Identity framework 2.0. The new release contain some new features like generic primary key. This article explain how to change primary key from string to integer & use it with MVC5.


Eric Vogel covers some of the new features in ASP.NET MVC 5.1. In this first of a two-part series, he takes a good, long look at some new attribute routing options.


Angular is a great tool for enriching an ASP.NET MVC application, but you must bridge the gap between your client-side code and your server-side code in order to use it effectively. In this post, I’ll show you a couple of ways that you can pass data from your Razor views to your AngularJS components.


If your application is using ASP.NET Identity or other membership systems such as SQL, Universal or Simple membership, then you might be running into the following issue. If you are using ASP.NET Identity 2.x, the query for getting profile values (among other things) uses the UPPER() function on Username - this causes any indexes on username to be ignored.


Glimpse is a thriving and growing family of open source NuGet packages that provides detailed performance, debugging and diagnostic information for ASP.NET apps. It's trivial to install, lightweight, ultra-fast, and displays key performance metrics at the bottom of every page. It allows you to drill down into your app when you need to find out what's going on at the server.


Onion Architecture is the preferred way of architecting application for better testability, maintainability and dependability on the infrastructures like databases and services.


Did you know that ASP.​NET Identity and the OAuth authentication providers are two completely separate technologies, and that you do not have to use ASP.​NET Identity to use one of the OAuth providers? In this blog post shows you how to configure your ASP.​NET project to use the GitHub authentication provider without any of ASP.​NET Identity being involved.


RSS feeds have been around for a long time and, to be honest, not many people know what an RSS feed can do.


URLs are the most basic but important part of any web applications. Majorly developed as part of MVC framework, the URL routing module is a native part of ASP.NET framework now. The same component provides services to both web forms and MVC applications though through a slightly different API.


Custom error pages are one of the last development items on the creation of an ASP.NET application. During development, we want to see the yellow screen of death early and often to ensure users don't see the error pages at all.


ASP.NET MVC (5 and 6) have two settings you can use to automatically create canonical URL’s every time you generate URL’s.


ASP.NET 5 has dependency injection available at framework level and ASP.NET 5 makes heavy use of it. Most of things surrounding controllers, views and other MVC components are implemented as services that web applications consume.


This post will walk you through the step-by-step procedure on building a simple ASP.NET 5 application using AngularJS with Web API.


If you’ve used the RequireHttps attribute filter before, you might be aware that it uses a 302 temporary redirect instead of a 301 permanent. If you’re trying to secure your entire website by using the RequireHttps attribute, you’re missing out on some SEO.


Develop a custom Action Filter in ASP.​NET MVC that implements client caching.


ASP.NET MVC 6 is a ground up rewrite of the popular .NET web platform. Sweeping changes were made throughout, with even some of the most basic elements being reorganized. These changes are immediately apparent when starting a new MVC6 project, especially to developers familiar with previous versions of the framework.


Routing can be a very tricky issue within ASP.NET MVC and Web API applications. This can be especially true if you have a variety of different routes with varying parameters defined in such a way that a single request could satisfy multiple routes.


Unit tests are definitely becoming a need-to-have skill for developers to confirm their code does what it should for production.


Using Custom Model Binding to map the data from the request to our ASP.NET MVC Model


A collection of articles designed to uncover ASP.NET MVC's secrets.


This guide is designed to show you how to work with HelloSign API to send and sign documents via ASP.NET MVC. HelloSign is a service that allows you to sign documents, and can be used to legalize agreements, preparing contracts, among others.


I hope these tips help you out with maximizing your ASP.NET MVC development efforts.


The OutputCache attribute is a great way to improve both response time and scaleability, except there are many times when you can’t use it. Here’s how to leverage the HtmlHelper Action method to handle those exceptions.


Here's how to combine adding HandleError attributes to your ASP.NET MVC application both through Global Filters and adding them directly to your Action methods.


In this article, I discuss the bare minimum code that every ASP.NET MVC application should have, to really save some valuable time and to help programmers – especially junior ones – to develop a more pragmatic mindset.


Your users will make mistakes ... but it would be a mistake to treat all their errors the same way. You can get more out of ASP.NET MVC's validation infrastructure just by paying attention to how you name your errors.


One complaint with a lot of frameworks out there is that good integration with the Microsoft stack requires a total buy in to that framework. Once something like React, Angular or Ember is working with .net you have to jump through some hoops, install adapter modules, rewrite routing logic for all controllers.


There’s a potential security exploit that ASP.NET MVC leaves you open to. However, in Peter’s opinion, all the proposed solutions miss the point.