开发者

ASP.NET Routing, make i possible to route to a .zip file for download

开发者 https://www.devze.com 2023-04-08 11:26 出处:网络
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.

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

精彩评论

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