Standing on the shoulders of giants. RSS 2.0
# Friday, June 22, 2007

Testing the latest build for the final .net 1.1 relase of dasBlog.

Get your copy at http://www.paulvanbrenk.com/blog/bits

Friday, June 22, 2007 1:00:10 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
dasBlog
# Friday, May 11, 2007
# Sunday, March 04, 2007

Although generally a bad idea [0], there is another problem. The System.Web.Caching.Cache doesn't call dispose on the items removed from the cache, causing a resource leak. To prevent this resource leak, add a CacheItemRemovedCallback in which you dispose of the object.

 

// add the item to the cache, note the callback

HttpRuntime.Cache.Add("myKey", myClass, null, DateTime.Now.AddSeconds(5), 
     Cache.NoSlidingExpiration, CacheItemPriority.Default, 
     new CacheItemRemovedCallback( OnRemoved ) );

// callback function

void OnRemoved( string key, object value, CacheItemRemovedReason reason ) {

     IDisposable disposable = value as IDisposable;
     if (disposable != null) {
          disposable.Dispose();
     }
}

 

[0] Should you really be caching an object containing unmanaged resources, which usually are scarce?

Sunday, March 04, 2007 5:58:57 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Codesnippet | C#
# Thursday, February 22, 2007

Passed the 70-554 exam today, now I'm officially a Microsoft Certified Professional Developer : Enterprise Application Developer.

This means I currently have the following certifications:

MCTS (Web, Win and Distributed), MCPD( Enterprise Application Developer), MCBDA (on Sql 2000), MCSD & MCAD

 

Thursday, February 22, 2007 3:48:33 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Certifications
# Saturday, February 17, 2007

Again for 2007-2008 Tam Tam had received the Microsoft Gold Partner status.

Saturday, February 17, 2007 3:07:15 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
General
# Saturday, January 27, 2007

After passing the 70-553 upgrade exam, I am now a Microsoft Certified windows and web application Technology Specialist.

Next up the 70-554 exam to become a Microsoft Certified Professional Developer : Enterprise Application Developer.

 Update: Great reources for both the 70-553 and 70-554 exams.

Saturday, January 27, 2007 3:40:37 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Certifications
# Sunday, January 07, 2007

And we have an UI.

BlogML import screen

The BlogML import/export functionality for dasBlog is planned for a future release, but as soon as the project has officially moved to Asp.Net 2.0 it will be available in svn and the dailybuilds.

What features do you want for the import and export functionality? Currently it's an all or nothing operation, but things like selecting a date range for the export could be useful. And other suggestions?

Sunday, January 07, 2007 9:38:35 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
BlogML | dasBlog
# Friday, January 05, 2007

public class A {
    public virtual void AA(){}
}

public abstract class B : A{
    public abstract override void AA();
}


If you now would define a class C : B, then C must implement the method AA again.
Friday, January 05, 2007 11:23:52 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Codesnippet | C#
About
© Copyright 2008
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.8275.16006
All Content © 2008, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)