Allowing access to my Site.Css on my login form MVC

后端 未结 3 2052
清歌不尽
清歌不尽 2021-01-06 11:20

I need my css to show for my login page, but it\'s not showing at the moment. How would I go about allowing access to my login page with the css included? Im using forms aut

3条回答
  •  我在风中等你
    2021-01-06 11:55

    the denies anonymous users from accessing the css file. (read here)

    so you'll need to put the following into your block within web.config

    
        
          
            
          
        
      
    

    you can read some more about this here

提交回复
热议问题