How to mix public accessible files in the Views folder of ASP.NET MVC?

Posted by ray247 on Stack Overflow See other posts from Stack Overflow or by ray247
Published on 2010-06-17T22:01:07Z Indexed on 2010/06/17 22:03 UTC
Read the original article Hit count: 162

Filed under:

Hi there,

I'd like to move publicly accessible files .css, images into my ASP.NET MVC Views folder. Since the Views has a web.config denies all requests, what exactly do I need to do to achieve this, so .aspx, .ascx are still protected while .css, images are accessible. Could someone show in detail please.

Thank you, Ray.

© Stack Overflow or respective owner

Related posts about asp.net-mvc