阅读背景:

上传文件并发送到服务层,即c#类库

来源:互联网 

I am trying to upload a file and send it to the service layer to save, however I keep finding examples on how the controller gets the HTTPPostedFileBase and saves it directly in the controller. My service layer has no depencies on the web dll hence do I need to read my object into a memory stream/ byte? Any pointers on how I should go about this is greatly appreciated...I am trying to upload a file and send it to the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: