· 1 min read

WCF - wsdl configurations explained

OK - after an intensive coding session I can now proudly say that I understand 4 attributes of the WCF configurations (of the 1200 + that exists ;)) The attributes that you should set are: ServiceBehavior.Namespace - this get generated as the targetNamepace in the wsdl (instead of http://tempuri.org/). Also you should use this namespace in the endpoint, with the...

Continue reading

· 1 min read

WCF, WSDL and tempUri.org

It’s back! Just when we thought that we’ve seen the dreadful namespace http://tempuri.org is coming back at us with full power. The feeling you get when a web service is exposed under the namespace tempUri.org is that the developer of that web service is either sloppy or don’t now what he is doing. Well, well - don’t be like that...

Continue reading

· 2 min read

WCF configuration or Do it yourself

Configuration of WCF-services is a vast area… anyone who looked into the subject are sure to agree on that. The whole idea with WCF-services is that you can via configuration tweak the behavior and appearance of a service without having to change any internal logic of the service. When I tried my first services I was “tricked” into choosing one...

Continue reading

· 2 min read

Sending parameters to msbuild in TFS

The build process in Team Foundation Server is the one part where you still miss some stuff. Although it is much better in TFS 2008 than in TFS 2005 it is still quite cumbersome to handle. The way you start off with a wizard and then almost always need to go into the .proj-file to do updates is also confusing....

Continue reading

· 1 min read

Naming service reference to get namespace-like behavior

In my current project we are accessing a legacy system using Microsoft Transaction Integrator. Luckily for us we don’t have to write any of that stuff, that is done by another team who exposes the objects and methods in the legacy system as web services. However - they have chosen to encapsulate each object.method as one web service. Since we...

Continue reading

· 1 min read

New York Staff Band and Enfield together

Wow - here is a whole concert with the two great bands, in top form as it sounds. And with the extra treat of hearing Philip Smith playing Victorious (is it a bit sloppy for the worlds greatest trumpeter…?). There are also some other great items from other occasions Click on “Band profile” for the complete concert… Here is the...

Continue reading

· 1 min read

Transactions in stored procedures with transaction scope

Yesterday I got a question from a colleague who had run into trouble using the TransactionScope-construct in .NET. The case was as follows; the are programming against a database whose stored procedures they cannot change. Some of these stored procedures are using calling each other and doing so under stored procedures. When the .NET-code is calling those stored procedures and...

Continue reading