# Sunday, January 10, 2010

Last week I started to made some predictions on the future of Microsoft development for 2010. I said 2010 will be remembered as a “tipping point” year for three things in the Microsoft developer space. I am not saying that on December 31st, 2010 you will sit back and say I am right on all of these, but I am saying that by December 31st, 2011 or 2012 you will. That said, 2010 will be the tipping point for:

Last week I talked about moving beyond .NET and BI for the masses, today, I will talk about the cloud.

2010: Windows and SQL Azure Launch

January 1 ushered in a  new year as well as the availability of a new service from Microsoft: Azure. With the Windows and SQL Azure services available commercially, one could predict that 2010 will be the year of the cloud. While I don’t think that developers are going to push .NET applications up into the cloud in masse in 2010, I do suspect that adoption will be higher than most people realize, but the ultimate customers who adopt the service may surprise you.

In 2010 the early adopters of Windows and SQL Azure will be large corporation’s “departmental” applications. Sure we will see a bunch of startups begin to use Azure, however, there will only be significant traction after the platform is out a little longer and maybe after a potential billing policy change. Applications built under the radar of the corporate IT department by external consultants and departmental programmers will lead the way, just as Access and Visual Basic did almost 20 years ago.

The reason why is obvious. Business men and women at large companies (companies over 200 people) always groan when they have to deal with their IT department. They think that IT is slow and costly. Azure will be an end run around IT. The cost of Azure is well within the budgets of the folks requesting these applications, actually quite lower than what the internal IT department will charge back to the department to host an application. Windows and SQL Azure will be secure enough to host these non-mission critical, however, extremely important line of business applications. Since almost all of these applications are used at the office and broadband is available at every office, it is a no brainer.

Rewind back 20 years ago and this is how Microsoft conquered the enterprise. (I am not saying that Microsoft “owns” the enterprise, but 20 years ago they had no presence in the back office and were counted out in the the server/enterprise space. Now look: SQL Server, SharePoint, Exchange Server, etc, not to mention Windows Server.) Microsoft used the desktop to extend to the back office. Windows and Office were so popular that developers were willing to give the Trojan horses Access and Visual Basic a try. The rest is history.

So 2010 will be a tipping point year for the Cloud, or at least the Azure platform. Microsoft will gain some market share and also make some mistakes and continue to rev Azure. I can’t predict at this moment when it became a critical mass, but just like with Silverlight and BI, we will all look back one day and say it all started in 2010.

Technorati Tags:
posted on Sunday, January 10, 2010 3:11:33 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] Trackback
# Friday, January 8, 2010

A few days ago I started to made some predictions on the future of .NET for 2010. I said 2010 will be remembered as a “tipping point” year for three things in the Microsoft space. I am not saying that on December 31st, 2010 you will sit back and say I am right on all of these, but I am saying that by December 31st, 2011 or 2012 you will. That said, 2010 will be the tipping point for:

  • Moving beyond .NET
  • Business Intelligence for the masses
  • The Cloud

Earlier this week I spoke about Silverlight and the future of .NET. Today I will talk about BI.

Business Intelligence for the Masses

There is an insatiable demand for BI in the marketplace, yet few developers “get” BI. When I talk to CIOs of large companies about their software needs, they always say to me “do you know anyone who does BI?” BI is seen today as something that end users want more and more of, but IT departments are having a harder and harder time actually delivering.  BI is considered complex and expensive.

Later this year (I suspect at TechEd US in June), Microsoft will launch SQL Server 2008 R2. This version of SQL Server is focused mostly on BI and along with PowerPivot will deliver “Self-Service Business Intelligence.” I have written about PowerPivot before on this blog, but in short it allows users (or developers) to connect to a data source (or data sources) and download data, take it offline in their Excel spreadsheet, slice, dice, and manipulate the data how they see fit, as well as create very powerful Pivot Tables and Charts in seconds. PowerPivot ships with a data engine as part of your workbook, so you can have a self contained OLAP cube inside of your XLSx file. It compresses super well, but you don’t have to email it, PowerPivot also integrates nicely with SharePoint for collaboration with your co-workers.

Let me be clear, this is game changing technology. Out of the box data visualization tools are complex and clunky (and expensive!), so we force ourselves into Excel for BI. Microsoft has done something brilliant, they have taken the world’s number one BI client (Excel) and taken off the training wheels.

While end users may not be able to build OLAP cubes or write TSQL queries like I did in this PowerPivot example, SQL Server R2 and PowerPivot drastically lower the barrier to entry for BI development. (Note, PowerPivot works for many databases, not just R2.) Developers will spend time building the Data Warehouse and ETL on the back end and setting up simple queries in PowerPivot on the front end and the users will then turn and build amazing drill downs and pivot tables and charts. A golden age of BI development will begin where BI apps are simple and plentiful, including “Self Service”. While 2010 will not be the year where we reach this, we will look back at 2010 as the starting point of the golden age of BI.

Technorati Tags:
posted on Friday, January 8, 2010 3:54:29 AM (Eastern Standard Time, UTC-05:00)  #    Comments [1] Trackback
# Thursday, January 7, 2010

As you may know Telerik has built into most of its products support for Windows and SQL Azure. While at the PDC last November, Ben Riga interviewed me on what it was like to build a commercial product on top of Azure. I give a sneak peak at how we developed the software and how we leveraged SQL Azure. I talk about some of our pain points as well as where it was easy. The video is here, complete with my cell phone’s battery dying in the middle of our interview!

Get Microsoft Silverlight


Technorati Tags: ,
posted on Thursday, January 7, 2010 3:31:11 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] Trackback
# Wednesday, January 6, 2010


The NYC developer community is proud to announce our 4th (sort of annual) Code Camp to be held on Saturday, March 6, 2010, from 8:00 AM until 6:30 PM. It will take place at the Manhattan Microsoft office on 6th Avenue across the street from Radio City Music Hall. We’d love for you to submit a session.

We have our call for speakers open from now until February 5th.

To apply for a speaking slot, first please register as a speaker here: http://tinyurl.com/nycspeaker

Then with the email address you registered with on our speaker page, please add as many abstracts as you like here: http://tinyurl.com/nycsession

Submit on anything you like in the .NET space, there is no central “theme” to our Code Camp except .NET development!

Unfortunately we can’t afford to pay any T&E, but we will stuff you with lots of pizza and soda!

Technorati Tags:
posted on Wednesday, January 6, 2010 3:06:43 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] Trackback
# Tuesday, January 5, 2010

Happy New Year! Keeping with tradition, here are some predictions for 2010 in the Microsoft Software space.

2010 will be remembered as a “tipping point” year for three things in the Microsoft space. I am not saying that on December 31st, 2010 you will sit back and say I am right on all of these, but I am saying that by December 31st, 2011 or 2012 you will. That said, 2010 will be the tipping point for:

  • Moving beyond .NET
  • Business Intelligence for the masses
  • The Cloud

Today I will look at the first item and tomorrow I will talk about BI and the Cloud.

Moving beyond .NET

Here are some no brainer predictions. Visual Studio 2010 and .NET 4.0 will ship and a lot of developers will be happy. Microsoft will also be happy since adoption will be high. Here is the not so obvious prediction: 2010 will be the year where .NET begins its decline and its replacement starts to shine.


Let’s face it, .NET is old. This summer will mark 10 years since its debut at the 2000 PDC. It’s been in production for 8 years. That is like a century in computer time and a millennium in Internet time. Billy Hollis put it in perspective for me a few weeks ago at dinner: more time has passed since .NET 1.0 to today than between VB 1.0 to VB 6.0. VB 1.0 was introduced in 1991. VB 6.0 was introduced in 1998. That is 7 years. .NET shipped officially 8 years ago in February 2002. (This also means that I have been coding longer in C# than VB, but I digress...)

Second .NET is “hard”. What I mean by hard is that the framework has bloated: there are too many namespaces, too much “legacy”, and too many ways to do the same thing and we have lots of conflicting advice on what “pattern” is the best. Developers are confused if they should use ASP + AJAX or MVC or something else. They are also scared that if they build an app they will be mocked on the latest “expert” blog saying that their implementation of the MVVP pattern is a newbie mistake and they should follow the MVVQXDP pattern. Java and LAMP are no better. PHP on the other hand, once left for dead, is back with a vengeance. Why? It is easy, just like ASP classic. At the end of the day developers just want to get apps written with ease.

So what is going to replace .NET?

Silverlight + RIA Services + DSLs.

While Silverlight looks and smells like .NET, in reality is not. Ever try to use ADO.NET in Silverlight? Do something with data access that is not asynchronous? Silverlight is its own framework that borrows a ton from .NET, but itself sits just outside the full framework.

Silverlight will continue to evolve into a rich media, cross platform web based application platform with the release of Silverlight 4.0. While 2010 may not be remembered as the year of great Silverlight adoption, SL 4.0 will be remembered as the tipping point, much like VB 3.0 was for the Visual Basic platform. Speaking of VB 3.0, VB 3.0 did not get popular until the “database compatibility layer” shipped. (Wow I am dating myself here!) With VB 3.0 + the “database compatibility layer” or in reality, the JET database engine and DAO, VB moved from being a “toy” to a full fledged programming platform for business. When the db compatibility layer shipped for VB 3.0, adoption was not immediate, but when you look back, it was the one thing that started the VB revolution of building line of business apps.

RIA Services is Silverlight’s database capability layer. Just like Jet and DAO made it easy for a developer to connect to databases, perform CRUD operations, data bind, validate, and do it fast without complicated libraries, RIA Services will allow you to do all of that easily in SIlverlight. Silverlight 4.0 and RIA Services will ship this year, most likely sometime before the summer. I don’t think that at the end of 2010 you will be saying “this was the year of Silverlight and RIA Services” but in a few years when all we do is Silverlight you will remember Silverlight 4.0 and RIA Services as what started the Silverlight revolution in building line of business apps. Purists will say that RIA Services is not elegant and continue to code things manually. That is ok, purists mocked VB too, but just remember that for most of the 90s, VB ruled LOB apps in the enterprise.

You maybe thinking, Silverlight to replace .NET? But it is too close to .NET and has lots of .NET interop, etc, in order to work. (For example, to have RIA Services work you need a .NET server with WCF and EF 4.0, etc.) That means that .NET will be around forever! Well yes and no. Remember back to .NET 1.0, we had to use COM Inerop a lot to get a lot of things done. Or .NET wrappers for Win32 stuff. Not until .NET 2.0 (its 3rd release) did we really develop “pure” .NET applications.

Silverlight will continue to evolve and due to the influence of Ruby (as well as Rails), you will see more dynamic language support and DSL capability built into Silverlight moving forward. In the not too distant future you will start to build your XAML with a DSL: “give me CRUD screen connected to the Customer entity.” Then you will start to use DSLs to build your application’s business rules, workflow and control flow. After that you will build you application’s own meta-language, the equivalent of an API, allowing others to hook right into your application’s logic. What will this DSL/dynamic language be? IronRuby? Something from Oslo? I am not sure. That will be in my predictions next year. :)

Stay tuned for predictions on BI and the Cloud…..

Technorati Tags:
posted on Tuesday, January 5, 2010 4:35:11 AM (Eastern Standard Time, UTC-05:00)  #    Comments [6] Trackback
# Tuesday, December 29, 2009

Looking forward to 2010, but here is a funny year in review from our friends at JibJab:

Try JibJab Sendables® eCards today!
posted on Tuesday, December 29, 2009 11:42:00 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] Trackback

With long  travel delays due to snowstorms and terrorism, I got to catch up on some of my reading. One book I read over the break that stood out was an unexpected one: Essential Silverlight 3 by Ashraf Michail. I say it is an unexpected one since the book is not about building business applications with Silverlight so you won’t see a chapter on MVVM or using WCF and asynchronous services. What you will see is a discussion of the internals of Silverlight, the guts of a ZAP file, and how media, layout, text, input, data binding, and the like work.

You maybe thinking, “I am a developer, I don’t care about vector graphics!” I thought the same but read the book anyway and learned a lot about how Silverlight works and how to best debug and performance tune an application. Maybe I am biased since I work at a company that has to know all of the details of the .NET framework to make our products work, however, I think that every developer should take a look “under the hood” and see how Silverlight works.

Ashraf has a very engaging writing style and the book is a quick read, I read it over the course of two or three days (on airplanes and in airports!) He breaks down the chapters really nice and the last part of each chapter is called “under the hood” where you learn something about the internals of Silverlight. I must admit that I did skim some of the advanced material about animations and wrote a note to come back to it if I need to, but the chapters on vector graphics, GPU acceleration, the Silverlight application architecture, and data binding were truly fascinating and will help me with all of my business applications.

If you are new to Silverlight this is the first book you should read, then pick up a book on building applications with Silverlight. If you have been using Silverlight for a while and want to take your development to the next level, read this book as well-epically the “under the hood” sections.

Lastly, if you use Silverlight in a Virtual PC, you will care about vector graphics!


Technorati Tags:
posted on Tuesday, December 29, 2009 6:35:08 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] Trackback
# Monday, December 28, 2009

About a week ago, I showed a simple demo on my blog of SQL Server PowerPivot for Excel, or just PowerPivot for short. I used SQL Azure as my backend and just did a mapping to a few Northwind tables and then built a pivot table using the Order Details table.

Today I will take that example one small step further and write a custom TSQL query and build a more advanced pivot table against that data source.  In a future post I will build a PowerPivot example against a true OLAP Cube, but that will have to wait for the new year. :)

Here is a TSQL query that shows an Order and joins to get the Product Name and Category as well as the Employee and Customer names. We also do a DATEPART() to get the order year off the Order Date. In addition we also calculate the Total Price. This will allow us to do many different sorts and groupings in a pivot table. The TSQL is here:

od.orderid, o.orderdate,datepart(MONTH,o.orderdate) as OrderMonth,
datepart(YEAR,o.orderdate) As OrderYear,
emp.FirstName + ' ' + emp.LastName as EmployeeName,cust.CompanyName,
cust.City, cust.Country,
cat.CategoryName, p.ProductName,
((od.UnitPrice*od.Quantity) * (1-Discount)) As TotalPrice
from dbo.[Order Details] od
    inner join dbo.Products p
on od.productid=p.productid
    inner join dbo.Categories cat
on cat.CategoryID=p.CategoryID
    inner join orders o
on od.orderid=o.orderid
    inner join dbo.Employees emp
on emp.EmployeeID=o.EmployeeID
    inner join dbo.Customers cust
on cust.customerid=o.customerid

Now we have to connect to our SQL Azure database in PowerPivot. To do this, follow the instructions I placed on my blog last week to connect. After you connect, instead of choosing tables to connect to, choose the query option. Put in the TSQL from above and give your query a friendly name like Steve1 in PowerPivot (or rather NorthwindOrderDetails since we will be using this in our pivot table). Now you can use this query and its data to build a pivot table.


Building the PivotTable is pretty easy. Let’s use the TotalSales as our main value and Category Name and Product Name as our row labels. That means that we will see Category and be able to drill down into Product and get a sum for that category or product for each City (the field we choose for our column.) In addition we added a filter for Country that will allow us to see a drop down of each Country and we can filter for as many countries as we want. Lastly, we can add a “vertical slice” of Order Year that will add an additional filter in a graphical style. This filter is applied after your main filter (Country.)


I did this part in under a minute. This gives the user an extremely powerful pivot table and the ability to do some pretty sophisticated drill downs and filters. In addition, it is pretty easy to add/remove even more data (Customers and Employees for example) to this pivot table.



posted on Monday, December 28, 2009 5:33:56 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] Trackback
# Sunday, December 27, 2009

Here is a special holiday message from Telerik!

PS: I did not make the video cutoff due to travel delays from Hong Kong to the snowstorm on the East Coast.


posted on Sunday, December 27, 2009 9:26:59 PM (Eastern Standard Time, UTC-05:00)  #    Comments [1] Trackback