Exposing existing WCF services to ASP.NET AJAX clients

WCF never ceases to amaze me. Around every corner is another fascinating use for WCF, and much forethought on Microsoft’s part to make it look and behave great. I wanted to expose my services to my AJAX functions on my web site. I did not want to change my class …

Hosting an MSMQ WCF Service in WAS

Hosting an MSMQ service is a little bit different than the other bindings. Since WCF is using MSMQ as a transport mechanism, you must setup the queues, permissions, and bindingConfigurations to allow this to happen. Surprisingly, MSDN has a good sample article that goes into sufficient detail on how to …

3.5 Service Pack 1 – WCF Enhancement?

Our friends at Microsoft may have slipped one in on us. After installing the 3.5 Framework Service Pack 1, it appears that you no longer need the [DataContract] or [DataMember] attributes on your DataContracts and DataMembers. I’m not sure what the motivation was for this “enhancement”, but it caused some …

Performance = Data Mass x Velocity ^2

Enterprise applications store their data in a relational database. Our code reads the data stored in tables with many complex joins and business rule laden queries. We take the results of those queries and construct an equally complex business entity that is used by our application logic. Most developers, myself …

Using WCF over HTTP or HTTPS on Vista

Before you try running a Console Application or Windows Service application that hosts a WCF service with basicHttpBinding or wsHttpBinding, see this MSDN article about “Configuring HTTP and HTTPS”. If you are WAS-hosted or Web App-hosted, the urlacl entries are made on your behalf. You can view the current entries …