[Sample Of Sep 1st] Call server side function without web service in ASP.NET

 

Homepage image
RSS Feed

Sample Download : https://code.msdn.microsoft.com/Call-server-side-function-69b95af2

This sample code will demonstrate how to call server side function without web service. ASP.NET Ajax extensions came with full support for script services. But sometimes you may don't want to build a web service for a small piece of code or for basic functionality. This is why the PageMethods feature was created. The PageMethods feature enables the using of code-behind page methods on the client-side. The PageMethods can only be added to the page itself so don't try to add them to user controls or custom controls - it won't work.

 

imageYou can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage https://1code.codeplex.com/.