How common usage are Page Methods in ASP.NET 4? -
how common usage page methods in asp.net 4?
i example of how it's used (not code sample).
i don't know how common, check out example: http://aspalliance.com/1922_pagemethods_in_aspnet_ajax.all
use page methods if don't want publicly expose web service, , creating web method that's page, imho. instance, need web service features 1 page only, that's when create page method. if need reusable in 2 pages, don't want publically expose it, create helper , web method wraps helper.
otherwise, if looking create dynamic web site , share information, go traditional asmx or wcf service.
hth.
Comments
Post a Comment