MVC4 style bundle giving 403

后端 未结 3 1713
难免孤独
难免孤独 2020-12-12 18:39

When bundling/minification is enabled, some of my bundles seem to have an invalid URL in the browser (ending with a /), and IIS gives a 403 forbidden error, as if trying to

3条回答
  •  我在风中等你
    2020-12-12 19:16

    The problem is the naming convention your bundle name should be

    ("bundles/css") 
    

    This solved my problem.

提交回复
热议问题