|
Review: Professional LINQ |
|
With .NET framework 3.5 the way you access data is set to change in a big way. Thanks to the Language Integrated Query (LINQ) that provides a unified ways to handle data coming from in-memory collections, RDBMS and XML files. LINQ is a must have skill set for you in your next project that targets .NET framework 3.5 and to that end Professional LINQ from WROX can be your great companion.
|
|
Posted On : 04 May 2008 |
|
|
Health Monitoring in ASP.NET 3.5 |
|
Keeping an eagle's eye on the errors and important events occurring in your web site is an important administrative job. ASP.NET health monitoring features provide a great deal of functionality out of the box that relieves you from developing custom monitoring systems. In this article I am going to show you how ASP.NET health monitoring can be used to track system events and errors. |
|
Posted On : 27 Apr 2008 |
|
|
Using Syndication Classes to Generate RSS Feeds |
|
In the previous article I discussed how to consume RSS feeds exposed by other web sites onto your site. You may also want to expose your own site content as RSS or ATOM feed. The syndication classes also allow you to accomplish this easily. This article shows how.
|
|
Posted On : 13 Apr 2008 |
|
|
Using Syndication Classes to Read RSS Feeds |
|
RSS and ATOM feeds dominate the syndication systems today. If you run a web site you probably use RSS and ATOM for two purposes viz. exposing your site content for syndication using these formats and consuming content exposed by other web sites and aggregate it on your web site. Whatever be the case until recently developers either coded their custom solution or made use of some third party component. Luckily .NET framework 3.5 introduced a set of classes that can simplify your job. This article explains how.
|
|
Posted On : 06 Apr 2008 |
|
|
Supporting Complex Types in Property Window |
|
Whenever you set any property of a control in the property window, the property window needs to save this property value in the .aspx file. This process is known as code serialization. For properties that are of simple types (such as integer and string) this code serialization happens automatically. However, when property data types are user defined complex types then you need to do that work yourself. This is done via what is called as Type Converters. This article is going to examine what type converters are and how to create one for your custom control. |
|
Posted On : 23 Mar 2008 |
|
|
Using Design Time Attributes |
|
Developing a nice custom control is just one part of the story. As a control author you should also pay attention about the experience of other developers who will be using your control. In most of the real world cases developers use Visual Studio as the IDE for developing .NET applications. You can enhance the experience of other developers using your control by providing proper designer support. For example, you can control how your control properties and events are displayed in property window and toolbox. A set of attributes often called as Design Time Attributes allow you to accomplish this. |
|
Posted On : 17 Mar 2008 |
|
|
Creating Data Bound Templated Control |
|
Data bound controls are most popular amongst developers because of their verticality. Controls such as GridView and DataList are popular not just because they provide rich features out of the box but because they allow great deal of customization. To that end templates go a long way in providing a customized look and feel. The concept of templates can be extended to custom controls also. With templates in place you can customize the way your data is presented to the user. This lesson is going to illustrate how this can be done. |
|
Posted On : 05 Mar 2008 |
|
|
Working with ADO.NET Schema APIs |
|
In majority of data driven applications developers deal with SQL queries that select, insert, update or delete data from the database. However, at times you need to retrieve schema information from the database. Suppose you are building applications that performs data import and export between two or more databases. As a good solution you would want to retrieve table schema at runtime rather than hard coding it. Luckily, ADO.NET provides a set of classes that allow you to query database schema. In this article I will illustrate how these classes work. |
|
Posted On : 25 Feb 2008 |
|
|
ADO.NET Trace Logging |
|
Tracing allows you to keep track of various events happening in the system. Tracing allows you to track the sequence of code execution along with the time taken for each step. Together, tracing can throw light on how your code is being executed and the performance of every step. Many real world applications are database driven and call for performance optimization of your data access code. Luckily, ADO.NET 2.0 provides built-in support for trace logging. The ADO.NET trace logging is tuned for performance and uses Event Tracing for Windows (ETW) providers. This article explains how you can configure the ADO.NET trace logging feature. |
|
Posted On : 05 Feb 2008 |
|
|
Working with the DataGridView Control |
|
Displaying data in tabular format is one of the common requirements in Windows-based applications. No wonder the DataGridView control is popular amongst Windows Forms developers. The DataGridView control has many enhancements over the earlier DataGrid and it is worthwhile for any Windows developer to master this control. |
|
Posted On : 04 Feb 2008 |
|