c# - what is the common practice in organizing PageMethods for Ajax calls -



c# - what is the common practice in organizing PageMethods for Ajax calls -

i have been using pagemethods in develping asp.net c# applications long time.

i realized have phone call same method different pages, , re-create , paste same method pages.

this creates redundancy problems, know.

would fine create separate *aspx pages hosting related pagemethods.

what mutual practice in this?

i recommend switch ajax-enabled wcf service. requires bit more configuration 1 time working 1 service can copy/paste another. @ point add together proxy js page , utilize pretty much same way utilize pagemethods. of course of study there multiple other ways ajax ajax-enabled wcf services drop-in replacement page methods... almost.

c# asp.net ajax pagemethods

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -