Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3956820
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:24:45+00:00 2026-05-20T02:24:45+00:00

I wrote WCF service ( web service ). I never work with the IIS

  • 0

I wrote WCF service ( web service ).
I never work with the IIS – and i dont know if i need to change \ config something in the IIS to work with my service.

Someone can help me ?

Thanks

P.S: IIS version is 7.5

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T02:24:46+00:00Added an answer on May 20, 2026 at 2:24 am

    Hosting a service on an IIS Web server is very similar to hosting a traditional Web service (with an .asmx file extension).

    Services hosted in IIS require the creation of a file with an .svc file extension. This is done for you automatically if you use the Visual Studio 2008/2010 WCF Service template. The Service.svc file is an XML-based file that must include an @ServiceHost directive.

    <% @ServiceHost Language="C#" Service="EmployeeService" %>
    

    in the web config you can leave the address attribute blank.

            <services>
                <service name="EmployeeService">
                    <clear />
                    <endpoint address="mex" binding="mexHttpBinding" name="mex" contract="IEmployeeService" />
                    <endpoint binding="wsHttpBinding" name="wsHttpBinding" contract="IEmployeeService" />
                    <endpoint binding="basicHttpBinding" name="basicHttpBinding" contract="IEmployeeService" />
                </service>
            </services>
    

    For more info take a look at: http://msdn.microsoft.com/en-us/library/ms733766.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a need to connect to a WCF service I wrote without having
I created WCF web service, deployed it, and debugged it. I wrote a console
I am wanting to write a WCF web service that can send files over
Running an MVC web site that calls a WCF service. Site and service on
I created an ASP.NET web application (to consume a WCF Data Service) and added
I am using a WCF authentication service I set up with a web application.
I am attempting to consume an intranet web service with WCF. I added reference
I am new to WCF. I wrote the following service below, which runs fine.
I'm trying to write a WCF Web service that will return my data as
I'm trying to write a WCF wrapper web service for a WSE3/ASMX web service.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.