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 swagger components.
How many languages are supported by .NET at present time?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe
What is the Difference between user and server controls?
In your web.config file which attribute of <Globalization> element identifies the default culture that will be used for web request?
What r the asp.net list controls and diff. Between them?
Explain what is viewstate?
Differentiate strong typing and weak typing
Why session is more secure than cookies?
What is base class of button control in .net?
How can you dynamically add user controls to a page?
What is Http handler?