Sunday, November 27, 2011

Using ASP.NET PageMethods With Silverlight

Most developers are by now familiar with the PageMethod. This is a static method in the codebehind class of an ASP.NET page which is decorated with the [WebMethod] attribute. The methods are called via a POST to the pagename/methodname and the parameters are sent as the POST data.

You can also call PageMethods from a Silverlight application by using the ScriptManager control. In order to begin utilizing PageMethods in your ASP.Net enabled webpage via Silverlight, you need to do 3 things. Read to know more.

 

Read More from: Original Source