aspnetcore/test/WebSites/RazorWebSite
Doug Bunting 3be6167aa0 Switch concepts from misnamed `isPartial` to `isMainPage`
- `true` has the opposite meaning now but most changes are due to new parameters names in `IViewEngine`
  - use name names in `Microsoft.AspNet.Mvc.ViewFound` and not found events
- remove `IRazorPage.IsPartial` and `RazorView.IsPartial`
  - remove `IsPartial` properties from `Microsoft.AspNet.Mvc.Razor.BeginInstrumentationContext` and end events
- add parameter checks to `RazorView` constructor; instances are not retrieved from DI

nits:
- remove unused `cacheKey` parameter from `RazorViewEngine.CreateCacheResult()`
- correct duplicate test names in `RazorPageTest`
  - also `...OnPageExecutionListenerContext` -> `...OnPageExecutionContext`
2015-11-18 15:59:37 -08:00
..
Components Add relative view path support 2015-11-18 15:59:11 -08:00
Controllers Add relative view path support 2015-11-18 15:59:11 -08:00
Models
Services Switch concepts from misnamed `isPartial` to `isMainPage` 2015-11-18 15:59:37 -08:00
Shared-Views/ExpanderViews
Views Add relative view path support 2015-11-18 15:59:11 -08:00
wwwroot
MyBasePage.cs
NestedViewImportsController.cs
RazorWebSite.xproj
Startup.cs Switch concepts from misnamed `isPartial` to `isMainPage` 2015-11-18 15:59:37 -08:00
project.json
readme.md

readme.md

RazorWebSite

This web site illustrates use cases for razor view engine, partials and view components.