If running an ASP.NET Web Site outside of IIS is your requirement, you picked the wrong architecture.
The only real way this will work is if you create a normal windows service with all your code in and that code also generates static html for your browser to parse. But that's all you can really do.
Browser connects on port and sends the normal request to a listening socket in your service. Service gets that request and outputs the HTML that your code generates, based on the command it received.
You're effectively writing a web-server, which in itself is an interesting project, but wholly unnecessary.
There's not that much wrong with IIS, why can't you use it?
PS. This is what a typical browser request looks like
So you would need to parse that on your socket to make a decision about which method to run in your service.
It's possible, but it's bad. VERY BAD. Use IIS, or if you're running Linux, use the ASP .NET plugin for Apache. It's based on Mono so isn't completely up to date with the latest release but most major functionality is there.
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...