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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:42:27+00:00 2026-05-22T16:42:27+00:00

I have a binding configuration for wsHttpBinding defined as: <wsHttpBinding> <binding name=CustomAuthentication> <security mode=Message>

  • 0

I have a binding configuration for wsHttpBinding defined as:

 <wsHttpBinding>
    <binding name="CustomAuthentication">
      <security mode="Message">
        <!-- Change to Message-->
        <message clientCredentialType="UserName"/>
        <!-- Change to UserName -->
      </security>
    </binding>
  </wsHttpBinding>

When I generate my proxy code using svcutil and look at the app.config it generates for the client, I see this in the security section:

<security mode="Message">
    <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
                    <message clientCredentialType="UserName"
                             negotiateServiceCredential="true"
                             algorithmSuite="Default" />
</security>

I did not specify transport security in my service config, so why did it create a transport node with clientCredentialType=”Windows”. Is this by design and does it matter? I watched a video my Michele Leroux Bustamante and she said that you can’t use Transport and Message, it will ignore one of them, so it doesn’t matter if you specify both. I just want to know why it created it it in the client app.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-22T16:42:28+00:00Added an answer on May 22, 2026 at 4:42 pm

    The reason is probably the same that svcutil and VS create huge config files for most services: They generate bindings/config with default settings, tweak them, and then serialize them into the config files, which means you get fairly extensive, verbose config files out of them because they include values (default or otherwise) for all properties in those configuration objects.

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

Sidebar

Related Questions

I have an custom binding defined as follows: <customBinding> <binding name=binaryHttpBinding> <binaryMessageEncoding /> <httpTransport
I have instantiated a WCF binding in code: var binding = new WSHttpBinding(); binding.Secuity.Mode
I have defined my binding thus: <TreeView ItemsSource={Binding UsersView.View} ItemTemplate={StaticResource MyDataTemplate} /> The CollectionViewSource
I have created WCF and I have used wsHttpBinding and MTOM as message transport
I have written a WCF service with the following configuration: <system.serviceModel> <services> <service name=SyncService
I have the following configuration file for WCF service. There is a host defined
I have the following Xml Configuration <system.serviceModel> <services> <service name=MyService.MyServiceREST behaviorConfiguration=MyServiceTypeBehaviors> <host> <baseAddresses> <add
I have problems binding both a telerik RadGrid and a plain vanilla ASP.NET GridView
I've got some Columns in a DataGridView that have their Binding property set to
For some user controls, I have this binding: AppLanguage={Binding Path=ApplicationLanguage, Source={x:Static Application.Current}} This works

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.