WPF Browser aplication in C #

0

I have a WPF application that allows me to use the digital person sdk to capture fingerprints, and I have a web application that sends the generated exe from the wpf application, but I want to run that application from an application or website.

The way I run the application from asp.net is this:

Process programa = new Process();
programa.StartInfo.UseShellExecute = false;           
ProcessStartInfo info = null;

info = new ProcessStartInfo("C:/Users/rutaapp.exe"); //Aquí va la ruta de la aplicación física.

programa = Process.Start(info);

It works perfect, but I want to have communication between the wpf application and the web.

I read that I can make an application type WPF Browser Application since it seems to allow me to execute a Forms application via web, but when I open Visual Studio, that type of project does not appear, only WPF Application appears to me.

Does anyone know how I can have that project? or how to communicate between these two applications ?? Thanks.

    
asked by EriK 17.04.2018 в 17:45
source

2 answers

0

I am afraid that the integration to search can not be done, a web development is limited to accessing devices on the user's PC.

Maybe there would be some possibility when there were the ActiveX or Silverlight , but these options are deprecated.

If you need an authentication by footprint then your development is not web, maybe you could authenticate in this way to access web service, such as wcf or webapi, but only to authenticate and obtain the security token.

If you run an .exe from the .net code of the site it will run on the server, not the client, do not confuse the fact that you are developing local, with which server and client are on the same pc, this It will not be like this when you do deploy in the hosting.

    
answered by 17.04.2018 в 18:43
0

Do one thing, see: on the one hand, the wpf app (I suppose c sharp) and the web, as simple as putting the intermediate point in the database. Using a database as a bridge, you will send the wpf app to the server and, on the other side, from the web, retrieve the data you inserted from the wpf. End

    
answered by 17.04.2018 в 19:20