| Start |
|---|
| Basic read-only HTTP file server (HttpListener) Notes: This example must be run in administrative mode. Only one simultaneous client is supported. For simplicity, filenames are assumed to be all ASCII (for the filename part in the Content-Disposition header) and file access errors are not handled. |
| Basic read-only HTTP file server (ASP.NET Core) 1 - Create an empty folder, it will contain the files created in the next steps. 2 - Create a file named 3 - Create a file named 4 - Open a command prompt, navigate to the folder and execute: Note:
These commands need to be run only once.
Use 5 - Start the server with: For simplicity, filenames are assumed to be all ASCII (for the filename part in the Content-Disposition header) and file access errors are not handled. |
Read Article
https://develop.horje.com/learn/1434/reference