The type or namespace name ‘ServiceContractAttributeAttribute’ does not exist in the namespace ‘System.ServiceModel’

Error: After generating a connected service from WCF, you get the following error during compile… The type or namespace name ‘ServiceContractAttributeAttribute’ does not exist in the namespace ‘System.ServiceModel’ Fix: Add the following from NuGet… System.ServiceModel.Primitives System.ServiceModel.Http Sources: https://stackoverflow.com/questions/45545013/system-servicemodel-not-found-in-net-core-project

Blazor client-side and WCF

Core does not support WCF very well instead of not at all. Especially in terms of authentication and security, such as the service created by using WS* binding.  I suggest you re-construct your server project with BasicHttpBinding or using Asp.net WebAPI to create the backend service. WCF is not supported in .NET Core out of... » read more

WCF vs Web API

What is WCF? WCF stands for Windows Communication Foundation. It is used to create a distributed and interoperable Applications. WCF is an effective platform for developing service-oriented applications. It allows developers to create secure, reliable, and high profile development solutions which can be integrated across platforms and interoperate with existing investments. What is Web API?... » read more