Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

25 Secrets for Faster ASP.NET Applications

by Jeffrey Richter, John Robbins, David Conlin, Shmuel Englard, Ryan Riley, Chris Allen, Robert Haken, Mitchel Sellers, Niall Merrigan, Chris Hurley, Raghavendra, Matt Lee, Jp Toto, Michael Williamson, Tiago Pascoal

25 Secrets for Faster ASP.NET Applications

Subscribe to new books via telegram channel

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

Read the tips and tricks recommended by some of the smartest minds in the ASP.NET community.

25 tips from the ASP.NET community for boosting performance in your web applications; Learn the secrets of your fellow developers and read advice from MVPs and other experts; Covers async/await, Web API, ORMs, interactions between your code and your database, and more...

This open book is licensed strictly for personal or educational use. You can download 25 Secrets for Faster ASP.NET Applications ebook for free in PDF format (1.8 MB).

Table of Contents

Want to build scalable websites and services? Work asynchronously
Where are your custom performance counters?
Don't call AsEnumerable on a collection before using LINQ
Never call .Wait() or .Result on a Task
Throwing HttpResponseExceptions
Web API tracing
Message Handlers
Database access
When you're profiling, prefer accuracy to detail
Make the most of connection pooling by closing SQLConnection as soon as possible
Use ConfigureAwait to avoid thread hopping, especially in library code
Be careful of variable allocations
How to stress test your public facing web application using the cloud (or without it)
Using the keyword await doesn't make the work asynchronous
Don't use async/await for short methods
Turn off Change Tracking in Entity Framework
Always use compiled queries in Entity Framework
Diagnosing JavaScript memory leaks with Chrome Dev tools
Monitoring memory consumption over time
Use JValue in JSON.Net to parse complex JSON objects that you don't have POCO types for
Cache JavaScript and CSS permanently
Load external JavaScript content asynchronously
Profile, don't speculate!

Book Details

25 Secrets for Faster ASP.NET Applications
Computer Science
Red Gate
PDF Size
1.8 MB
For personal or educational use

Book Hashtags

Related Books

Architect Modern Web Applications with ASP.NET Core and Azure
The audience for this guide is mainly developers, development leads, and architects who are interested in building modern web applications using Microsoft technologies and services in the cloud. A secondary audience is technical decision makers who are already familiar ASP.NET or Azure and are looking for information on whether it makes sense to...
Blazor for ASP NET Web Forms Developers
Blazor is a new web framework that changes what is possible when building web apps with .NET. Blazor is a client-side web UI framework based on C# instead of JavaScript. With Blazor you can write your client-side logic and UI components in C#, compile them into normal .NET assemblies, and then run them directly in the browser using a new open web s...
50 Ways to Avoid Find and Fix ASP.NET Performance Issues
Read the tips and tricks that top developers from the .NET and SQL Server communities use to boost code and query performance in their applications. 50 tips from the .NET and SQL Server communities for boosting performance in your .NET application; Learn the secrets of your fellow developers and read advice from MVPs and other experts; Covers pe...
ASP.NET Core 3.1 Succinctly
ASP.NET Core 3.1 Succinctly specifically covers the web development part of the ASP.NET Core framework, which has gone through some improvements since it was first released. In this updated e-book, Simone Chiaretta Ugo Lattanzi guide readers through the foundations of the library, cover its basic features, and cover the new version of the web appli...
ASP.NET Core 2 Succinctly
Since Microsoft sent shockwaves through its developer community with the release of .NET Core in 2016, it's continued to improve and expand its open-source, cross-platform offerings. ASP.NET Core 2 is a key component of that progress, delivering modularity, better performance, and flexibility to web development. In ASP.NET Core 2 Succinctly, a...
ASP.NET Core 6 Succinctly
In ASP.NET Core 6 Succinctly, author Dirk Strauss guides web developers through some of the significant performance and feature improvements newly available in ASP.NET Core 6. Learn about the unmissable practicality of Hot Reload, explore super-helpful C# 10 features, pick up the essentials of how to build a minimal API, and discover how and why de...