Archives

Archives / 2007 / July
  • Agile Tools for .NET

    The following is a list of tools for doing agile based development with Microsoft .NET.
    There are quite a few tools out there that will accelerate your use of continuous integration, test driven development, source control integration, etc.

  • A Developers Toolkit for C# and .Net

    A developer, no matter how skilled, is dependent on the tools at his disposal. There are numerous free tools to aid in .Net development; from source control to debugging to documentation and profiling. Here, I’ve compiled a complete list of tools that I’ve used for years that cover the entire development lifecycle.

  • Creating an AJAX Rating Widget

    Frequent visitors of ajax enabled websites, like ajaxian, have all witnessed them already: ajax rating widgets. They are flashy, animated, you can use them to rate the content (usually without refreshing the page) and if you could, you'd present them to your parents and marry them. Compared to the classic rating system, as on IMDb, they incite people to click them, reducing the effective rating process to only one click.

    Read more...

  • Edit and Encrypt Web.Config sections using C# 2.0

    ASP.NET 1.x allowed configurations in web.config file to be read from .NET application. But there were no options to manipulate Web.Config contents in programatically. To achieve this we had to consider Web.Config file as a normal file or an xml file. .NET 2.0 fills this gap and also provides many other useful operations to be carried out on Web.Config file; like editing and encrypting sections of Web.Config file. This articles illustrates these functionalities via a sample ASP.NET application. 

  • Some ASP.NET 2.0 Configuration Tips

    It is a common scenario for ASP.NET Web developers to want to have different sets of configuration data depending on whether the project is being developed locally within Visual Studio in Debug mode, being tested in QA in Release mode, or is in Release mode in production. Also, settings may differ from machine to machine if the Application is deployed into a web farm scenario.

  • Distributed Transactions in .NET 2.0

    Transactions are commonly used to update data as a batch. If any one operation from the batch is failed the entire batch of operations must be cancelled. Thus either all operations in the batch succeed or all of them are cancelled. ADO.NET 1.x provided SqlTransaction class that in conjunction with SqlConnection class provided to commit or rollback transactions. In .NET 2.0 an additional technique can be used and that is what is the topic of this article.

  • How to create ProgressBar user control

    In any user centric application, we always strive to make application more interactive and user friendly. When ever user performs any heavy or lengthy operation (Uploading/downloading a large file or Installation) he or she expects to know the progress of operation at regular intervals. The user should be made aware of status whether it may be success or failure at each step. We cannot keep user waiting. The user should be informed of percentage of task completed.

  • Inserting Images into Database and Display it in GridView through Handler.ashx

    Introduction
    This article explicate the method of inserting images and pictures into SQL Server database table and display it in an Asp.Net GridView control with the help of Handler.aspx.
    Description
    Have you seen any web application or website without images? No, you cannot. Images played a major role in web application development. Either it’s a static html website or an advanced RAD application, everything is build along with images. If your application is an E-Commerce based or Image Gallery portal, definitely you have to suffer lot on saving the images in different location with different sizes and types. And it’s not an easiest job to manage those unwanted and outdated images to be removed from your file server, then making backup of those images from one server location to another location. So it is clearly time consuming and hectic.

  • Microsoft Indexing Service HOW-TO

    A lot of web sites provide search capabilities, where you can simple type several words, press "Search" button, and you'll receive a list of pages which contains these words. It's simple. But how can you implement these features in your own web application? Yes, you have to use indexing service which will index your files or web pages. After that you can use full text search features.

  • LINQ screencast

    Daniel Moth has a great screencast on Channel 9 digging into Local Variable Type Inference, Object Initiliazers, Anonymous Types, Extension Methods, Lambda Expressions and Query Expressions.  These are all features of C# 3.0 & VB9 that enable LINQ.  I cover these features briefly in my LINQ presentations.  Daniel does an excellent job breaking down the features.  You should check out this video if you want to know more about the features that ultimately enable the SQL-like syntax you see with LINQ.

  • Building Web Pages Using Microsoft Silverlight

    This article talks about how we can create Web Pages using Silverlight and is intended for anyone who is interested in knowing what Silverlight is and what needs to be known in order to create and deploy a Silverlight application with your Microsoft Silverlight Streaming account.

  • Request.QueryString for Javascript

    This is a stunningly useful Javascript library. With Ajax, I am working more now on the client-side than before, which is weird! But some Javascript stuff are not easy to do, this is where you see that ASP.NET is really powerful.