Debugging Strategies for .NET Developers teaches developers how to think about debugging in Microsoft .NET rather than with the specific tools. Author Darin Dillon describes debugging concepts, such as assertions and logging, and immediately follows each discussion with an example from his experiences of when that technique was used to solve a real-world bug. While other debugging books focus on obscure techniques for advanced users, this book is a highly readable exploration that conveys the basic thought process of debugging, as well as the specific techniques and when to apply those techniques.
The ability to solve difficult problems is what makes a good engineer great. This book teaches techniques and tools for developers to tackle even the most persistent bugs. You'll find that tough issues can be made simple with the right knowledge, tools, and practices. Practical Debugging for .NET Developers will transform you into the guy or gal who everyone turns to for help. Issues covered include .NET Core, C#, Memory Leaks, Performance Problems, ASP.NET, Performance Counters, ETW Events, Production Debugging, Memory Pressure, Visual Studio, Hangs, Profiling, Deadlocks, Crashes, Memory Dumps, and Azure. * Discover the best tools in the industry to diagnose and fix problems * Learn advanced debugging techniques with Visual Studio * Fix memory leaks and memory pressure issues * Detect, profile, and fix performance problems * Find the root cause of crashes and hangs * Debug production code and third-party code * Analyze ASP.NET applications for slow performance, failed requests, and hangs * Use dump files, Performance Counters, and ETW events to investigate what happens under the hood * Troubleshoot cloud environments, including Azure VMs and App Services * Code samples in C# * Covering .NET Core, .NET Framework, Windows, and Linux
A guide to tracking down .NET application bugs. It is the only book to focus entirely on using powerful native debugging tools, including WinDBG, NTSD, and CDB, to debug .NET applications. Hewardt first introduces the key concepts needed to successfully use .NET's native debuggers. Next, he turns to sophisticated debugging techniques, using real-world examples that demonstrate many common C♯ programming errors.
Get the essential, straightforward information you need—and master the core topics for debugging applications with Microsoft Visual Studio 2005. Debugging expert John Robbins offers practical answers to real-world development questions, including code samples in Microsoft Visual C# and Visual Basic. You’ll learn the debugging techniques and tools to debug more efficiently and help ensure top-quality code. Discover how to: Arm yourself with tools and techniques that contribute to long-term success in the debugging battlefield Implement John’s practical debugging process to sniff out bugs—including “freak” bugs Catch bugs during development with assertions, tracers, and comments Set advanced breakpoints in your debugger to specify exact trigger conditions Use the Watch window, Data Tips, and Visualizers to see key data quickly Employ other debugging tools, such as WinDBG, SOS, and ADPlus Write macros and add-ins to extend the Visual Studio integrated development environment Debug with Code Analysis—and learn to write your own rules PLUS—Get code samples on the Web
You get huge development advantages with Microsoft Visual Studio® .NET 2003—but you need a new bag of debugging tricks to take full advantage of them in today’s .NET and Win32® development worlds. Learn lethally effective, real-world application debugging techniques for .NET Framework 1.1 and Windows with this fully updated programming guide. Debugging expert John Robbins expands the first edition of his classic debugging book with all-new scenarios and bug-killing tools, tips, and techniques. You’ll see every .NET and Windows debugging scenario here—from XML Web services and Microsoft ASP.NET to Windows services and exceptions. Along with John’s expert guidance, you get more than 6 MB of his battle-tested source code—for the tools and tactics you need to ship better software faster! Topics covered include: Where bugs come from and how to think about solving them Debugging during coding Operating system debugging support and how Win32 debuggers work Advanced debugger usage and .NET debugging with Visual Studio .NET Advanced native code techniques with Visual Studio .NET and WinDBG Extending the Visual Studio .NET integrated development environment Managed exception monitoring Flow tracing and performance Finding source and line information with just a crash address Crash handlers Debugging Windows services and DLLs that load into services Multithreaded deadlocks Automated testing The Debug C run-time library A high-performance tracing tool for server applications Smoothing the working set Appendixes: Reading Dr. Watson log files, plus resources for .NET and Windows developers CD-ROM features: 6+ MB of professional-level source code samples written in Microsoft Visual C++®, Visual C#®, and Visual Basic® .NET Debugging Tools for Windows Microsoft .NET Framework 1.1 SDK Windows Application Compatibility Toolkit (ACT) A Note Regarding the CD or DVD The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via O'Reilly Media's Digital Distribution services. To download this content, please visit O'Reilly's web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to [email protected].
The First In-Depth, Real-World, Insider’s Guide to Powerful Windows Debugging For Windows developers, few tasks are more challenging than debugging–-or more crucial. Reliable and realistic information about Windows debugging has always been scarce. Now, with over 15 years of experience two of Microsoft’s system-level developers present a thorough and practical guide to Windows debugging ever written. Mario Hewardt and Daniel Pravat cover debugging throughout the entire application lifecycle and show how to make the most of the tools currently available–-including Microsoft’s powerful native debuggers and third-party solutions. To help you find real solutions fast, this book is organized around real-world debugging scenarios. Hewardt and Pravat use detailed code examples to illuminate the complex debugging challenges professional developers actually face. From core Windows operating system concepts to security, Windows® VistaTM and 64-bit debugging, they address emerging topics head-on–and nothing is ever oversimplified or glossed over!
In just 24 sessions of one hour or less, you will be up and running with AngularJS in your Microsoft .NET environment. Using a straightforward, step-by-step approach, each lesson builds on your .NET skills and knowledge, helping you quickly learn the essentials of AngularJS, and use it to streamline any web development project. Step-by-step instructions carefully walk you through the most common questions, issues, and tasks. Q&A sections, quizzes, and exercises help you build and test your knowledge. By The Way notes present interesting pieces of information. Try it Yourself sidebars offer advice or teach an easier way to do something. Watch Out! cautions advise you about potential problems and help you steer clear of disaster. Dennis Sheppard is a Front-End Architect at NextTier Education in Chicago, IL. He has delivered enterprise solutions for the private equity, insurance, healthcare, education, and distribution industries. Christopher Miller is an Architect at West Monroe Partners. He has built solutions for the higher education, private equity, and renewable energy industries. AJ Liptak, is a Senior Consultant at West Monroe Partners specializing in modern web application development. He has delivered transformative solutions for the telecom, healthcare, finance, and distribution industries. Learn how to... Build AngularJS web apps from scratch, or integrate with existing .NET code Organize, reuse, and test JavaScript web application code far more effectively Discover key JavaScript design patterns that support AngularJS (and their similarities to C#) Use AngularJS modules, controllers, views, data-binding, and event handling Implement AngularJS services efficiently Work with directives, custom directives, and dependency injection Set up AngularJS routing Apply best practices for organizing AngularJS applications Master sophisticated AngularJS techniques, including filters, advanced patterns, and communication between controllers Deploy AngularJS code to the Microsoft Azure cloud Unit-test and debug your single page applications Integrate AngularJS with .NET Web Forms and .NET MVC Build REST APIs in .NET and consume their services in AngularJS Combine AngularJS with .NET SignalR to build real-time web apps Extend AngularJS development with bower, gulp, and webstorm Preview the future of AngularJS: Version 2.0 and beyond
Use Windows debuggers throughout the development cycle—and build better software Rethink your use of Windows debugging and tracing tools—and learn how to make them a key part of test-driven software development. Led by a member of the Windows Fundamentals Team at Microsoft, you’ll apply expert debugging and tracing techniques—and sharpen your C++ and C# code analysis skills—through practical examples and common scenarios. Learn why experienced developers use debuggers in every step of the development process, and not just when bugs appear. Discover how to: Go behind the scenes to examine how powerful Windows debuggers work Catch bugs early in the development cycle with static and runtime analysis tools Gain practical strategies to tackle the most common code defects Apply expert tricks to handle user-mode and kernel-mode debugging tasks Implement postmortem techniques such as JIT and dump debugging Debug the concurrency and security aspects of your software Use debuggers to analyze interactions between your code and the operating system Analyze software behavior with Xperf and the Event Tracing for Windows (ETW) framework
* This title built from the Expert’s Voice principles of Apress and will have a single author voice and speak directly to the reader from a known expert, rather than the cacophony of the Wiley title. * This title will be positioned within a larger ASP.NET book tree and publishing program from Apress – the reader will be able to progress through this program from Apress, and understand which books are suitable for them at any point in their career. * Apress targets the skill sets that programmers specifically need in their ASP.NET programming career – offering the right skills that the reader requires in their work and growth towards becoming an expert. * 2 months ASPToday.com subscription FREE for customers. ASP.NET v2 PREVIEW FREE with this book