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 |
we can able to display a MessageBox in asp .net without using any script langages?
Where can I get the details on migration of existing projects using various technologies to asp.net?
How asp.net mvc differs from asp.net web forms? : asp.net mvc
If Asp Dot Application is stateless what happened? during designing
What is custom attribute?
Can you explain one critical mapping? Performance issue which one is better?
What is the difference between Postback and Ispostback Property?
7 Answers Atrocity Apps Technologies, DC Infotech, HCL, Maples, Visual Soft,
Using code explain Configuration Management
what is webservices ? and what is web server ?
how to use web services with code?(with example code)
Can asp.net work on an nt server?
What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup