September 2007 - Blake Niemyjski

  • Visual Studio 2008 Training Videos

    Do you want to learn about the new features of Visual Studio 2008, and various related technologies? I'm guessing that you probably don't even know where to start? Well look no further, because Microsoft recently published some videos to get everyone up to speed. The best part is all of the videos are free!

    View ( Visual Studio 2008 Training Videos )

  • Object Initializers in C# 3.0

    The other day I was doing my usual reading and came across some really cool information on Dan Wahlin's blog about what we can expect in C# 3.0.  Even though I disagree with some of the specs of C# 3.0, there are some really cool features worth noting in C# 3.0 like object initializers.

    "C# 3.0 is just around the corner so I thought I'd start writing about a few of the features that it exposes and provide quick and concise examples of how they can be used.  Many of the new features rely on the compiler to generate code that you would have had to write in the past. This can result in significantly less code compared to C# 2.0 syntax in many cases.  Here's a list of some of the key features available in C# 3.0:

    • Object Initializers
    • Anonymous Types
    • Automatic Properties
    • Extension Methods
    • Lambda Expressions
    • LINQ
    • Collection Initializers

    In this post I'll discuss the fundamentals of object initializers in C# 3.0.  To get started, let's look at the standard way of initializing an object with data in C# 2.0 using constructors.  The following example creates a Person object and passes three values to its constructor.

    Person p = new Person("John", "Doe", "602-123-1234");

    As mentioned, C# 3.0 now supports the concept of "object initializers" which means you can easily assign data to specific properties in a type with having to create an explicit constructor (you can of course still create constructors as well). The standard C# { and } brackets are used to create object initializers.  Here's an example of using an object initializer to assign property data to a Person type.  It's nice because doing the same thing without using a constructor in C# 2.0 would have resulted in around 5 lines of code which is too many for something simple like property value assignments.

    Person p = new Person() {FirstName="John",LastName="Doe",Phone="602-123-1234",City="Phoenix"};

    If the Person type defines a sub object as a property you can even use object initializers to create the sub object. Here's an example of defining an Address object:

    Person p = new Person()
    {
    FirstName = "John",
    LastName = "Doe",
    Address = new Address()
    {
    Street = "1234 St.",
    City = "Phoenix"
    }
    };" ( C# 3.0 Features: Object Initializers ).
    Filed under:
  • Security Update for Visual Studio 2005 Service Pack 1

    Just a reminder to everyone to check windows updates often. Yesterday Microsoft released a critical patch for any Windows Machines that have Visual Studio 2005 Service Pack1 installed. To download this update visit the windows update website.

    Read ( KB37061 )

  • Microsoft releases Silverlight 1.0 RTM

    Last night Microsoft released version 1.0 of Silverlight. Silverlight is a very new and exciting product that will change the way we see the web.

    "Compelling Cross-Platform User Experiences

    • Deliver media experiences and rich interactive applications for the Web that incorporate video, animation, interactivity and stunning user interfaces.
    • Seamless, fast installation for users, thanks to a small, on-demand, easy-to-install plug-in that is under 2 megabytes (MB) in size and works with all leading browsers.
    • Consistent experiences between Windows-based and Macintosh computers without any additional installation requirements.
    • Create richer, more compelling Web experiences that take greater advantage of the client for increased performance.
    • Stunning vector-based graphics, media, text, animation, and overlays that enable seamless integration of graphics and effects into any existing Web application.
    • Enhance existing standards/AJAX-based applications with richer graphics and media, and improve their performance and capabilities by using Silverlight." (Microsoft)

     

    Download ( Silverlight 1.0 for Mac and PC Platform )

     

  • Back to school

    The past week was kind of hectic, first of all I arrived back home to a damaged home. It took a while to clean up the mess even with determined family members and friends. In the near future I will be trying to get some pictures up on facebook of the mess.  Now that I don't have to worry too much about that, I can focus my attention on school, development, and relaxation.

    During the past week and a half, I have really missed working at Telligent. I think this is because I have never been around so many extremely intelligent people that have the same interests (e.g. the Telligenti) as me.  It was really nice to be able to talk to people about development.  Back home I don't get the luxury of getting to talk to friends about development in anyway shape or form. I also miss going in on Wednesdays to a nice cheerful breakfast, now it's just a bowl of cereal. I guess I'll manage for the time beingJ.

    Recently I got a sneak peak at the latest build of reporting, (I normally would be able to check it out daily, but I am still waiting for some ports to get unblocked here in my apartment).  I truly believe that the public will be stunned at what the Telliterns have accomplished this summer, I know I am.

    Some of you might be wondering what I have been up too since I got back, well besides for cleanup, I was packing for school.  At this point in time I'm moved into my apartment, and I am currently enjoying waking up every morning at 7:00 AM to make it to my 8:00 AM calculus classL.  When it comes to workload this semester I think I'm going to be sitting pretty nicely with 17 credits.

    I was able to purchase a new dev box last week.  Thankfully, Telligent made this possible for me over the summer.  Thanks!!  In the past when I built a new rig I just used my old one as a dev box, and the stats were never really that good (Celeron 1.2 with 768mb of ram). That isn't the case now, my new dev box consists of a Quad core Q6600, 500gig hard drive, and 2 gig of ram. Best of all was that I found this setup on Dell for only $700 shipped. Everything about it smokes my gaming rig besides the video card.  Never in my life have I experienced multiple CPU intensive applications simultaneously load in under a second from a cold start. I can say personally that I'll never settle for anything less than a quad core with 8mb of l2 cache.

windowscoding.com;
Copyright © 2008 Windows Coding
Microsoft and Microsoft logo's are trademarks of Microsoft Corporation.