by Mathias 8/11/2008 7:12:00 PM

Just plugging the next Bay.Net Education Day (which I am organizing), where Mark Michaelis will

start with a blank slate, the Visual Studio Wizard, and proceed to create a series of assemblies that comprise .NET 3.0/.NET 3.5 sample application.  The result will be a whirl wind introduction to technologies such as Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), Ajax, SharePoint, Visual Studio Unit Testing, LINQ and much more.  Attend this all day session to catch up with where Microsoft .NET technology is today and gain insight into where it is going tomorrow.

Should be a great event - it will take place Saturday September 6, at Foothill College; you can register here.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
by Mathias 6/24/2008 4:32:00 PM

A few days back, I came across an article by Bill Wagner, on the topic of validating the state of your objects. His approach, in essence, is to override the bool operator on your class, and use it to return a boolean indicating whether the instance is in a valid state. Simplified to the extreme, the code would look something like this:

public class Person
{
    public string Name
    { get; set; }
    public static implicit operator bool( Person person )
    {
        return ( person.Name.Length > 0 );
    }
}

Regardless of what I think of the approach, I was initially puzzled by the line:

public static implicit operator bool( Person person )

I had never encountered the keyword "implicit" before in C#, and was therefore not too sure of what was happening there.

More...

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
by Mathias 11/2/2007 4:39:00 PM

Last week, I gave a short talk on Test-Driven Development, in C#, using NUnit, at the Silicon Valley Code Camp 2007. I was initially planning on posting the slides I presented, but it seemed to me that the dynamics of the process were getting lost, so I opted for a step-by-step tutorial, following essentially the code I wrote during the session.

I will follow-up shortly with another tutorial centered specifically on setting up and using NUnit, and then a few more on slightly more advanced questions. This first installement is aimed at C# developers who are not familiar with Test-Driven Development - and my objective is to provide you with the essential elements you need to get started, in an hour or so!

More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
by Mathias 10/22/2007 10:00:00 PM
The schedule of Silicon Valley Code Camp 2007 is now official. Code Camp is a free conference by and for the developer community. Speakers volunteer their time and everyone attends for free. It's a place to learn, to network and to dig into some code. My session is scheduled on Saturday, October 27, at 5:15; I will be giving a talk on a subject dear to me, Test Driven Development, in C#, using NUnit. I will of course try to Test-Drive the session, which means writing some code live; this is always a perilous exercise - but that is also what is fun! I am also looking forward checking out the other sessions. The line-up this year is great; there are quite a few speakers I have seen and enjoyed through Bay.Net (Juwal Loewy, Chris Mullins, Deborah Kurata, Beth Massi... ), and some I have not seen yet, but with great session topics.
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5