Standing on the shoulders of giants. RSS 2.0
# Monday, May 31, 2004

Not sure if this is new for VS 2005, but I don't remeber seeing it earlier:

object Convert.ChangeType( object o, Type t )

Very usefull in the following scenario:

public T ConvertFromString(string s){
     return (T)Convert.ChangeType(s, typeof(T));
}

 

Monday, May 31, 2004 11:57:43 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Visual Studio 2005

It took me some time to find out, what options I had to enable to enable debugging in a Whidbey ASP.Net project in windows 2003 server, so maybe this is usefull for someone.

Start with a regular webproject, using the IIS Manager map a virtual directory (EKPool in this picture) to the directory where you created this webproject. Make sure it's an application on the "Directory"-tab and make sure it's using v 2.0.* of the framework on the "ASP.Net"-tab.

Allow the "ASP.NET v2.0.*" Web Service Extension, prohibited by default.

Open the "property pages" of your webproject. Change the Server property on the "Start Options"-tab to "Use custom server" and enter the path to the virtual directory you just created in the "Base Url" textbox. Check the ASP.NET debugging checkbox.

Check the web.config file for the "compilation node" :<compilation debug="true" defaultLanguage="c#" />.

Start debugging with [F5] or run the application without debugging with [CTRL]+[F5].

This also works if you create an application in the root of your website, something which won't work, when you use the integrated webserver in Visual Studio Whidbey.

Monday, May 31, 2004 2:28:49 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Asp.Net | Visual Studio 2005

Generally I'm quite impressed with the work they've done on Whidbey thus far, but I feel some things could have been done better.

The MembershipProvider framework, works quite well in simple scenarios, but I find it too rigid to be really usefull.

My main concern is the use of a MembershipUser class in the UpdateUser method, which makes using a derived class less easy, for example a MembershipUser class with a birthdate or a PIN code. Same goes for the CreateUser method, only it takes strings as parameters representing all the properties of MembershipUser, why not a MembershipUser?

Another problem is the requirement to implement all methods, all methods on the MembershipProvider are marked abstract. In most cases I don't have the need to use a Question and Answer system to retrieve or reset a password. Not implementing GetPassword(string username, string answer) and ResetPassword(string username, string answer), for example by throwing a NotImplementedException, and relying on the documentation, is a maintenance disaster waiting to happen.

A better solution, I think would have been to use Interfaces for both base classes, those are much easier to extend and less usefull methods can be hidden by implementing them explicitly in yout customg provider, i.e. IMembershipProvider.ChangePassword(string username, string oldPassword, string newPassword).

Monday, May 31, 2004 1:35:14 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Asp.Net | Visual Studio 2005 | Whidbey
# Wednesday, May 26, 2004

“There is only one Program, and it is still being written.“

-- Don Box, Tech Ed 2004

Other beauties:

  • Choice is an illusion.
  • Objective interpretation is an oxymoron
  • From Doug Purdy and Don Box's talk, via das Blonde.

    Wednesday, May 26, 2004 12:44:47 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback

    # Tuesday, May 25, 2004

    In both 32- and 64-bit versions.

    [MSDN Subscriber downloads]

    Tuesday, May 25, 2004 2:08:00 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Visual Studio 2005 | Whidbey
    # Monday, May 24, 2004

    WSE 2.0 is available on the Microsoft download center.

    WSE Homepage

    What can I say, been waiting for this since the Technology preview from last year.

    Also check out Mat Powells article: Programming with Web Services Enhancements 2.0.

    Monday, May 24, 2004 10:51:53 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Services

    Information week has an interesting article on Microsofts IT operations, which shows they are doing more with less.

    [SQLCLR]

    Monday, May 24, 2004 12:41:38 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    General
    # Sunday, May 23, 2004
    Can it be true, will the long awaited WSE 2.0 be finally released at TechEd next week? The technology preview has been available since July last year. But since there hasn't been a beta or release candidate since the code complete milestone in March, my bet is on a release candidate.
    Sunday, May 23, 2004 5:19:18 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Services
    Sunday, May 23, 2004 5:05:26 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Development
    # Saturday, May 22, 2004

    The Microsoft® Office Information Bridge Framework is a set of software components, tools, and prescriptive guidance that enable developers to create solutions that connect Microsoft Office System applications to virtually any enterprise system or application.

    Microsoft Office Information Bridge Framework 1.0 BETA

    Microsoft Office IBF SDK beta

    Didn't get to try it out yet, since I only run VS.Net 2005 at home, but it looks very cool.

    update:

    More information is available in the Office Developer Center.

     

    Saturday, May 22, 2004 11:52:12 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
    Development | Office 2003
    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)