what is service contract,operation contract?
Answers were Sorted based on User's Feedback
Answer / nithya_raghu
Service Contract --- Specifies the description of methods
which our service will provide to consuming application.
For WCF to identify contracts for the service,We need to
use a interface/class with [ServiceContract] attribute.
In WCF we can do interface/Class level programming.
Operation Contract --- We need to expose some methods to
consuming application to use our services.Those methods
will have [OperationContract] attribute. Making them public
will not make them accessible from outside.
So OperationContract Specifies the methods can be
accessible from outside.
Is This Answer Correct ? | 14 Yes | 6 No |
Answer / senthil
This attribute is used to define the method inside
Interface.
Is This Answer Correct ? | 4 Yes | 1 No |
what are the advantage in asp.net and what are the question ask for interview in vb.net and asp.net
Which authentication uses a combination of windows and iis authentication?
I have one application, one user purchase some products in my application? and another person came he is also purchase some products?how can we identify which user purchase which items? my answer is by using session id? but i dont know how? can u give me programming for that?
hi i am varinder. i am very eager to learn ASP.net in C#. i am beginer to it. i have refer some books but i found it tuff to understand. their language is tuff. So please tell me the best site or best book to learn ASP.net in C#. i will be very thankful. Varinder
What is the difference between localization and globalization?
What are the types of authentications in ASP.NET?
2 Answers Accenture, BirlaSoft,
How can you handle errors in Web API?
When during the page processing cycle is ViewState available?
How do you register the .Net Component or Assembly?
Which is faster viewbag or viewdata?
How response object is related to asp's response object?
What a diffgram is, and a good use for one?