Contents tagged with Web Services
-
Exposing a WCF Service for Ajax and Silverlight
In this article, Ashic Mahtab shows how to create a WCF service and expose it to Ajax and Silverlight. In doing so, he demonstrates some new features of ASP.NET Ajax and how it compares to jQuery in consuming WCF services. Lastly, he shows how simple configuration changes can enable binary encoding for a WCF service, which can increase data transfer efficiency in clients like Silverlight.Note: Cross posted from Heartysoft.com.
Permalink -
Assigning Port Numbers for the Dev Server
A lot of times, specially when using web services, we want the dev server to use a specific port. Suppose you have a web service and a website which consumes it. You put them in two separate projects. You’d want the web service to always use the same port. One option is to set it up in IIS. But what if you don’t want to use IIS? What if your putting together a simple test and wish to use the dev server? How do we do that?
-
WCF .svc Gives HTTP 404 on Host, Works Perfectly on Local
I was recently working on a project that used WCF web services extensively. Everything was ready for deployment, I deployed to the remote host, and voila – nothing works (nothing WCF related). After a LOT of frustration, I managed to make it work. I found two areas which were causing the problem: