How to convert SOAP WCF services 4.8 to .net core 8.0, any microsoft tools have to convert?. Provide the steps for any one know about. 1. Anything Simple upgrade version, 2. Code refctor required. 3. compatible framework support required.

Rajagopal Jayachandran 20 Reputation points
2025-04-02T11:20:31.9233333+00:00

How to convert SOAP WCF services 4.8 to .net core 8.0,

Any microsoft AI tools have to convert?.

Provide the steps for any one know about.

  1. Simply upgrade version is required for this conversion,
  2. Code refctor required for this migration.
  3. compatible framework support required.
  4. Hosting methology.
Developer technologies | C#
{count} votes

Accepted answer
  1. Jack J Jun 25,296 Reputation points
    2025-04-02T13:04:07.7433333+00:00

    @Rajagopal Jayachandran, Welcome to Microsoft Q&A,

    Currently, there is no Microsoft AI tools to convert SOAP WCF services 4.8 to .net core 8.0. However, you could consider using .NET Upgrade Assistant to upgrade it.

    You could refer to Microsoft Learning Upgrade a WCF Server-side Project to CoreWCF to know the details.

    Simply upgrade version is required for this conversion

    It is hard for .NET Upgrade Assistant to do it. Although the Upgrade Assistant automates many aspects of the migration, some manual adjustments may still be necessary. ​

    Code refactors required for this migration.

    1. Since .NET Core does not support web.config, WCF-related configurations need to be converted to C# code or managed using appsettings.json.
    2. Check whether .NET Core supports the APIs you are using. Some older WCF bindings may need to be modified or replaced.
    3. In .NET Framework 4.8, WCF services are typically hosted using ServiceHost. In .NET 8, you need to use CoreWCF and host the service within ASP.NET Core.

    compatible framework support required.

    Ensure that all third-party libraries and dependencies work with .NET 8.0.

    • Check for System.ServiceModel related API alternatives (using CoreWCF).
    • APIs such as OperationContext, MessageContract, etc. may need to be adjusted.

    Hosting methology

    .NET Framework 4.8 typically used: IIS hosting

    Windows Service hosting

    .NET 8.0 options:

    • Kestrel (cross-platform web server)
    • IIS (with ASP.NET Core Module)
    • Windows Service (using Worker Service template)
    • Docker containers (recommended for cloud-native)

    Hope it could help you.

    Best Regards, Jack


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.