locked
wcf in asp.net core RRS feed

  • Question

  • User190551098 posted

    Hi Team,

    I am doing migration asp.net project 4.5 framework to asp.net core 3.1

    how to implement wcf in asp.net core can i replace by web api or use gRPC or use microservices or any other suggestion which is better

    any suggestion and help will be highly appreciated on how to proceed further on this.
    Regards

    Monday, May 25, 2020 12:50 PM

All replies

  • User475983607 posted

    omsaisaanvi

    how to implement wcf in asp.net core can i replace by web api or use gRPC or use microservices or any other suggestion which is better

    Do an analysis and determine what approach is best.  You'll consider application requirements, team skill set, and costs associated with hardware and/or hosting services. 

    Keep in mind that WCF is a SOAP service.  ASP.NET Core communicates with SOAP services.  If you have an existing investment in SOAP then that you can keep the WCF service running on 4.5.

    Monday, May 25, 2020 1:15 PM
  • User-474980206 posted

    Rest via Webapi is the default for asp.net core. 

    gRPC is popular for server to server and implementing micro services, but it requires a http 2, and modern servers and network. This probably the closest in spirit to Wcf.

    Also popular is graphQL. This allows the caller to control the payload.

    you would to tell more of the requirements, and use cases to make a recommendation.

    Monday, May 25, 2020 4:06 PM