Go to file
Ryan Nowak 78a4e78358 Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute
IActionConstraint follows a provider model similar to filters. The
attributes that go on actions/controllers can be simple metadata markers,
the 'real' constraint is provided by a set of configurable providers. In
general the simplest thing to do is to be both an
IActionConstraintMetadata and IActionConstraint, and then the default
provider will take care of you.

IActionConstraint now has stages based on the Order property. Each group
of constraints with the same Order will run together on the set of
actions. This process is repeated for each value of Order until we run out
of actions or run out of constraints.

The IActionConstraint interface is beefier than the equivalent in legacy
MVC. This is to support cooperative coding between sets of constraints
that know about each other. See the changes in the sample, which implement
webapi-style overloading.
2014-10-03 18:50:01 -07:00
samples/MvcSample.Web Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
src Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
test Fix for #975 - Implementing IActionConstraint and ActionMethodSelectorAttribute 2014-10-03 18:50:01 -07:00
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE.txt
Mvc.sln Changes to make EnableInstrumentation conditionally enabled 2014-10-02 17:55:40 -07:00
NuGet.Config Updating dev NuGet.config 2014-09-17 09:58:57 -07:00
README.md
Settings.StyleCop
build.cmd
build.sh Updating build.sh to latest 2014-10-01 11:10:15 -07:00
global.json
makefile.shade

README.md

ASP.NET MVC

ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and gives you full control over markup for enjoyable, agile development. ASP.NET MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.

ASP.NET MVC in ASP.NET vNext includes support for building web pages and HTTP services in a single aligned framework that can be hosted in IIS or self-hosted in your own process.

This project is part of ASP.NET vNext. You can find samples, documentation and getting started instructions for ASP.NET vNext at the Home repo.