Effective Use of Microsoft Enterprise Library


Book Description

Writing robust enterprise applications presents a special challenge for developers, but Microsoft has addressed that challenge with the free, downloadable Enterprise Library for the .NET Framework. Enterprise Library is a collection of application blocks and guidance documents that together provide functionality common to enterprise applications; each application block includes full source code. Lacking in the guidance provided by Microsoft is an overall roadmap to the process of using the application blocks. Effective Use of Microsoft Enterprise Library is that roadmap. Microsoft application development lead architect Len Fenster explains exactly how to build applications using Enterprise Library application blocks. Fenster covers all seven application blocks as implemented for .NET Framework 1.1, shows how to develop and use a new application block, and explains how Enterprise Library is changing for .NET Framework 2.0. Readers will learn How the Configuration Application Block is designed and can be used at runtime to easily read and write configuration data How the Configuration Application Block works at design time for all blocks How to use the Data Access Block to create a portable data layer How to use the Exception Handling Application Block to implement a policy-driven, application-wide exception handling system How to use the Logging and Instrumentation Application Block to log and instrument messages independent of the message destination How to add authentication, authorization, role membership, security cache, and profile membership features to an application with the Security Application Block How to use the Cryptography Application Block to add functionality to encrypt and decrypt data and create and compare hashes How to build your own application block and providers that “snap” right into Enterprise Library Whether you plan to extend Enterprise Library for your organization, or just use the existing application blocks to add functionality to your architecture in a consistent, extensible, integrated way, this book will guide you through the complexities and help you find a clear path to success.




Effective REST Services via .NET


Book Description

Build Web Services Better and Faster with RESTful Techniques and .NET Technologies Developers are rapidly discovering the power of REST to simplify the development of even the most sophisticated Web services–and today’s .NET platform is packed with tools for effective REST development. Now, for the first time, there’s a complete, practical guide to building REST-based services with .NET development technologies. Long-time .NET and Web services developers and authors Kenn Scribner and Scott Seely explain why REST fits so smoothly into the Internet ecosystem, why RESTful services are so much easier to build, what it means to be RESTful, and how to identify behaviors that are not RESTful. Next, they review the core Internet standards and .NET technologies used to develop RESTful solutions and show exactly how to apply them on both the client and server side. Using detailed code examples, Scribner and Seely begin with simple ASP.NET techniques, and then introduce increasingly powerful options–including Windows Communication Foundation (WCF) and Microsoft’s cloud computing initiative, Azure. Coverage includes • Accessing RESTful services from desktop applications, using Windows Forms and WPF • Supporting Web client operations using Silverlight 2.0, JavaScript, and other technologies • Understanding how IIS 7.0 processes HTTP requests and using that knowledge to build better REST services • Constructing REST services based on traditional ASP.NET constructs • Utilizing the ASP.NET MVC Framework to implement RESTful services more effectively • Taking advantage of WCF 3.5’s powerful REST-specific capabilities • Creating RESTful data views effortlessly with ADO.NET Data Services • Leveraging Microsoft’s Azure cloud-computing platform to build innovative new services • Choosing the right .NET technology for each REST application or service




The Definitive Guide to the Microsoft Enterprise Library


Book Description

This book introduces one of the most exciting and popular .NET-oriented initiatives; the Enterprise Application Library, which offers nine classes of reusable code used to solve a variety of common problem spaces. It is the first book to introduce all ten of the enterprise application blocks, which have been recently updated for .NET 2.0. It covers a number of topics, including configuration, data access, exception management, caching, application updates, UI separation, asynchronous invocation, logging, security, and XML-based information aggregation. With this book readers will be able to build .NET applications faster and more efficiently.




Essential ASP.NET 2.0


Book Description

"No one knows ASP.NET like Fritz Onion. And no one knows .NET security like Keith Brown. Combine the two and what do you get? The most comprehensive and enlightening book on ASP.NET 2.0 industrywide. I'm sure you'll find the book you're holding was worth every penny." --Aaron Skonnard, member of technical staff and cofounder, Pluralsight "Essential ASP.NET 2.0 gets under the hood and dismantles the engine before your eyes. Fritz and Keith understand that we as developers need to understand how it works and this book does exactly that. Their explanation of the ASP.NET 2.0 page event sequence is worth the price of the book alone." --Shawn Wildermuth, Microsoft MVP (C#), "The ADO Guy" "Essential ASP.NET 2.0 is an incredibly useful must-read for any developer.Many books drag you through theory and mindless detail, but this one actually sets up the problems you may encounter with ASP.NET 2.0 and rolls out the alternatives." --Patrick Hynds, Microsoft Regional Director and President, CriticalSites "This book is essential for any ASP.NET developer moving from version 1.x to 2.0. Onion and Brown not only cover the new features, but provide a wealth of insight and detail about how to use them effectively." --Ron Petrusha, author of Visual Basic 2005: The Complete Reference "Drawing on their deep technical knowledge and real-world experience, Fritz and Keith take the reader into some of the less explored and much improved areas of ASP.NET such as diagnostics and state management and performance. Readers will turn to this book over and over again." --John Timney, Microsoft MVP, Senior Web Services Consultant,British Telecom "Fritz and Keith, both established developers and writers in our industry, have succeeded again--enlightening us on the latest advancements found in ASP.NET 2.0. If you're new to ASP.NET or a seasoned veteran, you'll benefit tremendously from their overview, analysis, and sample code." --Joe "MSJoe" Flanigen "This book seeks not only to explain how to effectively build Web sites with ASP.NET, it also gives the reader an idea of how the process works. This insight is essential to creating applications that work with the infrastructure rather than fighting it." --Justin Burtch, Vice President, Newbrook Solutions Essential ASP.NET 2.0 is the Microsoft developer's definitive reference for ASP.NET 2.0 programming. It covers all you need to know to build robust, well-designed Web applications with ASP.NET 2.0, Visual Studio 2005, and .NET 2.0. ASP.NET MVP Fritz Onion and Developer Security MVP Keith Brown draw on their unparalleled experience working with ASP.NET 2.0 and teaching it to professional developers. From data binding to security, UIs to performance, they demystify ASP.NET 2.0's most difficult areas, and introduce little-known techniques for leveraging it to the fullest. The perfect companion to his previous classic, Essential ASP.NET with Examples in C#, Essential ASP.NET 2.0 offers hundreds of new C# examples that illuminate today's best Web development practices. (Both C# and VB 2005 versions of all code examples can be downloaded from the companion Web site.) Topics explored in-depth include: Application architecture Code behind Master pages Themes and skins Navigation controls Data binding State management Security Web Parts Diagnostics Performance optimization Asynchronous tasks and pages Simply put, if you want to design and build better ASP.NET 2.0 Web applications, Essential ASP.NET 2.0 delivers everything you need: insider's knowledge, proven best practices, and outstanding code samples.




Designing Forms for Microsoft Office InfoPath and Forms Services 2007


Book Description

"Microsoft Office InfoPath represents a revolutionary leap in XML technologies and a new paradigm for gathering business-critical information. I am delighted that Scott Roberts and Hagen Green, two distinguished members of the InfoPath product team, decided to share their experience in this book." --From the Foreword by Jean Paoli, cocreator of XML 1.0 and Microsoft Office InfoPath Microsoft Office InfoPath 2007 offers breakthrough tools for gathering, managing, and integrating business-critical information, and creating efficient forms-driven processes. Two longtime members of Microsoft's InfoPath product team have written the first comprehensive, hands-on guide to building successful XML-based solutions with InfoPath 2007. The book opens with a practical primer on the fundamentals of InfoPath form template design for information workers and application developers at all levels of experience. It then moves into advanced techniques for customizing, integrating, and extending form templates--with all the code examples and detail needed by professional developers. Learn how to: Design form templates: create blank form templates, insert and customize controls, use advanced formatting, and construct and lay out views Work with data: start with XML data or schema, manually edit data sources, and understand design-time visuals Add custom business logic to forms, and integrate them with other applications Retrieve and query data from external data sources, including XML files, databases, SharePoint lists, Web services, and ADO.NET DataSets Submit and receive form data using ADO.NET Save, preview, and publish to e-mail, SharePoint, and more Build reusable components with template parts Create workflows with SharePoint and InfoPath E-Mail Forms Administer Forms Services and Web-enabled form templates Build advanced form templates using C# form code, custom controls, add-ins, and the new InfoPath 2007 managed object model Design form templates using Visual Studio Tools for Office (VSTO) Update, secure, and optimize your form templates List of Figures List of Tables Foreword Preface About the Authors PART I: Designing Forms Chapter 1: Introduction to InfoPath 2007 Chapter 2: Basics of InfoPath Form Design Chapter 3: Working with Data Chapter 4: Advanced Controls and Customization Chapter 5: Adding Logic without Code Chapter 6: Retrieving Data from External Sources Chapter 7: Extended Features of Data Connections Chapter 8: Submitting Form Data Chapter 9: Saving and Publishing Chapter 10: Building Reusable Components Chapter 11: Security and Deployment Chapter 12: Creating Reports Chapter 13: Workflow Chapter 14: Introduction to Forms Services Part II: Advanced Form Design Chapter 15: Writing Code in InfoPath Chapter 16: Visual Studio Tools for Microsoft Office InfoPath 2007 Chapter 17: Advanced Forms Services Chapter 18: Hosting InfoPath Chapter 19: Building Custom Controls Using ActiveX Technologies Chapter 20: Add-ins Chapter 21: Importers and Exporters Appendix: Further Reading Index




Essential Windows Presentation Foundation (WPF)


Book Description

Windows Presentation Foundation (WPF) replaces Microsoft’s diverse presentation technologies with a unified, state-of-the-art platform for building rich applications. WPF combines the best of Windows and the Web; fully integrates user interfaces, documents, and media; and leverages the full power of XML-based declarative programming. In Essential Windows Presentation Foundation, former WPF architect Chris Anderson systematically introduces this breakthrough platform, focusing on the concepts and techniques working developers need in order to build robust applications for real users. Drawing on his unique experience as an architect on the team, Anderson thoroughly illuminates the crucial new concepts underlying WPF and reveals how its APIs work together to offer developers unprecedented value. Through working sample code, you’ll discover how WPF draws on the Web’s simple models for markup and deployment, common frame for applications, and rich server connectivity, and on Windows’ rich client model, simple programming model, strong control over look-and-feel, and rich networking. Topics explored in depth include WPF components and architecture Key WPF design decisions–and why they matter XAML markup language Controls Layouts Visuals and media, including 2D, 3D, video, and animation Data integration Actions Styles WPF Base Services




Essential C# 2.0


Book Description

A new edition of this title is available, ISBN-10: 0321533925 ISBN-13: 9780321533920 “Essential C# 2.0 pulls off a very difficult task. The early chapters are comprehensible by beginning developers, while the later chapters pull no punches and provide the experienced developer with the detailed information they need to make the most of C# 2.0. Starting with the first chapter, Mark has successfully interwoven tidbits of information useful to even the most advanced developer while keeping the book approachable.” –Chris Kinsman, chief architect, Vertafore, Microsoft Regional Director “How refreshing! This book deals with C# thoroughly, rather than skimming over the whole .NET framework. It is valuable to newcomers and professionals alike.” –Jon Skeet, C# MVP “Essential C# 2.0 is a one-stop shop for an experienced programmer looking to ramp up on one of the hottest languages around today. Mark delivers an intelligent and detailed tour of C#, providing newcomers to the language with a solid foundation of skill on which to build their next generation of applications.” –Stephen Toub, technical editor, MSDN Magazine “This book provides complete, up-to-date coverage of all the programming constructs in C#. Masterfully organized, it allows beginning programmers to get on board and leads more experienced programmers into the world of structured programming. Because of its unwavering focus on the essential programming constructs of C#–such as generics, delegates, and much more–this book is indispensable. For programmers who want to solve their day-to-day programming issues using the latest features this modern programming language has to offer, this book is indispensable.” –Narendra Poflee, IT integration specialist, Itron Inc. “Essential C# 2.0 is an ideal book for all programmers interested in C#. If you are a beginner, you will quickly learn the basics of C# programming and become familiar with the concepts. The flow of the text is easy to follow and does a great job of not repeating concepts that have already been covered. For the experienced programmer, this book has priceless nuggets embedded within its pages, making it a great read for programmers who are already familiar with C#. This will be a book that I will keep next to my computer for years to come.” –Michael Stokesbary, software engineer, Itron Inc. Essential C# 2.0 is a clear, concise guide to C#–including the features new to C# 2.0. The book clearly presents material for beginners and experts and provides contrasts and comparisons between C# and other languages. The C# language is covered comprehensively and each important construct is illustrated with succinct code examples. Complete code examples are available online. Mark Michaelis has organized the material for quick access. Graphical “mind maps” at the beginning of each chapter show what material is covered and how each topic relates to the whole. Following the C# introduction, readers will learn about C# primitive data types, value types, reference types, type conversions, and arrays Operators and control flow, loops, conditional logic, and sequential programming Methods, parameters, exception handling, and structured programming Classes, inheritance, structures, interfaces, and object-oriented programming Well-formed types, operator overloading, namespaces, and garbage collection Generics, collections, and iterators Reflection, attributes, and declarative programming Threading, synchronization, and multi-threaded patterns Interoperability and unsafe code The Common Language Infrastructure that underlies C# C# 2.0 has a multitude of new features that make the language even more powerful, productive, and efficient. These new features are thoroughly covered in this book. A separate appendix on C# 2.0 topics helps readers quickly find new features of the language. Whether you’re just starting out as a programmer, are an experienced developer looking to learn C#, or are a seasoned C# programmer interested in learning the new features of C# 2.0, Essential C# 2.0 gives you just what you need to quickly get up and running writing C# applications.




Advanced ASP.NET AJAX Server Controls For .NET Framework 3.5


Book Description

ASP.NET AJAX server controls can encapsulate even the most powerful AJAX functionality, helping you build more elegant, maintainable, and scalable applications. This is the first comprehensive, code-rich guide to custom ASP.NET AJAX server controls for experienced ASP.NET developers. Unlike other books on ASP.NET AJAX, this book focuses solely on server control development and reflects the significant improvements in ASP.NET 3.5 AJAX and the latest Visual Studio 2008 features for streamlining AJAX development Adam Calderon and Joel Rumerman first review the core Microsoft AJAX Library and JavaScript techniques needed to support a rich client-side experience. Next, they build upon these techniques showing how to create distributable AJAX-enabled controls that include rich browser-independent JavaScript client-side functionality. The authors thoroughly explain both the JavaScript and .NET aspects of control development and how these two distinct environments come together to provide a foundation for building a rich user experience using ASP.NET AJAX. Create object-oriented cross-browser JavaScript that supports .NET style classes, interfaces, inheritance, and method overloading Work with components, behaviors, and controls, and learn how they relate to DOM elements Learn Sys.Application and the part it plays in object creation, initialization, and events in the Microsoft AJAX Library Build Extender and Script controls that provide integrated script generation for their corresponding client-side counterparts Localize ASP.NET AJAX controls including client script Discover ASP.NET AJAX client and server communication architecture and the new support for Windows Communication Foundation (WCF) Understand ASP.NET AJAX Application Services Create custom Application Services Design controls for a partial postback environment Understand the AJAX Control Toolkit architecture and the many features it provides Develop highly interactive controls using the AJAX Control Toolkit Understand AJAX Control Toolkit architecture and build controls that utilize the toolkit




.NET Internationalization


Book Description

As business becomes more and more global, software developers increasingly need to make applications multi-lingual and culturally aware. The .NET Framework may well have the most comprehensive support for internationalization and globalization of any development platform to date, and .NET Internationalization teaches developers how to unlock and utilize that support. Experienced international application developer Guy Smith-Ferrier covers the internationalization of both Windows Forms and ASP.NET applications, using both Versions 1.1 and 2.0 of the .NET Framework. Smith-Ferrier not only teaches you the best ways to take advantage of the globalization and internationalization features built in to the .NET Framework and Visual Studio, he also provides original code to take globalized applications to the next level of international utility and maintainability. Key topics include • An introduction to the internationalization process and how localization and globalization are supported in Windows and the .NET Framework • The use of resource managers, cultures, resource DLLs, and localized strings, images, and files—including strongly typed resources • Detailed coverage of form localization in Windows Forms and Web Forms • Dealing with regional cultures and their casing, collation, and calendars • Managing right-to-left Middle-Eastern text and pictographic East Asian languages • How to use the book’s original resource administration utilities • How to translate resources with machine translation • How to create custom cultures and integrate them with the .NET Framework 2.0 and Visual Studio 2005 • How resource managers work and how to write custom resource managers, including a resource manager that uses a database • How to test your internationalization with FxCop using new and existing globalization rules • How to effectively include the translator in the internationalization process Whether you are a developer, architect, or manager, if you are involved in international applications with the .NET Framework, this is the one book you need to read and understand before you start development. Guy Smith-Ferrier is an author, developer, trainer, and speaker with more than 20 years of software engineering experience. He has internationalized applications in four development platforms, including the .NET Framework. A frequent conference speaker, Guy is the author of C# and .NET courseware and has written numerous articles. You can read his blog at www.guysmithferrier.com.




Smart Client Deployment with ClickOnce


Book Description

“ClickOnce demos may look simple, but those techniques only work for simple applications. Brian Noyes gives us the information we need to use ClickOnce in the real world, and he does it with a comprehensive and organized presentation. If you expect your smart client application to move very far beyond ‘Hello,World,’ you’ll want this book to help you deploy it.” —Billy Hollis, president/owner, Elysian Consulting, Microsoft Regional Director “Once again Brian has outdone himself. As a writer, I tend to be very critical of all technical publications, including my own . . . and it is such a pleasure to read anything Brian writes because he studies his topics well, resulting in an accurate, thorough, yet concise piece of work. ClickOnce being a new technology that deals with the pains we all have with application deployment, versioning, and security, it is important to have a text that will guide you through the learning process, give you sound advice for adopting the technology, and explain why you should even care. Brian gives his readers all of that.” —Michele Leroux Bustamante, chief architect, IDesign, Microsoft Regional Director “ClickOnce is the key to Windows and smart client deployment. Brian’s book is the key to successfully using ClickOnce. This book walks you through using ClickOnce, from the basics to advanced scenarios. It is an excellent resource.” —Rockford Lhotka, principal technology evangelist, Magenic Technologies, Microsoft Regional Director “Brian covers ClickOnce with a view to real-world deployment issues, which isobviously based on real-world experience. In and of itself, that is enough forme to buy the book. However, it is an even better investment by virtue of thefact that ClickOnce is a core part of the .NET Framework for Windows Forms2.0 now, and Windows Presentation Foundation in the future.” —Michael Weinhardt, SDK programmer/writer, Application Model,Windows Presentation Foundation, Microsoft “This book covers the most important ingredient needed for the success of asmart client application—deployment. The author’s unassuming writing style,combined with his in-depth coverage of the topic, makes this book an invaluableresource for all serious smart client developers.” —Vishwas Lele, principal architect, Applied Information Sciences,Microsoft Regional Director Microsoft’s new ClickOnce auto-updating technology can radically simplify application deployment. Using it, .NET developers and architects can deliver a powerful, smart client experience along with the easy maintenance of today’s best Web applications. Microsoft Regional Director and MVP Brian Noyes has unsurpassed experience previewing and teaching ClickOnce to professional developers. In Smart Client Deployment with ClickOnce, Noyes demonstrates exactly how to make the most of ClickOnce in your real-world enterprise applications. Noyes covers ClickOnce design, architecture, security, installation, updates, and Bootstrapping—each with a full case study and detailed sample code. This focused, concise book explains how to Design client applications for efficient deployment and auto-updating Perform application deployments and automatic updates quickly and easily Deliver “on-demand” client application updates Deploy prerequisites with the Visual Studio 2005 Bootstrapper Take full control of ClickOnce’s powerful publishing, update, and security options Leverage the Visual Studio 2005 and .NET 2.0 platform features that make ClickOnce possible Understand how your application will behave in the ClickOnce runtime environment The book’s sample code is available for download at www.softinsight.com/clickoncebook.