Thanks .... i just pass xml documents back and forth. Don't have to worry about those elementary data types.
@user-jr5wc7xf1j Жыл бұрын
porting wcf to grpc need so much operations to implement functionality. More easily is posting wcf to rest via controllers. for last you do not need to customize so many contracts. Example: before: [ServiceContract] interface IHotelService { HotelData Get(HotelRequestData); // ... } class HotelService : IHotelService { /* implement */ } after: [ApiController("[controller]/[action]")] class HotelServiceController : IHotelService{ /* implement */ } notice: if you have dotnetframework client, you can create dotnet standart library which has api interfaces and contracts (include api request models) and share it for client and api-service for higher quality using intellisense