Writing High-Performance .NET Code, 2nd Edition

Ben Watson
2
Free sample

 <b>Take performance to the next level!</b>


<p>This book does not just teach you how the CLR works---it teaches you exactly what you need to do now to obtain the best performance today. It will expertly guide you through the nuts and bolts of extreme performance optimization in .NET, complete with in-depth examinations of CLR functionality, free tool recommendations and tutorials, useful anecdotes, and step-by-step guides to measure and improve performance.


</p><p>This second edition incorporates the advances and improvements in .NET over the last few years, as well as greatly expanded coverage of tools, more topics, more tutorials, more tips, and improvements throughout the entire book.


</p><p><b>New in the 2nd Edition:</b>

</p><ul>

<li> 50% increase in content!

</li><li> New examples, code samples, and diagrams throughout entire book

</li><li> More ways to analyze the heap and find memory problems

</li><li> More tool coverage, including expanded usage of Visual Studio

</li><li> More benchmarking

</li><li> New GC configuration options

</li><li> Code warmup techniques

</li><li> New .NET features such as ref-returns, value tuples, SIMD, and more

</li><li> More detailed analysis of LINQ

</li><li> Tips for high-level feature areas such as ASP.NET, ADO.NET, and WPF

</li></ul>


<p>Also find expanded coverage and discover new tips and tricks for:

</p><ul>

<li> Profiling with multiple tools to quickly find problem areas

</li><li> Detailed description of the garbage collector, how to optimize your code for it, and how to diagnose difficult memory-related issues

</li><li> How to analyze JIT and diagnose warmup problems

</li><li> Effective use of the Task Parallel Library to maximize throughput

</li><li> Which .NET features and APIs to use and which to avoid

</li><li> Instrument your program with performance counters and ETW events

</li><li> Use the latest and greatest .NET features

</li><li> Build a performance-minded team

</li><li>...and so much more

</li></ul>

Read more
Collapse

About the author

Ben Watson has been a software engineer at Microsoft since 2008. On the Bing platform team, he has built one of the world's leading .NET-based, high-performance server applications, handling high-volume, low-latency requests across thousands of machines for millions of customers. In his spare time, he enjoys books, music, the outdoors, and spending time with his wife Leticia and children Emma and Matthew. They live near Seattle, Washington, USA.

Read more
Collapse
5.0
2 total
Loading...

Additional Information

Publisher
Ben Watson
Read more
Collapse
Published on
Apr 16, 2018
Read more
Collapse
Pages
525
Read more
Collapse
ISBN
9780990583493
Read more
Collapse
Read more
Collapse
Read more
Collapse
Language
English
Read more
Collapse
Genres
Computers / Programming / Microsoft
Computers / Programming Languages / C#
Read more
Collapse
Content Protection
This content is DRM free.
Read more
Collapse
Read Aloud
Available on Android devices
Read more
Collapse
Eligible for Family Library

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.
Real Solutions for C# 4.0 Programmers

Need fast, robust, efficient code solutions for Microsoft C# 4.0? This book delivers exactly what you’re looking for. You’ll find more than 200 solutions, best-practice techniques, and tested code samples for everything from classes to exceptions, networking to XML, LINQ to Silverlight. Completely up-to-date, this book fully reflects major language enhancements introduced with the new C# 4.0 and .NET 4.0. When time is of the essence, turn here first: Get answers you can trust and code you can use, right now!

Beginning with the language essentials and moving on to solving common problems using the .NET Framework, C# 4.0 How-To addresses a wide range of general programming problems and algorithms. Along the way is clear, concise coverage of a broad spectrum of C# techniques that will help developers of all levels become more proficient with C# and the most popular .NET tools.

Fast, Reliable, and Easy to Use!

Write more elegant, efficient, and reusable code Take advantage of real-world tips and best-practices advice Create more effective classes, interfaces, and types Master powerful data handling techniques using collections, serialization, databases, and XML Implement more effective user interfaces with both WPF and WinForms Construct Web-based and media-rich applications with ASP.NET and Silverlight Make the most of delegates, events, and anonymous methods Leverage advanced C# features ranging from reflection to asynchronous programming Harness the power of regular expressions Interact effectively with Windows and underlying hardware Master the best reusable patterns for designing complex programs
Build fast and efficient Android apps that run as reliably as clockwork in a multi-device worldAbout This BookWide coverage of various topics that help in developing optimal applicationsExplore the concepts of Advanced Native Coding in depthA must-have for professional-standard Android developers for whom performance failures and the sloppy use of resources are simply unacceptableWho This Book Is For

This book is aimed at developers with an advanced knowledge of Android and who want to test their skills and learn new techniques to increase the performance of their applications. We assume they are comfortable working with the entire Android SDK, and have been doing it for a few years. They need to be familiar with frameworks such as NDK to use native code, which is crucial for app performance

What You Will LearnCreate Android applications that squeeze the most from the limited resource capacity of devicesSwap code that isn't performingEfficient memory management by identifying problems such as leaksReap the benefits of multithreaded and asynchronous programmingMaximize the security and encryption mechanisms natively provided by AndroidPerform efficient network operations and techniques to retrieve data from serversMaster the NDK to write native code that can perform faster operationsIn Detail

Performant applications are one of the key drivers of success in the mobile world. Users may abandon an app if it runs slowly. Learning how to build applications that balance speed and performance with functionality and UX can be a challenge; however, it's now more important than ever to get that balance right.

Android High Performance will start you thinking about how to wring the most from any hardware your app is installed on, so you can increase your reach and engagement. The book begins by providing an introduction to state–of-the-art Android techniques and the importance of performance in an Android application. Then, we will explain the Android SDK tools regularly used to debug and profile Android applications. We will also learn about some advanced topics such as building layouts, multithreading, networking, and security. Battery life is one of the biggest bottlenecks in applications; and this book will show typical examples of code that exhausts battery life, how to prevent this, and how to measure battery consumption from an application in every kind of situation to ensure your apps don't drain more than they should.

This book explains techniques for building optimized and efficient systems that do not drain the battery, cause memory leaks, or slow down with time.

Style and approach

The book follows a tutorial-based approach to take the reader from the basic fundamentals of debugging to advanced performance-improvement concepts.

©2018 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.