Is overloading possible in web services?
Answers were Sorted based on User's Feedback
Answer / neha
Yes it is possible but you have to give different alias name to the web method so that ambiguity can be avoided
---method will be call from application by the name AddInt
[WebMethod Name ="AddInt"]
public void Add(){}//implement code for adding 2 int variable
---------In this step even if you dont give name attribute it will work and method will be called by name Add.
[WebMethod Name ="AddFloat"]
public void Add(){}//implement code for adding 2 float variable
else it will give error
| Is This Answer Correct ? | 5 Yes | 0 No |
How do you handle unhandled exceptions in ASP.NET?.
Tell about WebService in Asp.Net?
What are the various types of cookies in asp.net?
Is it possible to migrate visual interdev design-time controls to asp.net?
How do I open an ashx file in windows 7?
what is differences between bind and eval?
What are the authentication types in asp.net?
What are session and cookies?
A Web Service Can Only Be Written In .net. Is it True??
What is the sequence in which ASP.NET events are processed?
Which template must you provide, in order to display data in a Repeater control?
main difference between asp.net2.0,asp.net1.1,asp.net1.0
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)