VBUC
Visual Basic Upgrade Companion. VB6 Converter for .NET & Web.

VB6
ASP
.NET7 supportDownload Now

WebMAP
Cloud Application Migration Tools Transform Desktop Applications

C#
Silverlight
Access
VB.NET
PowerBuilder
Winforms
ASP.NET Web Forms

SnowConvert
The best available tools to perform code migrations from a source database or Spark application to Snowflake.

Oracle
Spark Scala
Spark Python
SQL Server
Teradata

Data Solutions
The premier productivity workbench designed and optimized for teams using Snowflake.

Translation with SnowConvert
Edit, Debug & Deploy
Automated Test Case Generation
Metadata Analysis
Source Code Management

Get Started
There are countless ways to take advantage of BlackDiamond Studio and SnowConvert.

Migration and Other Snowflake Services
Get Up and Running with Snowpark
Using the SnowConvert Trial
Build a Cross-Platform Object Inventory

Monetize Your Data

Time to Mobilize
Free Assessment Tool

Can I use WCF in .NET Core .NET6

by Mauricio Rojas, on Jan 13, 2021 5:10:15 PM

MS did a great effort to move most of the .NET Framework to .NET Core, but not all of them are available.

What about WCF ? Can you use WCF in .NET Core or .NET6?

Well it depends. You cannot "host" or have a ASP.NET Core app that implements a WCF service, but you can "consume" WCF services.

The WCF libraries can be found in github.

But... take into considerations that some aspects of WCF are not supported in .NET Core:

  • The WCF Client Libraries for .NET Core do not support configuration of Endpoint Behaviors using App.Config, you must implement it in code. Can you put your configuration inside an appsettings.json file. Well not out of the box. This guy did something very close. But you can look at the MS Documentation on how to config your services with code.
  • Windows Identity Foundation (WIF) is not supported in WCF for .NET Core but... you can use JWT tokens to kind of support it. You will need to configure them both in your client and in your backend code. 

And what about moving on? The recommendation is to move WCF to gRPC. But that is material for another post, a longer one. But in case you are interested this is nice performance comparison between WCF, REST API and gRPC

Topics:application migrationC#.NET Coreasp.net core.NET 5

Comments

Subscribe to Mobilize.Net Blog

More...

More...
FREE CODE ASSESSMENT TOOL