Debugging Microsoft .NET 2.0 Applications

Debugging Microsoft .NET 2.0 Applications PDF

Author: John Robbins

Publisher:

Published: 2007

Total Pages: 464

ISBN-13: 9788178531120

DOWNLOAD EBOOK →

Get Hands-On Instruction For Using The Tools In Microsoft Visual Studio® 2005 To Debug, Tune, And Test Applications. This Guide Features Practical Advice And Code Samples For Developers At All Levels From A Leading Authority On Improving Code. Traditiona

Debugging Applications for Microsoft .NET and Microsoft Windows

Debugging Applications for Microsoft .NET and Microsoft Windows PDF

Author: John Robbins

Publisher:

Published: 2003

Total Pages: 860

ISBN-13:

DOWNLOAD EBOOK →

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].

Comprehensive VB .NET Debugging

Comprehensive VB .NET Debugging PDF

Author: Mark Pearce

Publisher: Apress

Published: 2008-01-01

Total Pages: 514

ISBN-13: 1430207787

DOWNLOAD EBOOK →

Pearce's book is specifically about debugging in the programming language VB.NET for every application type, from Windows Forms to ASP.NET to XML Web services.

Professional Visual Studio Extensibility

Professional Visual Studio Extensibility PDF

Author: Keyvan Nayyeri

Publisher: John Wiley & Sons

Published: 2008-03-24

Total Pages: 554

ISBN-13: 0470230843

DOWNLOAD EBOOK →

Visual Studio is a development IDE created by Microsoft to enable easier development for Microsoft programming languages as well as development technologies. It has been the most popular IDE for working with Microsoft development products for the past 10 years. Extensibility is a key feature of Visual Studio. There have not been many books written on this aspect of Visual Studio. Visual Studio Extensibility (VSX) can be considered a hard topic to learn for many developers in comparison with most .NET related topics. Also, its APIs are very complex and not very well written. Some may refer to these APIs as “dirty” because they do not have good structure, naming convention, or consistency. Visual Studio is now 10 years old. It was created during the COM days for COM programming but later migrated to .NET. However, Visual Studio still relies heavily on COM programming. It was revamped when moving to the .NET platform but still contains its COM nature; this fact is what makes it harder for .NET developers to work with VSX. Because it is an older product built on two technologies, it has produced inconsistency in code. Although there are problems with the current version of VSX, the future looks bright for it. The many different teams working on the software have been moved into one umbrella group known as the Visual Studio Ecosystem team. Throughout the past 10 years Visual Studio has continued to grow and new extensibility features have been added. Learning all of the options with their different purposes and implementations is not easy. Many extensibility features are broad topics such as add-ins, macros, and the new domain-specific language tools in Visual Studio. Learning these topics can be difficult because they are not closely related to general .NET programming topics. This book is for .NET developers who are interested in extending Visual Studio as their development tool. In order to understand the book you must know the following material well: Object-oriented programming (OOP), the .NET Framework and .NET programming, C# or Visual Basic languages, some familiarity with C++, some familiarity with XML and its related topics, and Visual Studio structure and usage. A familiarity with COM programming and different .NET technologies is helpful. The aims of this book are to: Provide an overview of all aspects of VSX Enable readers to know where/when to use extensibility Familiarize readers with VS Extensibility in detail Show readers the first steps and let them learn through their own experiences Use examples, sample code, and case studies to demonstrate things in such a way that helps readers understand the concepts Avoid bothering readers with long discussions and useless code samples In order to use this book, and get the most out of it, there are some technical requirements. You must have the following two packages installed on your machine to be able to read/understand the chapters and test code samples: Visual Studio 2008 Team System Edition (or other commercial editions) Visual Studio 2008 SDK 1.0 (or its newer versions) You will need to buy Visual Studio 2008 to register for an evaluation version. The Free Express editions of Visual Studio do not support the extensibility options. The Visual Studio SDK is needed in order to read some of the chapters in the book and can be downloaded as a free package. The operating system doesn’t matter for the content of the book, but all code was written with Visual Studio 2008 Team System Edition in Windows Vista x86. Chapters 1, 2, and 3 will give you an introduction to the basic concepts you need to understand before you can move on to the rest of the book. Chapter 4 discusses the automation model, which is an important prerequisite for many of the chapters in the book that focus on add-ins, macros, and VSPackages. Chapters 5-14 will utilize add-ins in a case study to learn about the main responsibilities of the automation model and some of the more common techniques used in VSX development. Each of the following chapters is dedicated to a specific extensibility option; they are independent of one another and you can read them in any order. It is important to read chapters 4-14 before you begin reading about the specific extensibility options. Chapter 5 contains a walk-through of the Add-in Wizard and describes its steps. Chapter 6 will show you the anatomy of add-ins and explain how to create add-ins and how they work. Chapter 7 discusses how to manipulate solutions, projects, and project items via your code to build add-ins. Chapter 8 shows you how to deal with documents and code editors in your add-ins. Chapter 9 explains how to work with programming codes and how to manipulate their elements. Chapter 10 describes some ways to work with user interface elements, Windows Forms, and controls via code in your add-ins. Chapter 11 discusses the Tools Options page and uses add-ins as the case study to show you how to create your own Tools Options pages. Chapter 12 teaches you how to debug and test your add-ins. Chapter 13 shows you how to deploy your add-ins. Chapter 14 completes the discussion about add-ins by talk about resources and localization of add-ins. Chapter 15 discusses a new feature in VS 2008: the Visual Studio Shell. Chapter 16 talks about domain-specific language tools; you will learn how to build them and see a quick overview of DSL tools. Chapter 17 discusses debugging and how to extend debugging features. Chapter 18 talks about VSPackages as a way to extend VS functionality and add something new to its existing packages. Chapter 19 teaches you what a code snippet is and how to write and manage code snippets in Visual Studio to make your coding process easier. Chapter 20 talks about VS project templates and starter kits and how to write your own project templates. Chapter 21 focuses on MSBuild and writing custom builds for Visual Studio and .NET applications. Chapter 22 discusses Visual Studio macros in detail and explains how to build a Visual Studio macro. Keyvan Nayyeri is a software architect and developer. He has a Bachelor of Science degree in applied mathematics. His main focus is on Microsoft development technologies and their related markup languages. Nayyeri is also a team leader and developer for several .NET open-source projects; this includes writing code for special purposes. He holds an MVP award for Comunnity Server. He recently co-authored Wrox Professional Community Server (2007).

Practical Debugging for . NET Developers

Practical Debugging for . NET Developers PDF

Author: Michael Shpilt

Publisher:

Published: 2020-07-28

Total Pages: 276

ISBN-13:

DOWNLOAD EBOOK →

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

Solid Code

Solid Code PDF

Author: Donis Marshall

Publisher: Microsoft Press

Published: 2009-02-18

Total Pages: 453

ISBN-13: 0735638519

DOWNLOAD EBOOK →

Get best-in-class engineering practices to help you write more-robust, bug-free code. Two Microsoft .NET development experts share real-world examples and proven methods for optimizing the software development life cycle—from avoiding costly programming pitfalls to making your development team more efficient. Managed code developers at all levels will find design, prototyping, implementation, debugging, and testing tips to boost the quality of their code—today. Optimize each stage of the development process—from design to testing—and produce higher-quality applications. Use metaprogramming to reduce code complexity, while increasing flexibility and maintainability Treat performance as a feature—and manage it throughout the development life cycle Apply best practices for application scalability Employ preventative security measures to ward off malicious attacks Practice defensive programming to catch bugs before run time Incorporate automated builds, code analysis, and testing into the daily engineering process Implement better source-control management and check-in procedures Establish a quality-driven, milestone-based project rhythm—and improve your results!

Debugging Applications

Debugging Applications PDF

Author: John Robbins

Publisher:

Published: 2000

Total Pages: 524

ISBN-13:

DOWNLOAD EBOOK →

"John Robbins has done for Windows debugging what Charles Petzold did for Windows programming." -Jeffrey Richter, author, Programming Applications for Microsoft Windows How can you prevent bugs from creeping into your programs-even before you begin writing code? What practices separate the debugging gods from the mere mortals? DEBUGGING APPLICATIONS describes a powerful, Windows-focused methodology for debugging on the offensive-starting at the requirements phase-so you catch and fix bugs at the source, before customers ever see your software. Expert bugslayer John Robbins reveals lethally effective real-world techniques for resolving just a bout any debugging problem-from memory bugs and disappearing threads to the hairiest multithreaded deadlock. * Learn the coding techniques that help you introduce fewer errors into your program and spend less time debugging * Use version control systems, bug tracking software, and other infrastructure tools to maximize product quality * Exploit the advanced debugging capabilities in the Microsoft Visual C++ and Visual Basic development systems so you debug faster and more effectively * Cushion crashes with structured exception handling and C++ exception handling * Decipher the x86 assembly language you see in the Disassembly window * Master the tools and tactics for debugging multithreaded deadlocks, cross-machine processes, multilanguage problems, Windows 2000 services and dynamic-link libraries (DLLs) that load into services, and other challenging situations Along with John's expert guidance, you also get eight of his battle-tested, professional-level utilities for solving many of the nastiest bugs you'll encounter. In all, the CD-ROM packs over 2.5 megabytes of source code to study and reuse. With DEBUGGING APPLICATIONS, you'll learn the proven practices the industry's best developers use to eradicate bugs at the source-and deliver better software faster!

Microsoft SQL Server 2008 Internals

Microsoft SQL Server 2008 Internals PDF

Author: Kalen Delaney

Publisher:

Published: 2009

Total Pages: 788

ISBN-13:

DOWNLOAD EBOOK →

Delve inside the core SQL Server engine--and put that knowledge to work--with guidance from a team of well-known internals experts. Whether database developer, architect, or administrator, you'll gain the deep knowledge you need to exploit key architectural changes--and capture the product's full potential. Discover how SQL Server works behind the scenes, including: What happens internally when SQL Server builds, expands, shrinks, and moves databases How to use event tracking--from triggers to the Extended Events Engine Why the right indexes can drastically reduce your query execution time How to transcend normal row-size limits with new storage capabilities How the Query Optimizer operates Multiple techniques for troubleshooting problematic query plans When to force SQL Server to reuse a cached query plan--or create a new one What SQL Server checks internally when running DBCC How to choose among five isolation levels and two concurrency models when working with multiple concurrent users

Smart Business Intelligence Solutions with Microsoft SQL Server 2008

Smart Business Intelligence Solutions with Microsoft SQL Server 2008 PDF

Author: Lynn Langit

Publisher: Microsoft Press

Published: 2009

Total Pages: 806

ISBN-13:

DOWNLOAD EBOOK →

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