Friday, July 17, 2009

Some More ASP Basics



Microsoft says, "Application features that used to be hard to implement, or required a 3rd-party component, can now be added in just a few lines of code using the .NET Framework. The .NET Framework offers over 4500 classes that encapsulate rich functionality like XML, data access, file upload, regular expressions, image generation, performance monitoring and logging, transactions, message queuing, SMTP mail, and much more!"

Translation: Human beings solve complex problems by breaking them down into smaller tasks that are manageable. In programming, these smaller tasks are called "objects" (thus the term Object Oriented -- or OO -- language). A "class" is a recipe of code to achieve an "object." So, the .NET framework is really a cookbook for developers with over 4500 recipes of code that can be strung together to solve your larger complex coding needs without reinventing the recipes from scratch every time.

Microsoft says, "ASP.NET output caching can dramatically improve the performance and scalability of your application. When output caching is enabled on a page, ASP.NET executes the page just once, and saves the result in memory in addition to sending it to the user. When another user requests the same page, ASP.NET serves the cached result from memory without re-executing the page. Output caching is configurable, and can be used to cache individual regions or an entire page. Output caching can dramatically improve the performance of data-driven pages by eliminating the need to query the database on every request."

Translation: ASP.NET’s server-side logic really rocks when it comes to your Web site’s performance -- especially if your pages display a lot of database information requested by your users.

No comments:

Post a Comment