Contributed by: Saravana Kumar
Q. What is a "Web Service"?
Answer. A "Web Service" is a .NET component that replies to HTTP requests that are formatted using SOAP syntax.
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://en.wikipedia.org/wiki/Web_service
http://www.w3schools.com/webservices/default.asp
http://www.w3schools.com/webservices/ws_intro.asp
http://www.webopedia.com/TERM/W/Web_services.htmls
Q. How are web services implemented in .NET?
Answer. Web services are implemented as HTTP Handlers that intercept requests to .asmx files.
Reference:
http://msdn.microsoft.com/en-us/library/ms972326.aspx
http://www.sitepoint.com/net-web-services-5-steps/
http://west-wind.com/presentations/dotnetwebservices/DotNetWebServices.asp
Q. How to overcome the limitations of response caching while providing an acceptable level of caching?
Answer. By using data caching (System.Web.Caching.Cach)
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://en.wikipedia.org/wiki/World_Wide_Web
Q. What are the drawbacks of "Response Caching"?
Answer. If the method or accepts a wide range of values, response caching might be inefficient or even wasteful because a great deal of information might be stored in caching.
If the method depends on other information not supplied in parameters (like user authentication or session data), it will be bypassed.
The method will be bypassed even if it needs to perform actions other than returning values (like writing to a log file)
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://www.slightbook.com/showanswers/11208.php
http://www.scribd.com/doc/39626390/DOT-NET-FAQ
Q. What are the protocols supported by web services built with ASP.NET to exchange data?
Answer. HTTP GET
HTTP POST
SOAP
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://msdn.microsoft.com/en-us/library/ywdtth2f(v=vs.71).aspx
http://msdn.microsoft.com/en-us/library/bb547119.aspx
http://msdn.microsoft.com/en-us/library/aa480155.aspx
Q. What are the limitations of using GET & POST to communicate with a web service?
Answer. It is less secured than SOAP.
It prevents the user from passing structures and objects as arguments
It prevents the user from passing ByRef arguments
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://www.c-sharpcorner.com/Interviews/Answer/Answers.aspx?QuestionId=3205&MajorCategoryId=1&MinorCategoryId=16
http://www.w3.org/2001/tag/doc/whenToUseGet.html
index page asp.net interview questions click here
Q. What is a "Web Service"?
Answer. A "Web Service" is a .NET component that replies to HTTP requests that are formatted using SOAP syntax.
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://en.wikipedia.org/wiki/Web_service
http://www.w3schools.com/webservices/default.asp
http://www.w3schools.com/webservices/ws_intro.asp
http://www.webopedia.com/TERM/W/Web_services.htmls
Q. How are web services implemented in .NET?
Answer. Web services are implemented as HTTP Handlers that intercept requests to .asmx files.
Reference:
http://msdn.microsoft.com/en-us/library/ms972326.aspx
http://www.sitepoint.com/net-web-services-5-steps/
http://west-wind.com/presentations/dotnetwebservices/DotNetWebServices.asp
Q. How to overcome the limitations of response caching while providing an acceptable level of caching?
Answer. By using data caching (System.Web.Caching.Cach)
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://en.wikipedia.org/wiki/World_Wide_Web
Q. What are the drawbacks of "Response Caching"?
Answer. If the method or accepts a wide range of values, response caching might be inefficient or even wasteful because a great deal of information might be stored in caching.
If the method depends on other information not supplied in parameters (like user authentication or session data), it will be bypassed.
The method will be bypassed even if it needs to perform actions other than returning values (like writing to a log file)
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://www.slightbook.com/showanswers/11208.php
http://www.scribd.com/doc/39626390/DOT-NET-FAQ
Q. What are the protocols supported by web services built with ASP.NET to exchange data?
Answer. HTTP GET
HTTP POST
SOAP
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://msdn.microsoft.com/en-us/library/ywdtth2f(v=vs.71).aspx
http://msdn.microsoft.com/en-us/library/bb547119.aspx
http://msdn.microsoft.com/en-us/library/aa480155.aspx
Q. What are the limitations of using GET & POST to communicate with a web service?
Answer. It is less secured than SOAP.
It prevents the user from passing structures and objects as arguments
It prevents the user from passing ByRef arguments
Reference:
http://devinterviewquestions.com/dotNet/framework/webservices.html
http://www.c-sharpcorner.com/Interviews/Answer/Answers.aspx?QuestionId=3205&MajorCategoryId=1&MinorCategoryId=16
http://www.w3.org/2001/tag/doc/whenToUseGet.html
index page asp.net interview questions click here
No comments:
Post a Comment