?

Log in

Previous Entry | Next Entry

Explain WCF service model architecture?

  1. In the first step client gets the information about the endpoints of a service via service metadata.

  2. Once client have the meta data of a service he will get all the knowledge of a service like what all things can be achieved from service (What functionality service exposes), What data type it expects, What it returns etc.

  3. In case of WCF Service that metadata contain information about endpoints.

  4. Client will constructs the channel based on the endpoint of its interest.

  5. Client using this endpoint sends messages to service.

How the service metadata will be exposed to client?

Mostly it will be via WSDL but in case of WCF we can expose mex endpoint which will expose metadata containing other endpoint information.

How metadata get created in WCF?

In WCF world if the SeviceMetadata behavior is enabled for service this Metadata will get created automatically.

Can you explain more about Mex and WSDL?

ServiceMetadata behavior contain an attribute called httpsGetEnabled, if this property is set to true we will be able to get the Metadata using get request. Get request to WSDL file which will be usually located in the same service url with an additional suffix of “?WSDL”

With Mexennpoints we get an ability to obtain service metadata via SOAP messages instead of http Get.

Best part about mex is it makes metadata available via various transports like HTTP, TCP etc.

For technical trainings on various topics like WCF, MVC, Business Intelligence, Design Patterns, WPF, TFS and Basic fundamentals feel free to contact SukeshMarla@Gmail.com or visit www.sukesh-marla.com

For more stuff like this, click here. Subscribe to article updates or follow at twitter @SukeshMarla

See following video on WCF(Windows Communication Foundation) Concurency and throttling: -



Click and see here for learning WCF tutorials.
Copy right www.questpond.com

Buy 600+ Real Time Interview Videos

Call +91-22-66752917 or mail us on questpond@questpond.com for more details on C#, .NET, ASP.NET, SQL Server interview question videos.

SQL Server interview question videos

Latest Month

March 2017
S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728293031 

Tags

Powered by LiveJournal.com