This change adds the concept of a full-name to viewcomponents. View components can be invoked using either the short name or long name. If the provided string contains a '.' character, then it will be compared against full names, otherwise it will be matched against short names only. The short name is used for view lookups. If the name is explicitly set via ViewComponent attribute, then the full name is the name provided. The short name is the portion of the name after the last '.'. If there are no dots, then the short name and full name are the same. If the name is not set explicitly, then it is inferred from the Type and namespace name. The short name is the Type name, minus the 'ViewComponent' suffix (if present). The full name is the namespace of the defining class, plus the short name. |
||
|---|---|---|
| samples | ||
| src | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| Mvc.NoFun.sln | ||
| Mvc.sln | ||
| NuGet.Config | ||
| README.md | ||
| Settings.StyleCop | ||
| build.cmd | ||
| build.sh | ||
| 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.