c# - Send data from website to windows application -
i want know best method send data website windows application. want make video encoder , it'll work this: customer upload videos , when uploading progressed finished website send signal , data (like: video resolution , bit-rate) windows application start encoding videos. want vb.net or c#.net.
have .net program listen http requests outside world. when request received, that's signal start encoding. can data (bitrate, ...) query portion of request.
example workflow of pure html/.net implementation:
- create simple html form posts data address encoder hosted.
- in .net program, create instance of
httplistener
(see msdn) act simple web server. - when
httplistener
receives request, send simple "thank you" page (or whatever) , start encoding. - somehow notify user when encoding has finished (email?).
Comments
Post a Comment