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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:15:36+00:00 2026-05-16T16:15:36+00:00

If I upgrade a WCF Web Service from .NET 3.5 to 4.0, making no

  • 0

If I upgrade a WCF Web Service from .NET 3.5 to 4.0, making no other changes, is there any risk of a change to the contract exposed to the outside world? ie. Will my consumers need to reconsume the WSDL?

If so, is there anything I can do to stop that happening?

EDIT: An example of the kind of thing I’m talking about.

We have been using something like this for a while
http://www.codeproject.com/KB/aspnet/WSSecurityProvider.aspx

I may be reading this wrong but when I upgraded the server and reconsumed from the client, the Reference.cs changed so that

public MyNamespace.MembershipUser RemoteMembershipProvider_CreateUser(out System.Web.Security.MembershipCreateStatus status, string providerName, string applicationName, string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey) {
    return base.Channel.RemoteMembershipProvider_CreateUser(out status, providerName, applicationName, username, password, email, passwordQuestion, passwordAnswer, isApproved, providerUserKey);
}

changed to

public MyNamespace.MembershipUser RemoteMembershipProvider_CreateUser(out MyNamespace.MembershipCreateStatus status, string providerName, string applicationName, string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey) {
    return base.Channel.RemoteMembershipProvider_CreateUser(out status, providerName, applicationName, username, password, email, passwordQuestion, passwordAnswer, isApproved, providerUserKey);
}

Note the change in namespace for MembershipCreateStatus.

(and no, I don’t really have a namespace called MyNamespace)

Am I wrong in thinking that if I hadn’t reconsumed, it would have stopped working?

And if not, what is the specific thing that has change and how many other cases will it effect? Just framework enums? Or more than that?

  • 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-16T16:15:36+00:00Added an answer on May 16, 2026 at 4:15 pm

    No, there shouldn’t be any issues – after all, all that travels between the client and the server is the serialized message.

    The client really doesn’t care what OS or .NET version the server is on – as long as the message can be understood and interpreted.

    As long as you don’t change anything, you should be just fine!

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

Sidebar

Related Questions

I have a .NET web service (using asmx...have not upgraded to WCF yet) that
I'd like to trap any unhandled exception thrown in an ASP.NET web service, but
I just upgrade my web service from Rails 2.3.8 to Rails 3.0.3 It's almost
I need to upgrade our web services to use WCF instead of ASMX. If
I'm just begin upgrade my asp.net site from Webform to MVC 2. So far
I have a pretty simple client-server ASP.NET app; communication is via WCF service. All
I wrote a WCF service back in 2009, which uses net.tcp. I used VS
My project demands and upgrade from groovy 1.7.2 to 1.8.x stable release, there are
I'm replacing an existing web service with a WCF service and as the first
I had a web service written in .NET 2.0 that expose some web methods.

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.