We have a ASP.NET MVC5 (Business) Web-Application (hosted on our webserver) and need to share and/or grab local data/files from the users (business customer) computer.
For example:
- Local foreign Desktop-Applications > this application need some data (e.g. xml-file) from our ASP.NET MVC-Application and maybe we will get back some data (e.g. xml-file) with results. At the moment the user can download only the file to the browsers Download-Folder, and copy the file to the predefined destination folder of the foreign Desktop-Application. The user need to manually upload the resulting xml-file to our application.
- Scanner: If the user scan something he can only manually upload it (for some scanners he also have to manually open the scan folder) - Drag & Drop is nice, but it would be more comfortable if this happens automatically. User don't want to Drag & Drop files.
- local Payment terminals (POS-Terminal) which are connected with USB or locally at the customers network > I can't interact with it from our Web-Application.
There would morge examples for other desktop applications / local devices which I can't access from an Web-Application.
Now our idea was to write a local .NET Core application which acts like a webservice, e.g. RESTful API where I can allow CORS-Header for my Web-Application > so we can communication locally. (We have also thinked about browser plugins, but this wouldn't be easy to support all browsers).
It should run locally on windows / mac and without the need for a webserver (e.g. IIS). A user GUI isn't necessary at all - but it would be great to do some settings (like folders for the foreign applications) or updating this application.
Can this be done with .NET Core?