|
Using static variables instead of the Application object
|
Total Hit (3523) |
If you want to share a value or an object instance between all the pages of any session, you typically use the Application object. However, a good alternative is to use a public variable defined in a module (VB.NET only), or a static field/property defined in a class. Static properties maintain thei
....Read More |
Rating
|
|
|
Disabling the session state to improve performances
|
Total Hit (2706) |
Sessions management consumes server's resources and memory, thus, if you don't use them in your application, you should disable them to improve performances. You can disable sessions for the entire application by setting to False the mode attribute in the web.config's <sessionState> tag, as follows:
....Read More |
Rating
|
|
|
|
Computing Values from a DataTable
|
Total Hit (987) |
When checking out the blogs at weblogs.asp.net, I found Darren Neimke's interesting entry for today on computing aggregated data in a DataTable. In his blog entry, Darren mentions two not well-known features of the DataTable: the Expression property of the DataColumn class and the DataTable's own Co
....Read More |
Rating
|
|
|
ASP.NET State Management
|
Total Hit (664) |
The different states in ASP.NET and what and how and when to use them appropriately.
|
Rating
|
|
|
|
|
Displaying XML Data in the Internet Explorer TreeView Control
|
Total Hit (991) |
You have to tip your hat to Microsoft when it comes to the amount of free developer resources they have made available for us ASP.NET developers. First, there was the Web Matrix Project, a free GUI/RAD tool designed specifically for creating ASP.NET Web pages. Then the ASP.NET team provided the comp
....Read More |
Rating
|
|
|
Insert a Row Within an ASP.NET DataGrid
|
Total Hit (868) |
In a previous dotnetjohn article we showed how to insert a row in an ASP.NET Datagrid using a form field outside the datagrid. This article will demonstrate a way to use the footer of the grid as a container for the insertable data.
|
Rating
|
|
|
|
|
|
Using WebRequest and WebResponse classes
|
Total Hit (819) |
.NET framework provides extensive set of classes for network programming. The System.Net namespace contains many such classes. In order to develop applications that involve web and HTTP .NET provides two important classes - WebRequest and WebResponse. There is another class called WebClient that act
....Read More |
Rating
|
|
|
|
|
|
How Do I...Control a message queue?
|
Total Hit (752) |
Message queuing makes it easy for application developers to communicate with application programs quickly and reliably by sending and receiving messages. Messaging provides you with guaranteed message delivery and a robust, fail-safe way to carry out many of your business processes.
....Read More |
Rating
|
|
|
|
|
|
|
.NET Web Services IV
|
Total Hit (846) |
After reviewing the basics of Web Services in Part I and continuing to look at more advanced specifics in part II, in the last part we continued the progression looking at the first of the three more advanced Web Service related topics below:
«li»Creating and using SOAP extensions
«li»Creating
....Read More |
Rating
|
|
|
|
|
|
|
Implementing Paging in a DataList Control
|
Total Hit (859) |
The DataList does not include inbuilt support for paging. By overloading the Fill method of the DataAdapter, however, you can create a paging mechanism for the DataList
|
Rating
|
|
|
|
SWAT - A simple Web-based Anomalies Tracker - Part 8
|
Total Hit (864) |
This is the penultimate SWAT article. Only one more to complete the goals described in part 1. I'll share a secret with you, writing the articles was way harder than coding the original application. But I suppose that's also a learning experience. It's been fun and I hope that it's provided some ben
....Read More |
Rating
|
|
|