Link to home
Start Free TrialLog in
Avatar of MichaelDavidCarr
MichaelDavidCarr

asked on

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.
Avatar of Pradeep Dubey
Pradeep Dubey
Flag of India image

check below link if helps:
http://forums.iis.net/t/1197841.aspx
Avatar of MichaelDavidCarr
MichaelDavidCarr

ASKER

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

    http://localhost

    The default IIS Welcome page is displayed.

http://www.iis.net/learn/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-1-install-iis-and-asp-net-modules
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you very much for your time and effort.