By mswatcher
via blog.devarchive.net
Published: Mar 03 2008 / 07:53
In my current project I need to cleanly separate logic of some API that resides in class library project from web sites that will use it.
If I use standard approach - to call server methods from javascript code - I have only two options: WebService call or PageMethod call. But I don't want to configure each site or each page - by decorating it with additional static method, or creating a webservice in the root of website or anywhere else. I WANT just to call my method directly from class library, because actually that class library will create client side script to access that metho
Add your comment