1.

Record Nr.

UNINA9910826112603321

Autore

Perdeck Matt

Titolo

ASP.NET site performance secrets : simple and proven techniques to quickly speed up your ASP.NET web site / / Matt Perdeck

Pubbl/distr/stampa

Birmingham [U.K.], : Packt Pub., 2010

ISBN

1-282-88221-X

9786612882210

1-84969-069-3

Edizione

[1st edition]

Descrizione fisica

1 online resource (456 p.)

Disciplina

006.76

Soggetti

Web sites - Design

Internet programming

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1:High Level Diagnosis; Assuring good performance; Continuous monitoring; Setting performance goals; Iterative improvements; Monitoring services; High-level diagnosis with Waterfall charts; Creating a Waterfall chart using Firebug; Installing Firebug; Creating the Waterfall Chart; Interpreting the Waterfall chart; Request and response information; Timeline information; Page-level information; Saving information; Categorizing bottlenecks using Waterfall charts

Scenario 1: Main .aspx file takes long to arriveScenario 2: Main .aspx file takes long to load over the Internet; Scenario 3: Images take long to load; Scenario 4: JavaScript file blocks rendering; Waterfall generators for other browsers; Fiddler (browser-independent); Internet Explorer via WebPagetest; Google Chrome; Apple Safari; More Waterfall chart generators; Find out more; Summary; Chapter 2:Reducing Time to First Byte; Pinpointing bottlenecks; Memory; Windows Server 2003; Windows Vista, Windows Server 2008, or Windows 7; Simulating a memory shortage; Caching; CPU; Thread usage

Long wait timesAdditional measures; Deployment; Building projects in release mode; Publishing your website; Disabling debug mode; Reducing number of assemblies; Reducing round trips; Using Server.



Transfer instead of Response.Redirect; Always specifying the default file in URLs; Permanent redirects; Minimize CNAME records; SSL; Unwanted requests; Search engine bots; Hotlinking; CAPTCHA; Scrapers; Usability testing; Find out more; Summary; Chapter 3:Memory; Managed resources; Life cycle; Generations; Large Object Heap; Counters; CLR profiler; Garbage collector versions; Acquire late

Release earlyUsing StringBuilder to concatenate strings; Using StringBuilder; When not to use StringBuilder; StringBuilder capacity; Using Compare for case-insensitive compares; Using Response.Write buffer; Pooling objects over 85KB; Unmanaged resources; IDisposable; Counters; Sessions; Reducing session state life time; Reducing space taken by session state; Using another session mode; Stop using session state; Find out more; Summary; Chapter 4:CPU; Identifying bottlenecks; Tools; Data access; Connection pooling; DataSet versus List; Returning multiple result sets

Sending multiple inserts in one goUse native data providers; Exceptions; Revealing the time taken by exceptions; Counters; DataBinder.Eval; Garbage collector; Threading; StringBuilder; Regex instantiation; UtcNow; Foreach; Virtual properties; Avoid unnecessary processing; Trimming HTTP pipeline; Find out more; Summary; Chapter 5:Caching; Browser caching; OutputCache directive; Enabling caching in code; Disabling caching in code; Proxy caching; Caching different versions of the same page; Cookies; Removing query string from URL; URLRewrite extension to IIS 7; RewritePath method in Global.asax

Resetting the form action attribute

Sommario/riassunto

Simple and proven techniques to quickly speed up your ASP.NET website