Page 1 of 2
OT. Web server embedded
Posted: Sat Sep 14, 2019 12:38 pm
by softdevo@tiscali.it
Sorry, I know I'm off topic but I still ask.
Does anyone know if there is an embedded web server to use a web application as a desktop application? Thank you all.
In the case of very small companies, I would need to distribute a web application, made to work in a local network, in single use, greatly simplifying the installation of the software.
Danilo
OT. Web server embedded
Posted: Sat Sep 14, 2019 2:23 pm
by wriedmann
Ciao Danilo,
I had search too for such software, and have found a few of them:
https://www.mwiede.de/windows-php-webserver/
https://www.ritlabs.com/en/products/tinyweb/
https://aprelium.com/abyssws/ (comes from Tunis...)
http://nginx.org/
Please let me know what you think.... I will need also one of them.
Wolfgang
OT. Web server embedded
Posted: Sat Sep 14, 2019 4:01 pm
by softdevo@tiscali.it
Thank you Wolfgang,
If I understand correctly the software you indicate to me they are all web servers alternative to IIS. I currently use Ultidev Web server which works great and is a very valid alternative to IIS, easy to install and configure.
if you are interested I can give you all the information you want. No, I was looking for something to incorporate into the program to avoid having to install anything other than the web application.
Something like a dll or an OCX that allows me to do without the web server.
Se io ho capito bene i software che tu mi indichi sono tutti web server alternativi a IIS. Io attualmente uso Ultidev Web server che funziona benissimo ed è una validissima alternativa a IIS, semplice da installare e da configurare, se ti interessa posso darti tutte le informazioni che vuoi. No, io cercavo qualcosa da inglobare nel programma per evitare di dover installare altro oltre alla web application.
Qualcosa come una dll o un OCX che mi permetta di fare a meno del web server.
Danilo
OT. Web server embedded
Posted: Sat Sep 14, 2019 4:17 pm
by Sherlock
We got around the requirement of IIS or equivalent by building a webservice/server in Amazon.
We call it from our local / clients network to this service/server.
This way without fixed IP and open clients network up to security hacks of that local webserver.
So when the call to the WebServer on Amazon it pulls the documents from the local network in totally secure and encrypted way. We only need 1 server like this for 300+ sites and all the security and security, firewall issues as all communication is on Port 443. I was told it could not be done... well 12 years later works perfectly.
OT. Web server embedded
Posted: Sat Sep 14, 2019 4:53 pm
by softdevo@tiscali.it
Thanks, but the problem is that many customers don't want their data to end up on public servers, they want to keep the data at home. So for very small realities it would be nice not to have to install any web server, but to make my web application work that a desktop program.
Danilo
OT. Web server embedded
Posted: Sun Sep 15, 2019 1:06 am
by Sherlock
Their data remains back local.. as I see local server, not maintained is the greatest risk of hacking.
The web service/server in Amazon of our design is the conduit to the data at the clients.
It has a cache of recent called data say last 14 days... and communication from external is never direct to local location of data or IP or not encrypted. The advantage to us also is scale. If 350 clients run and end of month processing and create 350 x 1000 documents in Statements, invoices.. and they have every one of their clients pull this data..an issue of bandwidth for the agent to deliver. Amazon scales can handle this easily. We also set it for biggest clients that t does feed the data without killing their bandwidth the webserver.. but we only keep data store like this for 14 days when 90% of the demand will happen. We do not have to worry about local security as we have not opened access locally.
OT. Web server embedded
Posted: Sun Sep 15, 2019 3:53 am
by wriedmann
Hi Danilo,
there are some C# webservers available.
This is one I have found:
https://www.nuget.org/packages/Watson/
But of course it is really easy to write a webservice yourself using the http.sys driver available on every Windows system.
I have a sample here:
https://riedmann.it/download/VulcanHttpListener.viaef
An service based on this sample is running in production a customers server for years now.
Wolfgang
OT. Web server embedded
Posted: Sun Sep 15, 2019 4:29 pm
by FoxProMatt
@Danilo -
Here is a simple C# "web server" / desktop app I recently saw on CodeProject. I downloaded and ran the desktop app that can handle http calls on a local network IP of the machine running the app.
You'd have to continue updating the code to parse the URL request string and decide what action to take and what response to send back. The possibilities are endless, or course. This is a minimal, but viable starting point.
https://www.codeproject.com/Articles/5205722/Tiny-Web-Server-Take-2
OT. Web server embedded
Posted: Sun Sep 15, 2019 4:55 pm
by softdevo@tiscali.it
Thank you, but unfortunately the file is no longer available, can you send me the file you downloaded?
Thanks
Danilo
OT. Web server embedded
Posted: Sun Sep 15, 2019 6:19 pm
by FoxProMatt
TinyWeb Take 2 on CodeProject?
I just tried it and it was able to download just fine. The download link is right at the top of the article.
You have to be logged into the site with your CodeProject username to download.