Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

PhysicalFileSystem constructor should only take absolute paths #17

Closed
Tratcher opened this issue Sep 10, 2014 · 1 comment
Closed

PhysicalFileSystem constructor should only take absolute paths #17

Tratcher opened this issue Sep 10, 2014 · 1 comment
Assignees
Milestone

Comments

@Tratcher
Copy link
Member

RE: aspnet/StaticFiles#8

Right now PhysicalFileSystem calls CallContextServiceLocator.Locator to get the IApplicationEnvironment.ApplicationBasePath. CallContextServiceLocator breaks Razor on desktop.

This service resolve should be done by the caller (StaticFiles middleware) so we don't have to use CallContextServiceLocator internally.

@pranavkm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants