in

Dé specialist in .NET trainingen en consultancy

Jo-wen Mei

oktober 2009 - Posts

  • IObservable/IObserver are the non-blocking equivalents of IEnumerable/IEnumerator

     

    I’m experimenting with the new BCL updates in VS2010. One of these is the addition of the IObservable/IObserver interfaces.

    I’m still into grasping the whole thing, but reading this blog gets me excited about this stuff!

    I think this could lead to a new paradigm in the world of asynchronous programming.

  • Code Contracts in VS2010 Beta 2

    Code Contracts helps to reduce bugs by helping you not write them in the first place, or at least catch them sooner.

    They allow the developer to specify pre- and postconditions and more.

    To use this stuff in Visual Studio 2008 you had to download and install a separate tool.

    I’m experimenting with this stuff the first time in Visual Studio 2010, and NetFx 4 contains the System.Diagnostics.Contracts.Contract class, so I assumed everything was in the box…….  [insert quote with assumption and f*ckup here]

    The only thing that ships in the SDK is the contract class - this makes it possible to author contracts and compile code containing contracts without an extra download. But the contracts have no effect in this scenario. So the tools need to be downloaded from DEVLABS to acquire all the functionality!!!

    The team decided to stay out of the Visual Studio train, so they can update it more frequently. They’re trying to have a monthly release cycle.

    forum (with a link to the latest download)

     

    note: after installing the tool, you should get an extra tab in the project-properties page which contains some cool settings. I had to restart Visual Studio before it popped up!

  • Add Reference Dialog finally improved!!

    I really dig Visual Studio, and its dev team always does an outstanding job in adding new (complex) features…

    That’s why it’s so frustrating they didn’t improve the “Add Reference dialog”.

    But I’m not aware of any dialog/feature that has been more complained about, so they could not ignore it anymore….

    they fixed it!!

  • VS2010 Beta2 released

    The beta2 versions of the following products are now downloadable from microsoft:

    Vs2010 Ultimate

    Vs2010 Professional

    Vs2010 Team Foundation Server

    Vs2010 Premium

    Vs2010 DSL SDK

    Vs2010 Team Explorer

    .NetFX 4

     

    ps: this is not the complete list

     

    happy testing!

  • How to delete a Windows Service

     

    short version:

    you can use a command prompt and delete a service using following command: sc delete <SERVICE name>

    (check in the properties for the correct name)

     

    longer version (tnx Shahed!)

    more info on sc

    Posted okt 16 2009, 04:08 by Jo-wen with no comments
    Filed under:
  • Can’t connect to TFS after installing Visual Studio 2008 SP1

    I installed the VS2008 SP1 on our server, and couldn’t connect to the TFS anymore.

    As I was in the process of installing more software updates, I didn’t immediately realize which update caused these problems.

    So I googled on the error message: “TF30059: Fatal error while initializing web service

    and luckily others had the same issue and posted the solution: Install TFS 2008 SP  *sigh*