Basic C# Question

Posted on 2005-05-05
Last Modified: 2010-04-16
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 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?  

Question by:JohnnyKnoxville
    LVL 14

    Accepted 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:

    An easy example on how to use ASP.NET:
    LVL 6

    Expert Comment

    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,


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
    This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now