webinar sitecore continuous integration

Basically this post is a recap of the “Sitecore and Continuous Integration” webinar, with some extra details about certain topics. The goal of continuous integration is to push every little piece of new software to next environments, the last step being production. Along this way, you want your software to be merged, compiled and tested. This way of developing has been around for a while with standard ASP .NET software. The problem with Sitecore is that it also heavily relies on the More Info »

strategy_pattern

In this example I´m going to explane the strategy pattern. With this example you can do a calculation with two numbers (-/+) and expand the number of operators (/, *, etc.). First create a interface which defines the interface of the operator classes. For this example an operator can only calculate two values. //The interface for the strategies public interface ICalculateInterface { //define method int Calculate(int value1, int value2); } Next create the operators (strategies) Minus (which subtract value 2 from value More Info »

The test-team came to me with a problem involving connection errors while running webtests trough the company proxy. The webrequest needed to go to the webproxy including authentication. Visual Studion 2008 doesn’t support proxy authentication out of the box, but you can create a WebTestPlugin that does the authentication for every request. The following class inherits from WebTestPlugin and overrides the PreWebTest method. In the PreWebTest method it will authenticate the request with your credentials. public class LoadTestProxyAuthentication : WebTestPlugin {         More Info »

Create a Visual Studio add-in with contextmenu and selected text as input When working with a new way of storing settings in a database. I was frustrated how much work it was to check the value of setting from code. So I deceided to make my life a bit easier by creating a VS2008 contextmenu add-in. With this add-in I can select text within VS and use the value of the selected text within the add-in popup. The hardest part was figuring More Info »

When deploying a Silverlight application we ran into problems a WCF web-service, to find out what the problem was I wanted to invoke the method. Microsoft shipped an application for invoking methods from your Windows PC (WCFtestclient.exe). The following steps explain how to use WCFtestclient.exe. First startup Visual Studio 2008 Command Prompt. In the command prompt type wcftestclient, the application will startup. Now we need to add the Service. Click File and Add Service.   Add the URL to your service in the pop-up More Info »

The last few years I spend a lot of time working with Asp.Net AJAX. It all worked pretty good, the only downside is that you do not have control the generated HTML. With jQuery you can manipulate generated HTML. This HTML can be generated fully controlled with a ListView. I'm a lazy programmer so the first thing I needed to do is fix jQuery Intellisense in VS2008. I found my information for doing this on Scott Gu's blog (jQuery Intellisense in Vs 2008). More Info »

Visual Studio 2008 released

Since a few days the newest version of Visual Studio has been released together with the new 3.5 .Net framework. It contains tons of new features such as: Javascript Intellisense Multi-targeting support (.Net versions: 2.0, 2.0 and 3.5) Built in AJAX support (no need to install an extra package) New Html web designer (same as Expression Web) and improved CSS support Language improvements and LINQ Access to the .Net Framework Library source code (for more information read this post from Scott Guthrie More Info »

I just tried to install the VS2008 SilverlightTools Alpha, but I immediatly ran in to an error. The installation couldn’t start beacause VS2008 was not installed. This suprised me because I just installed thirty minutes before. A some searching I found out that I needed to install the Visual Web Developer. You can install this by running the VS2008 setup again an choose to add features. Now the Silverlight tools setup runs flawless.

I just installed VS 2008. The first time that I tried to install it, the installation failed. Apparantly the image (3 gb!) was corrupted and therefore the installation had troubles with the cabinet files of the Document Explorer. I downloaded it again and now the installation went flawless. Tonight I made my first application. I created an rss reader (bases on Scott Guthrie’s code) which uses LINQ. I think that LINQ is one of the most important new features of the .Net More Info »