• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

Basic C# Question

Im planning on building a C# web forms application.   Do I HAVE to have IIS in order to run a web forms project?  Can it be run on Apache?   Ive been searching the web and microsoft's site says it must be run on IIS.    Is a web forms application just a ASP.net app that I code with C#?  Do I just select 'File/New/Project/ASP.NET Web Application.  Can someone please point me in the right direction?  

1 Solution
ASP runs the best on IIS yes, so it's best to use that. You also have PHP.NET (Also known as PHP#), but that's still in development . You can find out about it's current status at: http://www.php-compiler.net/

An easy example on how to use ASP.NET:
There is a way to get Apache to handle asp pages.


It looks a little tricky to set up. If you Google "Apache server" and "ASP" you will find a number of resources to help you out. Why are you reluctant to use IIS? Do you have a Windows operating system that doesn't have IIS configured? If this were my first web app with ASP.NET, and I were planning to use Visual Studio to build it,  I would do everything I could to get it going on IIS. If you run into configuration issues with the Apache server you will have an extra layer of complexity to work through, and Microsoft's documentation won't be helpful.

Good luck,

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now