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 |
Explain different authentication modes in asp.net?
What is a query string in a url?
What are the server control tags in asp.net.?
What are the components of ado.net?
What are the server controls in asp.net?
whats the best method to cal id in javascript
In order to get assembly info which namespace we should import?
what are configuration files?
what does Page.IsValid in asp.net
6 Answers Infosys, Net Solution,
How many types of session state management options available in asp.net?
.net allows which inheritence
6 Answers AG Technologies, Samcomm,
under which namespaces connection strings can be defined?
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)