Macaw

Welkom bij dotNed inloggen/aanmelden

dotNed Logo

Laatste berichten

Terug naar de blogosphere.

Ok. Ik weet het. We hebben het allemaal druk. Het is crisis/depressie/chaos of hoe je de markt ook wil noemen en dat betekent dat we allemaal een stapje harder moeten lopen. Is dat een reden om niet meer te bloggen? Nou uhm nee. Eigenlijk niet. Maar tel daar bij op dat ik de afgelopen maanden bezig geweest ben met het oprichten van een nieuw bedrijf, weken heb gemaakt van over de 130 uur (ik weet het, dat betekent meerdere nachten niet slapen maar werken) en je begrijpt dat mijn focus een tijdje...
7-3-2010 12:21:01 door dvroegop in Dennis' avonturen in .net


19 januari 2010: Microsoft Research over Stubs en Moles

Het maken van goede unit testen is nog altijd lastige materie voor een ontwikkelaar. Wordt alle code wel geraakt, en zijn alle scenario's wel afgedekt?  Microsoft Research heeft hier tools voor geschreven om dit toch mogelijk te maken. Een aantal zaken doen ze voor je, zoals het automatisch maken van mock objecten. Daarnaast checken ze aan de hand van je code welke unit tests je allemaal zou moeten hebben. Daar komen uitermate veel verrassende randvoorwaarden uit waar je zelf alt...
28-1-2010 11:11:00 door Sander_G in dotNed Events


MVP C# in 2010

I was notified today by email that Microsoft awarded me the 2010 Microsoft MVP Award for C#. Just great!
1-1-2010 22:16:46 door Thomas in Thomas Huijer


MSTest: Cannot start more than one local run

When I run my tests in Visual Studio and one or more tests fail, I hit the Debug Selected Test so see what is going on. But at times, I get this error message: I don’t know what trigger this, but I had to restart Visual Studio to be able to Run or Debug tests again. After some searching on the net, I found out that there’s some sort of communication error between Visual Studio and the executable that actually runs the tests. So my resolution now is to kill that process and try again. Th...
22-12-2009 12:44:22 door Thomas in Thomas Huijer


Chad Hower’s story

A friend of mine, Chad Hower aka Kudzu, is in trouble. Chad has developed many internet-related components for Delphi, with Indy (being shipped with Delphi) being the most well known. Chad is also a speaker and writer and now works for Microsoft. He’s accused of kidnapping his son. Although there’s really strong evidence that it’s totally impossible for him to have done so. For example, how can you kidnap a son you have custody over? It’s a heartbreaking and quite unbelievable story. Watch the 5...
8-12-2009 12:08:39 door Thomas in Thomas Huijer

OPML Lijst

dotNed Community Bloggers

The easiest way for custom View folders in ASP.NET MVC

To change the directory where ASP.NET MVC looks for the views, create a custom ViewEngine and add this ViewEngine to the ViewEngines collection, replacing the old one.This CustomLocationViewEngine will replace the default "Views" search location with a custom one:public class CustomLocationViewEngine : WebFormViewEngine{ private string location; public CustomLocationViewEngine(string location) { this.location = location; base.MasterLocationFormats = locationFormatsFrom(bas...
9-3-2010 14:37:00 door Jan Willem in JWB's blog


TFS SDK 2010 – Part 6 – Replace text in all Work Item Query Definitions

When you work iterative, you might just want to replace your current release or iteration in the query definitions, instead of creating a bunch of new queries. This post shows you how you can perform a quick and simple replace mechanism to achieve this. using System; using System.Collections.Generic; using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.WorkItemTracking.Client; namespace TFS_SDK { class Program { static void Main(string[] args) ...
9-3-2010 13:20:40 door ewald hofman in Ewald Hofman


A C# CQRS framework AgrCQRS

To get some grip on the topics DDD, CQRS and Event Sourcing, I have started on a framework for CQRS applications and a sample (questionnaire) application which uses the framework. It is heavily inspired by the resources mentioned below. You can find the project on its CodePlex site: http://agrcqrs.codeplex.com/Lately a very interesting pattern has emerged, the Command Query Responsibility Segregation (CQRS) pattern. It is actually an existing software pattern that is being applied on a high...
6-3-2010 0:11:00 door Jan Willem in JWB's blog


Eaglestone: the new TFS plugin for Eclipse

Not long ago, Microsoft announced it had acquired Teamprise. The team does enormous work to transform the Teamprise products into Microsoft branded products. The product has the code name Eaglestone. The first beta version is now available for download.
4-3-2010 5:56:03 door Ewald Hofman in Ewald Hofman


Supported platforms for the Test Manager 2010

In the test manager, you can plan and execute test cases. When you execute a test case you can record the steps you perform on the user interface. The product team did a great job on the platforms they support, but not everything is (fully) supported. If you want to know what is supported, you can find it in the following table.
3-3-2010 13:42:08 door Ewald Hofman in Ewald Hofman


AppFabric : Configuration binding extension could not be found.

I have recently installed the Windows Azure AppFabric SDK because I’m writing an article for the Dutch .NET Magazine. Problem is I try to do everything in Visual Studio 2010 these days, just because it’s so cool to have something that’s buggy. Seriously! Sometimes you get headaches because you just can’t figure out why something’s not working, only to find out it’s because it really isn’t working because of the current beta version you’re working with. But on the other side it’s really fun and you learn a lot. As now, when I got the following message. Configuration binding extension 'system.serviceModel/bindings/netTcpRelayBinding' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions and that it is spelled correctly. It’s a System.ConfigurationErrorsException which can mean that you might be right with what you configured, the .NET runtime just can’t figure out what it is that is wrong. This time it’s because some extensions to WCF weren’t added to the machine.config of .NET 4.0 RC. It was however added to the machine.config of .NET 2.0 so I took it from there. And for future reference for my dear readers and all others that come in via Google, I’m posting the fix here. Sidenote : I’m using 2.0.50727 and 4.0.30128 version of the .NET Framework, but the versions might differ on your machine. Go to C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\ and read the machine.config from there. In the node configuration\system.servicemodel\extensions\ you find two nodes. The first is bindingElementExtensions and the second is bindingExtensions. You’ll see some bindings with a name that contains “relay” in it. Copy these into notepad or so. Now open up C:\Windows\Microsoft.NET\Framework\v4.0.30128\Config\ and edit the machine.config there. Copy the lines from the 2.0 config that are missing in the 4.0 config and your AppFabric service should be able to start.
27-2-2010 21:34:00 door Dennis van der Stelt in Dennis van der Stelt


Amber Alert 404

Scott Hanselman geeft op zijn blog het idee door om bij een 404 foutmelding ("pagina niet gevonden") foto's van vermiste kinderen op te nemen. It's a simple and brilliant idea. Millions of 404s are delivered every day. We are reporting on missing pages, but not on missing children.Ik heb het idee overgenomen en een html pagina gemaakt die de RSS feed van Amber Alert laat zien. In deze pagina wordt alles voor 100% aan de clientkant geregeld, zodat er geen aparte servercode nodig is. Uiteraard met...
26-2-2010 0:13:00 door Jan Willem in JWB's blog


ClickOnce manual updates

I’ve written some tutorials in the past to help people with manually updating their ClickOnce deployed applications. Manual check for updates with ClickOnce Turn off automatic updates with ClickOnce ClickOnce automated build and pfx file Creating ClickOnce deployment files using an automated build and FinalBuilder Miscellaneous users still had problems with the updates not checking very well. Joe responded with a solution. I’m writing it down here so more people might benefit from it as well, especially since the comment didn’t contain any linebreaks! :) As Joe mentions the methods CheckForUpdate() and CheckForDetailedUpdate() persist the information retrieved to disk. This way when performing the check for update again, the information is retrieved from disk. If you’ve chosen to skip the update, it won’t ask you again. You can override this behavior by using an overloaded method of the above mentioned methods and specify that you don’t want the information to be persisted to disk. ApplicationDeployment updateCheck = ApplicationDeployment.CurrentDeployment; UpdateCheckInfo info = updateCheck.CheckForDetailedUpdate(false); // if (info.UpdateAvailable) { updateCheck.Update(); MessageBox.Show("The application has been upgraded, and will now restart."); Application.Restart(); } Check the second line with the method CheckForDetailedUpdate where I pass a ‘false’ to specify that it should not persist the update information.
24-2-2010 16:41:39 door Dennis van der Stelt in Dennis van der Stelt


On my way to Redmond

  In a few hours I'll be on my way to Redmond. This week it's the MVP Summit 2010 where over 1300 MVP's from all over the world will get over there and meet each other and get some updates on technology. An opportunity to meet members of the Program Group and discuss some hot issues. I didn't get any sleep tonight as I needed the time to prepare my machines in order to get some work done over the week and probably will use my time on the plane to catch up and sleep a bit. I guess I'l...
15-2-2010 6:24:00 door maarten in Maarten van Stam - Soft As In Software :-)


Cultural barbarism .NET

If you follow me on Twitter, you will have seen me rant about an alpha version of some piece of software on my phone. While I will not be naming it here, because that is just not the point, it is clearly the reason for this blog post. The application - lets call it FizzBuzz just to have a generic name - looks good, and seems to work okay (great, if you consider that it's an alpha version) except for one thing that for me made it totally useless. FizzBuzz contacts an internet service through (I ...
11-2-2010 16:04:00 door peSHIr in peSHIr.NET

OPML Lijst