TFS - Fail a build when the warning count increases

I am a big fan of "measuring", because what you don't measure you can't improve.
Measuring over time allows us to establish a trend and the trend is often more interesting that the hard numbers.

Trends that might be interesting are:

Silverlight - 5 easy steps to obfuscate auto-magically on the build server

Disclaimer
Before you start flaming me, I am aware that all business relevant code and IP stuff must be on the server side. Just funny how much bit**** you see in forums and stackoverflow if you search for "Silverlight obfuscation"

Problem

With tools like Reflector, ILSpy (which is a good Reflector replacement BTW, since Reflector is not free anymore) and Silverlight Spy, it is VERY easy to look into Silverlight XAP files and discover some interesting stuff. We cannot completely hide our source code, but we can at least make it harder to disassemble and see.
If you are a serious Silverlight developer, make sure to get a copy of Silverlight Spy. No, I am not related to them, working for them nor affiliated.

 

Reporting Services 2.0 Tip - Pimp up your report with data bars

If you are stuck into Report Builder 2.0 world because you are still using SQL Server 2008 and not the shiny new SQL Server 2008 R2. Check out the following tip.
--> Report Builder 3.0 works only in conjunction with SQL Server 2008 R2

My problem

image
Bad: Boring data with numbers that are hard to compare - Sorting is on another column not shown here

WCF services - Keep your system healthy with automated tests

If you are finally able to "call" your webservice, you may run into the following error message:
image

"The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 501, position 22."

Running into this you may ask yourself these questions

Question from the WCF .NET class - More than 1 endpoint found

I was teaching the UTS .NET class and a student asked me this interesting question…

Question
I am not able to create a new instance of the Countries.SoapClient(). The error that I get is

image

"An endpoint configuration section for contract 'ServiceReference1.countrySoap' could not be loaded because more than one endpoint configuration for that contract was found.
Please indicate the preferred endpoint configuration section by name."

 

Answer

Latest Posts

Popular Posts