I am trying to override the styles in the login, logoff, etc.. html templates in IdentityServer3 and it seems not to be working. I read ALL the other issues can could not find an answer.
In the startup.cs file I have the following code:
var viewServiceConfig = new DefaultViewServiceOptions();
viewServiceConfig.Stylesheets.Add("/Content/styles.css");
viewServiceConfig.CacheViews = false;
factory.ConfigureDefaultViewService(viewServiceConfig);
In my project solution off the root of the project I have a folder called Content and a file called styles.css
When I inspect the rendered html I see the file, but the styles do not take affect
when I try to navigate to that path in the browser, I get a 404. I check the directory in bin/Debug of the output and the Content directory and the file are there. Any suggestions ?
I am trying to override the styles in the login, logoff, etc.. html templates in IdentityServer3 and it seems not to be working. I read ALL the other issues can could not find an answer.
In the startup.cs file I have the following code:
In my project solution off the root of the project I have a folder called Content and a file called styles.css
When I inspect the rendered html I see the file, but the styles do not take affect
<link href ="/Content/styles.css" rel="stylesheets"
when I try to navigate to that path in the browser, I get a 404. I check the directory in bin/Debug of the output and the Content directory and the file are there. Any suggestions ?
Thanks