Go to file
Javier Calvarro Nelson 87c430ae19 [#732] Attribute Routing: Implement `~/` for overriding a prefix
This change allows a user to override a route prefix set using
[Route("...")] on the controller by providing a route template
on the action that starts with "~/" or "/". For example,
[HttpGet("~/...")] or [HttpGet("/...")]

If the user specifies a template in [Route] that starts with "~/"
or "/", we will just strip the prefix from the template and use
the remaining part of the template.

The reason to do this is that there's a reasonable extensibility
scenario where a user can implement a global prefix for routes as
a convention (using IReflectedApplicationModelConvention), and use
~/ to escape that prefix (just like we support with action-level routes).
2014-07-16 09:40:38 -07:00
samples/MvcSample.Web Renamed configurations to frameworks in project.json 2014-07-13 21:58:12 -07:00
src [#732] Attribute Routing: Implement `~/` for overriding a prefix 2014-07-16 09:40:38 -07:00
test [#732] Attribute Routing: Implement `~/` for overriding a prefix 2014-07-16 09:40:38 -07:00
.gitattributes
…
.gitignore Updating kproj file to match tooling changes 2014-05-18 20:13:56 -07:00
CONTRIBUTING.md
…
LICENSE.txt
…
Mvc.sln Add extra unit tests and functional tests for CompositeViewEngine 2014-07-09 15:03:34 -07:00
NuGet.Config Updating dev Nuget.config 2014-06-20 14:33:35 -07:00
README.md
…
Settings.StyleCop setting line length to 120 to match our guidelines 2014-06-06 11:09:10 -07:00
build.cmd Adding switch to build.cmd to skip KRE install 2014-06-03 10:16:12 -07:00
build.sh Updating build.sh based on KRuntime changes 2014-06-10 17:23:50 -07:00
global.json Added functional tests for MVC. 2014-05-28 12:46:41 -07:00
makefile.shade Change the default author in makefile.shade 2014-06-18 16:35:03 -07:00

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.