@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.
- Since .NET Core does not support web.config, WCF-related configurations need to be converted to C# code or managed using appsettings.json.
- Check whether .NET Core supports the APIs you are using. Some older WCF bindings may need to be modified or replaced.
- 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.