Kirk Evans Blog

.NET From a Markup Perspective

A Quick Primer on Namespace Bindings

I sent an email trying to explain to a customer why their SOAP packet was not being processed correctly.  In effect, the problem was that an element that was supposed to be bound to was redefining its namespace binding using xmlns=””.  A quick example: <transportation xmlns=““> <bus /> <car xmlns=“”> <chevrolet /> <ford />… Read more

WSDL.exe /parameters switch

WSDL.exe in .NET 2.0 has a great addition, the capability to specify all of the documents for the tool in an XML file rather than in the command line.  For instance, if you use schema imports, you need to provide the schemas at the command line: wsdl.exe http://localhost/foo/foo.asmx?wsdl http://localhost/foo/foo1.xsd http://localhost/foo/foo2.xsd Not very pretty, and it… Read more

Modify a Web Service’s WSDL Using a SoapExtensionReflector

A customer pinged me with an interesting problem.  They hosted an ASMX web service to run under SSL according to the KB article “HOW TO:  Secure XML Web Services with Secure Sockets Layer in Windows Server 2003“.  When they viewed the WSDL for the service, the scheme for the URI still indicated “http” instead of… Read more

Application Compatibility and .NET 2.0

Lots of customers who skipped the .NET 2.0 betas waiting for the RTM are now asking questions like, “will my application continue to run?”  Some resources to help you understand application compatibility: Channel9 video explaining application compatibility.  Jesse Kaplan — Will your .NET 1.1 apps work on 2.0 or vice versa? A list of steps… Read more

Replicating the Demo from the PDC05 COM200 Session

If you didn’t attend PDC05 this year and missed the COM200 – Applications and Communications Roadmap: Platforms Presents and Futures session from PDC 05, you can view it online.  In the session, Don Box and Mike Vernal walk through some interesting WCF demos including Mike converting WSDL to CLR types by hand, which really drives home the association… Read more

PDC Material Online

Check out the sessions from this year’s Professional Developers Conference, hosted online.  I just started downloading some of the WCF sessions that I missed.  [via Mike Swanson]… Read more

Getting Started with the SqlCeResultSet

Sriram Krishnan has a great post introducing the SqlCeResultSet as well as a demo of how to use it.  Here is a snippet of the article: What is a ResultSet (SqlCeResultSet)? Think of a ResultSet as something that gives you the programmatic ease that a DataSet gives you but the performance of a DataReader. Using the… Read more

Add or remove SOAP 1.2 for ASMX services

ASMX 2.0 supports both SOAP 1.1 and SOAP 1.2.  But how do you use SOAP 1.2 with your ASMX services?  Suppose you have a web service using ASMX 2.0 and you want to explicitly consume a SOAP 1.2 web service.  The documentation for adding or removing SOAP 1.2 support in a web service doesn’t seem up-to-sync yet. … Read more