Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] - نسخه متنی

Jeffrey Putz

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Summary


Application performance is critical to serving your users because a system that doesn't perform isn't meeting the users' needs. Scalability is the capability of an application to handle an ever-increasing workload. A number of techniques enable you to increase performance and measure the results.

Caching a page or portions of it certainly makes your application run faster because the underlying code isn't executed. The contents of the page, or user control in the case of fragment caching, are stored in memory and sent to the user.

Data caching saves time and keeps your application responsive by keeping data ready to go in memory, instead of having to read it from a data store. You can use a combination of caching techniques that range from your own data classes to dependency schemes built into the .NET Framework.

String concatenation can be a huge resource drain, as data is repeatedly copied from one location in memory to the next to build the larger string. Using a StringBuilder object in lieu of traditional concatenation can be thousands of times faster.

Using the trace object in your code can enable you to gauge how fast (or slow) blocks of code execute, and it enables you to isolate specific problems with your code.

The Application Center Test and the Web Application Stress tools enable you to create scripts that simulate access to your application and report on the number of requests it can handle.

The Performance monitor built into Windows acts as a tool to measure hundreds of different operations on your server. It provides a real-time peek into specific tasks to give you a good overview of how your application (and server in general) is handling the load.

SQL Server's Query Analyzer and Profiler can help diagnose problem queries by measuring execution time, CPU usage, and read/write activity to your database.


/ 146