This is some low hanging fruit for reducing the number of resolves we have per request. DefaultHtmlGenerator: Lots of these are created by RazorPage. It needs IUrlHelper, so scoped is the best we can do for now. For an example, on the front page of our sample, 48 of these are created for each request. 48! This takes it down to 1-per-request. JsonResult: Again, multiple created per request (12 for the sample). This class is totally stateless, so we can get down to 0-per-request. DefaultViewComponentInvokerFactory: Same story as JsonResult. DefaultObjectValidator/MvcMarkerService/DefaultFilterProvider: these are stateless and pretty much guaranteed to be used by every request. Getting them off the table. |
||
|---|---|---|
| samples | ||
| src | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| Mvc.NoFun.sln | ||
| Mvc.sln | ||
| NuGet.Config | ||
| README.md | ||
| Settings.StyleCop | ||
| appveyor.yml | ||
| 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 5 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 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.