In my current project we have reached a very good code coverage percent (98,7 %, yes we are proud) - but we are aspiring to take it a step further. We are now constructing a series of integration test, used to run through the actual production code an verifying that everything works as expected. Said and done - I implemented...
We have for several days now been chasing a bug for a couple of days now. Very, very annoying… Here is how it goes: We have a unit test on that calls a stored procedure in Oracle, using ODP.NET. On our local machine (and also on the test server) everything works fine. But when the build script is running the...
First and foremost- I love Resharper (4.0), but I think that some small flaws are still there and does bad things… Two things are at the top of my list (in all honesty I must admit that I can’t be 100% sure that ReSharper has to do with this but both of them has occurred after I’ve installed ReSharper): ASPX-pages...
One of the really cool features of WCF is the possibility to be able to change binding in the config… Of course the transport need to be supported by the host. For example you can’t use TCP/IP transport in a web-site hosted service. So - you’ll have to create the host by yourself - self hosting. However there are some...
In my last post I mentioned the great WCF service/client configuration editor that ships with Visual Studio 2008. I haven’t used it much but rather done “it” by hand - which has been quite painful from time to time. Here is a great introduction to the editor that shows off some of the great capabilities of it. Another “tip”, if...
This area is (in the words of Juval Löwy) “truly vast”. And as I read somewhere else most of the properties doesn’t make sense to the common programmer. We (yeah, I’m one of the common ones) just want it to work. Also, when it comes to configuring WCF services Microsoft has gone the complete opposite way from their normal way...
Yes - I know that this is quite rare but if you want something really easy in place then this is how to use wsHttpBinding with no security:
<services>
<service name="FaktureringsTjanst"
<endpoint
address=""
binding="wsHttpBinding"
bindingConfiguration="myBindingConfigurationWsHttp"
contract="IContract"
behaviorConfiguration="FaktureringsTjanstBehavior" \>
</service>
</services>
<!-- Bindings -->
<bindings>
<wsHttpBinding>
<binding
name="myBindingConfigurationWsHttp"
maxReceivedMessageSize="500000"
sendTimeout="00:05:00"
receiveTimeout="00:05:00">
<security mode="None">
<message clientCredentialType="None" \>
</security>
</binding>
</wsHttpBinding>
</bindings>
I found a very nifty little feature of MSBuild, that is really helpful when it comes to structuring your build file. In MSBuild the “sub-routines” are called targets and works just like expected, that is you can call the targets and invoke them in the order you like. BUT, there are no way of sending parameters to them - which...
My current project has been crazy intensive with some really really
tight time-schedules but they are coming to a close soon. This has made
me down-priorities the blogging to a minimum.
I’ll try to do some write up to get some of my “findings” in here.
The last week marked a significant step in this year for the Vasa Band. We released our brand new CD Priority (as I wrote about here) and also embarked on a small tour of the western part of Sweden. The tour was great - and the greatest part about it was the way we felt that our message was received...