First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)


There are 1 entries for the tag ScriptService

UseHttpGet needs you to enable HttpGet in the web.config

If you want to access a web service from an ASP.NET Ajax page or from a Silverlight 2.0 app, you have to decorate it with the ScriptService attribute. This will enable the creation of a JavaScript proxy to call the web service using the JSON notation. The generated proxy will call the web service using the HTTP POST method. But what if you want to use the GET method? There is another attribute that you can specify to fine tune the response of a single method: ScriptMethod. Among the possible tuning, you can specify that you want to use GET...