# Monday, October 13, 2008

Thursday, October 16, 2008
Introducing Silverlight 2.0: .NET Framework Development in your Web Browser

Subject: 
You must register at https://www.clicktoattend.com/invitation.aspx?code=129954 in order to be admitted to the building and attend.
Microsoft Silverlight 2.0 technology finally brings the power of .NET development and rich user interfaces into the browser. This session will focus on covering what is new in Silverlight 2 starting with how companies are already using this technology. Next we will dive deeper to look at the .NET Frameworks Data, Network and Interface capabilities in Silverlight. Finally we will briefly cover the new Streaming Media support and compare the XAML implementation to WPF. If you’re new to Silverlight 2.0, don’t miss this presentation.

Speaker: 
Dmitry Lyalin, Microsoft
Dmitry has been working with Microsoft Technologies for almost 10 years with a variety of companies and titles. As of February 2008 Dmitry joined Microsoft Consulting Services as a Consultant. In this role Dmitry works in the NY/Metro area and across the country to help various customers implement Microsoft Frameworks and Systems efficiently.

Date: 
Thursday, October 16, 2008

Time: 
Reception 6:00 PM , Program 6:15 PM

Location:  
Microsoft , 1290 Avenue of the Americas (the AXA building - bet. 51st/52nd Sts.) , 6th floor

Directions:
B/D/F/V to 47th-50th Sts./Rockefeller Ctr
1 to 50th St./Bway
N/R/W to 49th St./7th Ave.

posted on Monday, October 13, 2008 2:03:07 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback
# Wednesday, October 1, 2008

Microsoft today announced rich new features and performance improvements in WCF and WF 4.0 with code name “Dublin”. Part of Dublin is also an evolution of WAS via IIS so Windows Server will get better at hosting WCF and WF applications. Microsoft is focusing a lot on the server capabilities in its announcement, leading many to call Dublin an “application server.” Dublin is not really an application server, it is an upgrade of WCF, WF, WAS, and all of the application hosting capabilities built into Windows Server. This combination of enhancements will make it far easier to build composite applications.

As part of Dublin, WCF is getting a major upgrade. For starters, WCF is embracing REST in a major way by simplifying the way developers will build REST services via a WCF REST Starter kit. (That is rumored to be available on Codeplex soon.) On top of other messaging enhancement like UDP transports and SOAP over UDP and duplex durable messaging, WCF also will have complete integration with WF via a unified XAML model. This will allow an application to be built entirely in XAML, from the presentation layer (WPF/SilverLight) to the workflow (WF also supports XAML in Dublin) to the actual WCF services.

This is good news for developers and it is nice to see Microsoft take REST very seriously. The Web 2.0 and cloud universe is built with a lot of REST, now Microsoft is giving us a way to hook into that.

There will be a CTP at the PDC. Check it out.

posted on Wednesday, October 1, 2008 2:55:34 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [2] Trackback
# Sunday, September 21, 2008

I am back safe and sound from Mt. Everest. You can catch some good photos here. I have to turn around and head to Seattle for meetings with the Connected Systems Division and an SDR. The Fall schedule looks like this:

posted on Sunday, September 21, 2008 8:50:01 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback
# Sunday, August 31, 2008

I'm off to Mt. Everest. Keep track of my trek here.

image

posted on Sunday, August 31, 2008 12:06:32 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback
# Sunday, August 24, 2008

Yesterday was circled on my calendar for many weeks, the date of Saturday August 23rd, 2008 would be the last time I ever step foot on my most sacred and hallowed ground: Shea Stadium. With my upcoming trip to Mt. Everest taking taking me away for all of September and the playoffs no guarantee (and my crazy travel schedule to Europe in October for work), this would be my last visit to Shea Stadium in my life. I estimate that I have been to Shea almost 1,000 times, my estimates:

1977-1981: (year of the strike): Approximately 5 games a year (including Jets games): 25 visits

1982-1987: (a boy's prime baseball years, I was 10-15 and lived 2.5 miles away from Shea): Approximately 25 games a year: 150 visits

1988-1994: Employee of New York Mets/Harry M. Stevens as a Stadium Vendor: Approximately 80 events a year (games, employee parties, religious ceremonies, concerts, playoffs): 560 visits

1995: No Visits (Boycotting the strike of 1994)

1996-2008: Average of 6 games a year: 78 visits

Ok that is approximately 813 times. But when I was a kid Shea would open up to the public in the winter and you could go sleigh riding and cross country skiing for free. I would often go with my dad or best friend Billy. As an adult I would also run the NY Road Runners "Run to Home Plate" (with the Tank) 5K run. So Let's say 850. I round up, 1,000 sounds better.

My Grandfather took me to my first Mets game on Memorial Day, 1977-May 30th for a double header against the Montreal Expos. The Mets lost both games (game 2 box score). My dad took me to my first Jets game at Shea Nov 23rd, 1980, a 31-28 OT win over the Houston Oilers. (And we sat next to a bunch of Oilers fans and they bought me a Jets hat to shut me up! I was always loud and annoying.)

Yesterday got off to a bad start. Kathleen had no idea where our tickets were! We had to go on StubHub and get tickets last minute. We got to Shea on time only to find out that a water bottle leaked in Kathleen's pocketbook and killed her iPod and such. Not a good omen. I felt a loss in my bones, I have witnessed far more losses (mostly from 1977-1983) than wins as a fan in the early years. (Come on my first visit was a double header loss!)

The Mets lost 8-3 last night. It was an ok game, the game was fast paced and the Mets did not give up, making it interesting in the bottom of the 8th inning. I kept telling stories of vending, going to games in 1986, what sections I worked during the Rolling Stones concerts.

Shea holds many memories for me like watching the Jets with my Dad and watching the Mets with my late Grandfather. It was also the venue of my first job, a job that made me rebel against "normal" jobs and lead to a life of enterpreunship. I witnessed some amazing playoff games in 1986, 1988, 1999, 2000, and 2006. Even saw some great Jet games (some great come from behind games with Richard Todd!). I always go between Game 6 and the 1980 US Hockey game vs USSR as the best sporting event of my life.Game 6 is forever part of my life and Endy's catch in 2006 (the other (bad) Game 6) is something I will tell my grandchildren about.

As a lifelong Mets fan, I have wanted to tear the place down since about 1992, once the new stadiums started going up. I got my dream a few years ago with the agreement to build CitiField.The new place looks great, it will make a great home for the Mets. I can't wait to go to a few games there.

At 9:54 pm, I looked at my cell phone for the time, paused, and then walked over the threshold at Gate C, exiting the stadium for my very last time. Kathleen just rolled her eyes, but a huge chapter of my life just closed.

So long and thanks for the memories. We'll miss you William A. Shea Municipal Stadium.

Posted by Steve (with a tear in my eye) in New York

posted on Sunday, August 24, 2008 1:57:36 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [2] Trackback
# Wednesday, August 20, 2008

I am on .NET Rocks this week with Danny Simmons where I talk about the Entity Framework and the EF Council.

Apparently Frans Bouma thinks I am a wise man. Thanks Frans, but I prefer the term software architecture luminary or better yet a database weenie.

posted on Wednesday, August 20, 2008 7:14:06 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [2] Trackback
# Tuesday, August 19, 2008

Thursday, August 21, 2008
All About the ASP.NET MVC Framework

Subject: 
You must register at https://www.clicktoattend.com/invitation.aspx?code=129953 in order to be admitted to the building and attend.
When it comes to design patterns, the MVC is the granddaddy of them all. First described in the late 70s, the MVC pattern remains very popular in the world of web applications today. In October 2007, Microsoft’s Scott Guthrie announced a new Model View Controller (MVC) Framework for ASP.NET. Ever since then, posts about it have spread about it like wildfire through the .NET blogosphere. There's usually at least 2-3 MVC stories a day that show up on DotNetKicks. At several tech conferences and community events around the country, MVC sessions have been standing room only. Just what is the MVC Framework, and why are developers so excited about it?
Come and join us this month as Peter Laudati, Developer Evangelist from Microsoft, breaks the MVC framework down for you. Peter will give us a quick tour of the framework, then peel back the layers and dive deeper into how it works. As part of that, he’ll spend time discussing the design and development practices that lead to the creation of the MVC framework. ASP.NET MVC provides a framework that enables you to easily implement the model-view-controller (MVC) pattern for Web applications. This pattern lets you separate applications into loosely coupled, pluggable components for application des

Speaker: 
Peter Laudati, Microsoft
Peter Laudati is a Developer Evangelist with Microsoft. In his current role, Peter works with the developer community in New York and New Jersey to support area user groups, code camps, and other events. Previously, he worked as a consultant in Microsoft’s services division. As a consultant, he worked on several application development projects and provided architectural guidance for large customers throughout the NY & NJ metro area. He lives with his family in central New Jersey and loves kayaking and biking at the Jersey Shore. Visit peter's blog at http://blogs.msdn.com/peterlau

Date: 
Thursday, August 21, 2008

Time: 
Reception 6:00 PM , Program 6:15 PM

Location:  
Microsoft , 1290 Avenue of the Americas (the AXA building - bet. 51st/52nd Sts.) , 6th floor

Directions:
B/D/F/V to 47th-50th Sts./Rockefeller Ctr
1 to 50th St./Bway
N/R/W to 49th St./7th Ave.

posted on Tuesday, August 19, 2008 5:51:30 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback
# Monday, August 18, 2008

You have heard a lot about the ADO.NET Entity Framework over the last few weeks. What you may not have heard about is just how easy the EF makes it to expose your data as a cloud service in ATOM format over the REST protocol. I'll show you just how easy it is to do here.

First open Visual Studio 2008 with SP 1 installed. The EF and "Astoria" (or ADO .NET Data Services) both ship with SP1.

Choose File|New Project and choose ASP .NET 3.5. Name the project NorthwindTestService and hit ok.

image

Go ahead and delete the Default.aspx file and right click on the project and click on "Add->New Item". Highlight "ADO.NET Entity Data Model" and name your model Northwind (or something similar) and click ADD.

image

This brings you to the Entity Framework wizard. Choose to work from an existing database and put in the connection for Northwind (or create it if it does not exist already) and click through the wizard until it brings you to the Choose Your Database Objects dialog. Choose Customers, Orders, and OrderDetails and click finish.

image

OO experts will tell you to rename your objects (to be singular, not plural for starters), but let's leave them the same for now. Next step is to right click on the project and select Add->New Item and select "ADO .NET Data Service."

Give your service a name of NorthwindTestsercvice or something like that. Then Click ADD.

image

The NorthwindTestService.svc,cs file should be open and you have to make two modifications to get your data exposed. There are tons of modifications you can make around permissions and what data to expose, but for now let's just get up and running and expose everything. You need to name your DataService, give it the name of your Entity Diagram that you build in the wizard, in our case it is NorthwindEntities. (By default the wizard names it DatabasenameEntities.) Then add one line of code to set the access for everything in your model ("*") and giving it read access. (If you make this .All then users can read and write.)

namespace NorthwindTestService
{
    public class NorthwindTestService : DataService< NorthwindEntities>
    {
        // This method is called only once to initialize service-wide policies.
        public static void InitializeService(IDataServiceConfiguration config)
        {
         config.SetEntitySetAccessRule("*", EntitySetRights.AllRead);
        }
    }
}

Now hit F5. (You may have to turn off IE 6/7 or FireFox's Auto RSS reader off)

The URL should be something like this (maybe a different port):
http://localhost:49230/NorthwindTestService.svc/

And you should see XML in ATOM format like this:

  <atom:title>Default</atom:title>
- <collection href="Customers">
  <atom:title>Customers</atom:title>
  </collection>
- <collection href="Order_Details">
  <atom:title>Order_Details</atom:title>
  </collection>
- <collection href="Orders">
  <atom:title>Orders</atom:title>
  </collection>
  </workspace>
  </service>

Now the fun starts. Let's look at the customers:

http://localhost:49230/NorthwindTestService.svc/Customers

You will see a list in ATOM format of all the customers in your Customers table. Now look at just one customer:

http://localhost:49230/NorthwindTestService.svc/Customers('ALFKI')

Now all the orders for that customer (careful it is case sensitive):

http://localhost:49230/NorthwindTestService.svc/Customers('ALFKI')/Orders

Now one order:

http://localhost:49230/NorthwindTestService.svc/Customers('ALFKI')/Orders(10643)

You get the idea. You can even filter inside of the URI with some rudimentary WHERE clauses.

Now you can also bind this data via client side JavaScript to a GridView, a SilverLight Grid, or a 3rd party control like Telerik's RAD Grid.

posted on Monday, August 18, 2008 4:10:17 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [2] Trackback