How do I compile and run an ashx file in visual studio?
asp.net, c#, visual-studio
Solution
An `ashx` file is a just a generic HTTP handler, so the easiest way to get this working is to create a new Web Site in the File menu, and just add the `Handler.ashx` file to the website root directory.
Then, just run the site (F5) and browse to "`YourSite/Handler.ashx`".
Problem
I have - an ashx file, - Visual Studio 10, - no knowledge at all about C# ASP.NET What is the proper way to compile and run this? Context The ashx file in question can be found in this zip, and is a demo application for a Tetris AI competition. It is a very enticing idea even if it depends a great deal on luck, and I thought I might use the occasion to learn a new language.