📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

Your WCF service is called by an external partner over SOAP and by three internal .NET services. How would you migrate it to .NET 10 without breaking anyone?

Intermediate Theory Intermediate

🎯 Key points

  • Extract logic into a transport-neutral service
  • CoreWCF endpoint with identical WSDL for the partner; verify binding and WS-* support first
  • gRPC for internal callers
  • Migrate security and authentication for both front doors
  • Remove WCF session state or move it to a store
  • Diff WSDL and replay captured requests
  • Move callers one at a time behind flags; retire old host at zero traffic

⏱ 30-second answer

Pull the business logic out of the WCF service class into a plain application service. Host it on .NET 10 behind two front doors: a CoreWCF endpoint with the identical namespace, WSDL and binding for the partner, and a gRPC service for internal callers. Check first that CoreWCF supports the bindings and behaviours you use (some WS-* features and session settings need adjustment). Carry security across explicitly: the partner's transport or message security and credentials on the CoreWCF side, TLS plus JWT or mTLS for internal gRPC callers. If the service uses WCF sessions (PerSession), make it stateless or move state to a store first. Prove the SOAP contract unchanged by diffing the WSDL and replaying captured partner requests. Move internal callers to gRPC one at a time behind a feature flag, comparing results in Application Insights, and retire the old host when its traffic is zero.

🔍 What the interviewer is checking

Checks they can run two contracts side by side during a migration

↩ Usually asked after

More in Legacy Technologies

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me