Links for 2008-08-29 [del.icio.us] Open Source PHP Site containing loads
August 30, 2008 – 10:00 amLinks for 2008-08-29 [del.icio.us]
Open Source PHP Site containing loads of open source PHP applications. Good to look at for inspiration if you're about to start writing an app (PHP or otherwise). …
Tobin Harris
The relentless branding of the Internet
For me, it started with Amazon affiliates. Before that, you mostly saw the Amazon brand on the Amazon site. After that, seemingly every web page you went to had Amazon somewhere on it. Now we are into mash-ups and widgets; but inevitably it seems to be the big brands that dominate. Instead of going …
Tim Anderson
I’ve been doing some experiments to find out if it’s possible to execute NUnit on a Silverlight project. I knew that Visual Studio 2008 and Expression Blend both host Silverlight for use in the designer window. It turns out that rather than host a separate instance of the CoreCLR, the designer simply loads the Silverlight assemblies into the host runtime. This simplifies the business of creating a compatible unit testing framework considerably!
With a little bit twiddling, I’ve managed to tweak the ‘nunit.framework’ assembly so that it’s compatible with Silverlight projects. In order for your tests to execute successfully, you also need to ensure that all Silverlight assemblies (except ‘mscorlib’) are set to ‘Copy Local: True’. After this is done you can run, debug and even do code coverage on your Silverlight unit tests!
Because creating one of these projects is a fiddle to set up, I’ve created Silverlight NUnit Project template that does the work for you. To install the template simply open the ‘SilverlightNUnitProject.vsi’ file and ignore the unsigned content warning. Once installed, you will find it under the ‘Visual C# / Silverlight’ section of the ‘New Project’ dialog. You can download the template from here.
To execute one or more unit tests you should use ‘Run Test(s)’ rather than ‘Test With > Silverlight’.

In summary you now have 3 options when testing Silverlight projects.
- For unit testing you can create a Silverlight NUnit Project and use the usual TestDriven.Net commands.
- For integration testing (within the context of a browser) you can use the Silverlight Testing Framework.
- For spelunking individual methods inside the CoreCLR you can use ‘Test With > Silverlight‘.
I’d be interested to hear how you get on.
Commonly used SharePoint admin links - Tip of the day on Sharepoint from IDERA
Refer a SharePoint Colleague! Forward To A Friend ___________________ Want to receive Idera’s monthly newsletter? Sign-up here For a quick reference list of SharePoint URLs to commonly used administrative functions on a SharePoint site, visit the blog of Heather Solomon, SharePoint expert & MVP….
SQL Master
Another way of looking at this
Jamie A comments to an article on Channel Register:
Here’s a slightly less technical way of looking at the issue:
Microsoft essentially have 2 editions of a program. The first edition speaks English (User Interface) to the user, but in behind can speak French (COM) to other components.
The second edition also speaks English and French, but can also speak Russian (VSIP - Visual Studio Integration Programme).
Microsoft intends that your components speak Russian in order to extend Visual Studio. Their VSIP license agreement also states that you can only try to speak Russian to the second edition of the software. Attempting to speak Russian to the first edition is not allowed (even if it does speak the language).
Rather than try and speak Russian, Jamie has been using French. He has asked Visual Studio if it talks a certain dialect (COM interface), and it has said “oui”. So he uses that dialect to talk to Visual Studio in order to do what he needs.
The main problem from Microsoft’s point of view is that they didn’t intend for anyone to use that dialect of French in order to talk to Visual Studio. They only expected Russian to be used. However, there’s nothing that explicitly states this. Microsoft even has public notes on the French dialect.
Therefore, Jamie thinks he’s in the right because Microsoft have not said that speaking French is forbidden. Microsoft sees it the other way. And the way things are going, it looks like the decision is going to come from a judge or jury.
There will be some French lessons in a follow up post.

You must be logged in to post a comment.