What should be done to enable PageMethods in ASP.NET?

Thursday, October 1, 2009


You should set the EnablePageMethods ="true" attribute of the ScriptManager control.



www.codecollege.NET

Which attribute make a client method searchable by ASP.NET AJAX?


ScriptMethod attribute, which is available in System.Web.Script.Sevices



www.codecollege.NET

What are the conditions for making a client method searchable by ASP.NET AJAX?


1. The method must be given the ScriptMethod attribute, which is available in System.Web.Script.Sevices
2. It must be Public
3. It must be Static



www.codecollege.NET

What is the use of PageMethods class in ASP.NET?


ASP.NET AJAX automatically searches for all methods declared Public Static and encapsulates them in the client PageMethods class.



www.codecollege.NET

What are Restful Web Services?


A Web serivce implemented using REST principles and HTTP.



www.codecollege.NET

What is REST service?


It is an architectural style for distributed hypermedia systems like WWW.



www.codecollege.NET

What are the 2 requirements REST services are based on?


1. An addressing scheme used to locate networked resources.
2. A methodology for returning representations of these resources.



www.codecollege.NET
Blog Widget by LinkWithin