Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HttpRuntime.AppDomainAppVirtualPath #81

Merged
merged 2 commits into from
Jun 30, 2022
Merged

Conversation

twsouthwick
Copy link
Member

No description provided.

@CZEMacLeod
Copy link
Contributor

Does this lead to being able to create a version of System.Web.VirtualPathUtility that works under ASP.Net Core?
I think I only really need

public interface IVirtualPathUtility
{
	string ToAbsolute(string virtualPath);
	string ToAppRelative(string virtualPath);
}
public class VirtualPathUtility : IVirtualPathUtility
{
	public string ToAbsolute(string virtualPath) => System.Web.VirtualPathUtility.ToAbsolute(virtualPath);
	public string ToAppRelative(string virtualPath) => System.Web.VirtualPathUtility.ToAppRelative(virtualPath);
}

@twsouthwick
Copy link
Member Author

@CZEMacLeod this is probably part of it. Can you open an issue with the APIs you would need? The whole VirtualPath infrastructure ends up pulling in a bit of stuff, so we're initially just going after APIs that are used in the wild.

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

Successfully merging this pull request may close these issues.

None yet

3 participants