开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜