0

Posted on 22. Nov, 2007 by Wim Haanstra.

 

I have been using Visual Studio 2008 since the first beta that came out. Because VS2008 supports targeting a certain framework, it was also suitable to do out .NET 2.0 projects.

Recently, at work, we started a new project for a client for us, involving a pretty complex database schema. After two weeks we created a nice class collection, for maintaining all the data in database. Which involved classes for every type of item we could insert/fetch from our database, but also included the (what we cal) collection classes (which contain the items in the database). We created this class collection on top of our own DAL, which supports MSSQL, MySQL and oracle. After testing our classes in a lot of situations, we finally fine tuned it and after a total of 3 weeks we completed the basic framework for our database.

Yesterday, when I finally found some free time, I started looking at the basics of LINQ in combination with .NET 3.0. I found a nice ‘little’ tutorial (visit it here) and started fooling around with it. I imported the complex database we created for our client in my MSSQL Express running on my laptop and the started a new test project within VS2008. I added a new LINQ to SQL file to my projected and imported the complete database into it and also the stored procedures we created.

Voila… the framework, we created in 3 weeks, seems unnecessary. For my own feelings I am glad the system requirements of the project say that we need to use .NET 2.0 instead of 3.0, therefor we can not use the whole LINQ stuff in this project. But in the future, we surely will be considering LINQ for new projects.

Continue Reading
 

 
1

Posted on 28. Aug, 2007 by Wim Haanstra.

 

Currently I am designing and starting a huge project where we work on with a couple of people. Because we want to create extended documentation of our classes and their properties and methods, I finally started seriously using the comment XML feature of Visual Studio.

So I adjusted my prop.snippet to match this new habit of mine. See a screenie of the way it looks:

Prop.snippet usage screenshot

The snippet has the following ‘features’:

  • You need to specify the default value, this value is also included in the documentation.
  • Private variable and public property get the same name, except the private variable is prefixed with an underscore.
  • By default a summary is added above the property, where you can enter the description.
  • I attached prop.snippet to this article, so everyone can download it. If anyone has an extension to this one, please let me know.

    kick it on DotNetKicks.com

    Continue Reading
     

     
    0

    Posted on 22. Jul, 2007 by Wim Haanstra.

     

    Hilarious link about development Frameworks
    CPM development pattern PowerPoint presentation

    Continue Reading
     

     
    0

    Posted on 16. Jul, 2007 by Wim Haanstra.

     

    Sometimes (ugh!) debugging can be a pain in the ass. Sometimes you just can’t debug like you want to (with nice breakpoint etc).

    At first I always wrote debugging statements to a file on the local hard drive, but that also got out of hand. You have too much info to process. Now for a project I wrote this nice and simple static logging class.
    (more…)

    Continue Reading
     

     
    0

    Posted on 15. Jul, 2007 by Wim Haanstra.

     

    When you are used to ANY other operating system than MacOS X, the Home and End key could get very frustrating in this OS. It’s not that these keys dont work, but they work as Apple wanted them to work.

    Therefor a small change to a configuration file could be made, so they should work better.

    (more…)

    Continue Reading
     

     
    0

    Posted on 13. Jul, 2007 by Wim Haanstra.

     

    So, at work we got loads of Mac users and they are so very convinced about their OS that I wanted to try out this ‘heaven’ in OSnes. So first our system administrator and I booted up one of our Macs we had lying around (Core2Duo, 2GB of RAM and all of the bells and whistles) to actually get to know the OS a little better.

    Rant!

    A small rant about my current position, I am a complete Windows addict and I loved (!!) the XP SP2 time. When my new laptop arrived (a fast Core 2 Duo, 2×160GB SATA disk, 2 GB also, and loads of more things), I finally switched to Vista definitly. Well I have to say, if everything was just a tad faster, it probably would be great, but there is the main problem. So, that’s my rant about Vista… let’s continue my story about MacOS.

    So there we were, we as total noobs in MacOS land did not really know where to start. Ok, the basics of the OS were pretty simple, but we are not interested in the simple stuff. What we want in MacOS, is running Windows applications. So we installed Parallels Desktop on our machine and booted up a virtual image of Vista. That went pretty well and we actually were stunned by the results of running Windows applications in the same environment as the Mac applications.
    (more…)

    Continue Reading
     

     
    7

    Posted on 25. Jun, 2007 by Wim Haanstra.

     

    I develop quite a lot in ASP.NET these days and one thing that always annoyed me, is the slow responses Firefox has on the default web server Visual Studio is using.

    After doing a lot of research on the item and not many topics to be found on Google about this problem, I finally figured out why it is so slow. It has to do with the IPv6 support of FireFox, which is enabled by default in FireFox.

    To fix this problem, you just have to follow these easy steps and FireFox will be just as fast as Internet Explorer.

    • Open FireFox
    • In the address-bar, type about:config to get to a large list of FireFox settings.
    • On the top of the list, you see a text-box called Filter.
    • Enter the following (or part of) text : network.dns.disableIPv6.
    • In your settings list, you see an option appearing, which by default is False.
    • Right click this setting and select Toggle, this should make the value True.
    • Restart your browser.

    There you go, now FireFox is super-lightning-fast again!

    Hope anyone can use this information, because it is annoying when debugging is getting slow.

    Continue Reading
     

     
    1

    Posted on 20. Jun, 2007 by Wim Haanstra.

     

    PassKeeper is a simple password management tool. This idea was originally born, after I lost track of a couple of passwords and retreival by email was almost impossible.

    I tried a couple of password tools, but none of them supported all the features I wanted from a tool.

    The application is fully written in .NET and therefore you need the .NET Framework 2.0 installed.

    Version: PassKeeper Alpha 1
    Status: Unreleased, in development

    Current Features:
    – Security: Encrypted file storage, using keys you provide.
    – Security: Option to ‘lock’ the password file to your current Windows account.
    – Security: Option to ask for password before unmasking any password.
    – Security: AutoMask, after a period of time the unmasked password will mask again.
    – Security: AutoAuthorize: Keep your credentials in memory for a defined time, for quick password browsing.
    – GUI: Easy management of passwords, by using groups.
    – GUI: QuickFilter, to show only the passwords you want.
    – GUI: Nice Office 2007 like menu system, called Ribbons.
    – GUI: Simple Mode, to show only a small simple window.
    – Other: Auto update function, to keep your PassKeeper up-to-date and safe!

    Download link: Not available yet.
    Beta testing: Check here

    Screenshots:

    Continue Reading
     

     
    0

    Posted on 05. Mar, 2007 by Wim Haanstra.

     

    The first part of my “Team Foundation Server Integration” article is ready. You can read it over here.

    You should check it out, because it might be helpful but please consider that it is still a work in progress.

    Continue Reading
     

     
    0

    Posted on 05. Mar, 2007 by Wim Haanstra.

     

    Ow, before I forget. I customized this weblog a bit, for when I use certain predefined keywords. For example when I post code and use certain objects, it will make these bold. When you mouse over such an object you will see the namespace it is defined in, when you click on that bold word, you will open an extra window to go to a website explaining what that object is all about.

    Example:
    [csharp]StringBuilder sbAlottaStrings = new StringBuilder();[/csharp]

    When you mouse-over the word StringBuilder, it will show the namespace. Click on it to go the MSDN pages about the stringbuilder. I tought it was pretty neat ;) .

    Continue Reading
     

     

    WallPaper3 Stats

    Latest Images

    What I'm Doing...

    • The end of working here is getting closer and closer. Is it bad to do a countdown? 6.5 days... 4 hrs ago
    • Collecting my tax numbers, getting ready to file them. A lot of work.. 15 hrs ago
    • Care to twitter about the WallPaper 3 release? http://itunes.apple.com/nl/app/wallpaper/id292397567?mt=8 is the link to the app. 22 hrs ago
    • Ow, I hate switching between PC and Mac everytime I need Photoshop or Visual Studio. Why is VS so slow in Parallels (5)? 22 hrs ago
    • WallPaper is reduced in price! $0.79, until WallPaper Free is released! 22 hrs ago
    • I installed Tweetie on my mac. Got it with the MacHeist deal. It looks really nice! 1 day ago
    • Making some sort of banner. Should probably do more advertising. 1 day ago
    • Finishing up projects @ my current employer, typing a lot in Word... 1 day ago
    • More updates...

    Posting tweet...

    Powered by Twitter Tools