Is overloading possible in web services?
Answer Posted / 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 |
Post New Answer View All Answers
Explain the code Access Security (CAS) in .net Framework?
What does asax stand for?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
What are the Types of objects in ASP
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
What's the use of formatters in .net?
Is it possible to apply themes to an asp.net application? If yes, then how?
What are the different types of Caching techniques in ASP.NET?
Describe the disadvantage of cookies.
Can you explain composite pattern?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?
How does windows service lifecycle differ from a .standard. Exe?
To display data in a Repeater control which template you provide?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?