Webcam integration in .net MVC

I am the new bee for this .net MVC, mostly I'm from PHP. I am trying to integrate a webcam in my MVC application. I use Flash to integrate it, I wrote a script action to capture images from a webcam, but I can’t upload it to the database. I tried to communicate with javascript and actionctipt, but did not work for me. Any valuable materials are appreciated for me.

Plz help me nobody .......: (

Samir Joshi

+3
source share
2 answers

You will need to publish the file from your Flash applet to the .NET page / service / http handler / MVC Action, which will actually write the image to your database.

. (, )

[AcceptVerbs(HttpVerbs.Post)]
public ActionResult  SaveFile(HttpPostedFile uploadedFile)
{
    // write file to DB / save to disk here
    RedirectToAction(......);
}

, Flash www.site.com/files/savefile

+1

Silverlight 4 -.

-

.

-1

Source: https://habr.com/ru/post/1727844/


All Articles