Windows Runtime Via C#


Book Description

Delve inside the Windows Runtime - and learn best ways to design and build Windows Store apps. Guided by Jeffrey Richter, a recognized expert in Windows and .NET programming, along with principal Windows consultant Maarten van de Bospoort, you'll master essential concepts. And you'll gain practical insights and tips for how to architect, design, optimize, and debug your apps. With this book, you will: Learn how to consume Windows Runtime APIs from C# Understand the principles of architecting Windows Store apps See how to build, deploy, and secure app packages Understand how apps are activated and the process model controlling their execution Study the rich features available when working with files and folders Explore how to transfer, compress, and encrypt data via streams Design apps that give the illusion of running using live tiles, background transfers, and background tasks Share data between apps using the clipboard and the Share charm Get advice for monetizing your apps through the Windows Store About This Book Requires working knowledge of Microsoft .NET Framework, C#, and the Visual Studio IDE Targeted to programmers building Windows Store apps Some chapters also useful to those building desktop apps Technologies Covered Windows 8.1 Microsoft Visual Studio 2013




Windows® via C/C++


Book Description

Master the intricacies of application development with unmanaged C++ code—straight from the experts. Jeffrey Richter’s classic book is now fully revised for Windows XP, Windows Vista, and Windows Server 2008. You get in-depth, comprehensive guidance, advanced techniques, and extensive code samples to help you program Windows–based applications. Discover how to: Architect and implement your applications for both 32-bit and 64-bit Windows Create and manipulate processes and jobs Schedule, manage, synchronize and destroy threads Perform asynchronous and synchronous device I/O operations with the I/O completion port Allocate memory using various techniques including virtual memory, memory-mapped files, and heaps Manipulate the default committed physical storage of thread stacks Build DLLs for delay-loading, API hooking, and process injection Using structured exception handling, Windows Error Recovery, and Application Restart services




CLR Via C#


Book Description

Dig deep and master the intricacies of the common language runtime (CLR) and the .NET Framework. Written by a highly regarded programming expert and consultant to the Microsoft .NET team, this guide is ideal for developers building any kind of application--including Microsoft ASP.NET, Windows Forms, Microsoft SQL Server, Web services, and console applications. You'll get hands-on instruction and extensive code C# code samples to help you tackle the tough topics and develop high-performance applications. Discover how to: Build, deploy, administer, and version applications, components, and shared assemblies Design types using constants, fields, constructors, methods, properties, and events Work effectively with the CLR's special types including enumerators, arrays, and strings Declare, create, and use delegates to expose callback functions Define and employ re-usable algorithms with interfaces and generics Define, use, and detect custom attributes Use exception handling to build robust, reliable, and security-enhanced components Manage memory automatically with the garbage collector and work with native resources Apply CLR Hosting, AppDomains, assembly loading, and reflection to build dynamically extensible applications PLUS--Get code samples on the Web




Windows Runtime via C#


Book Description

Delve inside the Windows Runtime - and learn best ways to design and build Windows Store apps. Guided by Jeffrey Richter, a recognized expert in Windows and .NET programming, along with principal Windows consultant Maarten van de Bospoort, you'll master essential concepts. And you'll gain practical insights and tips for how to architect, design, optimize, and debug your apps. With this book, you will: Learn how to consume Windows Runtime APIs from C# Understand the principles of architecting Windows Store apps See how to build, deploy, and secure app packages Understand how apps are activated and the process model controlling their execution Study the rich features available when working with files and folders Explore how to transfer, compress, and encrypt data via streams Design apps that give the illusion of running using live tiles, background transfers, and background tasks Share data between apps using the clipboard and the Share charm Get advice for monetizing your apps through the Windows Store About This Book Requires working knowledge of Microsoft .NET Framework, C#, and the Visual Studio IDE Targeted to programmers building Windows Store apps Some chapters also useful to those building desktop apps Technologies Covered Windows 8.1 Microsoft Visual Studio 2013




CLR via C#


Book Description

Dig deep and master the intricacies of the common language runtime, C#, and .NET development. Led by programming expert Jeffrey Richter, a longtime consultant to the Microsoft .NET team - you’ll gain pragmatic insights for building robust, reliable, and responsive apps and components. Fully updated for .NET Framework 4.5 and Visual Studio 2012 Delivers a thorough grounding in the .NET Framework architecture, runtime environment, and other key topics, including asynchronous programming and the new Windows Runtime Provides extensive code samples in Visual C# 2012 Features authoritative, pragmatic guidance on difficult development concepts such as generics and threading




Programming the Windows Runtime by Example


Book Description

Master Windows 8.1/Windows Runtime Programming Through 80 Expert Projects This is the most complete, hands-on, solutions-focused guide to programming modern Windows applications with the Windows Runtime. Leading Windows development consultants Jeremy Likness and John Garland present easy-to-adapt C# and XAML example code for more than 80 projects. Their real-world application examples help you apply Windows 8.1’s best improvements, including large tiles, the new search control, flyouts, command bars, native WinRT networking, and new deployment and sideloading options. Drawing on their pioneering experience, they illuminate key areas of the Windows Runtime API, offering uniquely detailed coverage of encryption, cloud connectivity, devices, printers, and media integration. You’ll find cutting-edge tips and tricks available in no other book. This is an indispensable resource for all intermediate-to-advanced Windows developers, and for any architect building desktop, tablet, or mobile solutions with Microsoft technologies. Its focus on both C# and XAML will make it valuable to millions of Windows developers already familiar with Silverlight, WPF, and/or .NET. Coverage includes • Creating robust app interfaces with the newest XAML controls, including flyouts and command bars • Saving data in a persistent “roaming zone” for syncing across Windows 8.1 devices • Using Visual State Manager (VSM) to build apps that adapt to various device resolutions and orientations • Integrating virtually any form of data into your apps • Connecting with web services, RSS, Atom feeds, and social networks • Securing apps via authentication, encrypting, signing, and single sign-on with Microsoft Account, Facebook, Google, and more • Leveraging Windows 8.1 media enhancements that improve battery life and app performance • Networking more effectively with Windows 8.1’s revamped HTTP implementation and new location APIs • Using Tiles and Toasts to keep apps alive and connected, even when they aren’t running • Enabling users to send content between devices via NFC tap and send • Ensuring accessibility and globalizing your apps • Efficiently debugging, optimizing, packaging, and deploying your apps • Building sideloadable apps that don’t have to be published in Windows Store “This book doesn’t just focus on singular concepts, it also provides end-to-end perspective on building an app in WinRT. It is one of those essential tools for Windows developers that will help you complete your software goals sooner than without it!” —Tim Heuer, Principal Program Manager Lead, XAML Platform, Microsoft Corporation




Windows Phone 8 Development Internals


Book Description

Build and optimize Windows Phone 8 apps for performance and security Drill into Windows Phone 8 design and architecture, and learn best practices for building phone apps for consumers and the enterprise. Written by two senior members of the core Windows Phone Developer Platform team, this hands-on book gets you up to speed on the Windows 8 core features and application model, and shows you how to build apps with managed code in C# and native code in C++. You’ll also learn how to incorporate Windows Phone 8 features such as speech, the Wallet, and in-app purchase. Discover how to: Create UIs with unique layouts, controls, and gesture support Manage databinding with the Model View ViewModel pattern Build apps that target Windows Phone 8 and Windows Phone 7 Use built-in sensors, including the accelerometer and camera Consume web services and connect to social media apps Share code across Windows Phone 8 and Windows 8 apps Build and deploy company hub apps for the enterprise Start developing games using Direct3D Test your app and submit it to the Windows Phone Store




Programming Windows Store Apps with C#


Book Description

Annotation If you want to build Windows 8 applications for desktops and the forthcoming Microsoft Surface tablet PC, this book will show you how to work with the Metro design language and the Windows RT operating system. You'll learn this new landscape step-by-step, including the minute system details and design specifications necessary to innovate and build a variety of Windows 8 apps. It's ideal for .NET developers who use C♯. Throughout the book, you'll follow one app from idea to the Windows Store to understand what's involved in every step of the process. You'll learn how to create in-app purchases, link with social networks, and incorporate the charm bar, which opens the Windows 8 start screen. Get a jump on developers looking to cash in on the demand for Windows 8 apps. Order your copy of Programming Metro-Style Applications with C♯ today.




Troubleshooting with the Windows Sysinternals Tools


Book Description

Optimize Windows system reliability and performance with Sysinternals IT pros and power users consider the free Windows Sysinternals tools indispensable for diagnosing, troubleshooting, and deeply understanding the Windows platform. In this extensively updated guide, Sysinternals creator Mark Russinovich and Windows expert Aaron Margosis help you use these powerful tools to optimize any Windows system’s reliability, efficiency, performance, and security. The authors first explain Sysinternals’ capabilities and help you get started fast. Next, they offer in-depth coverage of each major tool, from Process Explorer and Process Monitor to Sysinternals’ security and file utilities. Then, building on this knowledge, they show the tools being used to solve real-world cases involving error messages, hangs, sluggishness, malware infections, and much more. Windows Sysinternals creator Mark Russinovich and Aaron Margosis show you how to: Use Process Explorer to display detailed process and system information Use Process Monitor to capture low-level system events, and quickly filter the output to narrow down root causes List, categorize, and manage software that starts when you start or sign in to your computer, or when you run Microsoft Office or Internet Explorer Verify digital signatures of files, of running programs, and of the modules loaded in those programs Use Autoruns, Process Explorer, Sigcheck, and Process Monitor features that can identify and clean malware infestations Inspect permissions on files, keys, services, shares, and other objects Use Sysmon to monitor security-relevant events across your network Generate memory dumps when a process meets specified criteria Execute processes remotely, and close files that were opened remotely Manage Active Directory objects and trace LDAP API calls Capture detailed data about processors, memory, and clocks Troubleshoot unbootable devices, file-in-use errors, unexplained communication, and many other problems Understand Windows core concepts that aren’t well-documented elsewhere




Essential Windows Workflow Foundation


Book Description

In Essential Windows Workflow Foundation, two WF lead architects–Dharma Shukla and Bob Schmidt–offer an under-the-hood look at the technology, explaining the why and not just the how of WF’s key concepts and architecture. Serious WF developers seeking details about how to effectively utilize and extend the framework by writing activities will find cogent explanations and answers here. With simple and illustrative examples, the authors demonstrate exactly how to leverage WF’s extensible programming model to craft domain-specific programs. Drawing on their unique vantage point in designing and developing WF, Shukla and Schmidt deliver authoritative coverage of The core concepts and ideas that form the heart of WF’s programming model The execution model for activities, with details of the activity automaton, bookmarking, scheduling, and the threading model of the WF runtime Advanced execution concepts, including activity execution contexts, transactions, persistence points, passivation, fault handling, cancellation, compensation, and synchronization Hosting the WF runtime in applications The activity component model, with details of validation, compilation, serialization, and visualization Databinding, XAML, dependency properties, and WF program metadata Declarative conditions and rules, activity designers, and designer hosting Custom control flow patterns ranging from simple sequencing and iteration to more complex graphs and state machines Dynamic editing of running WF program instances Essential Windows Workflow Foundation is the definitive resource for developers seeking an in-depth understanding of this novel technology.