views:

17

answers:

1

A WCF web service with the right class and method attributes can be accessed as a JavaScript file in a script tag. That is:

<script type=".." src="http://someserver/someservice.wcs/js"&gt;&lt;/script&gt;

Is it possible to do the same thing with System.Web.ApplicationServices.AuthenticationService?

I'm creating a PhoneGap application developed in static HTML/JavaScript, so I cannot use the script manager.

+1  A: 

I think you can. see this example on MSDN http://msdn.microsoft.com/en-us/library/bb398896.aspx

ajay_whiz
Actually, the example on that page uses the script manager -- unless I messed something.
CShipley
@CShipley the example is also available in JavaScript. instead if adding script manager you can also add the MS Ajax Js files which will do the same job
ajay_whiz
@ajay_whiz thanks!
CShipley