Sample Code 
-
An introduction to Visual WebGui through a sample application.
. 
-
This is a code sample for using health monitoring.... 
-
Learn what's changed with .NET 2.0 and how to send out emails using an SMTP server that requires authentication.. 
-
No need of third party components to upload your files. It is so easy to upload files in ASP.NET using just 3 lines of code.
. 
-
Learn how to write a basic, client-side Atlas progress bar, and download the source code.. 
-
A new feature in ASP.NET 2.0 is it's built-in url rewriting support. When i looked into this new feature I found that it lacked regular expressions support, which is really the point of an Url Mapper. So, this code demonstrates how to create a Url Rewriting Module with Regex support in ASP.NET.. 
-
One of the more significant improvement in .NET 2.0 is the transactions area. Now with a single line it becomes extremely easy to support transactional code blocks using the concept of “ambient” transaction thanks to TransactionScope in the System.Transactions namespace.. 
-
Learn how to encrypt any section of your Web.config file on-the-fly and programatically; plain-text connection strings in your config file are no more!. 
-
Demonstrates how to dynamically load an IBindableTemplate from a file for use with new ASP.NET 2.0 controls such as the FormView, to workaround the lack of a LoadBindableTemplate method in the new version of the framework.. 
-
Ever had an Enum (with a set of names and values) that you wanted to bind to a control like a DropDownList? Here's how.. 
-
When moving from Windows Forms to ASP.NET Web Forms, an API that may be missed is that offered by the System.Windows.Forms.MessageBox Class. Here we implement it for ASP.NET!. 
-
This sample code is an IHttpHandler implementation that reads a JPG from the filesystem and dynamically generates a thumbnail sized version of the image and emits that to the response stream. What I like about this approach is that you don't need to create a file on the filesystem for the thumbnail as it's all done in memory.. 
-
ASP.NET 2.0 introduces the ability to have an ASPX page postback to a different ASPX page with cross page postbacks. This was done all the time in ASP but wasn’t supported in ASP.NET 1.x. Here we show you how to use this new feature.. 
-
How to programatically load user-controls from code behind pages and then access their properties using reflection.. 
-
One of the most commonly performed operations that I see in web applications - aside from database actions - is sending email from code. This demonstrates how in ASP.NET.. 
-
The code demonstrates how to validate a username and password against an XML file.. 
-
A neat way of fetching an image stored in SQL Server and resizing it before save/sending it anywhere.. 
-
Demonstrates a useful debugging technique taking advantage of traces in ASP.NET.. 
-
Demonstrates how to dynamically embed a text caption embedded into an image.. 
-
A PagingRepeater control extending Repeater with page navigation. 
-
A simple helper class to make generating an RSS feed a piece of cake - its the one we use on Developer Fusion too!. 
-
Demonstrates how to connect to a MySQL database with C#.. 
-
How to add a javascript popup (alert) question to an ASP.NET button control.. 
-
Demonstrates how Databind the SqlTypes using the PropertyDescriptor class and the ITypedList Interface.. 
-
If you have a process that takes over 20 seconds or so on a Web application, you may want to let the user know the status of the process. Edward shows you how.. 
-
How to create PDF files from ASP.NET pages with Crystal Reports without using Visual Studio.NET. 
-
Generate graphics on the fly to provide a graphical page hit counter, storing the counter in a text file or SQL database.. 
-
A simple example demonstrating how to dynamically add controls to a PlaceHolder control.. 
-
This simple code will give you an array containing all files in a directory.. 
-
This code allows an .aspx file to receive parameters (file name and width of picture) and return a JPEG resized to the requested width.. 
-
Just supply your database connection string and this code will give you a radio button list of all your SQL Server tables and will show their fields. . 
-
This code shows you how ASP.NET simplifies information about the current browser into class properites. There are others but these are the most useful. . 
-
Writing to XML files is quite easy in ASP.NET as there are so many objects prepared for you -- you just need the syntax on how to use them. This code shows you how to write a simple member XML file.. 
-
Demonstrates how to retrieve the current SessionID for storing session data in a database. 
-
Demonstrates an ASP.NET Web Form which tells you if your file is not well-formed and then if it is not valid it lists out the specific reason (like in XMLSpy), quite helpful to find an error in a large XML file as it returns the line number on which the error occurred as well as the tag name.. 
-
This code shows the simplest way to automatically convert the information in an object to an XML file and back into an object. This is useful if you need to make information available web-server like on your server for other applications to pick it up.. 
-
An example of using a web handler file which you can use when your output is not going to a browser but to an xml-consuming client of some kind, keeping you away from all the browser technology you don't need.. 