Pranav K
cfa9631ce8
Resolve path traversals in RazorViewEngine
...
This change moves the onus of path resolution from individual IFileProvider instances to RazorViewEngine.
Fixes #5574
Fixes https://github.com/aspnet/MvcPrecompilation/issues/33
2016-12-08 11:20:06 -08:00
Pranav K
a52d692de0
Updating to netcoreapp1.1
2016-10-13 11:21:09 -07:00
Pranav K
ed1378a365
Revert "Updating to netcoreapp1.1"
...
This reverts commit 398a104810 .
2016-10-12 16:09:12 -07:00
Pranav K
398a104810
Updating to netcoreapp1.1
2016-10-12 14:24:52 -07:00
Pavel Krymets
42c3397b6e
Migrate tests, tools and samples to portable
2016-04-18 17:20:15 -07:00
N. Taylor Mullen
33d1aea8ea
Transition to Netstandard.
...
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:39:31 -08:00
Pranav K
80b6996701
* Moving DNX dependencies to test only
...
* Updating Mvc tests to use dotnet test to run on dnxcore50
2016-02-23 18:58:42 -08:00
Pranav K
5b805bb12d
Updating to use cli
...
Fixes #3908
2016-02-22 17:49:51 -08:00
N. Taylor Mullen
3be7fbdf9f
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:18:33 -08:00
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
Doug Bunting
ff19702db5
Remove `WaitService`
...
- use `MvcTestFixture` instead of `TestHelper`
- part of #3139
- continue to test e2e interaction of `FlushAsync()` with sections, partials, et cetera
- remove `FlushPointTest.FlushBeforeCallingLayout()`
- `RazorPageTest.FlushAsync_ThrowsIfTheLayoutHasBeenSet()` unit test covers the scenario
2015-10-28 15:47:16 -07:00
Kirthi Krishnamraju
30d11a8227
Added LanguageViewLocationExpander into framework and removed it from samples
2015-06-04 14:06:08 -07:00
N. Taylor Mullen
64e726d2b2
Update LICENSE.txt and license header on files.
2015-05-01 13:55:25 -07:00
N. Taylor Mullen
35fc8279dd
Updated missed dnx name changes.
2015-03-09 02:17:58 -07:00
N. Taylor Mullen
e829ba7646
Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
2015-03-08 12:52:24 -07:00
Pranav K
73f44889f2
ViewLocationExpanderContext should have a flag that indicates if the
...
lookup is for a full or partial view
Fixes #1212
2015-02-26 16:41:54 -08:00
Pranav K
110ee28e3e
Adding support for flowing compilation settings to views
...
Fixes #871
2015-01-02 15:34:52 -08:00
Pranav K
052ad3e95f
RenderSection \ RenderSectionAsync does not work in sections
...
Fixes #1509
2014-11-14 12:17:25 -08:00
YishaiGalatzer
ba1884aacb
Make wait service not timeout without yelling, and making the timeout longer
2014-10-07 23:04:36 -07:00
Pranav K
ad8ab4b8fd
Adding support for ViewLocationExpanders to allow modifying view locations
...
without changing the view engine.
Fixes #1039
2014-10-01 16:15:25 -07:00
Pranav K
a931e21456
Adding support for flush points in Razor pages
...
Fixes #1042
2014-08-29 09:30:23 -07:00
Pranav K
a490abc6e8
Adding support for inheriting chunks from _ViewStarts as part of host
...
parsing.
Fixes #881
2014-08-22 11:04:42 -07:00