Urgent.News

What's breaking now, across hundreds of outlets.

Tech

CoreWCF: Move WCF Services to .NET 10, gRPC or Web API

Server-side WCF never made it into .NET Core or modern .NET. CoreWCF, a Microsoft-supported port, runs existing WCF services on .NET 10 with the same contracts, so callers keep working. gRPC and Web API are the redesign options. Here is how to choose, and how the move works. // Same [ServiceContract], now hosted on .NET 10 var builder = WebApplication . CreateBuilder ( args ) ; builder . Services…

Windows Communication Foundation (WCF) was the standard way to build SOAP and TCP services on .NET Framework. However, when Microsoft developed .NET Core, the server side of WCF was not carried over. This led to the creation of a Microsoft-supported port called CoreWCF, which allows existing WCF services to run on .NET 10 with the same contracts, ensuring that callers continue to work.

There are two alternative options for redesigning WCF services: gRPC and ASP.NET Core Web API. The decision on which approach to take depends on who calls the service. If the callers cannot change, it is best to keep the contract and use CoreWCF. If the callers can change, a redesign to gRPC or Web API might be worth considering, as they offer faster and more compact communication for service-to-service traffic.

CoreWCF is an open-source, MIT-licensed project supported by the .NET Foundation and Microsoft. It publishes a support policy for its core packages, ensuring that CoreWCF will continue to receive updates as long as the underlying .NET platforms are supported. CoreWCF, gRPC, and ASP.NET Core Web API are the three options available for moving WCF services to .NET 10.

The process of migration involves inventorying all services, choosing the appropriate option based on caller control, checking and configuring bindings and security settings, hosting the existing contracts in an ASP.NET Core app, testing, and gradually replacing the service while maintaining a fallback to the .NET Framework version.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Safaricom reveals whether customers can completely block reverse calls

Safaricom has clarified whether customers can completely block reverse calls after a subscriber asked the telecommunications company how to stop receiving the requests.

  • Safaricom cannot permanently block reverse calls on customers' lines.
  • Reverse-call service allows free calls by transferring costs to recipient.
  • Daily request limit of two imposed in August 2024 with Ksh0.50 fee.

What Is TypeScript? Explained Simply for Beginners

Originally published on CodingCush . TypeScript is JavaScript with syntax for types. That is the official one line definition.

  • TypeScript adds a type system to JavaScript, enabling variable labeling with data types.
  • TypeScript compiles into plain JavaScript, ensuring compatibility with any JavaScript runtime.

What Is a Chatbot? Explained Simply for Beginners

Originally published on CodingCush . It is 11 at night. You message a small tea shop to ask the price of a cup of chai, and a reply pops up in two seconds. No one is awake at the shop.

  • Chatbot is a computer program communicating through messages
  • Simple bot uses rule-based approach with keyword matching
  • AI chatbots learn patterns from extensive example conversations

One Proxy Timeout Took Out Our Entire Search Console Pipeline

For three days we could not read our own Search Console data. The API was fine. The credentials were fine. Our laptop could not reach Google at all — every TLS handshake to www.googleapis.com timed…

  • Proxy client halted TLS connections to Google properties
  • Search Console pipeline disrupted for three days
  • Data pipeline moved to stable server in Hong Kong

More from Saturday, 28 November 2026 →