|
Caching ASP.NET Pages
|
Total Hit (961) |
ASP.NET includes a simple yet powerful way to increase a Web server's throughput by allowing the entire response content from dynamically generated pages to be cached.
|
Rating
|
|
|
ASP.NET Caching Features
|
Total Hit (975) |
When clients access an ASP.NET page, there are basically two ways to provide them with the information they need:
«li»the ASP.NET page can either obtain information from server resources, such as from data that has been persisted to a database, or
the ASP.NET page can obtain information from w
....Read More |
Rating
|
|
|
A Sliding Window Cache
|
Total Hit (1050) |
An example of setting the same "Source" object to expire 20 minutes after it is last accessed looks like:
|
Rating
|
|
|
AutoSortArrayList Class
|
Total Hit (722) |
It can sort any type of object, so long as that class implements the IComparable interface or you have a Comparer object. AutoSortArrayList has a property to assign your Comparer object. For instance, if you want to use AutoSortArrayList for strings, assign System.Collections.CaseInsensitiveComparer
....Read More |
Rating
|
|
|
compile components without having to use a compiler
|
Total Hit (783) |
ability to compile components without having to use a compiler and or push a compiled component
on the server. It completely slipped my mind that we already have support
for this built-in to the pre-release.
|
Rating
|
|
|
Adding controls to PlaceHolders dynamically
|
Total Hit (1057) |
A very powerful and flexible way to program sites in ASP.NET is to one .aspx which contains a PlaceHolder control for each area of your screen. You then dynamically fill these controls during each hit of your page. This code will get you started. Notice the "FindControl" method with which you identi
....Read More |
Rating
|
|
|
Simple Login Control
|
Total Hit (1134) |
This control can be used to validate a user's login. This control is compiled as a library and can be used with any ASP .Net application.
|
Rating
|
|
|
Finding the Control ID
|
Total Hit (1013) |
How do you find the control ID of the control that made the Postback? Here you go...
|
Rating
|
|
|
|
|
|
|
Using C# with Cookies
|
Total Hit (956) |
A code snippet posted on aspcs about accessing and writing cookies using C#.
|
Rating
|
|
|
|
|
|
Implementing Application Roles
|
Total Hit (1202) |
SQL Server 7.0, as well as SQL Server 2000, support several technological feature enhancements that allow for a faster time to completion for database and application development. Application roles exist as SQL Server database objects that allow developers and database administrators to assign SQL S
....Read More |
Rating
|
|
|
DataSets in Microsoft .NET - 2
|
Total Hit (1355) |
In the previous part of this article we discussed different features and how to create a dataset in design time lets go further in detail. In this part I will discuss about sort, search and filtering support provided by dataset and data table object.
|
Rating
|
|
|
DataSets in Microsoft .NET - 1
|
Total Hit (1841) |
ADO.NET was designed to meet the needs of this new programming model: disconnected data architecture, tight integration with XML, common data representation with the ability to combine data from multiple and varied data sources, and optimized facilities for interacting with a database, all native to
....Read More |
Rating
|
|
|
Understanding and Working with Oracle Data Provider for .NET
|
Total Hit (1729) |
Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
|
Rating
|
|
|
Typed DataSets in .NET by Ramaprasad Upadhyaya.
|
Total Hit (708) |
As all of we know, we can specify the data type when we create a DataColumn for a DataTable. This is to enforce the runtime type-safety for the column so that only data of specified data type can be stored in the column.
|
Rating
|
|
|
Basic Database Operations in ADO.NET
|
Total Hit (4829) |
This Article will show the basic database transactions select, insert update and delete. I am using MS-Sql database “northwind” for the demonstration. I am not going to use the class SqlCommandBuilder and I will tell you the reason later.
|
Rating
|
|
|
|
|
|
|
Databinding to multi-dimensional arrays
|
Total Hit (1803) |
Someone asked whether it was possible to data bind to a multi-dimensional array, and if so how. Below is a simple example that demonstrates how to do so, it is not a super inspired scenario but you get the idea. Note that in addition to handling arrays, the concept can be applied to any hierarchica
....Read More |
Rating
|
|
|
Dynamically Build an Array using ArrayList
|
Total Hit (1750) |
«Code LangId=4»Dim Values as New ArrayList()
Values.Add("Scott")
Values.Add("Fred")
Values.Add("Sam")
Dim Names as String()
Names = Values.ToArray(Type.GetType("System.String"))«/Code»
Note that because ArrayList implements ICollection -- you can do standard
foreach interation over it.
....Read More |
Rating
|
|
|
Use ASP.NET caching to optimize your Web applications
|
Total Hit (1045) |
The ASP programming model includes the Application object, which allows developers to place both simple data types and COM objects in memory on the Web server so they could be accessible on any page, regardless of the current user. While ASP’s Application object retains its original functionality in
....Read More |
Rating
|
|
|
Caching in .Net - Overview
|
Total Hit (953) |
One of the new features in ASP.NET is a system for caching page and application data, so that you don’t have to perform the same expensive process every time someone views a page.
Page caching: Caching can be performed on a per-page basis, or on a per-user-control basis, letting you store part o
....Read More |
Rating
|
|