Your hands-on, step-by-step guide to building connected, service-oriented applications. Teach yourself the essentials of Windows Communication Foundation (WCF) 4 -- one step at a time. With this practical, learn-by-doing tutorial, you get the clear guidance and hands-on examples you need to begin creating Web services for robust Windows-based business applications. Discover how to: Build and host SOAP and REST services Maintain service contracts and data contracts Control configuration and communications programmatically Implement message encryption, authentication, and authorization Manage identity with Windows CardSpace Begin working with Windows Workflow Foundation to create scalable and durable business services Implement service discovery and message routing Optimize performance with service throttling, encoding, and streaming Integrate WCF services with ASP.NET clients and enterprise services components Your Step by Step digital content includes: Practice exercises Downloadable code samples Fully searchable online edition of the book -- with unlimited access on the Web
A guide to architecting, designing, and building distributed applications with Windows Communication Foundation Windows Communication Foundation is the .NET technology that is used to build service-oriented applications, exchange messages in various communication scenarios, and run workflows. This guide enables developers to create state-of-the-art applications using this technology. Written by a team of Microsoft MVPs and WCF experts, this book explains how the pieces of WCF 4.0 build on each other to provide a comprehensive framework to support distributed enterprise applications. Experienced developers will learn both theory and practical application using the familiar Wrox approach. .NET developers will learn to design services, create a hosting environment with Dublin, build cloud-based integrations, and much more. Coverage Includes: Design Principles and Patterns Service Contracts and Data Contracts Bindings Clients Instancing Workflow Services Understanding WCF Security WCF Security in Action Federated Authentication in WCF Windows Azure Platform AppFabric Creating a SOA Case Creating the Communication and Integration Case Creating the Business Process Hosting
“Whether this is the first time or the fifty-first time you’re using WCF, you’ll learn something new by reading this book.” --Nicholas Allen, Program Manager, Web Services, Microsoft Windows Communication Foundation (WCF) is the easiest way to produce and consume Web services on the Microsoft platform. With .NET 3.5, WCF has been extensively revamped--and Visual Studio 2008 gives developers powerful new tools for utilizing it. Essential Windows Communication Foundation shows developers exactly how to make the most of WCF with .NET 3.5 and Visual Studio 2008. Drawing on extensive experience working with early adopters, three Microsoft insiders systematically address the topics developers ask about WCF. The authors approach each subject with practical advice and present best practices, tips, and tricks for solving problems. Throughout, you’ll find detailed explanations, solutions for the “pain points” of WCF development, and an extensive collection of reusable code examples. Coverage includes Using WCF contracts to define complex structures and interfaces Understanding WCF’s channel stacks and channel model architecture Configuring the WCF communication stack to use only the protocols you need Using standard and custom service behaviors to manage concurrency, instances, transactions, and more Serializing data from .NET types to XML Infosets and representing Infosets “on the wire” Hosting WCF services via IIS, managed .NET applications, and Windows Activation Services WCF security, in depth: authentication; transport and message-level security; and Internet and intranet scenarios Improving reliability: exception handling, diagnostics, and more Workflow services: new integration points between WCF 3.5 and Windows Workflow Foundation Building client-to-client, peer network-based applications Utilizing WCF for non-SOAP Web services: AJAX and JSON examples and .NET 3.5 hosting classes Microsoft’s Steve Resnick, Richard Crane, and Chris Bowen are technology experts at the Microsoft Technology Center in Boston. They specialize in helping customers improve their technical agility by applying WCF and related technologies. Resnick has specialized in Internet technologies and distributed computing at Microsoft since 1995. He is a frequent speaker at Microsoft events and is now technology director for the U.S. Microsoft Technology Centers. Crane has more than 15 years of experience in senior software development roles. He specializes in large-scale Web sites, distributed computing, transactional systems, and performance analysis. Bowen has been an architect and developer for more than 15 years at companies such as Monster.com and Staples and is co-author of Professional Visual Studio 2005 Team System. Foreword xxv Preface xxvii Chapter 1: Basics 1 Chapter 2: Contracts 33 Chapter 3: Channels 91 Chapter 4: Bindings 111 Chapter 5: Behaviors 181 Chapter 6: Serialization and Encoding 241 Chapter 7: Hosting 287 Chapter 8: Security 315 Chapter 9: Diagnostics 375 Chapter 10: Exception Handling 403 Chapter 11: Workflow Services 423 Chapter 12: Peer Networking 459 Chapter 13: Programmable Web 503 Appendix: Advanced Topics 537 Index 553
This book is a step-by-step, practical tutorial with a simple approach to help you build RESTful web applications and services on the .NET framework quickly and efficiently. This book is for ASP.NET web developers who want to explore REST-based services with C# 5. This book contains many real-world code examples with explanations whenever necessary. Some experience with C# and ASP.NET 4 is expected.
Get the end-to-end instruction you need to design, develop, and deploy more effective data integration, reporting, and analysis solutions using SQL Server 2008--whether you're new to business intelligence (BI) programming or a seasoned pro. With real-world examples and insights from an expert team, you'll master the concepts, tools, and techniques for building solutions that deliver intelligence--and business value--exactly where users want it. Discover how to: Manage the development life cycle and build a BI team Dig into SQL Server Analysis Services, Integration Services, and Reporting Services Navigate the Business Intelligence Development Studio (BIDS) Write queries that rank, sort, and drill down on sales data Develop extract, transform, and load (ETL) solutions Add a source code control system Help secure packages for deployment via encryption and credentials Use MDX and DMX Query Designers to build reports based on OLAP cubes and data mining models Create and implement custom objects using .NET code View reports in Microsoft Office Excel and Office SharePoint Serverook
Your hands-on guide to Visual C# fundamentals Expand your expertise—and teach yourself the fundamentals of Microsoft Visual C# 2013. If you have previous programming experience but are new to Visual C# 2013, this tutorial delivers the step-by-step guidance and coding exercises you need to master core topics and techniques. Discover how to: Create and debug C# applications in Visual Studio 2013 Work with variables, identifiers, statements, operators, and methods Create interfaces and define abstract classes Write robust code that can catch and handle exceptions Display and edit data using data binding with Microsoft ADO.NET Entity Framework Respond to user input and touchscreen gestures Handle events arising from multiple sources Develop your first Windows 8.1 apps
Middleware eases the development of distributed applications. Expansion in the enterprise world entails integration of heterogeneous products, and there is a demand for a balance between performance, interoperability and security in the distributed applications. Windows Communication Foundation (WCF) offers a technology to build service-oriented, secure, reliable and interoperable distributed applications. The current literature contains few studies comparing the performance of WCF with other technologies, but it does not address the performance of WCF in a cross-technology communication. This book experimentally evaluates the performance of WCF in unsecure and secure variants. It evaluates the performance in on-machine and cross-machine communication, and it addresses the performance of WCF s interoperability with ASMX and Java clients. The experiments are conducted using client and service applications in a laboratory setting. We have measured the performance in terms of throughput, response time, processor and memory utilization during the experiments.The book should help the research/industry practitioners to understand the efficient technology and promote the research flow.
Get hands-on answers to frequently asked questions about using Microsoft .NET technologies to customize and extend SAP applications. Walk through dozens of real-world examples—from Web Services integration to business intelligence (BI) reporting and Microsoft Office-based solutions—direct from a team of Microsoft–SAP interoperability experts. Learn how to expose back-end SAP data through familiar Microsoft tools and UIs—for better productivity and lower TCO. Discover how to: Navigate the development environment and tools—including Microsoft Visual Studio®, Visual Studio Tools for Office, and BizTalk® Server Connect .NET and SAP via Web Services, tools like SAP Connector and Enterprise Service Explorer, and .NET Data Provider Implement BI solutions that unlock SAP data through familiar Microsoft UIs Expose data from SAP NetWeaver Portal in Microsoft Office SharePoint® Server Use the Business Data Catalog to display and search SAP content—no coding Build your own Office Business Applications (OBAs), or put Duet to work Add Microsoft Office presence functionality and forms solutions to SAP applications Deliver a single sign-on solution
Presenting cutting-edge insights from industry practitioners, .NET 4 for Enterprise Architects and Developers supplies in-depth coverage of the various server-side features of Microsoft .NET Framework 4 that can be leveraged in Enterprise Application development. It provides a fundamental understanding of the technical aspects of implementation and details a step-by-step approach for real-life implementation using specific .NET 4 features. The book is useful to architects, developers, students, and technology enthusiasts who wish to learn more about .NET 4. It illustrates key scenarios and specific features with code snippets to help you understand the technical aspects of implementation. Praise for the book: ... presents broad and deep coverage of key technologies released as part of .NET Framework 4. —Kris Gopalakrishnan, Executive Co-Chairman, Chairperson, Executive Council of Infosys Ltd. ... the authors introduce us to new features of .NET, provide deep insights into it, and explain how it can be applied in enterprise application development scenarios. ... highly recommended ... . —Naveen Kumar, Principal Architect, Microsoft Technology Center, Infosys Ltd. ... excellent in-depth coverage of .NET Framework 4 ... . —Subu Goparaju, Senior Vice President, Head of Infosys Labs, Infosys Ltd.
Pro WCF 4.0: Practical Microsoft SOA Implementation is a complete guide to Windows Communication Foundation from the SOA perspective, showing you why WCF is important to service-oriented architecture and development. This book provides deep insight into the functionality of WCF, which shipped with .NET 4.0-like service discovery, routing service, simplified configuration, and other advanced features. Included in this title are informative examples that will aide the reader in understanding and implementing these important additions. This book also covers the unified programming model, reliable messaging, security, and the peer-to-peer programming model. You'll also learn how to move your current .NET remoting and web service applications to WCF and how to integrate those applications with WCF 4.0. This book offers genuine insight into solving real enterprise problems using WCF and .NET 4.0. What you'll learn New features of WCF with .NET 4.0. A comprehensive WCF programming model. How queue management and reliable messaging work in WCF. Implementing transaction support in WCF Making WCF services interoperable with other SOA offerings Best practicies in using WCF effectively. Developing WCF applications with Visual Studio 2010. Who this book is for The release of .NET 4.0 brought a wide range of new functionality to WCF. Developers and architects with experience using WCF 3.5 or earlier who want to apply this new functionality to their application will benefit greatly from the discussions and code samples in this book. This book is also a great resource for application developers and architects new to SOA or the core concepts of WCF.