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 |
How many types of cookies are there in asp.net?
What is the server of asp.net?
what is the difference between sql 2000 and 2005?
Explain the flow of processing of the request? : asp.net mvc
What is the purpose of using MVC programming pattern in ASP.NET?
What is role-based security in asp.net?
How to check null values in dataset ?
Distinguish between Server-side and Client-side code with its functionality?
What event fired during, when datagrid click?
What is break mode?
Is LINQ performance wise better or using sqlcommand?
how can u display multi language (i.e english,spanish...) web site?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)