i wanted to create a web server while on the process…..
i am not being able to create a dynamic html which could take link from my c# console application…
for example i have a code which shows files from the system.. for example “c:\tike\a.jpeg” now i wanted to make that particular link a a href link in my html page…
any help would be appreciated…..
thank you..
(to sum up … i want to create dynamic html page which takes value from c# console application.)
Ignoring virtual paths etc. for now, here is a simple example to get you started:
resultcontains a string that you can send as body of an HTTP response to the web-browser.(Note: I typed the code right into the answer box, no idea if it compiles as-is.)