- #3612 subpart 2 of 2 - merge `ActionConstraintsWebSite`, `AntiforgeryTokenWebSite` and `ContentNegotiationWebSite` into `BasicWebSite` - remove tests depending on `ErrorReporterMiddleware` in merged sites; not used in `BasicWebSite` - delete `CompositeViewEngineWebSite`, `Microsoft.AspNet.Mvc.ViewEngines.CompositeViewEngineTest` covers cases - delete `CorsMiddlewareWebsite`, soon to be in Cors repo (see aspnet/CORS#57) - remove `SendFileMiddleware` from FilesWebSite, unused there |
||
|---|---|---|
| .. | ||
| Controllers | ||
| EmbeddedResources | ||
| wwwroot | ||
| FilesWebSite.xproj | ||
| Startup.cs | ||
| project.json | ||
| readme.md | ||
| sample.txt | ||
readme.md
FilesWebSite
This web site illustrates how to use FileContentResult via File method on the controller. It also demonstrates
how to write and register a custom FileSender middleware.