开发者

Using silverlight plugin for capturing images in asp .net mvc application

I am using silverlight plugin for capturing images through webcam and want to save these images in mvc app. so that to use them for retrieving some information.this application is regarding the decoding of barcode image and then making that barcode a unique id so that a particular record from the database will be retrieved accordingly.

Any help will 开发者_运维知识库be highly appreciated.

Thanks.


So, after you've obtained the image from the webcam, the file is stored in a Memory Stream, correct?

Just do a normal HTTP Post to an MVC controller action that includes an HTTPPostedFileBase as one of its parameters:

-- uploading a silverlight memory stream Very simple Silverlight File Upload example

-- capturing the file inside MVC http://haacked.com/archive/2010/07/16/uploading-files-with-aspnetmvc.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜