Silverlight 4 Business Intelligence Software

  ® THE EXPERT’S VOICE

IN SILVERLIGHT

  Silverlight 4 Business Intelligence Software

  Create a rich, visual platform for real-time business insights    

  Bart Czernicki

  Silverlight 4 Business Intelligence Software    Bart Czernicki

  Silverlight 4 Business Intelligence Software Copyright © 2010 by Bart Czernicki

All rights reserved. No part of this work may be reproduced or transmitted in any form or by any

means, electronic or mechanical, including photocopying, recording, or by any information

storage or retrieval system, without the prior written permission of the copyright owner and the

publisher.

  ISBN-13 (pbk): 978-1-4302-3060-1

  ISBN-13 (electronic): 978-1-4302-3061-8 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.

The use in this publication of trade names, trademarks, service marks, and similar terms, even if

they are not identified as such, is not to be taken as an expression of opinion as to whether or not

they are subject to proprietary rights.

  President and Publisher: Paul Manning Lead Editor: Jonathan Hassell Technical Reviewer: Ivan Dragoev Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell,

  

Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan

Parkes, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Coordinating Editor: Tracy Brown-Collins

  Copy Editor: Mary Behr Compositor: Bytheway Publishing Services Indexer: Julie Grady Artist: April Milne Cover Designer: Anna Ishchenko Distributed to the book trade worldwide by Springer Science+Business Media, LLC, 233 Spring

  

  Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at

  

The information in this book is distributed on an “as is” basis, without warranty. Although every

precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall

have any liability to any person or entity with respect to any loss or damage caused or alleged to

be caused directly or indirectly by the information contained in this work.

  

To my family and friends.

  Contents at a Glance  About the Author ...................................................................................................  Introduction ........................................................................................................ 

  Chapter 1: Business Intelligence 2.0 Defined 

  

Chapter 2: Advantages of Applying Business Intelligence 2.0 Using Microsoft

Silverlight 

  Chapter 3: Silverlight as a Business Intelligence Client 

  Chapter 4: Adding Inte 

  Chapter 5: Introduction to Data Visualizations 

   

  Chapter 7: Enhancing Visual Intelligence in Silverlight 

  Chapter 8: Applying Collective Intelligence 

  Chapter 9: Predictive Analytics (What-If Modeling) 

  Chapter 10: Improving Performance with Concurrent Programming 

  Chapter 11: Integrating with Business Intelligence Systems 

  Chapter 12: Mobile Intelligence 

  Chapter 13: Surfacing Silverlight Business Intelligence in SharePoint 

  Chapter 14: Using the Silverlight PivotViewer  Appendix A: Prototyping Applications with Dynamic Data  Index

  Contents

 About the Author...................................................................................................

 Introduction ........................................................................................................

  Chapter 1: Business Intelligence 2.0 Defined .........................................................

   CONTENTS 

  Chapter 2: Advantages of Applying Business Intelligence 2.0 Using Microsoft Silverlight .............................................................................................................

  Chapter 3: Silverlight as a Business Intelligence Client .......................................

   CONTENTS

Is Business Intelligence on the client viable?.........................................................................................

  

Common Scenarios Handled with Silverlight...................................................................

Coding Scenario: Working with Business Data.......................................................................................

Coding Scenario: Persisting Local Data..................................................................................................

  

Summary ........................................................................................................................

  

Chapter 4: Adding Interactivity to Business Intelligence Data .............................

  

Chapter 5: Introduction to Data Visualizations ...................................................

   CONTENTS Widgets and Dashboards......................................................................................................................

  Data Visualizations and Business Intelligence 2.0......................................................... BI for the Masses.................................................................................................................................. Ease of Use...........................................................................................................................................

  Challenges of Implementing Data Visualizations........................................................... Custom Controls ................................................................................................................................... Reinventing the Insight Wheel.............................................................................................................. Not Knowing the Target Audience ........................................................................................................

  Data Visualizations and Silverlight ................................................................................ Out-of-the-Box Data Visualizations ...................................................................................................... Data-Centric Processing....................................................................................................................... Descry Framework ...............................................................................................................................

  Coding Scenarios........................................................................................................... Chart Data Visualizations...................................................................................................................... Using Geographic Visualizations...........................................................................................................

  Summary .......................................................................................................................

  Chapter 6: Creating Data Visualizations for Analysis .........................................

   CONTENTS

Word-Sized Chart Visualizations....................................................................................

  

Types of Word-Sized Chart Visualizations ............................................................................................

Summary .......................................................................................................................

  

  

Chapter 7: Enhancing Visual Intelligence in Silverlight......................................

  

Chapter 8: Applying Collective Intelligence ........................................................

   CONTENTS Collecting and Displaying User Content.

  Collecting User-Generated Data . Example of Collective Intelligence in Blogs . Collective Intelligence in the Enterprise .

  Coding Scenarios. Coding Scenario: Working with the Rating Control.

  Summary .......................................................................................................................

  Chapter 9: Predictive Analytics (What-If Modeling) .

   CONTENTS

Possible Improvements ........................................................................................................................

  

Summary .......................................................................................................................

  

Chapter 10: Improving Performance with Concurrent Programming.................

  

Chapter 11: Integrating with Business Intelligence Systems .............................

  

Chapter 12: Mobile Intelligence ..........................................................................

   CONTENTS Silverlight Mobile Intelligence Platforms .......................................................................

  Windows Phone 7 ................................................................................................................................. Windows Embedded Compact 7...........................................................................................................

  Implementing Silverlight Mobile Intelligence ................................................................ Adding Interactivity............................................................................................................................... Mobile Dashboards...............................................................................................................................

  Coding Scenarios........................................................................................................... The Bing Maps Silverlight Control on Windows Phone 7......................................................................

  Summary .......................................................................................................................

  Chapter 13: Surfacing Silverlight Business Intelligence in SharePoint ..............

   CONTENTS

Summary .......................................................................................................................

  

  

Chapter 14: Using the Silverlight PivotViewer....................................................

 Appendix A: Prototyping Applications with Dynamic Data .................................

  

Blend’s Dynamic Data Tools ..........................................................................................

Defining New Sample Data...................................................................................................................

Customizing Properties.........................................................................................................................

Generating data from image collections...............................................................................................

  

Behind the Scenes of Dynamic Data..............................................................................

Autogenerated Files..............................................................................................................................

  

Summary .......................................................................................................................

 Appendix B: Creating a Bullet Graph User Control..............................................

  

What Is a Bullet Graph? .................................................................................................

Using the Bullet Graph to Gain Business Intelligence Insight ...............................................................

  

Specification of the Silverlight Bullet Graph ..................................................................

   CONTENTS Implementation Roadmap .................................................................................................................... Creating a Fluid Layout.........................................................................................................................

  Implementing the Bullet Graph in Silverlight ................................................................. Bullet Graph Layout and Adding Main Components ............................................................................. Implementing Dependency Properties & Design-Time Logic ............................................................... Alternate Implementations ...................................................................................................................

  Summary .......................................................................................................................  Index ...................................................................................................................

   About the Author Bart Czernicki is a senior technologist focusing on Rich Interactive Applications

  and Business Intelligence. Bart is currently employed as a software architect, focusing on bringing business intelligence tools to life using cutting edge technology. Most recently, Bart championed the Silverlight platform across the organization as the foundation for the next-generation set of business intelligence products.

  Bart has had a strong online presence for the last several years. He has her sites. He remains active as one of the leading contributors to the Silverlight community on ently he started a web site that will bring BI 2.0 and

  Silverlight together

  Bart lives in Mount Laurel, NJ. Previously he lived in Zawiercie, Poland. He is best described as a tech geek and is on the computer a majority of the day. Bart also loves to read about history, statistics, finance and of course new technologies.

  About the Technical Reviewer Ivan Dragoev has over 10 years practical experience in the sphere of information

  technology and in particular, the Microsoft technologies. He participates in the designing of many enterprise applications in different domains—from building to health services. Four years ago Ivan made his own IT company, which aims to be proactive and to offer its clients innovative integral solutions, based on the Microsoft technologies. He is a co-founder of community site entirely dedicated to the Microsoft’s RIA technology Silverlight. The site offers daily information, articles on recent threads and events in the sphere of Silverlight and its target are not only developers but also decision makers. Ivan is also co-founder of the first and the only one of its kind Silverlight user group in Bulgaria. At the moment Ivan is occupied with the design of projects based on the Silverlight technology and in the providing of consultant services and trainings.

  Introduction

  It is a very exciting time to be in the software development industry. The governing concepts of developing software are changing and rapidly evolving before our eyes. Skills and frameworks that you may have used even just two years ago could very well be considered obsolete and replaced with something more efficient. This is why software vendors and the developers of engineering products need to stay on top of emerging technology concepts in order to remain competitive.

  Two technologies that are experiencing exponential growth and are quickly becoming in demand are business intelligence (BI) and rich interactive applications (RIAs). Knowing how to use and implement either of these technologies will be vital in order to develop modern-looking applications in the near future. More importantly, learning how to use BI concepts and bringing them to life with RIA technology will allow you to deliver superior software that is a cut above the competition.

  The first core technology this book focuses on is BI. BI can be simply defined as delivering key insight quickly from large data repositories. This information can be presented in the form of reports, charts, analytical aggregates, data grids, and so on. Until recently, BI deployments have not been cheap and often required expensive hardware and enterprise-scale software to perform complex data calculations. Furthermore, the tools that presented BI information were geared for people with a background in number crunching (statistical analytics). This really limited the scope of BI because in order to use BI tools, you had to have a good understanding of the numbers you were looking at in order to analyze them properly. BI technology’s steep learning curve limits its adoption to larger enterprise organizations. Just like any other technology, BI is maturing as a platform and adopting new concepts from emerging software development methodologies.

  Business intelligence 2.0 (BI 2.0) is improving the way we design and implement BI applications. BI 2.0 is essentially all about bringing technical wisdom to the average user quickly without having to deploy a monolithic infrastructure and not requiring a deep understanding of analytical tools. Therefore, to accomplish this, the visual implementation needs to be simple and easy to understand. In addition, a BI 2.0 application also needs to be lightweight and easy to deploy. A typical user will simply reject anything that takes serious time to download or is packaged in a complex installation. Simple software design and making the analytical tools not feel like business tools broaden the scope of the BI audience beyond technical users.

  The second core technology this book focuses on is the rich interactive application (RIA). RIAs are a class of web applications that bring a desktop-like experience to the end user. RIAs are generally superior web user interfaces (UIs) because they can bring additional animations, transitions, and computational processing on the client workstation at much greater speeds than HTML or Ajax. Furthermore, RIA technologies such as Microsoft Silverlight and Adobe Flash/Flex are lightweight and can be fully tailored for ease of use. This makes RIAs ideal UI solutions for architecting applications that need to present complex analytics in BI 2.0 applications.

  This book’s goal is to show you how you can deliver key concepts of BI 2.0 with the Microsoft Silverlight RIA platform. These two technologies used together can form very powerful applications that extend the BI 2.0 platform’s core tenets: ease of use and delivery to a broader audience. We will start by introducing you in detail to BI 2.0 concepts and how they can be implemented in Microsoft Silverlight RIA technology. The introductory chapters are a great starting point for readers who are not already

  

  INTRODUCTION

  familiar with BI 2.0 or Silverlight. Next, we will proceed to look at how we can utilize key RIA features like interactivity, animations, visualizations, and client processing in BI 2.0 implementations. The following sections will show you how to bring a Silverlight BI application to life and make it easier for the user to understand. In the latter part of this resource, we will cover emerging technologies like collective intelligence and predictive analytics which are becoming important in BI 2.0 software delivery.

  Who Should Read This Book?

  Anyone who is interested in applying BI 2.0 concepts using cutting-edge visualization technology like Silverlight should net great value from reading this book. This book is written with an “introduce, then apply concept” philosophy. Chapters 2 through 11 introduce the BI 2.0 concepts and show how they are applied in Silverlight. Coding exercises can be found in a majority of these chapters to further reinforce the introduced topics. Non-technical users will be able to follow along the scenarios and interact with the final coding scenario end product by leveraging the companion web site. The companion web site includes many of the coding scenario applications running live directly on the web not requiring any development environment.

  Silverlight Developers or Architects

  Developers who are familiar with Silverlight usually need to apply the fundamentals they have learned into a line-of-business (LOB) application. This book allows developers to see how Microsoft Silverlight can bring a technology concept to life with its unique RIA features. This is a very important distinction from most Silverlight books out there which tend to concentrate on the Silverlight fundamentals and basic use of the developer tools. This book jumps straight from the concept chapters (Chapters 1 and 2) right into Silverlight BI features in Chapter 3 (i.e., You are out of luck if you want to see a chapter on how to draw a button on a canvas). This book aims to be unique by showing you features in Silverlight used in practical ways to apply BI 2.0 concepts. Silverlight developers will benefit from the C#/Silverlight coding exercises and follow along to learn how to create BI components. Lastly, developers who aren’t familiar with BI 2.0 will gain valuable domain knowledge of the business side of BI implementations.

  This audience will achieve the following goals by reading this book: You’ll receive important business domain knowledge about BI.

  • You’ll be exposed to BI 2.0 fundamentals. • You’ll see how Silverlight can be applied to LOB applications beyond the basics.
  • BI Professionals

  Professionals who have made their career working with BI will uncover valuable information in this book. This may sound contradictory at first, as this book is meant as a technical resource. However, BI professionals who have spent several years writing static reports, creating cubes, analyzing data in Excel, and so on, know the limitations of many analytical tools. Using this book as a guide, you’ll be able to see via examples how BI can be applied in Silverlight to deliver key insights more quickly to the end user via richer interfaces. The knowledge you’ll gain from the material in this book will benefit you tremendously in your career, as it will broaden the scope of understanding of the implementation of the technology. While the book requires some knowledge of an RIA technology (like Silverlight), each chapter has been

  

  INTRODUCTION

  written with the broader target in mind and can be understood without a deep understanding of Silverlight or C#.

  In sum, this audience will achieve the following goals by reading this book: You’ll be exposed to the Microsoft Silverlight RIA technology.

  • You’ll learn how RIA functionality can extend BI by making tools simpler and • more interactive. You’ll see how next-generation BI makes some of the tools you currently use • obsolete.

  Strategic Decision Makers in Technology

  Executive-level professionals who have an interest in BI can net a different perspective from understanding the topics covered in this book. This is a real exciting time when these relatively new technologies are coming together and will leverage each other in reshaping next-generation BI software. This book aims to provide senior management with the key strategic ideas and fundamentals to be able to gauge the use of new BI concepts in their deliverables. Decision makers do not have to be part of a BI software vendor to get a valuable return from this information. For example, you may have an existing product that you want to enhance with next-generation BI. This book is the guide that can provide ideas on how to achieve that. It goes without saying: the content provided in this book aims to include cutting- edge material, and senior managers should be able to utilize it to gain a competitive advantage.

  By reading this book, this audience will achieve the following goals: You’ll learn how to take advantage of Silverlight with BI 2.0 to form a competitive

  • advantage in terms of content, delivery, and adoption. You’ll amass ideas on possibly extending current applications with lightweight
  • Silverlight BI modules. You’ll understand how simple, interactive, and easy-to-learn analytical tools can
  • broaden the audience of BI products.

  Technical and Nontechnical Audiences

  The preceding list may leave you scratching your head, as few technical books can claim that they can effectively target a broader audience beyond a technical reader (i.e., developer or architect). If you fall into the nontechnical audience, you may be rightfully skeptical by my claim that this book is right for you. How do I plan on targeting a nontechnical audience? The key word I want to focus on in the first statement in this paragraph is effectively. In a nutshell, this book aims to cover the implementation of business concepts applied with a technical framework. Therefore, at a high level, I plan on striking a balance between the BI 2.0 concepts and the technical Silverlight content.

  The following list describes the details of how this book strikes a technical and nontechnical balance: Beginning with the Chapter 2, each chapter has an introduction that explains how

  • it implements key BI 2.0 disciplines with examples and includes a graphic that quickly highlights which BI 2.0 concepts will be applied in that chapter.

  

  INTRODUCTION

  For each chapter, takeaway goals will be provided for the three different

  • audiences. Working demos of the examples are provided on the companion website
  • ). For nontechnical readers that

  ( cannot build the source code using Visual Studio, they can simply navigate to the link provided and interact with working examples. Before jumping blindly into exercises, I explain the approach being taken in the

  • implementation using language you would normally hear during a functional/design meeting. Each chapter includes notes, sidebars, and most importantly, visuals that will help
  • guide you in understanding the information as well as relating it to concepts that you may have used many times previously.

  Note The Internet includes numerous open-source resources that will act as additional resources that amplify ■ the core content in this book.

  I believe that my having written this book with those features in mind allows its scope to go beyond just a technical audience. Obviously, technical consumers of this book who are familiar with Silverlight fundamentals will be able to take additional advantage of this book, as they will be able to follow along with the technical exercises. However, as you can see, I have taken the business audience into serious consideration when choosing the material to cover. The technical audience that invests in this resource will broaden their business intelligence knowledge. Conversely, the non-technical audience will learn about how Silverlight can be leveraged for business intelligence scenarios.

  Why Should You Invest in This Book?

  I am the epitome of someone who loves to harvest more and more information about technology. In my opinion, there is not enough time during the day to soak in all the information available! I love to get valuable information from any resource, whether it’s a book, a periodical, the Internet, a webcasts, or anything else. Each resource has its benefits and flaws. For example, the Internet is a great resource to get the most up-to-the-minute information and updates to anything. However, much of the information on the Internet tends to be poorly researched, and the Internet has a high rate of providing incorrect information. Furthermore, it is very hard to find complete technical or deep business concepts on the Net. A book, on the other hand, has a well-researched foundation, and the information tends to have fewer errors. However, books that focus on technologies rather than overall concepts tend to be outdated more quickly than information on the Internet. One advantage of this book is that it’s not just a book on Silverlight 4 features. This book is a marriage of BI 2.0 and Silverlight that uses a forward- thinking approach to application design. Concepts tend to evolve more slowly than the technologies in which they are implemented. By investing in this resource, you will receive well researched and thought- out information that you will not see outdated in the near future. I hope this resource provides you with an invaluable vision toward creating fantastic-looking BI applications and gives your software a competitive advantage.

  

  INTRODUCTION Chapter Roadmap

  Chapter 1 is an introductory chapter to BI. This chapter will introduce BI and the new wave of BI 2.0. It will show how BI is evolving and embracing new software development advancements. This chapter will contrast classic BI and BI 2.0 by showing numerous examples of current software offerings. Lastly, this chapter will define the core concepts of BI 2.0 that will be implemented throughout this book using Silverlight.

  Chapter 2 introduces the Microsoft RIA technology: Silverlight. This chapter is dedicated to analyzing the current Microsoft BI product offering and providing opinions on why Silverlight is a good fit for implementing BI tenets. After reading this chapter, you will understand the key enterprise and business integration features of Silverlight that will be discussed in this book.

  Chapter 3 looks at what makes an effective BI client. It goes on to specifically detail Silverlight tools and features that can be used to create a fantastic functioning analytical experience. The chapter goes into specific functionality such as LINQ data queries, business algorithm implementations, and local storage.

  In Chapter 4, the information from the previous chapters is used to show how to use Silverlight to bring interactivity to BI applications. This chapter will teach by example on how to add simple interactions that can make a BI client easier to use and feel more fluid. It concludes with how these concepts can be leveraged for future designs with multitouch screens to create the ultimate interactive experience.

  Chapter 5 is the first chapter in a series of chapters about visual intelligence. The content in this chapter will show the empirical advantages of creating a visual representation of data (data visualizations) versus classic tabular layouts. This chapter shows how visualizing data has matured and grown over the last several years. The concept of natural visualizations is introduced by defining the different characteristics and Silverlight implementations.

  Chapter 6 continues to build on the visual intelligence topic by showing how to enhance data visualizations with features to turn them into analytical tools. This chapter will show you how to create advanced visualizations by extending the default Silverlight data visualization presentation.

  Chapter 7 is the last chapter that focuses on creating complex composite data visualizations. You will also see how Silverlight as a professional visual intelligence environment can implement BI 2.0 functionality.

  Chapter 8 introduces collective intelligence as a form of social BI. This chapter defines the importance of collective intelligence on the Web today. Furthermore, you will see how Silverlight can be used to gather collective intelligence and surface it to users.

  Chapter 9 will describe how to integrate forward-looking data structures into your client logic to perform what-if scenarios. This chapter will also show how statistics used on aggregates can deliver instant insight on future events.

  Chapter 10 is an advanced chapter that covers additional enhancements that can be gained by using multiple cores to aid in BI calculations. You will see how you can enhance the performance of BI modules by leveraging Silverlight’s advanced CPU and GPU programming features.

  Chapter 11 will show you how to apply the concepts that you have learned and integrate them into new solutions or existing BI systems. This chapter covers Silverlight in a SaaS delivery model as well as Silverlight web parts.

  Chapter 12 introduces mobile intelligence as a paradigm for delivering business intelligence to mobile and tablet devices. In this chapter, you will apply the knowledge in the previous chapters towards the Windows Phone 7 development environment.

  Chapter 13 describes the conventions used to create business solutions for the SharePoint 2010 environment. This part will focus on component based architecture and deploying Silverlight web parts.

  

  INTRODUCTION

  Chapter 14 focuses on the Silverlight PivotViewer control. This section will show you a great example of how Microsoft is utilizing a highly interactive and visual PivotViewer control to deliver business intelligence insight.

  Appendix A includes a short primer on prototyping data applications in Microsoft Expression Blend

  4. This short section provides a quick overview on how to use Blend’s dynamic data feature to quickly create and add data to UI functionality without having to spend time architecting databases and services. This is a powerful tool to prototype BI 2.0 analytical modules without needing access to large- scale data repositories.

  Appendix B demonstrates how to create a bullet graph user control. This control has several advantages over a traditional business intelligence gauge visualization and you will see how to easily create one in this section.

  What Is Not Covered in This Book?

  This book is intended to be a BI 2.0 concept book applied using Silverlight technology. Obviously, not every possible aspect and feature of BI can be covered. This book strictly focuses on delivering intelligence to the end user. Therefore, middle-tier and back-end BI concepts like data warehousing, master data management, service orientation, ETL, and so on are not covered. While those concepts are very important, they are well beyond the scope of this material. Furthermore, important Silverlight architectural concepts like the MVVM design pattern, Management Extensibility Framework (MEF), PRISM are not covered either. I felt this would overcomplicate even simple scenarios.

  This book covers the core information of BI 2.0 and has step-by-step instructions on how to create the examples included. However, this book is not meant to be a substitute for an introduction to either technology (Silverlight or BI). If you are a Silverlight novice, you may need to supplement your knowledge with some of the many resources available to gain a solid foundation of the Silverlight framework.

  Why Aren’t Data Services Covered in This Book?

  As just mentioned, data services are not covered in this book. Data services are an integral part of BI applications, and without them, you cannot deploy a proper Silverlight BI solution. So why isn’t the data service layer covered in this book?

  Microsoft Silverlight version 4 has several data access methods that allow for consuming data services. Unfortunately, Microsoft is quickly evolving these methodologies in a LOB framework called WCF RIA Services which is based on ADO.NET Data Services. WCF RIA Services is scheduled to be released in the summer of 2010. Furthermore, the Visual Studio 2010/.NET 4.0 development stack improves data access methodologies with enhancements to the OR/M (object/relational mapping), WCF REST–based design, asynchronous programming, and ADO.NET Services. Therefore, I felt it was not correct to write a book showing best practices of BI data access when the technologies were evolving rapidly and would be fundamentally different in a matter of months.

  I have decided to alleviate the need for service data sets by using Expression Blend’s Dynamic Data feature and creating in-memory data. This allows the coding scenarios and examples to focus on the client BI principles rather than focusing on another unrelated tier. I believe this targets the proper audience for this book, as more content can be presented on surfacing BI data with Silverlight technology.

  

  INTRODUCTION Note If you are familiar with BI and want additional clarification on what BI tier is covered, please see Chapter

  ■ 1.

  Following the Coding Exercises in the Book This book includes many technical exercises that aim to reinforce key principles of BI.

  As aforementioned, you don’t need to follow along with all of the exercises to net all the knowledge from this book, as all of the examples are online on the companion web site. This allows non-developers to follow along with the concepts implemented in this book without having knowledge of compiling source code. This amplifies that this book is a resource for more than just developers, as most books only provide source code that requires development knowledge.

  Note If you would like to see the available demos online, go to ■

  If you are not a developer or do not want to go through manually coding the exercises, you will see links provided before each coding scenario or sample with a direct link to the demonstration.

  Note Not all of the coding scenarios are available as demos on the companion site to this book. The Windows ■ Phone 7 examples require an active emulator, which cannot be run on the web. Furthermore, the SharePoint 2010 examples would require a SharePoint 2010 Internet site, which I do not host.

  Software You Need to Follow the Exercises

  If you are a developer and would like to compile and follow the exercises, you will need the following core Silverlight development software: Visual Studio 2010 (Any of the Express, Premium, Ultimate, or Team System

  • versions will work.). Visual Studio 2008 cannot be used for Silverlight 4 development. Silverlight 4 SDK and Visual Studio 2010 Developer Tools •

  Silverlight Control Toolkit (April 2010 release or newer)

  • Microsoft Expression Blend 4

  

  INTRODUCTION

  Links to this core Silverlight development software are updated constantly. The main page for

  vides a complete

  getting started with Microsoft Silverlight, at set of links to install all the required components.

  In addition to the core Silverlight development software above, the Delivering Mobile Intelligence with Silverlight (Chapter 12) requires the following software: Windows Phone 7 Developer Tools (includes Expression Blend for Windows

  • Phone)

  Links to this Windows Phone 7 software are updated constantly. The main page for getting started

  vides a complete set of

  with Windows Phone 7 development, at links to install all the required components.

  In addition to the core Silverlight development software, the Silverlight Business Intelligence in SharePoint 2010 (Chapter 13) requires the following software:

  SharePoint 2010 development tools for Visual Studio 2010 installed

  • SharePoint 2010 Server installed
  • In addition to the core Silverlight development software, the Working with Pivot Collections (Chapter 14) requires the following software:

  Silverlight PivotViewer control, which can be downloaded at

  Note While Visual Studio 2010 Express Editions, Silverlight 4 SDK, Silverlight Control Toolkit, and the Silverlight ■

4 runtime can be attained for no cost, Expression Blend 4 is a rather expensive product. There are a couple of

different ways I would recommend acquiring this at minimal cost to you. As of this book’s publication, Microsoft offers a 60-day trial of its Expression Blend product. This will probably satisfy the need to access Expression Blend

4 for the duration of reading this book. Expression Blend 4 is also provided with some of the higher-tier MSDN

subscriptions. If you are a paying subscriber, please feel free to download the product from the MSDN site.

  

Also, all of these exercises can be done in other ways without the Expression Blend tool. Furthermore, in Visual

Studio 2010, the designer provides a rich design canvas for Silverlight applications. However, I have decided to

use Expression Blend for the visual and prototyping exercises in this resource. In addition, Expression Blend is a first-class design tool, and it is necessary for delivering enterprise-level applications.

  Companion Web Site

  As mentioned in the previous section, this book aims to target both a technical and nontechnical audience. Therefore, some readers might not be able to take advantage of building upon some of the technical guidance in this book. I have created a companion web site that includes all of the examples covered in the chapters with some bonus material. Therefore, even nontechnical users will be able to

  

  INTRODUCTION

  learn by seeing the implementations of the material with live examples. The companion web site is

  Figure Intro-1. The main page of the companion site for this book

  The companion site includes several key important resources: A blog that includes updated articles related to the material covered in this book

  • A page that contains live demonstrations of coding scenarios and samples of
  • Silverlight business intelligence tools Updated source code for the book
  • An external resources page, which includes many links to books, articles and
  • samples on the web for business intelligence An errata & best practices page that includes any changes, updates and fixes to the
  • content that has been published

  Throughout this book, you will see me refer to the companion web site for additional content (links, source code, live examples) that did not fully make it into this resource.

  

  INTRODUCTION What about Silverlight 3 Support?

  Many of the principles, conventions, code and best practices will apply to the Silverlight 3 development environment. Version 1.0 and 2.0 of the source code on the companion site is compatible with Silverlight 3 and Visual Studio 2008. It does not include all of the examples covered in this book. However, almost all of the examples through the first eleven chapters are included in a Silverlight 3 project.

  Note The previous edition of the book explicitly targets Silverlight 3 and Visual Studio 2008 explicitly.

  ■ Author on the Internet I have a pretty unique name. Therefore, you can find me on the Internet by doing a simple search.

  Chances are, if you search my name and you find something that deals with technical content about .NET, you’ve probably found me. In addition, the following list provides my e-mail address and the places I am most active currently on the Internet:

  Name: Bart Czernicki

  • E-mail address:
  • Companion web site:
  • Blog/web site:
  • Follow me on Twitter
  • Silverlight Business Intelligence on Twitter:

  • >Silverlight forums

  C H A P T E R 1    Business Intelligence 2.0 Defined

  What is business intelligence 2.0? This is the question this chapter aims to answer definitively. Before you dive into implementing the different concepts associated with business intelligence (BI), you need to understand it. This chapter is dedicated to demystifying what constitutes BI. As you will soon see, the term BI is very loose in that it can be attributed to a series of technologies, data, and practices, which makes its raw definition very ambiguous. Therefore, the sections of this chapter are designed to build on each other, fluidly progressing with details about BI. After you complete this chapter, the components of BI will become clear and you will have enough knowledge to understand what we will be implementing in the following chapters.

  This chapter will cover the following: How the success and innovation of decision support systems in large enterprise