Consuming WCF Services in .NET 8 (.NET Core is no more!) (2024)

by DeeDee Walsh, on Jan 29, 2024 12:02:00 AM

Back in 2021, Mauricio Rojas wrote a post, "Can I use WCF in .NET Core .NET6" which was obviously very interesting to lots of .NET developers. While the original post accurately described the state of WCF in .NET Core back in 2021, things have changed significantly with the release of .NET 8. Here's an updated look at using WCF services in the latest landscape:

Can you consume WCF services in .NET 8?

Yes! The good news is, consuming WCF services remains fully supported in .NET 8, building on the foundation established in .NET Core. You can reference WCF libraries directly and interact with existing WCF services seamlessly.

But wait, there's more:

The original limitations around WCF service configuration and authentication still apply, although some additional options have emerged:

    • Endpoint Behaviors:While app.config configuration isn't available,several methods exist for programmatic configuration in code.Consider usingIServiceBehavior,customIEndpointBehaviorimplementations,or builder configurations offered by CoreWCF (discussed later).
    • appsettings.json:While not directly supported for WCF behaviors,you can use it to store configuration data and access it within your custom behavior implementations.
    • Windows Identity Foundation (WIF):WIF still isn't supported,but JWT tokens offer a viable alternative for implementing secure communication.Both client and server code need to be adjusted accordingly.

Moving forward:

While gRPC remains a recommended alternative for new projects, migrating existing WCF services might not be the top priority. CoreWCF, an open-source project, actively maintains and improves WCF for .NET, including features like gRPC interoperability. This ongoing development makes WCF a viable option for the foreseeable future.

Resources:

Remember:

This content focuses on consuming WCF services in NET 8. Hosting WCF services within ASP.NET Core applications remains unsupported in .NET 8.

I hope this updated version provides a clearer picture of using WCF in the context of .NET 8. Please let me know if you have any questions!

Consuming WCF Services in .NET 8 (.NET Core is no more!) (2024)
Top Articles
How can people believe in truths without evidence?
Part Three: Enable Full Trust for the Root Certificate
Pet For Sale Craigslist
Chris Provost Daughter Addie
Shoe Game Lit Svg
Ashlyn Peaks Bio
Khatrimaza Movies
Unit 1 Lesson 5 Practice Problems Answer Key
What Is A Good Estimate For 380 Of 60
Aktuelle Fahrzeuge von Autohaus Schlögl GmbH & Co. KG in Traunreut
Dump Trucks in Netherlands for sale - used and new - TrucksNL
All Buttons In Blox Fruits
Craftology East Peoria Il
Bend Pets Craigslist
Urban Airship Expands its Mobile Platform to Transform Customer Communications
Air Force Chief Results
Hollywood Bowl Section H
Decosmo Industrial Auctions
Self-Service ATMs: Accessibility, Limits, & Features
Yog-Sothoth
Like Some Annoyed Drivers Wsj Crossword
Silky Jet Water Flosser
Olivia Maeday
Dei Ebill
2011 Hyundai Sonata 2 4 Serpentine Belt Diagram
Pokémon Unbound Starters
Ts Modesto
Askhistorians Book List
Craigslistodessa
Lawrence Ks Police Scanner
Kiddie Jungle Parma
Microsoftlicentiespecialist.nl - Microcenter - ICT voor het MKB
Seymour Johnson AFB | MilitaryINSTALLATIONS
67-72 Chevy Truck Parts Craigslist
Blue Beetle Movie Tickets and Showtimes Near Me | Regal
The Mad Merchant Wow
Scanning the Airwaves
Banana Republic Rewards Login
3496 W Little League Dr San Bernardino Ca 92407
Oxford House Peoria Il
Who Is Responsible for Writing Obituaries After Death? | Pottstown Funeral Home & Crematory
Nami Op.gg
Avance Primary Care Morrisville
Access to Delta Websites for Retirees
Cult Collectibles - True Crime, Cults, and Murderabilia
Dancing Bear - House Party! ID ? Brunette in hardcore action
25 Hotels TRULY CLOSEST to Woollett Aquatics Center, Irvine, CA
Union Supply Direct Wisconsin
Acuity Eye Group - La Quinta Photos
Cvs Minute Clinic Women's Services
Qvc Com Blogs
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6051

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.