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 7052093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:20:32+00:00 2026-05-28T03:20:32+00:00

I added WCF Servicereference to my webapplication ,the following entries got created to my

  • 0

I added WCF Servicereference to my webapplication ,the following entries got created to my web.config .

<system.serviceModel>
<bindings>
  <wsHttpBinding>
    <binding name="WSHttpBinding_INameVerification" closeTimeout="00:01:00"
      openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
      bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
      maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
      textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
      <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
      <reliableSession ordered="true" inactivityTimeout="00:10:00"
        enabled="false" />
      <security mode="Transport">
        <transport clientCredentialType="None" proxyCredentialType="None"
          realm="" />
        <message clientCredentialType="Windows" negotiateServiceCredential="true" />
      </security>
    </binding>
  </wsHttpBinding>
</bindings>
<client>
  <endpoint address="https://int. NameVerification.com/Default/NameVerificationService.svc"
    binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_INameVerification"
    contract="NameVerificationService.INameVerification"
    name="WSHttpBinding_INameVerification" />
</client>

Now I am planning to host my application to Azure cloud platform.
Once I host my app on cloud I want to be able to change my endpoints at any time
ie.,

<endpoint address=”https://int. NameVerification.com/Default/NameVerificationService.svc” 
   binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_INameVerification"
    contract="NameVerificationService.INameVerification"
    name="WSHttpBinding_INameVerification" />

How do I add this call to my WCF service from SericeConfig ?What is the actual entriess in ServiceConfig so that my application will read my WCF end point address from Service config and not from web.config

  • 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-28T03:20:33+00:00Added an answer on May 28, 2026 at 3:20 am

    Thank you all for your help .

    I found a solution for this problem.

    1. Associated binding and serviceaddress in program, then added
      settings to Serviceconfig
    2. ServiceConfig entry Added
    <Setting name="myServiceAddressUrl"
        value="https://int.
        NameVerification.com/Default/NameVerificationService.svc" />
    
        WSHttpBinding binding = new WSHttpBinding();
        binding.Name = "WSHttpBinding_INameServiceVerification";
        binding.HostNameComparisonMode = HostNameComparisonMode.StrongWildcard;
        binding.ReliableSession.Enabled = false;
        binding.TransactionFlow = false;
        binding.Security.Mode = SecurityMode.Transport;
        binding.Security.Message.ClientCredentialType = 
            MessageCredentialType.Windows;
    
        string myServiceAddressUrl = 
            RoleEnvironmentWrapper.GetConfigurationSettingValue(
               "AdderssServiceURL.svc");
        EndpointAddress myService = new EndpointAddress(myServiceAddressUrl);
    
        NameVerificationClient verificationClient = 
            new NameVerificationClient(binding, myService );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created an ASP.NET web application (to consume a WCF Data Service) and added
A Silverlight-enabled WCF service was added into existing ASP.NET web-application. On attempt to add
I created a WCF service and to the default service I added another operation
Is it possible to log WCF service exceptions? I have added in the app.config.
I have ASP MVC 3 application. I created WCF REST JSON Service and added
I have added a WCF service to an existing ASP.Net web project on our
I've created a WCF service and added it to an existing Silverlight application that
I created a WCF service that has functions that return IEnumerable collections. I added
I have a WCF Data Service in my web app. I added a service
I have created a WCF Data Service and using it in a web application

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.