Web server that receives and sends parameters to C #, is it possible?

3

I developed a C # (.NET) software that sends / receives text files to an FTP server, but for security I try to work only with parameters of types String / Bytes for security reasons, my question is: "Can I create a web server (I can not figure out which tool / language) to receive these parameters via C # and to respond when prompted?

Note: This data will also be requested via an Android App.

    
asked by anonymous 18.11.2014 / 19:49

1 answer

3

It is possible, of course. If it were not possible there were no web servers, right?

You need to see if this is what you really want. Rarely is this necessary. But if you want to go ahead I say it's no easy task, mainly because it seems like you care about security. Making a secure server is extremely difficult and labor intensive, usually done by very experienced and dedicated staff.

There may be a solution that solves what you want without so much work. It is not best suited for high-traffic websites but solves specific needs. Microsoft has created something that does much of the work. It is a specification (OWIN) and implementation (Katana) of a server for use with .Net applications. I wrote something on this another answer . There are links to more information about the technology. Now there is also Kestrel which is the cross-platform implementation of OWIN.

But I reaffirm, I do not think you need any of this. A default server should solve what you need. What you ask for is the role of any server.

    
18.11.2014 / 20:05