Programmers familiar with JSP's Model II/struts architecture and others generally familiar with Model View Controller (MVC) architectures, immediately wonder how the MVC pattern can be applied in an ASP.NET world. This article demonstrates how the MVC pattern can be applied to an ASP.NET web application without breaking the basic Microsoft supplied architecture.
Version: n/a Platform(s): n/a Updated: Fri Mar 5 2004
Recently we had a Website that was redone from a large static site to a dynamically driven site in ASP.Net. The original site was heavily indexed by the major spiders on the Web, we did not want to lose the reference links in the engines and wanted to make sure the link clicked on would go to an appropriate paged in the site. In this article we cover how to create a document mapper so the old URL is redirected to the new related page within the new site.
Version: n/a Platform(s): n/a Updated: Mon Jan 19 2004
In this article we will cover working with the system registry, both reading and writing values. In this example, we will cover creating a license registration for your application.
Version: n/a Platform(s): n/a Updated: Mon Jan 19 2004
In this article we will cover exposing an existing ASP.Net application as a Web service. We will provide methods for creating the Web service, converting readers to data sets, and a client application for the new service.
Version: n/a Platform(s): n/a Updated: Fri Jan 16 2004
Here we provide several methods for managing your Active Directory database via ASP.Net code. We'll cover querying user information using System.DirectoryServices, changing user accounts, and group management.
Version: n/a Platform(s): n/a Updated: Thu Jan 8 2004
We will create a custom dropdown conrol using a datasource. This code provides us to fill a dropdrown list using a datasource. This code also displays us ASP.NET is easier than classical ASP to generate custom controls.
Version: 1 Platform(s): Win 2000 Updated: Tue Oct 28 2003
Mostly we want to change output results of our applications to another culture setting. In this code sniplet we will format current date time for our culture settings
Version: 0 Platform(s): Win 2000 Updated: Tue Oct 28 2003
The following source code displays count of all records in a database. We will use a data command to execute an SQL statement that will return with count of records. Source code written in Visual Basic.NET can easily modify to work in an application.
Version: n/a Platform(s): Win 2000 Updated: Sun Oct 19 2003
While working with file system, sometimes we must list all directories in a folder. This sample shows us how to list all directories in a folder. Source code written in Visual Basic.NET can easily modify to work in an application.
Version: n/a Platform(s): Win 2000 Updated: Sun Oct 19 2003
We can easily connect a database server within an assembly. After we compile this source code you can access your database provider. In tis source code I have used SQL Server.
This tutorial covers one option for including a common header and footer into your HTML pages without having to modify the html page itself. Technologies used are the System.XML, System.Net, and System.IO .Net classes.
Version: n/a Platform(s): n/a Updated: Sun Sep 7 2003
In this article we will discuss providing a programmable method of securing files on for your ASP.Net applications. This code could come in handy where you have an application hosted on an ISP and you do not have access to a folder outside of your Web directory structure, and you are not able to change permissions on folder in the Web. This method does not require storing your file in a binary field in your database, thus reducing cost of having to buy database storage from your ISP, and with no impact on the network traffic between the database and web servers.
Version: n/a Platform(s): n/a Updated: Sun Sep 7 2003
William Fawthrop (aka Informant) gives us his first .NET article in what promises to be a great new series of articles from him. The author specializes in .NET migration as well as creative solutions in the .NET framework. In this article: A C# 'Hello World' with a loop.
Version: 1 Platform(s): n/a Updated: Thu Aug 28 2003
Have you ever needed to have an image of some text generated dynamically on the fly? There are tons of possible applications for this type of thing, but prior to ASP.NET it was a relatively difficult thing to do. This article explains how to generate text images on the fly using ASP.NET. Source code available for download.
Version: n/a Platform(s): n/a Updated: Wed Aug 27 2003
Microsoft is set to release an exciting upgrade to ASP later in 2000. This is a major upgrade unlike the minor changes from ASP 2.0 to 3.0. Unlike past upgrades, however, this one will not be painless. When they designed ASP+, Microsoft had to make the hard decision occasionally to break backward compatibility in the interest of improved functionality and features. Before embarking on the inevitable—and not painless—migration to ASP+, it's best to know what compatibility issues you'll have to deal with. This article covers Compatibility Issues, API changes, Semantic Changes, VB Language Changes, and more.
Version: n/a Platform(s): n/a Updated: Wed Aug 27 2003
The author writes "One of the things that keeps coming up as a benefit of switching to ASP.NET is the ability to use code-behind to separate display code from application logic. In Visual Studio.NET, this is 'automagically' done for you. So what if you don't have VS.NET? Here's how you can implement code-behind using just a plain old text editor and the tools included in the .NET Framework... no VS.NET required!" Source codes available for download.
Version: n/a Platform(s): n/a Updated: Wed Aug 27 2003
This article examines how to can create a Web service in .NET and then utilize it from a classic ASP page on your Web server, thereby providing an API that can be utilized by both your ASP.NET Web pages and classic ASP pages.
Version: n/a Platform(s): n/a Updated: Wed Aug 27 2003
Since "classic" ASP's humble beginnings, ADO data access classes and methods have been re-written to form ADO.NET. This article looks at the differences (in terms of classes, methods, and calling conventions) that exist between ADO and ADO.NET. It provides several practical examples that show us how to evolve from using ADO with ASP to using ADO.NET with C# and ASP.NET.
Version: n/a Platform(s): n/a Updated: Wed Aug 27 2003