ASP.NET

This page lists the most recent items from the feeds you've subscribed to.

ASP.NET Daily Articles, updated 8768 hours and 37 minutes ago Technorati Cosmos

07-26 14:00

A Chat with ASP.NET and AJAX. The article describes the concept and implementation of a web chat created with ASP.NET and AJAX. #

07-25 14:00

Data Source Controls in ASP.NET 2.0. Tutorial introduces a number of new Web controls designed for accessing and modifying data in ASP.NET 2.0. #

07-25 14:00

How to Show Messenger-Like Popups Using AJAX. In this article Bilal examines how to build a simple database notifier that pops a messenger-like popup on an ASP.NET page whenever a new record is inserted into the database table using ASP.NET 2.0 AJAX 1.0 Extensions. #

07-25 14:00

Tracing in ASP.NET 2.0. Explains how to monitor the execution of your ASP.NET 2.0 Web application by using tracing features. #

07-24 14:00

Adding Additional DataTable Columns. When using the TableAdapter Wizard to create a Typed DataSet, the corresponding DataTable contains the columns returned by the main database query. But there are occasions when the DataTable needs to include additional columns. In this tutorial we learn why stored procedures are recommended when we need additional DataTable columns. #

07-24 14:00

Handle Browser Close Event on the Server-Side. In this article Bilal Haidar demonstrates how to handle the close event of the browser on the client side and execute a server side method on the server code. #

07-23 14:00

Updating the TableAdapter to Use JOINs. When working with a database it is common to request data that is spread across multiple tables. To retrieve data from two different tables we can use either a correlated subquery or a JOIN operation. In this tutorial we compare correlated subqueries and the JOIN syntax before looking at how to create a TableAdapter that includes a JOIN in its main query. #

07-23 14:00

Using UpdatePanel Inside Templated Controls. ASP.NET AJAX provides many ways to improve user experience and performance. One of the most common way is undoubtedly the UpdatePanel control. The UpdatePanel control provides partial page rendering capabilities to your web forms. Commonly developers place data bound controls such as GridView and DataList inside an UpdatePanel so that only that area of the web form is refreshed after a post back from within the UpdatePanel. However, there is still better way to use UpdatePanel with grids and lists. Don't agree? Read on to know more! #

07-22 14:00

Using Existing Stored Procedures for the Typed DataSet’s TableAdapters. In this tutorial we learn how the same TableAdapter Wizard can work with existing stored procedures. We also learn how to manually add new stored procedures to our database. #

07-22 14:00

How to use ImageMap Control. Explains how to turn an image to navigation menu with new ImageMap Control. #

07-21 14:00

Creating New Stored Procedures for the Typed DataSet’s TableAdapters. In earlier tutorials we have created SQL statements in our code and passed the statements to the database to be executed. An alternative approach is to use stored procedures, where the SQL statements are pre-defined at the database. In this tutorial we learn how to have the TableAdapter Wizard generate new stored procedures for us. #

07-21 14:00

Improving Performance using ODS Custom Paging. Displaying database records in paged fashion is a common requirement in web applications. ASP.NET 2.0 controls such as GridView and DetailsView have inbuilt paging capabilities. Many developers rely on inbuilt paging to speed up their job. However, inbuilt paging comes with its own price. Fortunately, Object Data Source (ODS) control also provides a way by which you can implement a custom paging scheme. Such custom paging scheme can improve performance of your web application as compared to inbuilt paging scheme. In this article I will explain with an example how the custom paging scheme of ODS works. #

07-20 14:00

Fire and Forget Fun: RPC Pings, GET, POST and more. Shows how to use the Asynchronous Fire and Forget pattern to ping RPC Servers about changes in your site, ping the Yahoo crawler API with a RESTful GET, and perform a Fire and Forget FORM POST. Most of them say "thank you"! #

07-19 14:00

Client Side Callbacks in ASP.NET 2.0. Explains how to use Client Callback feature to retrieve page values without using of postback and reconstructing complete web page. #

07-18 14:00

Load user data once with an HttpModule. Instead of creating a new object with user data every time you need it, go back to the well and avoid having to write caching code. #

07-17 14:00

Webservice ASP.NET with GridView and DataGridView . In this article I explain how you can implement a WebService with C# and use this in two different type of technologies: In a WebForm for a GridView and in a WinForm for a DataGridView. #

07-16 14:00

Pagination In SQL Server 2005. If you've used other flavors of SQL (such as MySQL or PostgreSQL) and now you have switched over to TSQL (Microsoft SQL Server) you may have noticed that there is no native way of doing pagination. In some SQL versions, pagination was as easy as "SELECT * FROM 'myTable' LIMIT 0, 10" and that would pull out the first 10 records from your table. SQL Server 2005 introduced a beautiful new world of 'ranking functions', one of which we can use to easily perform pagination directly in SQL. #

07-15 14:00

ASP.NET AJAX Control Development. In this article Kazi Manzur Rashid provides an in-depth guide to developing AJAX Controls with the ASP.NET AJAX Framework. #

07-14 14:00

Consuming Web Services With ASP.NET AJAX. One of the most powerful features of ASP.NET AJAX is often times one of the most overlooked uses - consuming web services. Many ASP.NET developers are beginning to implement AJAX into their site by the use of the drop-in-place controls such as the UpdatePanel, ModalPopup and Timer, but this can be damaging as they take focus away from the deeper things of ASP.NET AJAX. #

07-13 14:00

ASP.NET Profiles Purely With AJAX. ASP.NET 2.0 brought a lot to the table with the Membership and Profiles API. Now with ASP.NET AJAX, you can fully work with these right there in your client script. This article will show you how easy it is to make an "edit your profile" page that doesn't even have a code-behind file. That's right, no C#, no VB.NET, just AJAX. #

07-12 14:00

Bulleted List Server Control in ASP.NET 2.0. Covers different ways to display collection of items in form of bulleted list with new Bulleted List Server Control. #

07-11 14:00

Developing RIAs: Part 1. This is the first of many parts on how to build Rich Internet Applications (RIAs), and the various methodologies of development associated with an RIA. #

07-10 14:00

How to create ProgressBar user control. Explains how to build ProgressBar user control with ASP.NET. Includes source code of control and example VS.NET 2005 project. #

07-09 14:00

Auto-Completion Using ASP.NET Client Callbacks. Auto-Completion is a very interesting feature which was primarily made popular by Google. I have already written a couple of articles which explain how to implement this feature. In this article I will implement the auto-completion feature using ASP.NET 2.0 client callbacks. #

07-08 14:00

Storing Binary Data to Database using ASP.NET 2.0. Explains how to store to database and get back binary data, like images, .pdf or .zip files. #

07-07 14:00

Membership Using ASP.NET AJAX. This article demonstrates how to perform membership functionality (authentication) with ASP.NET AJAX. Attached is the full source, including a sample database to keep the login information. #

07-06 14:00

Expose Stored Procedures to ASP.NET through HTTP Endpoints. How to use HTTP endpoints of SQL Server 2005 to publish internal reports to your organization without using IIS Web Server and regardless of heterogeneous systems. #

07-05 14:00

Forms Auth: Membership, Roles and Profile with no Providers and no Session. Shows how to use plain-old Forms Authentication with a single database table and compressed userData in the forms ticket to handle simplified Membership, Roles and Profile with no providers and no need for Session state. #

07-04 14:00

Introducing LINQ – Part 5. In this part of the series I will explain the DataContext class in depth through a series of examples and explanations. #

07-03 14:00

Roll Your own Drudge Report in ASP.NET. Build your own "Drudge Report" using ASP.NET 2.0, RSS and a DataList. #

07-02 14:00

Understanding LINQ (C#). An introductory LINQ article describing the new language features of LINQ #

07-02 14:00

Performing Batch Inserts to the Database . Learn how to insert multiple database records in a single operation. In the User Interface Layer we extend the GridView to allow the user to enter multiple new records. In the Data Access Layer we wrap the multiple Insert operations within a transaction to ensure that all insertions succeed or all insertions are rolled back. #

07-01 14:00

Performing Batch Deletes from the Database . Learn how to delete multiple database records in a single operation. In the User Interface Layer we build upon an enhanced GridView created in an earlier tutorial. In the Data Access Layer we wrap the multiple Delete operations within a transaction to ensure that all deletions succeed or all deletions are rolled back. #

06-30 14:00

Performing Batch Updates to the Database. Learn how to update multiple database records in a single operation. In the User Interface Layer we build a GridView where each row is editable. In the Data Access Layer we wrap the multiple Update operations within a transaction to ensure that all updates succeed or all updates are rolled back. #

06-30 14:48

ASP.NET Request Logging with Asynchronous Fire And Forget Pattern. Shows how to perform high-speed ASP.NET Request logging to a database using the asynchronous Fire and Forget delegate wrapper patterns. #

06-29 14:48

Dynamically Created Controls in ASP.NET. I spent some time before I found a pattern to work with dynamically created controls in ASP.NET that satisfied my requirements. I tried multiple approaches and faced multiple problems. If you'd like to avoid getting into the same problems I got, learn about them here first. #

06-29 14:00

Wrapping Database Modifications within a Transaction. In this tutorial we learn how database transactions allow batch modifications to be carried out as an atomic operation, which ensures that either all steps succeed or all steps fail. #

06-28 14:00

Building a Custom Database-Driven Site Map Provider. The default site map provider in ASP.NET 2.0 retrieves its data from a static XML file. While the XML-based provider is suitable to many small and medium-sized Web sites, larger Web applications require a more dynamic site map. In this tutorial we’ll build a custom site map provider that retrieves its data from the Business Logic Layer, which in turn retrieves data from the database. #

06-28 14:48

NHibernate Best Practices with ASP.NET, 1.2nd Ed.. This article describes best practices for leveraging the benefits of NHibernate 1.2, ASP.NET, generics, and unit testing together. #

06-27 14:48

Refreshing ASP.NET Cached Data on a timed basis to avoid delays. Shows how to refresh a datasource on a timed basis with a background timer thread, cache the data, and not have to worry about any delays due to the refreshing of the particular datasource usually taking a long time. #

06-26 14:48

ASP.NET Configuration System. Explains how to edit configuration files (Web.config) programmatically using Configuration API's, Web Site Administration Tool and Web Site Snap-in. #

06-25 14:48

Creating Master Detail Pages using GridView. ASP.NET 2.0 introduced GridView control supersedes the older DataGrid control and adds many enhancements. In this article I am going to show how master detail pages can be developed using GridView control and SQL Data Source control. #

06-24 14:48

Tips and Tricks: ASP.NET AJAX 1.0 and User Controls. In this article Bilal Haidar will explore with you the different ways in which you can integrate ASP.NET AJAX 1.0 UpdatePanels into your Web application that makes extensive use of UserControls. #

06-23 14:48

XmlDataSource Control. Explains how to use XMLDataSource Control to access and display XML Data Source (e.g. local xml file, or RSS feeds). #

06-22 14:48

Getting Started: Creating a WSE 3.0 Enabled Web Service to Transfer Large Amount of Data using WSE 3.0 MTOM. In this article we will see how to create a WSE 3.0 enabled web service to transfer large amount of data using SOAP Message Transmission Optimization Mechanism a.k.a MTOM #

06-21 14:48

ASP.NET AJAX Under the Hood. Scott Cate illustrates how to implement key features of ASP.NET AJAX to a packed crowd at VSLive! San Francisco 2007. #

06-20 14:48

Using Page Methods in ASP.NET AJAX. If you are looking to enhance your web application using AJAX to provide a more fluid user experience, but you don't know where to start, you might want to start here... using code-behind page methods right in your client script. #

06-19 14:48

Getting Started With AJAX. Discover the concepts behind AJAX and why using it in your ASP.NET development is advantageous. #

06-18 14:48

Configure ASP.NET AJAX Extensions. Explore ASP.NET AJAX configuration sections in Web.config, and learn how handlers and modules fit into the overall picture. #

06-17 14:48

Developing a picture album in ASP.NET. Explains how to implement a picture album in ASP.NET. Includes sample Picture Album Visual Studio project. #

06-16 14:48

Build a Search Engine SiteMap in C#. Article includes C# code for creating a search engine sitemap as well as tips and advice on submitting sitemap files to major search engines. #

06-15 14:48

ASP.NET Internals - The bridge between ISAPI and Application Domains. In this article I'm going to describe the bridge between managed and unmanaged worlds and how the two collaborate to set up the processing environment needed by ASP.NET requests to be processed. #

06-14 14:48

Transform XML into HTML Using XSLT. In this article Haissam Abdul Malak examines how to output an HTML page from an XML file using XSLT. #

06-13 14:48

The SqlCacheDependency Class. Luke Stratman shows how and why to use the SqlCacheDependency class. #

06-12 14:48

Tips and Tricks: ASP.NET 2.0 AJAX 1.0 Extensions and Master Pages. In this article, Bilal Haidar explores the different ways in which you can integrate ASP.NET 2.0 AJAX 1.0 UpdatePanels into your Web application using Master Pages. #

06-11 14:48

Interacting with Astoria Data Services. This article will explain Astoria data web services and their impact upon RIA development as well as including a few examples of using Astoria with ASP.NET AJAX. #

06-10 14:48

ASP.NET AJAX - Things To Know. Unless you've been hiding under a rock for the past few years you probably are at least somewhat familiar with ASP.NET AJAX. There are a few things though that you might not realize. We will discuss 1) why ASP.NET AJAX is so popular, 2) what are some potential dangers that you should be aware of and 3) how you can get started using ASP.NET AJAX. #

06-09 14:48

Cross-Page Posting in ASP.NET 2.0. Explains how to post data between web forms, using new cross-page posting functionallity. #

06-08 14:48

Feed RSS to Your Users. Create RSS feeds for users to consume on their terms. Also learn how to automatically convert ASP.NET 2.0 Site Maps to RSS format. #

06-08 14:00

Using SQL Cache Dependencies. The simplest caching strategy is to allow cached data to expire after a specified period of time. But this simple approach means that the cached data maintains no association with its underlying data source, resulting in stale data that is held too long or current data that is expired too soon. A better approach is to use the SqlCacheDependency class so that data remains cached until its underlying data has been modified in the SQL database. This tutorial shows you how. #

06-07 14:00

Caching Data at Application Startup. In any Web application some data will be frequently used and some data will be infrequently used. We can improve the performance of our ASP.NET application by loading in advance the frequently-used data, a technique known as proactive loading. This tutorial demonstrates one approach to proactive loading, which is to load data into the cache at application startup. #

06-07 14:48

Data Passing Round-Up. A comparison of techniques for passing data between web pages. Find out which strategies are best under diverse circumstances. #

06-06 14:48

ASP.NET AJAX Grid and Pager. Learn how to create a custom AJAX Grid and Pager with the Microsoft ASP.NET AJAX platform. #

06-06 14:00

Caching Data in the Architecture. In this tutorial we learn how to take advantage of our layered architecture to cache data at the Business Logic Layer. We do this by extending the architecture to include a Caching Layer. #

06-05 14:00

Caching Data with the ObjectDataSource. Caching can mean the difference between a slow and a fast Web application. This tutorial is the first of four that take a detailed look at caching in ASP.NET. Learn the key concepts of caching and how to apply caching to the Presentation Layer through the ObjectDataSource control. #

06-05 14:48

Using CLR to access .NET functions in SQL Server. An example of how we can create a function in .NET and then use it in SQL Server 2005. #

06-04 14:48

Encrypting Connection Strings in web.config file. Explains how to protect web.config sensitive informations, like connection strings, usually stored in simple plain text. #

06-04 14:48

Pimp Out Your Panels Further. Exploration of the AJAX Control Toolkit continues as several more controls are examined that can bring new life to the boring old ASP.NET Panel control. This article includes the AlwaysVisibleControl, ResizableControl, and Accordion control. #

06-03 14:48

Client Side Script Debugging in ASP.NET. Explains how to use Client Side Debugger, to simplify the debugging process of javascript code in ASP.NET web application. #

06-02 14:48

Image Manager for Image Gallery. Many image gallery-type web applications provide features to change image attributes. This permits viewing of the image with various options, e.g. the user can rotate the image, zoom the image, change grayscale, mirror the image or increase/decrease its opacity. I have developed this smart custom control which lets you do all of these operations by selecting image attributes from the context menu. #

05-21 14:48

ASP.NET Internals – IIS and the Process Model. In this series of articles I'm going to tackle and describe the life cycle of a web request from the early stages of its life, when it's accepted by the web server, through its processing into the ASP.NET pipeline and up to the generation of a response by the endpoints of the pipeline. #

05-20 14:48

Generating WordML Reports Using Templates and XPath. This tutorial shows how to easily generate reports displayed to MS Word 2003 from an ASP.NET web page, using a user-designed template. #

05-19 14:48

Getting Changed Entities from a LINQ to SQL DataContext. In this article you will learn how to get the changes made to your objects prior to updating, using generics, reflection and extension methods. #

05-18 14:48

Working with Transactions in ADO.NET. A transaction is a group of operations combined into a logical unit of work that is either guaranteed to be executed as a whole or rolled back. Transactions help the database in satisfying all the ACID (Atomic, Consistent, Isolated, and Durable). Transaction processing is an indispensible part of ADO.NET. It guarantees that a block of statements will either be executed in its entirety or rolled back,( i.e., none of the statements will be executed). Transaction processing has improved a lot in ADO.NET 2.0. This article discusses how we can work with transactions in both ADO.NET 1.1 and 2.0 versions. #

05-17 14:48

Microsoft ASP.NET 2.0 Membership API Extended. This article discusses one of the techniques that you can use to extend the Microsoft ASP.NET 2.0 Membership API to accommodate custom member records. #

05-16 14:48

Web Site Navigation in ASP.NET 2.0. Explains how to use ASP.NET 2.0 site navigation features to give consistent ways for users to navigate your website. #

05-15 14:48

Selectable Grid in ASP.Net. In this article i have explained how to make a grid selectable with source code. #

05-14 14:48

Maintaining Fixed Headers in GridView. One of the commonly asked question by developers is how to maintain headers of GridView in a fixed position. You must have observed that in Excel you can freeze top cells of your spread sheet. When you scroll down the headers are always visible making your sheet more readable. The same effect is often needed in GridView control especially if you are displaying many records at a time. In this article I will explain a technique that will allow you to achieve this with ease. #

05-13 14:48

What ASP.NET Developers Should Know About JavaScript. This article examine JavaScript the language from the perspective of a C# or Visual Basic developer. Learn the techniques in use in many of today's major JavaScript frameworks, libraries, and toolkits. #

05-12 14:48

Silverlight first steps: Getting started with a simple analog clock. This is an introductory article on how to build a simple Silverlight web application that represents an analog clock. #

05-12 14:48

Polymorphism and Encapsulation. Polymorphism and encapsulation are two big words in OO development, and are also a fundamental concept of software development. This article will demystify these concepts by showing you some real world examples. #

05-11 14:48

Executing Asynchronous Queries Using ADO.NET 2.0. In this article, Mohammed Azam demonstrates how to execute queries using the asynchronous model available with ADO.NET 2.0. #

05-10 14:48

Generating Excel Report in ASP.NET 2.0. Explains how an ASP.NET web application can interact with Excel files, both reading and writing. Includes sample application with source code. #

05-09 14:48

Introducing LINQ – Part 3. In Part 2 we took a look at LINQ to SQL, how to generate an entity, and also how to query that entity. In this part we will look a little more at what entities are, as well as taking a closer look at the key types we can use and their application. #

05-08 14:48

Tutorial: Running ASP.NET applications under Community Server. In this article you will learn how to successfully setup your own ASP.NET 2.0 application to run as a virtual directory under the Community Server 2.1 website. #

05-08 14:48

Writing an ActiveX Control in C#. An ActiveX control is an object that supports a customizable programmatic interface. Using the methods, events, and properties exposed by the control, web developers can automate their web pages to provide functionality which is equivalent to that of a desktop application. #

05-08 14:48

Extending the DataList Functionality. In this article, Haissam will explain how to add custom paging functionality to your DataList control. #

05-07 14:48

HTML Table In-Place Editing Using Client Callbacks. In-place editing was introduced in ASP.NET 1.X with the inclusion of the Datagrid control. This feature allows the user to edit the row without having to leave the page. In this age of AJAX we need to edit the individual rows without having to trigger a server-side postback. In this article I will demonstrate how to build the in-place editing feature using ASP.NET 2.0 callbacks. #

05-06 14:48

CAPTCHA - prevent bots and automatic submissions in ASP.NET. Explains how to automatically prevent bots by using an image with distorted text in an ASP.NET web application. #

05-05 14:48

Introduction to ASP.NET AJAX. Introduce yourself to the new ASP.NET AJAX framework, recently made available for free from Microsoft. This is the latest and greatest way to implement AJAX functionality in your web site. #

05-04 14:48

Creating Secure DotNetNuke ASP.NET AJAX Web Services. This article will cover what is needed to implement secure web services for use with ASP.NET AJAX in the DotNetNuke Framework. #

05-03 14:48

Errorhandling in Sharepoint 2007 webpart. A best practice how to handle errors inside a Sharepoint 2007 webpart.... #

05-02 14:48

Build a SqlSitemapProvider Treeview Navigation Control with SqlCacheDependency. How to create a Sitemap from a database table with the SqlSitemapProvider and use it to populate your web site's TreeView Navigation Control, with SqlCacheDependency built in. #

05-01 14:48

How to take screenshot (thumbnail) of a web site with ASP.NET 2.0?. This article describes how to take screenshots and thumbnails of web sites with asp.net 2.0. #

04-30 14:48

Custom DataGrid Numeric Paging with Previous,Next, First & Last link. Some application do require custom paging style like numeric paging with links for previous, next, first, and last pages. The DataGrid did not directly support this type of layout; that's why I have developed my custom DataGrid that can be used throughout. #

04-29 14:48

File Upload & Compression in ASP.Net. Explains how to upload file to web server and compress it using GZipStream compression method. #

04-28 14:48

How to embed UpdatePanel in a Repeater. This article describes how you can embed and populate updatepanels inside repeaters and handle their postbacks. #

04-27 14:48

Inserting a New Row in GridView. Many months back I wrote an article that explained a trick that allows you to add a new row to DataGrid. Just like DataGrid control the new GridView control doesn't allow you to add new rows.In this article I am going to illustrate a quick way to solve the above problem. #

04-26 14:48

Building an ASP.NET Note Taking Application. A small one page note taking application that stores the data in a file instead of a database. #

04-25 14:48

Browser Compatible Drag And Drop Shopping Cart. Sometime back I visited a website that had the drag and drop shopping cart feature. Users can simply drag and drop the items they wish to buy in the basket and the basket is updated with the new results. I was extremely impressed with this feature and decided to create a small application that does the same. In this article I will implement a page which enables the users to drag and drop the items they wish to buy into the shopping basket. The shopping basket items and the price will be updated. The code presented in this article is browser compatible. #