<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.oosterkamp.nl/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Ronald Harmsen</title><subtitle type="html" /><id>http://blogs.oosterkamp.nl/blogs/ronald/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.oosterkamp.nl/blogs/ronald/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.20917.1142">Community Server</generator><updated>2008-05-29T08:46:00Z</updated><entry><title>Entity Framework 4.1 Update (RC)</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2011/03/28/entity-framework-4-1-update-rc.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2011/03/28/entity-framework-4-1-update-rc.aspx</id><published>2011-03-28T18:45:00Z</published><updated>2011-03-28T18:45:00Z</updated><content type="html">&lt;p&gt;Scott Guthrie heeft op zijn blog een update van het Entity Framework aangekondigd, deze is nu te downloaden en bevat o.a. een aantal updates op het gebied van de zogenaamde &amp;#39;code first&amp;#39; approach&lt;/p&gt;&lt;p&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2011/03/19/rc-of-entity-framework-4-1-which-includes-ef-code-first.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2011/03/19/rc-of-entity-framework-4-1-which-includes-ef-code-first.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=328" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term=".NET" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/.NET/default.aspx" /><category term="EF" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/EF/default.aspx" /></entry><entry><title>ASP.NET 4 op IIS 6</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2011/03/28/asp-net-4-op-iis-6.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2011/03/28/asp-net-4-op-iis-6.aspx</id><published>2011-03-28T13:37:00Z</published><updated>2011-03-28T13:37:00Z</updated><content type="html">&lt;p&gt;Voor een klant wilde ik vandaag de nieuwe webapplicatie op hun testomgeving plaatsen. De webapplicatie is is gebouwd met ASP.NET 4.0 en de testomgeving draait op Windows 2000 met IIS6.&lt;/p&gt;&lt;p&gt;Nadat ik .NET 4.0 had geinstalleerd, een nieuwe webapplicatie en applicationpool gemaakt, leek het erop dat ik het zou gaan werken. Bij het openen van de url kreeg ik echter een melding dat de pagina niet kon worden geopend. Zelfs na het expliciet opgeven van de default.aspx kreeg ik dezelfde melding.&lt;/p&gt;&lt;p&gt;Alle onderdelen die door IIS zelf worden geserviced waren wel beschikbaar, plaatjes en een test.html pagina. De webapplicatie was dus wel aanwezig op de IIS server en de configuratie leek te kloppen.&lt;/p&gt;&lt;p&gt;Vervolgens nogmaals alles settings nagelopen, MIME-types gecontroleerd, nogmaals iisreg gedraaid etc., maar helaas met hetzelfde resultaat.&lt;/p&gt;&lt;p&gt;Met enig zoekwerk bleek dat de .NET 4.0 isapi wel geregistreerd was bij IIS, maar nog niet geactiveerd.&lt;/p&gt;&lt;p&gt;Na activering werkte de webapllicatie zoals bedoeld.&lt;/p&gt;&lt;p&gt;De uiteindelijke oplossing heb ik hier gevonden: &lt;a href="http://johan.driessen.se/posts/getting-an-asp.net-4-application-to-work-on-iis6"&gt;http://johan.driessen.se/posts/getting-an-asp.net-4-application-to-work-on-iis6&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=327" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author></entry><entry><title>Ben jij een professional of ontwikkel je software? </title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2011/03/28/ben-jij-een-professional-of-ontwikkel-je-software.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2011/03/28/ben-jij-een-professional-of-ontwikkel-je-software.aspx</id><published>2011-03-28T13:33:00Z</published><updated>2011-03-28T13:33:00Z</updated><content type="html">&lt;p&gt;
Gisteravond heb ik deze webcast &lt;a href="http://www.parleys.com/#st=5&amp;amp;sl=5&amp;amp;id=1491"&gt;http://www.parleys.com/#st=5&amp;amp;sl=5&amp;amp;id=1491&lt;/a&gt; van 
een sessie van Robert C. Martin bekeken. Hij heeft een aantal boeken op zijn 
naam staan waaronder het boek&lt;a href="http://blog.objectmentor.com/articles/2008/04/08/clean-code-whew"&gt;&amp;#39;Clean 
code&amp;#39; &lt;/a&gt;wat iedere professionele ontwikkelaar gelezen moet hebben.&lt;br /&gt;&lt;br /&gt;In 
deze sessie legt hij uit hoe wij (ontwikkelaars) al jaren software bouwen en hoe 
elk project kennelijk mislukt, ook al lijkt het systeem dat we bouwen te werken. 
Met als resultaat dat de ontwikkelaars boos zijn op de managers vanwege de 
tijdsdruk en onrealistische planningen. En de managers zijn boos op de 
ontwikkelaars omdat ze het systeem niet op tijd of niet werkend 
opleveren.&lt;br /&gt;&lt;br /&gt;Vervolgens neemt hij ons mee door de afgelopen decennia en 
vertelt wat ons vakgebied zoal aan &amp;#39;silver bullets&amp;#39; heeft bedacht. De overstap 
van assembly naar C en OS-en, OO, Agile, Scrum etc. etc.&lt;br /&gt;&lt;br /&gt;Het 
belangrijkste wat daarbij wordt vergeten, is onze houding als software 
ontwikkelaar. Gedragen we ons als een professional, zoals bijvoorbeeld een arts 
of een advocaat? Of bouwen we software, die misschien wel werkt, maar dát kunnen 
we niet bewijzen? &lt;br /&gt;Herken je jezelf in het volgende? &amp;quot;We hebben hier wat 
smerige shortcuts genomen, die eigenlijk niet goed te onderhouden zijn. Maar we 
moesten wel, gezien de tijdsdruk&amp;quot;. Wel eens een chirurg horen zeggen: &amp;quot;We hebben 
de wond maar niet gesloten, want de operatie tijd zat erop&amp;quot; ?&lt;br /&gt;&lt;br /&gt;De 
conclusie is dat als je software kunt ontwikkelen, je niet automatisch een 
professional bent. Hiervoor zijn een aantal gedragsregels en een bepaalde 
instelling nodig. Een mooie start is het &lt;a href="http://manifesto.softwarecraftsmanship.org/"&gt;&amp;#39;Manifesto for software 
craftsmenship&amp;#39;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In het kort zijn dat de dingen waar mijn collega&amp;#39;s 
bij &lt;a href="http://www.oosterkamp.nl/"&gt;Oosterkamp&lt;/a&gt; en ik ons voor inzetten. 
Hoe bouw je samen met je opdrachtgever, werkende software (inclusief het bewijs 
dat het werkt), die goed in elkaar zit (en dus onderhoudbaar is) én waarbij 
continu waarde voor de eindgebruiker wordt toegevoegd.&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=326" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="professional agile craftsmenship" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/professional+agile+craftsmenship/default.aspx" /></entry><entry><title>RIA Services templates not showing in Visual Studio 2010</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/30/ria-services-templates-not-showing-in-visual-studio-2010.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/30/ria-services-templates-not-showing-in-visual-studio-2010.aspx</id><published>2009-11-30T10:42:00Z</published><updated>2009-11-30T10:42:00Z</updated><content type="html">&lt;p&gt;As I am preparing a talk&amp;nbsp;on the new cool ways to build Silverlight applications in VS2010, I installed the &lt;a href="http://silverlight.net/getstarted/silverlight-4-beta/#tools" target="_blank"&gt;Microsoft Silverlight 4 Tools for Visual Studio 2010 Beta 2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;These tools contain the &amp;#39;Silverlight Business Application&amp;#39; project template so you can quickly setup a business application in Silverlight with RIA services. After installing the tools (and installing it again...) the project template isn&amp;#39;t there.. WTF ?!?!&lt;/p&gt;
&lt;p&gt;As always I used the &amp;#39;Google is your friend&amp;#39;-pattern and found the solution: if you have installed previous versions of RIA services (i.e. for Visual Studio 2008) the installer internally crashes and doesn&amp;#39;t install the templates. The solution is to remove all previous versions of RIA services and install the SL 4 tools again.&lt;/p&gt;
&lt;p&gt;You can read more &lt;a title="SL tools 4" href="http://timheuer.com/blog/archive/2009/11/22/ria-services-templates-not-showing-in-visual-studio-2010.aspx" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=279" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author></entry><entry><title>PDC09, things are getting better...</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/18/pdc09-things-are-getting-better.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/18/pdc09-things-are-getting-better.aspx</id><published>2009-11-18T22:55:00Z</published><updated>2009-11-18T22:55:00Z</updated><content type="html">&lt;p&gt;Ok, i&amp;#39;m taking back the lousy goodiebag comment...&lt;br /&gt;Microsoft gave all developers a brand new touch laptop today!!&lt;/p&gt;
&lt;p&gt;The keynote was great this morning, lots of humor and news on how to build and monitor a product (stories from Windows7 productteam).&lt;br /&gt;I really like the presentation-style of Steven Sinofsky..&lt;/p&gt;
&lt;p&gt;Also the new IE9 was presented. Lots of improvement here, rendering is actualy fast and better quality. On channel 9 are a lot of videos available on all the new stuff.&lt;/p&gt;
&lt;p&gt;Next was a presentation on Silverlight 4 by Scott Guthrie. Silverlight 3 is already installed on 45% of all internet connected devices worldwide.&lt;br /&gt;Silverlight 4 brings webcam support and you can apply WPF effects directly on the moving image.&lt;br /&gt;SL4 also has smooth IIS videostreaming. The IIS streaming alsow supports streaming tot the populair iphone.&lt;/p&gt;
&lt;p&gt;Support for business applications is also provided: printing, clipboard access, dragdrop, commanding, rich text and much more... great ! The SL4 beta is downloadable as of today.&lt;/p&gt;
&lt;p&gt;One of the best features is that SL can now share common .NET assemblies, so no more recompiling! And you can use binary transport with WCF in SL4 as well....&lt;/p&gt;
&lt;p&gt;And if that isn&amp;#39;t enough also databinding and code generation has improved big time.&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=275" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="PDC Silverlight 4" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/PDC+Silverlight+4/default.aspx" /></entry><entry><title>New stuff in entity framework 4</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/18/new-stuff-in-entity-framework-4.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/18/new-stuff-in-entity-framework-4.aspx</id><published>2009-11-18T00:44:00Z</published><updated>2009-11-18T00:44:00Z</updated><content type="html">Today I visited a session on entity framework. Lots of cool new stuff in .NET 4.0, finally we get poco objects. 
And as a matter of fact there is a new feature available as of today in an additional download with even more improvements, like generating your poco objects from the edmx model. 

The best part is you can change the way code is generated by editing the T4 templates in VS2010.
This way it is finally possible to create a testible datalayer without importing all the EF stuff.

The EF team also created classes to support offline changing of objects, like you could in the dataset days (remember diffgrams?).
This is particulairly good when you send your objects over the wire with WCF. When you send the changed object back, the host can reconnect your entity to the datacontext and apply the correct actions on the datastore.&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=274" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author></entry><entry><title>PDC TDD vs BDD</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/18/pdc-tdd-vs-bdd.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/18/pdc-tdd-vs-bdd.aspx</id><published>2009-11-18T00:29:00Z</published><updated>2009-11-18T00:29:00Z</updated><content type="html">Currently I am at the birds of a feather session on TDD vs BDD hosted by fellow Dutchmen Dennis Doomen. Nice interactions and great to see how other developers think about the subject and apply it in their teams.&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=273" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author></entry><entry><title>PDC09 First comments</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/17/pdc09-first-comments.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/11/17/pdc09-first-comments.aspx</id><published>2009-11-17T18:55:00Z</published><updated>2009-11-17T18:55:00Z</updated><content type="html">Today the PDC really started....
After partying with Palermo last night we were actually early here today.

PDC09 is a little disappointing this year, no breakfast, lousy goodiebag etc.
The keynote didn&amp;#39;t bring much news. Azure is being highly promoted and will be ready in feb 2010.
SQL for Azure is much better and supports t-sql from management studio and supports transactions as well.

It is also possible to host your own virtual pc image in Azure.. Cool!


&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=272" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author></entry><entry><title>Windows 7 and Microsoft MOC material</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/10/01/windows-7-and-microsoft-moc-material.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/10/01/windows-7-and-microsoft-moc-material.aspx</id><published>2009-10-01T09:50:00Z</published><updated>2009-10-01T09:50:00Z</updated><content type="html">&lt;p&gt;This week I have tried to setup my notebook with Microsoft MOC material for a training I have to do next week.&lt;/p&gt;
&lt;p&gt;Unfortunately this isn&amp;#39;t easy... Some of the installers are blocked on Windows 7 and Microsoft Virtual Server can&amp;#39;t be installed on Windows 7.&lt;/p&gt;
&lt;p&gt;Until I found this link &lt;a href="http://tfl09.blogspot.com/2009/08/windows-7-and-virtual-server.html"&gt;http://tfl09.blogspot.com/2009/08/windows-7-and-virtual-server.html&lt;/a&gt;&amp;nbsp;which guides you through the process and it works !!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=253" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="Windows 7" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/Windows+7/default.aspx" /><category term="Microsoft" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/Microsoft/default.aspx" /><category term="MOC" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/MOC/default.aspx" /></entry><entry><title>Nokia N97 &amp; .NET Compact Framework</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/08/04/nokia-n97-amp-net-compact-framework.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/08/04/nokia-n97-amp-net-compact-framework.aspx</id><published>2009-08-04T18:29:00Z</published><updated>2009-08-04T18:29:00Z</updated><content type="html">This week I switched from a Windows Mobile phone (HTC Touch Pro) to a brand new Nokia N97.
I really like this phone, it is fast and the usability is great. It only has one disadvantage: it doesn&amp;#39;t run Windows Mobile so I can&amp;#39;t build .NET apps for it...

With some Googlin&amp;#39; I found a solution to this: a .NETCF runtime for Symbian !!
And there is even a free developer version available... Great!

I am going to play around with this.

More info at : https://www.redfivelabs.com/content/NETonSymbian.aspx


&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=243" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="Compact Framework" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/Compact+Framework/default.aspx" /><category term="Mobile" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/Mobile/default.aspx" /></entry><entry><title>WTF: WCF Timeout when the system date or time changes !</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/07/23/wtf-wcf-timeout-when-the-system-date-or-time-changes.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/07/23/wtf-wcf-timeout-when-the-system-date-or-time-changes.aspx</id><published>2009-07-23T18:38:00Z</published><updated>2009-07-23T18:38:00Z</updated><content type="html">&lt;p&gt;Today I worked on a bug report which took me a while to understand.&lt;br /&gt;When the user changed the date the WCF Channel threw an exception....&lt;/p&gt;
&lt;p&gt;After some testing I saw that it only occurs when you set the date to a date in the future, changing the date to some day in the past doesn&amp;#39;t reproduce this exception.&lt;/p&gt;
&lt;p&gt;To support my first thoughts I have built a very simple WCF service with a simple console client that kept calling the service. When I changed the date to 31 dec 2009 the client throw an exception too! So the bug isn&amp;#39;t really in my code but in the WCF framework :-( &lt;/p&gt;
&lt;p&gt;The quick solution is to recreate the proxy when the channel faults, so I can &amp;#39;fix the bug&amp;#39;. &lt;br /&gt;Now I have to find a real solution to this, when I have found it I will post it here.&lt;/p&gt;
&lt;p&gt;Ideas anyone ?&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=242" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="WCF" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/WCF/default.aspx" /><category term=".NET" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/.NET/default.aspx" /></entry><entry><title>My new micro .NET toy arrived!</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/06/18/my-new-micro-net-toy-arrived.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/06/18/my-new-micro-net-toy-arrived.aspx</id><published>2009-06-18T11:13:00Z</published><updated>2009-06-18T11:13:00Z</updated><content type="html">&lt;p&gt;After attending a session on the .NET Micro Framework, I decided i &lt;u&gt;need&lt;/u&gt; ;-) a testboard to start playing with this technology.&lt;br /&gt;During a short quest&amp;nbsp;for&amp;nbsp;possible devices (and where to order them!) i have choosen the TahoeII dev-kit by devicesolutions.net. Ordering was simple and after 1 day it arrived by mail.&lt;/p&gt;
&lt;p&gt;This .NET Micro Framework thingy has some sensors, buttons, connectors, SD-card slot, USB connection, ethernet and the most beautiful part: a touchscreen panel!&lt;br /&gt;It supports (a micro-subset of) WPF and I have build my first WPF app on the device, wich was very simple and most of all fun...&lt;br /&gt;&lt;br /&gt;&lt;img height="103" alt=".NET Micro Framework Development Kit" src="http://devicesolutions.net/Portals/0/Images/TahoeII-small.png" width="200" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;I have started building a remotecontrol app on this device and keep you posted on results and code :-) !&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=230" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term=".NET Micro framework" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/.NET+Micro+framework/default.aspx" /></entry><entry><title>Webapps: Who needs to report progress ?</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/03/09/webapps-who-needs-to-report-progress.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2009/03/09/webapps-who-needs-to-report-progress.aspx</id><published>2009-03-09T09:23:00Z</published><updated>2009-03-09T09:23:00Z</updated><content type="html">Ever needed an animated gif to report &amp;#39;being busy&amp;#39; ?
Check out this website to generate your own: http://www.ajaxload.info/

&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=209" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="Web" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/Web/default.aspx" /><category term="AJAX" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/AJAX/default.aspx" /><category term="ASP.NET" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/ASP.NET/default.aspx" /></entry><entry><title>Finally: Build faster apps with parallel support</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2008/11/05/finally-build-faster-apps-with-parallel-support.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2008/11/05/finally-build-faster-apps-with-parallel-support.aspx</id><published>2008-11-05T13:40:00Z</published><updated>2008-11-05T13:40:00Z</updated><content type="html">&lt;span&gt;.NET 4.0 brings you parallel extensions! &lt;/span&gt;&lt;span&gt;
&lt;p&gt;The thread pool has been enhanced with great new features. The new features can be accessed from the Task API. The Task API can be used similar to the Thread class and offers some advanced features. For the tasks to queue up, the pool now not only includes a global queue but also a local queue for every thread in the pool. This can enhance performance because of data cached in the CPU.&lt;br /&gt;With the new API, other than starting tasks some more features: tasks can be started in a parent/child relationship, it is possible to suspend/continue/wait/cancel tasks, and get results from the task (using the Future class). This class might be renamed to Task as well (in the future). &lt;/p&gt;
&lt;p&gt;A common pattern is using threads in a loop to perform some actions on a list of items. The Parallel class gives an implementation of this pattern. Parallel.ForEach offers several overloads to do several actions in parallel with the thread pool. &lt;/p&gt;
&lt;p&gt;More info: &lt;a href="http://channel9.msdn.com/pdc2008/TL26/"&gt;http://channel9.msdn.com/pdc2008/TL26/&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;If this isn&amp;#39;t enough for you take a look at &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Microsoft&amp;#39;s CCR and DSS Toolkit 2008 and the technologies it contains for building loosely-coupled, highly concurrent, and distributed applications.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt; 
&lt;p&gt;&lt;span&gt;Watch the complete session at: &lt;a href="http://channel9.msdn.com/pdc2008/TL55/"&gt;http://channel9.msdn.com/pdc2008/TL55/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;More info at &lt;a href="http://www.microsoft.com/ccrdss"&gt;http://www.microsoft.com/ccrdss&lt;/a&gt; &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=168" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="PDC .NET Parallel Concurrency Performance" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/PDC+.NET+Parallel+Concurrency+Performance/default.aspx" /></entry><entry><title>Weer iets geleerd ??</title><link rel="alternate" type="text/html" href="http://blogs.oosterkamp.nl/blogs/ronald/archive/2008/05/29/weer-iets-geleerd.aspx" /><id>http://blogs.oosterkamp.nl/blogs/ronald/archive/2008/05/29/weer-iets-geleerd.aspx</id><published>2008-05-29T06:46:00Z</published><updated>2008-05-29T06:46:00Z</updated><content type="html">&lt;p&gt;Vandaag kwam ik achter een coole operator in C# (vanaf v2.0) die ik nog niet eerder had gezien: de zogenaamde ?? null coalescing operator.&lt;/p&gt;
&lt;p&gt;Regelmatig kom je in een situatie waarin je een bepaalde variabele op null wilt controleren en dan een andere (default) waarde wilt teruggeven.&lt;br /&gt;Dat zou je zoals hieronder kunnen doen:&lt;/p&gt;
&lt;p&gt;int ?i = null;&lt;br /&gt;if ( i==null )&lt;br /&gt;&amp;nbsp;&amp;nbsp; Console.WriteLine( 0 );&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp; Console.WriteLine( i );&lt;br /&gt;&lt;br /&gt;De verkorte schrijfwijze zou ook zo kunnen:&lt;/p&gt;
&lt;p&gt;int? i = null;&lt;br /&gt;Console.WriteLine( i == null ? 0 : i );&lt;/p&gt;
&lt;p&gt;De verkorte schrijfwijze met de ?? operator is:&lt;/p&gt;
&lt;p&gt;int? i =null;&lt;br /&gt;Console.WriteLine( i ?? 0 );&lt;/p&gt;
&lt;p&gt;Allen&amp;nbsp;hebben hetzelfde resultaat, maar de laatste is toch veel simpeler ?&lt;br /&gt;&lt;/p&gt;&lt;img src="http://blogs.oosterkamp.nl/aggbug.aspx?PostID=128" width="1" height="1"&gt;</content><author><name>Ronald</name><uri>http://blogs.oosterkamp.nl/members/Ronald.aspx</uri></author><category term="C#" scheme="http://blogs.oosterkamp.nl/blogs/ronald/archive/tags/C_2300_/default.aspx" /></entry></feed>
