Cassini Error: “This type of page is not served”
问题 I'm trying to use the Server class from Cassini to include a basic web server in my own application. I just started playing around with it to get familiar with the way the server works and I setup a simple app that is as follows: static void Main(string[] args) { Server server = new Server(80, "/", @"C:\Projects\"); server.Start(); Console.ReadLine(); server.Stop(); } It lets me browse through the directories, however if I try to click on a file, a C# source file (*.cs) for example, it gives