all things Sitecore related

Pieter Brinkman

Pieter is Technical Marketing Manager for Sitecore Netherlands and owner of Gaatverweg.nl. He has more than ten years experience with software developing in multiple programming languages and with different Content Management Systems. Before joining Sitecore Pieter was a lead developer for multiple Sitecore and .Net projects, he joined Sitecore in 2011 as an Solution Architect in The Netherlands, after two years as an Solution Architect he joined the Technical Marketing department. In the role as Techinical Marketing Manager he is responsible for the Global MVP program and the Sitecore technical branding strategy.

You can follow Pieter on twitter: @pieterbrink123 or Google+

From BlogEngine.Net to WordPress

By on April 14, 2011 in Portfolio with 0 Comments

After blogging a long time on BlogEngine.Net I thought it was time to switch to WordPress. The conversion wasn’t great. The biggest problem was that the syntax highlighter is not compatible and the image where not exported. But the content is here, excluding the images. I will try to clean it up and add the images and […]

Continue Reading »

New Job: Solution Architect for Sitecore

By on January 14, 2011 in Portfolio with 0 Comments
New Job: Solution Architect for Sitecore

As from the 1st of january I’m the new solution architect for Sitecore the Netherlands. My responsibilities wil be: Technical Presentations and demonstrations Providing Technical Trainings Defining Sitecore architecture/blueprint for customer and partners Developing CMS relevant (sales) propositions Develop demo’s and POC with sales, product specialist and product development Support local sales in responding to […]

Continue Reading »

Design Patterns(C#): Basic example Strategy pattern

Design Patterns(C#): Basic example 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 […]

Continue Reading »

Asp.Net: Webtest trough proxy (WebTestPlugin)

By on October 24, 2010 in ASP.Net, Microsoft, Visual Studio with 0 Comments

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 […]

Continue Reading »

Asp.Net: keyboard sort items

By on September 24, 2010 in ASP.Net, C#, Javascript with 0 Comments
Asp.Net: keyboard sort items

As proof of concept I wanted to sort images in a Grid by keyboard. The sort logic needed to be implemented on the server. My solution for this problem is a combination of Javascript and C#. First add following html to you .aspx. Notice that the body tag has runat=”server” and a ID. <body<strong> runat="server" […]

Continue Reading »

XBOX 360 friends status APP

By on July 8, 2010 in Windows Mobile with 0 Comments
XBOX 360 friends status APP

After seeing a great XBOX360 friends Iphone App I decided to build a Windows Mobile version of it. The app shows your friends, their avatar, online status and what they are playing. After downloading the VS plugins for Windows Mobile development I started building the app. Building Windows Mobile Apps is easy. The only thing you […]

Continue Reading »

C#: Get Parent Control with Generics

By on April 27, 2010 in ASP.Net, C#, Controls with 0 Comments
C#: Get Parent Control with Generics

I use the following method to return a parent control of a specific type. This method is recursive and uses generics. <br /> private Control GetParentControl<T1>(Control control)<br /> {<br /> if (control.Parent.GetType() == typeof(T1))<br /> {<br /> return control.Parent;<br /> }<br /> else<br /> {<br /> return GetParentControl<T1>(control.Parent);<br /> }<br /> }</p> <p>

Continue Reading »

MemoryStream to Byte Array (Byte[])

By on April 19, 2010 in ASP.Net, C# with 0 Comments

With the following code you can convert your MemoryStream to a Byte Array. //create new Bite Array byte[] biteArray = new byte[memoryStream.Length]; //Set pointer to the beginning of the stream memoryStream.Position = 0; //Read the entire stream memoryStream.Read(biteArray, 0, (int)memoryStream.Length);

Continue Reading »

Gaatverweg.nl travelportal live

By on April 7, 2010 in Portfolio with 0 Comments
Gaatverweg.nl travelportal live

A few years after building the free travelblog site Globallog.nl in PHP. I started building a new version in .Net together with Mark. Although this was a joyful and educational experience, we never finished this project… Now a few years later I finished a new travelblog portal; Gaatverweg.nl. Gaatverweg.nl is build with WordPress MU (php) […]

Continue Reading »

Create a Visual Studio add-in with contextmenu and selected text as input

By on February 25, 2010 in C#, Controls, Visual Studio with 0 Comments

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 […]

Continue Reading »

C#: Remove line from textfile

By on January 26, 2010 in ASP.Net, C#, linq with 0 Comments

With the following code you can remove a line from a textfile (web.config). If the string is within a line the line will be removed. string configFile = @"C:devweb.config"; List<string> lineList = File.ReadAllLines(configFile).ToList(); lineList = lineList.Where(x => x.IndexOf("<!–") <= 0).ToList(); File.WriteAllLines(configFile, lineList.ToArray());

Continue Reading »

Asp.Net: DataPager problem with Listview

By on December 23, 2009 in ASP.Net, Controls with 2 Comments

When using the Datapager with a ListView I had the following problem. When clicking a paging button for the first time nothing happens.But when I click a button the second time, then the page from the first click loads. I search the internet for a solution and found that you need to add some code to […]

Continue Reading »

Comments disabled

By on December 23, 2009 in Uncategorized with 0 Comments

I disabled the comments because of the huge amounts of spam I’m receiving. So if you have any questions you can contact me trough linked-in. Sorry for the inconvenience.

Continue Reading »

TypeMock: Mock Unittest examples

By on October 21, 2009 in ASP.Net with 0 Comments

In this example I will show how to create a Unit Test with TypeMock. First I have created some basic dummy classes for the example public sealed class ServiceFactory {     public static ExpireDateService CreateExpireDateService()     {         ExpireDateService expireDateService = new ExpireDateService();         expireDateService.administration = new SqlAdministration("connectionstring");         return expireDateService;     } } /// […]

Continue Reading »

Asp.net: DateTime Eval String formatting

By on September 24, 2009 in ASP.Net with 0 Comments

With the following code you can format a DateTime within a Databind. <%# DateTime.Parse(Eval("DateModified").ToString()).ToString("MM-dd-yyyy")%> 

Continue Reading »

Top