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 is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil?
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance
Explain http handlers? Where we can use the http handlers?
What is a proxy in web service?
How do you register JavaScript for webcontrols ?
How many web config files can be created for an application?
How many types of session state management options available in asp.net?
What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it?
What r all the controls in ASP.NET ?
What is different in .net 1.1 and .net 2.0?
What are the ways of preserving data on a Web Form in ASP.NET?
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)