Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created June 10, 2020 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/b4fcb6e98da9887e724167469b15e8a7 to your computer and use it in GitHub Desktop.
Save bjoerntx/b4fcb6e98da9887e724167469b15e8a7 to your computer and use it in GitHub Desktop.
app.UseStaticFiles(new StaticFileOptions
{
FileProvider = new Microsoft.Extensions.FileProviders.PhysicalFileProvider(
System.IO.Path.Combine(System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetEntryAssembly().Location),
"TXTextControl.Web")),
RequestPath = "/TestPage/TXTextControl.Web",
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment