Adding entry Causes 500 for Other Static Content on IIS Express

前端 未结 3 645
生来不讨喜
生来不讨喜 2020-12-29 02:30

I\'m using Visual Studio 2012 with Update 2 and IIS Express.

When I add a record to the staticContent section, all other static content (.js, .css, .jpg, etc) retur

3条回答
  •  情话喂你
    2020-12-29 02:40

    If you are using IIS Express in visual studio then there is no need to define staticContent so remove it.

    By default, Visual studio IIS Express allow all MIME types.

提交回复
热议问题