How to configure IIS8 to support a web service

First thank you for helping me.

I am running Windows 8 and IIS 8.  I am developing a web service using Visual Studio LightSwitch.  During development, I want to test this service out on my development machine.  How do I configure IIS8 for this test?  

I am missing some step, some configuration setting, something and I don't know what it is.  So in your answer please include all required steps.

Thank you very much for your time and effort.
Who is Participating?
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
which dev environment are you using ? VS2010 with Lightswitch addon? / vs2012/vs2013?

All that you should have to do is ensure that iis has the required .asp/ assemblies
create a new website, making sure that it is using the same .net version as in VS point the virtual directory to the program location. in the bindings I change the port #, also I check to ensure that the default document is correct. then things work.
Pradeep DubeyConsultantCommented:
check below link if helps:
MichaelDavidCarrAuthor Commented:
Thank you for getting back to me so quickly.

The link you provided suggests that in order to resolve the error, reinstall everything.

In my case, I haven't even begun testing my application, consequently  I am not yet receiving any error messages.  But I do know that IIS (IIS8 in my case) needs to be configured appropriately to host the web service.  How do I configure IIS?

Again, thank you.
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
If you support web applications written using ASP.NET 2 to 3.5, install .NET 3.5 before installing IIS and ASP.NET modules.
To install .NET 3.5 on Windows Server 2012 or Windows 8

    On the Start screen, right-click the Command Prompt tile, and then click Run as administrator.
    At the command prompt, type the following: dism /online /enable-feature /featurename:netfx3
    Wait for the command to complete. It could take several minutes.
    Close the command prompt window.

To install IIS and ASP.NET modules on Windows 8 by using the UI

    On the Start page, click the Control Panel tile.
    In Control Panel, click Programs, and then click Turn Windows features on or off.
    In the Windows Features dialog box, click Internet Information Services to install the default features.
    Expand the Application Development Features node and click ASP.NET 4.5 to add the features that support ASP.NET. (If you installed .NET 3.5, select ASP.NET 3.5 also.) The following additional features are automatically selected:
        .NET Extensibility 4.5
        ISAPI Extensions
        ISAPI Filters
        .NET Extensibility 3.5 (If ASP.NET 3.5 was selected)
    Click OK to close the Windows Features dialog box.
    To verify that IIS installed successfully, type the following into a web browser:


    The default IIS Welcome page is displayed.
MichaelDavidCarrAuthor Commented:
Thank you very much for your time and effort.
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.

All Courses

From novice to tech pro — start learning today.