CôaCôaCôa

Un peu de tout et n'importe quoi...

April 2003 - Posts

En attendant Bill

Rob Howard's first BillG review

Scott Watermasysk emailed me after my pre-BillG review blog entry and told me he had a blog ready for Bill. Too bad I didn’t get a chance to let Bill know ;)

Bon sang ! Mais c'est pas des blagues ! He did it!

Points de vue

Since three weeks, Jesse has created an archive page for some weblogs, more or less dedicated to DotNet (and/or Microsoft).

It's a little bit like the DotNetWeblogs main page: posts appear one after another, without author classification. This principle has the advantage of giving a general view for all that weblogers are saying around the Microsoft's sphere.

I like this kind of view and I even think it's a more user-friendly way than the three-panes method used by most of recents aggregators (at least those build with .Net). It's almost a pity because they only allow showing one post at a time. And you must use tricks (like spacebar) to jump from one unread item to another.

Whereas with the "Blog Activity" system, I can directly view the full posts details and browse them simply by using my tablet's wheel (or your mouse's wheel). One other benefit is weblog's conversation. It's easier to notice and follow them with a listed display.

In my opinion, that would be great to have an aggregator which would provide a similar presentation: I will set up my blogroll and get a main page with all posts in a listed (and detailed) way.

Pour le vieux monde

If you are an EMEA (Europe, Middle East and Africa) user, WebMatrixHosting offer hosting on Windows Server 2003, with .NET Framework 1.1 and IIS 6.0!

It's free and for 0 € you get :

  • a site url like http://yourname.europe.webmatrixhosting.net/
  • 20MB for files (your application and temporary files)
  • 10MB in SQL Server database
  • a remote access to site via FTP
  • a remote access to SQL via MMC (I can't understand how this works)
  • WebMatrix and Visual Studio.Net support
  • Starter Kits automated setup
Y'a pas que le fric dans la vie...

C# et les propriétés : 2° prise

It's OK !

  // private field variables
  private Hashtable _FldValue = new Hashtable();
  public object this [string FldName]
  {
   get
   {
    switch (FldName.ToLower())
    {
     case "createdbyuser":
      if (_FldValue.ContainsKey(FldName) == false)
       return "unknown";
      goto default;
     case "createddate":
      if (_FldValue.ContainsKey(FldName) == false)
       return DateTime.Now;
      goto default;
     default:
      return _FldValue[FldName];
    }
   }
   set
   {
    _FldValue.Add(FldName, value);
   }
  }

Merci.

C# et les propriétés

With VBScript and VB6, I can have arguments with the Property Get statement, like that :

Private Property Get OneData(ByVal sOneKey As String) As String
If (sOneKey = "dummy") Then
OneData = "qwerty"
Else
OneData = colDatas.item(sOneKey)
End If
End Property
Private Property Let OneData(ByVal sOneKey As String, ByVal sOneValue As String)
If (sOneKey <> "dummy") Then
colDatas.Add sOneKey, sOneValue
End If
End Property

With VB.NET, I can write that :

Public Property OneData(ByVal sOneKey As String) As String
Get
If (sOneKey = "dummy") Then
OneData = "qwerty"
Else
OneData = colDatas.Item(sOneKey)
End If
End Get
Set(ByVal Value As String)
If (sOneKey <> "dummy") Then
colDatas.Add(sOneKey, Value)
End If
End Set
End Property

But with c#, I don't know how to do that, since VS.NET doesn't accept this code :

public string OneData (string sOneKey) {
get {
if (sOneKey != "dummy") {
return _OneData.Values(sOneKey);
} else  {
return "qwerty";
}
}
set {
if (sOneKey != "dummy")
_OneData.Add(sOneKey, value);
}
}

Some hints ?

La reconnaissance du ventre

OK, InfoPath won't be available. OneNote won't be available. But wait ! Access won't be available ! That's unfair !

It is not like the two others. I know it :)

De l'inconvénient des titres en français ?

Thanks to this post from Jesse, I rediscovered the DevHawk site. And moreover, I found here an MSN Messenger client built in C#, without external components.

Des RSS de chez MSDN

MSDN has seven official RSS feeds :

Good! I can stop to use w3future's msnd feed.

{via techno-weenie}

More Posts