# Thursday, 23 April 2009

Episode 17

Microsoft Visual Studio Team System 2010 is currently in CTP3.

In this interview, Microsoft Technology Specialist Randy Pagels describes the new features of the upcoming release of this product.

Randy maintains a great deal of information on VSTS at TeamSystemCafe.net

11 mins, 52 secs

Thursday, 23 April 2009 12:25:58 (GMT Daylight Time, UTC+01:00)
# Wednesday, 22 April 2009

So what is a Give Camp anyway?

  • A Give Camp is a way to contribute your time and skills to area charities.
  • A Give Camp is an event to meet with and hang out with technical people.
  • A Give Camp is a way to learn new technologies by working on a live project for a few days.

Charities often need software custom software, but don't have the money to hire someone to write that software.  One option they have is to submit their projects to a Give Camp.  The Give Camp organizers select projects that are well-defined and can be completed in a weekend.  Then, they invite software developers and other IT folks from the community to work on these projects.  They provide these folks a place to work and sleep and interact for a few days.  Give Camps typically kick off Friday evening and wrap up Sunday evening with completed projects delivered to charities.

The Lansing Give Camp takes place this weekend (April 24-26) at the Impression 5 Science Center in downtown Lansing, MI.  The organizers have selected projects from ten local charities, including The Ronald McDonald House of Mid-Michigan and The Boys & Girls Club of Lansing. 

If you have skills in software development, design, databases, IT or project management, I encourage you to volunteer for this event.  Even if you don't have these skills, you can help with the event itself.  I'm brining my 14-year-old son to the Lansing Give Camp, where he will assist with setting up, cleaning up and anything else they need.

Because I'm speaking at the Kalamazoo X conference Saturday, I can only attend the Lansing Give Camp Friday and Sunday, but I'm very much looking forward to it.

You can get more information and register at http://www.lansinggivecamp.org/

 

Wednesday, 22 April 2009 19:05:36 (GMT Daylight Time, UTC+01:00)
# Tuesday, 21 April 2009

The 2009 Central Ohio Day of .Net is now history. 

Josh and Jennifer

I'm happy with the feedback I received on my Velocity talk.  The room was overflowing and several people approached me afterward to tell me they liked it.

By far, the best part of this conference was the opportunity to share ideas and interact one-on-one with bright people in the developer community.

One of the best jobs I ever had was working with the great people at GA Sullivan in Cincinnati.  That company no longer exists but many former employees were in Wilmington for this conference.  It was great catching up with these folks after all these years.

GA Sullivan alumni

The slides for my talk are below:


You can view photos of the event at
http://www.flickr.com/photos/29942169@N08/sets/72157617123586782/show/

Tuesday, 21 April 2009 12:46:29 (GMT Daylight Time, UTC+01:00)
# Monday, 20 April 2009

I enjoy attending technical conferences and I try to make it to as many as I can.  I like talking to and learning from bright people in the developer community and picking up the latest technologies.  Developer conferences are a great way to get this information and there is no shortage of such conferences.

The Kalamazoo X conference is different.  Although the target audience is software developers, the content will focus on soft skills.  Topics such as Leadership and Social Network dominate the agenda.  The conference features four tracks: Soft Skills; Architecture, Design and Process; User Experience; and Career Development.  However each session will be short enough that an attendee will be able to see 100% of the content.

I'll be there to share ideas on effective communication with your customer or manager, a topic I've given a lot of thought to in recent years.

The conference is scheduled this Saturday April 25 at the Kalamazoo Valley Community College Center for New Media in downtown Kalamazoo, MI.  You can register and get more information at http://kalamazoox.org/

I hope to see you there.

Monday, 20 April 2009 21:56:13 (GMT Daylight Time, UTC+01:00)
# Friday, 17 April 2009

Tomorrow (Saturday April 18), I will be speaking at the Central Ohio Day of .Net in Wilmington, OH.

My topic is Using Microsoft Distributed Cache to speed your application.  This is similar to a talk I gave last summer at three user groups in Ohio and Michigan.  However, the topic is more relevant now as the release of Microsoft Velocity nears.  I have updated and expanded my presentation and written all new demos for this talk. 

A consistent caching strategy becomes critical as enterprise applications grow in size.  With Velocity, Microsoft finally has a product in the enterprise caching space.

You can get more information and register by clicking the badge below.  I hope to see you there. 

Friday, 17 April 2009 12:41:03 (GMT Daylight Time, UTC+01:00)
# Monday, 06 April 2009

WM .Net University April 4, 2009 - I'll be there!

The dust has settled and the first West Michigan .Net University is now history.  You can view photos of it here.

I was fortunate that my talk (Intro to SQL Server Data Models and T-SQL) was in the morning because I had tickets to the Final Four in the evening on the other side of the state.

Shane and I put together a talk aimed at people with very little database experience.  We agreed that I would cover the basic introductory material first; then he would explain some more intermediate topics.  I rehearsed a story about the history of databases that included people keeping records on stone tablets and storing these tablets in a file cabinet; I wrote a lot of sample queries demonstrating the syntax of a T-SQL statements; and I wrote a series of articles on T-SQL

I turned out that I didn't use any of this material.

We had a small group in our session so we let them set the agenda.   Everyone already had at least a year of database experience so I scrapped the introductory stuff.  I spent far more time than I expected showing off the features of the SQL Management Studio.  We answered questions about the strategies for normalization, backing up data, and primary keys.

In fact, I showed almost none of the slides we prepared.

The good news is that the audience seemed happy with the session.  The got their questions answered without wasting time on things they already knew.  In the end, I think they were glad we were so flexible and so was I.

The feedback I heard on the other sessions was also positive.  Congratulations to Chris Woodruff for organizing a successful event.

Overall it was a very good day.  Oh... and the Final Four?  Well, my Spartans won of course.  It was a great day!

Monday, 06 April 2009 11:34:52 (GMT Daylight Time, UTC+01:00)
# Tuesday, 31 March 2009

My talk this morning at ArcReady is Windows Live Services and on Live Mesh.

Click the icons below to download the slides and demos.

Here is a preview of the slides:
Tuesday, 31 March 2009 14:45:24 (GMT Daylight Time, UTC+01:00)
# Monday, 30 March 2009

I have secheduled a lot of public speaking for the next 30 days.  The sessions are listed below.  All these events are either free or charge a nominal fee.  Most will even provide some food. I believe that none of them are sold out yet, so I provided a link to each so you can register.

Architecting for the cloud: Mesh and Live Services

March 31
Microsoft ArcReady
Southfield, MI

Live Mesh is a data synchronization client that has a rich API to build applications on. Live services are a collection of APIs that can be used to create rich applications for your customers. Live Services are based on Internet standard protocols and data formats.


An Introduction to SQL Server

(with Shane Jordan)
April 4
West Michigan .Net University
Grand Rapids, MI

Want to learn about the SQL Server 2008? Want to build normalized data models and learn Transact SQL? Join us in this Introduction to SQL Server session to get a good introduction to building your own data models and queries.


Using Microsoft Distributed Cache to speed your application

April 18
Central Ohio Day of .Net
Wilmington, OH

Retrieving data from a disc or a database can be a time-consuming operation.  Data that is accessed frequently can be stored in an in-memory cache, which can speed up its retrieval considerably.  Microsoft Distributed Cache (aka “Velocity”) provides a framework for storing and managing cached data. 

In this session, we will discuss how to use this framework in your application and demonstrate some code that implements this framework.


Proactive communication with your manager or customer

April 25
Kalamazoo X Conference
Kalamazoo, MI

After 15 years in the IT industry, I've discovered that the single biggest contributor to success is effective communication. In this situation, I'll describe lessons I've learned about how to improve communication with a customer or manager and how to use effective communication to increase the probability of high customer satisfaction.


This is the most ambitious month of speaking I've ever scheduled.  Microsoft Distributed Cache is the only topic above on which I have previously presented and this presentation will be longer and feature a newer API than the one I gave at three user groups last September.

If you attend any of these events, please feel free to find me and say 'Hello'.

Monday, 30 March 2009 18:00:40 (GMT Daylight Time, UTC+01:00)
# Saturday, 28 March 2009

Last year, I noticed there were more local community-driven events than I had time to attend.  I love seeing that kind of enthusiasm for technology among the community. 

These events are great for me because - although I've been in software development for many years - I love to learn and frequently jump at the chance to learn from and share ideas with other experienced developers and architects.

I have noticed that most of these events targeted experienced developers.  Topics tended to be moderate to advanced and speakers assumed a certain level of expertise from their audience in order to grasp their talk. 

This can be frustrating for less-experienced developers.  It's difficult to understand the details of NHibernate when you are still trying to figure out how to write simple queries against SQL Server.

Chris Woodruff first described to me the idea of a .Net University - a community event targeted at those new to .Net programming.  All the content would be introductory, allowing people to learn fundamentals.

I liked the idea immediately.  When I was a trainer, I always spent time on the first day reviewing the basic prerequisites of the class material.  I knew that no one would understand anything about web development if they didn't know how to construct an HTML document. 

So Chris is now organizing the West Michigan .Net University that will be held April 4 in Grand Rapids. 

The morning sessions will all be introductory and the afternoon will feature more intermediate topics.  Each session will be about 3 hours - longer than at a typical code camp.

I'll be there delivering a morning session titled SQL 101, in which I'll explain the basics of working with a relational database - SQL Server in particular.  I"ll describe how to work with data and how to use code and tools to interact with SQL Server.  I've been preparing for this talk by writing a 'Back To Basics' series on this blog.

Other sessions include .Net Bootcamp; Intro To ASP.Net and AJAX; and Real World Architecture.  You can view the complete session list at http://dodn.org/WestMichiganDotNetU/Sessions.aspx

A lot of great speakers have signed up for this event so I'm counting on some great sessions. 

WM .Net University April 4, 2009 - I'll be there!

Saturday, 28 March 2009 22:35:47 (GMT Standard Time, UTC+00:00)
# Friday, 27 March 2009
Back To Basics

NOTE:

For demos in this article, we will use a table named Customer that contains the following columns:

Name Data Type
FirstName nvarchar(50)
LastName nvarchar(50)
StreetAddress nvarchar(255)
City nvarchar(255)
State char(2)
ZipCode nvarchar(10)
TotalSales decimal(18,2)

In addition, I created a primary key on the CustID column and set it to autoincrement by setting the following properties:

Is Identity Yes
Identity Seed 1
Identity Seed 1

Afer adding a couple rows to the table, the data looks like this.

CustID FirstName LastName StreetAddress City State ZipCode TotalSales
1 Steve Smith 900 Belle St Detroit MI 48888 5000.00
2 Ryan Miller 1 Shutout Ct Buffalo NY 32323 250.00

We can use the INSERT command to add a new row to this table. The syntax of the INSERT command is

INSERT INTO [TableName]
    (
    [Column List]
    )
VALUES
    (
    [Values List]
    )

We can insert a row for a new Customer - Brad Van Pelt - with the following code.

INSERT INTO Customer
    (
    FirstName, 
    LastName, 
    StreetAddress, 
    City, 
    State, 
    ZipCode, 
    TotalSales
    )
VALUES
    (
    'Brad',
    'Van Pelt', 
    '99 Linebaker Ln', 
    'Owosso', 
    'MI', 
    '47777', 
    4000
    )

Notice that each column name in the first set of parentheses matches a value in the second set of parentheses: 'Brad' with FirstName, 'Van Pelt' with LastName and so on. Notice also that we did not provide a value for the CustID column. This is because CustID is an identity column and, therefore, gets populated with an incremented number when a new row is added.

After executing the above INSERT statement, our data should look like this:

CustID FirstName LastName StreetAddress City State ZipCode TotalSales
1 Steve Smith 900 Belle St Detroit MI 48888 5000.00
2 Ryan Miller 1 Shutout Ct Buffalo NY 32323 250.00
3 Brad Van Pelt 99 Linebaker Ln Owosso MI 47777 4000.00

In this article, we showed how to use T-SQL's INSERT, UPDATE, and DELETE commands to modify the data in a table.

The new customer was automatically assigned a CustID value of 3. Because this value uniquely identifies the newly-added row, we can use it to find and update that row. The syntax to update a row in SQL Server is

UPDATE [Table]
    SET [Column1] = [New Value 1],
        [Column2] = [New Value 2],
        [Column3] = [New Value 3],
        etc...
    WHERE [Filter Condition]

Only rows that match the filter condition will be updated and only those columns specified in the SET clause will be updated.  We will use the following command to update the StreetAddress, City, State and ZipCdoe columns of Customer 3:

UPDATE Customer
    SET StreetAddress = '100 Safety St',
        City='New York',
        State='NY'
        ZipCode='01111'
    WHERE CustID = 3

After executing the above UPDATE command, our data should like this:

CustID FirstName LastName StreetAddress City State ZipCode TotalSales
1 Steve Smith 900 Belle St Detroit MI 48888 5000.00
2 Ryan Miller 1 Shutout Ct Buffalo NY 32323 250.00
3 Brad Van Pelt 100 Safety St New York NY 01111 4000.00

We use the DELETE command to delete rows in a SQL Server table. The DELETE syntax is

DELETE Customer
    WHERE CustID = 3

The following code will delete Customer 3

DELETE Customer
    WHERE CustID = 3

After executing the above DELETE command, our data will look like this:

CustID FirstName LastName StreetAddress City State ZipCode TotalSales
1 Steve Smith 900 Belle St Detroit MI 48888 5000.00
2 Ryan Miller 1 Shutout Ct Buffalo NY 32323 250.00

In this article, we showed how to use the INSERT, UPDATE and DELETE commands to modify data in a SQL Server table.

Friday, 27 March 2009 04:18:46 (GMT Standard Time, UTC+00:00)