Navigation Menu

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

Theming in ASP.NET Core #38

Open
hishamco opened this issue Dec 1, 2018 · 2 comments
Open

Theming in ASP.NET Core #38

hishamco opened this issue Dec 1, 2018 · 2 comments

Comments

@hishamco
Copy link
Owner

hishamco commented Dec 1, 2018

No description provided.

@phnogues
Copy link

phnogues commented Feb 6, 2019

Thanks for your example, it's perfect.
I had to change app.UseStaticFiles method by :

app.UseStaticFiles(new StaticFileOptions() { FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, $@"Views/Themes/{appSettings.Value.Theme}")), RequestPath = string.Empty });

👍

@hishamco
Copy link
Owner Author

hishamco commented Feb 7, 2019

Happy to hear that helps you

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

No branches or pull requests

2 participants