Book Image

Applied Architecture Patterns on the Microsoft Platform

Book Image

Applied Architecture Patterns on the Microsoft Platform

Overview of this book

Every day, architects and developers are asked to solve specific business problems in the most efficient way possible using a broad range of technologies. Packed with real-world examples of how to use the latest Microsoft technologies, this book tackles over a dozen specific use case patterns and provides an applied implementation with supporting code downloads for every chapter. In this book, we guide you through thirteen architectural patterns and provide detailed code samples for the following technologies: Windows Server AppFabric, Windows Azure Platform AppFabric, SQL Server (including Integration Services, Service Broker, and StreamInsight), BizTalk Server, Windows Communication Foundation (WCF), and Windows Workflow Foundation (WF). This book brings together – and simplifies – the information and methodology you need to make the right architectural decisions and use a broad range of the Microsoft platform to meet your requirements. Throughout the book, we will follow a consistent architectural decision framework which considers key business, organizational, and technology factors. The book is broken up into four sections. First, we define the techniques and methodologies used to make architectural decisions throughout the book. In Part I, we provide a set of primers designed to get you up to speed with each of the technologies demonstrated in the book. Part II looks at messaging patterns and includes use cases which highlight content-based routing, workflow, publish/subscribe, and distributed messaging. Part III digs into data processing patterns and looks at bulk data processing, complex events, multi-master synchronization, and more. Finally, Part IV covers performance-related patterns including low latency, failover to the cloud, and reference data caching.
Table of Contents (26 chapters)
Applied Architecture Patterns on the Microsoft Platform
Credits
Foreword
About the Authors
About the Reviewer
Preface

Building the solution


This section will build out a portion of the solution to demonstrate the implementation on the Windows Azure platform. The solution contains three projects the ASP.NET web tier, a small portion of the WCF business logic, and finally the Windows Azure Cloud Service project. The database aspects of the solution are left out; please refer to the SQL Azure section of Chapter 6 of this book for understanding its design and deployment model. Here is a quick summary of the steps we will use:

  • We will add ASP.NET code for the web role of the cloud services project. For the ASP.NET page design and code, we will use the ASP.NET Webtier project that is already present in the starter solution.

  • Within the same web role, we will then create and host a WCF service. For the WCF service creation, we will use the WCFServiceTier project which again is already present in the starter solution.

  • After updating the web role project, we will modify it to host the WCF service within ASP.NET and...