Have you ever wanted to see who is viewing your web site in real time? how many of them are there? what browser they are using? where have they come from? what are their host addresses and host names? and exactly what pages they have read? all in detail? In this article we build an ASP.NET application to do exactly that.
Working on a multi-developer ASP.NET project while sharing one web.config can be time consuming and troublesome. Usually, each developer may have path and other settings specific to their development machine, such as Database connection strings, paths, e-mail addresses, etc. For example, each developer on a project may be running a database locally that the application relies on during development. Therefore, the connection string would be different for each developer.
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.
A comprehensive tutorial on uploading files to server hard disk using built-in ASP.NET server controls. Describes how to upload more than one file? how to upload only image files? how to retrieve other form non-binary field values? how to view and delete files uploaded on the server? how to force user to download a file without viewing it? how to expose correct file name to the user browser instead of a generic file.aspx? how to retrieve correct content-type for the file from system registry? how to set/unset max file upload size limit per folder of your application?
We probably all remember how agonizing it is to create client-side cookies using JavaScript. HttpCookie class offers an easier way to accomplish the task and with minimal fuss. This article takes a close look at HttpCookie class and how to use it to store cookies on the client machine.
In this paper, we will look at the structure of a very simple ASP.NET page and how that page is rendered in the visitor's browser. Then we will look at the Page class, which is the .NET class that all your ASP.NET pages are based on. After that, we will review basic compiler directives that you can place on your page. At the end of the chapter, we will review a simple Quiz ASP.NET page that demonstrates the basics of an ASP.NET page.
This article explains what are "Delegates"? And what is their role in .NET framework. The author uses VB.NET code to provide working examples of "Delegates".
Is the migration to ADO.NET keeping you up at night? This article will show you some techniques for transforming your ADO recordset into an ADO.NET dataset using Visual Basic .NET.
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.