Archives

Archives / 2003 / November
  • Advanced Generics in VB.NET: More than one Constraint

    In one of my previous posts I tried generics both in VB.NET and C#, it turned out both languages support generics the same way. Ofcourse there is the syntax difference between them, and at this time C# has Intellisense that supports generics better, but I'm pretty sure the VB.NET team will catch up. Tonight I explored generics a little bit more; it's possible to add constraints to the generic type. By doing so, you are sure only instances can be created for the generic type, that support for example an interface you want it to. Another possibility is a constraint so the generic types must inherit from a specific base type. Let's say you have a base Entity class, from which your business entity classes inherit from, and a Customer entity class:
    Public Class Entity
        Private _id As Long

  • A First Look at AST.NET V2 (BENUG Session): a relief (PMD Pattern & DataSources)!

    Today I attended a BENUG session about ASP.NET V2 by Michiel van Otegem. Michiel put a lot of topics into his presentation and demos, so the a lot of cool stuff was briefly explained and showed. I was amazed how much new functionality was already available in this alpha release. My intrested went especially to the part when databinding comes into play. One demo showed how easy it was to drop a SQL Server table on a WebForm to create an editable grid. That's cool for a demo, but this is quite ugly for a production application: no layers, direct db access from the UI, ... Luckily there are several DataSources that can be used to do databinding, including a DataSource for Webservices and Objects. Even if they were not available it wouldn't be a problem because Whidbey used the Provider Model Design Pattern, so there is an IDataSource (don't remember the exact name) interface. You can create your own DataSource class by implementing this interface. Great!

  • DotNetNuke News Module Enhancement: limiting the number of news items

    The last few days I toyed a little bit with the DotNetNuke open source portal system. I know this is not SharePoint, but it allows to quickly setup good looking website that can easily be maintained by non-technical people.  Although changing the layout (e.g. colors) of the site, especially the top banner with the menu, is quite hard in the beginning. I had to dive into the code to accomplish what I wanted to do. But once you get to know how the portal is designed, altering just anything is done in a second.

  • Virtual PC 2004 on MSDN Subscriber Downloads

    Microsoft Virtual PC 2004 can be downloaded from the MSDN Subscriber Downloads. For those of you unfamiliar with VPC; Microsoft bought the technology from Connectix that allows you to host several virtual PC's on a single machine. Each virtual PC lives in its own isolated envirionment, and is physically only a single file of the host machine. To communicate with your Virtual PC's you can use either shared folders or (virtal) network connections. You can even access your Virtual PC's from anywhere in your network! This piece of software is great for software developers; you always have a clean machine to try something out. I keep a freshly installed Windows XP on my HD, and ever time I need to try something I copy that image. No more screwing up of your host machine.

  • Longhorn PDC Preview Available on MSDN Subscriber Downloads

    Ok, for all of us who didn't attend the PDC (and have a MSDN Subscription), the Longhorn PDC Preview can be downloaded from the MSDN Subscriber Downloads! This is nice, but I would be happier if Whidbey could be downloaded. Visual Studio “Whidbey” referenced in the instructions is not available from MSDN Subscriber Downloads, but is available by request from MSDN customer service.

  • Open letter to MS Product Feeback about Webcasts and Office Livemeeting

    In one of my previous posts I mentioned Microsoft Webcasts, where a lot of sessions can be watched. Recently they switched from Interwise software to Microsoft Livemeeting. But now it's not possible anymore to download the webcasts to view them offline. If you've read my previous post, you know that I love listening to technincal sessions while I'm driving to work. So I decided to make a suggestion for the Microsoft Product Feedback Team. The contents of my message are shown below and I'll keep you updated. I hope I've chosen the right channel to submit my opinion, if you know better places to do so, please let me know.

  • Hippo.NET Build Tool Version 1.3.0 Released

    There is a new version of the open source Hippo.NET Build Tool available to download, which addresses some bugs and introduces multiple project support. I would like to welcome Dave Ehrlich as a Developer, due to his input the 1.3.0 Release was possible. Features that will be worked on for a next version: