Portable Area not finding embedded files MVC4 C#

后端 未结 2 555
梦如初夏
梦如初夏 2021-01-26 03:43

I have a solution with two projects in it. A portable areas project, and a web site that references the portable areas project, and Both reference MvcContrib.

The proble

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-26 04:24

    In the Web.Config add for each file type:

    
      
        
      
    
    

    This will make IIS try to use the defined routes instead of searching for the static file.

提交回复
热议问题