I
I
iluxa18102016-03-26 17:08:59
.NET
iluxa1810, 2016-03-26 17:08:59

Is it ideally correct to work with a WCF service through a WinForms application?

Tell me, how is it ideologically correct to work with a WCF service in a WinForms application?
My current implementation creates an intermediary in various parts of the code.
That is, the client needs to receive data from sales, the method is called, and in this method an intermediary is created, which pulls a couple of methods of the WCF service and the intermediary is destroyed.
How true is this?
Or is it more correct to have a property with an intermediate type in the main form and initialize it when creating the form, and then pass it as arguments to the constructors of other forms?
Or are there better options?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question