ASP.NET Routing, make i possible to route to a .zip file for download
I'm using ASP开发者_如何转开发.NET Routing in my webapp. On my site I have a .zip file that I want to users to be able to download. But I get error saying: "There is no build provider registered for the extension '.zip'. "
What I'm I doing wrong?
For ASP.NET MVC try using FileContentResult Class msdn link
精彩评论