A D V E R T I S E M E N T
Tips and Tutorials
ASP.NET » Tips and Tutorials
.NET Serial Port Communication - Free
Microsoft's .NET Framework 1.1 does not provide proper utilities to communicate with the serial ports on a Windows machine. The RS232 library and this quick tutorial will have you talking to a COM port on your machine in no time.
ASP to ASP.NET Transferring Session State
If you are working in a mixed development environment you know that ASP "Classic" and ASP.NET cannot share session state information. I am offering the source code I used to this resolve this issue as well as discussing a couple of other possible resolutions. Using and consuming Web Services with ASP .NET / C# - Freeware
Shows and explains you how to make an ASP .NET Web Service, an ASP .NET Web Application and how to consume the Web Service with the ASP .NET Web Application. Customizing XML for ASP.NET Web Services
Out of the box, ASP.NET is a very powerful platform for writing XML Web Services. But what happens when you need to format the XML to match an existing XML grammar? Not surprisingly, this can be accomplished using the XML Serialization Engine. In the first part of this two-part article, Justin Rudd shows you the basics of the engine as well as how the engine works with ASP.NET. The Quest for ASP.NET Scalability - Free
In this article, we will look at some of the architectural and design decisions that may affect ASP.NET application scalability. In addition, you will leanr how you can use Enterprise Services and MSMQ to reduce the effect of those scalability problems. Create HTML Image Maps Dynamically With .NET - freeware
In this walkthrough, you'll learn how to develop and implement a basic content rating system in ASP.NET and SQL Server, using Visual Basic .NET as our programming language. You'll first learn how to setup the database table that you'll use to capture user ratings. Next, you'll learn how to build the graphical user interface components that display the article ratings. Lastly, you'll learn how to build the necessary logic, line by line. Connecting to a SQL database from ASP .NET I
This is part I of the tutorial that teaches you how to connect to a SQL database from ASP .NET using SQL Authentication. This part shows you how to set up MSDE for Mixed Mode and how to use Web Data Administrator to create databases and users. Executing queries on XMLDBelt - Freeware
This tiny demo source code will give you a hint about how to query data stored on your server via XMLDB Engine Lite (XMLDBelt), create new files, insert data into existed, update data, delete and etc. Validate using RequiredFieldValidator
In this tutorial you'll find out how to validate a TextBox and RadioButtonList control on a webform using RequiredFieldValidator, which will show a warning and stop the submission of the form if a required field has no value. How to re-install ASP.NET on a Windows platform - FREE
If you want to run ASP.NET web applications on your local computer, you must have both Internet Information Services (IIS) and ASP.NET installed. IIS is necessary for providing web service and ASP.NET is necessary for providing handling of the family of ASP.NET web applications (ASPX, ASMX, etc).
IIS is installed by default for installations of Windows 2000 and Windows XP. ASP.NET is installed by default during .NET Framework installation. However, if you attempt to install the .NET Framework on a Windows 2000 or Windows XP machine that doesn't have IIS installed, the .NET Framework installation will detect that IIS is not available and thus will not install ASP.NET component of the framework. If you subsequently install IIS at a later time, you will have to install ASP.NET manually.
Likewise, if you have both IIS and .NET installed on your computer, and then later un-install IIS, this uninstallation will also uninstall the ASP.NET component of the .NET Framework. If you later re-install IIS, you will have re-install ASP.NET manually.
This article walks you through the re-installation of ASP.NET for a computer already running IIS. How to implement custom validation for any process - FREE
When developing ASP.NET applications, you may sometimes need to implement a custom validation that is recognized and displayed by the ValidationSummary control so that all validation error message appear in one place without additional coding. You also want to implement this custom validation by using page CodeBehinds, as you would like to leave the ASPX page with the miminum code necessary. This article shows you how in nine easy steps, complete with screen captures and code descriptions. Hierarchical Relationships Without DataRelation Object in ADO.NET - Free
At my place of employment, I work a great deal with somewhat complex hierarchical data as part of our measurement and analysis software. Thus, recursion and I have become rather close friends over the last few years. While rewriting an old website, I needed to turn a set of four relational tables into a hierarchical data structure. The top level table held self-referencing relationships as well as child relationships to table 2. Tables 3 and 4 were your basic "run of the mill" child tables up through table2. Troubleshooting ASP.NET on IIS - Free
This article provides some helpful tips for troubleshooting ASP.NET on Microsoft's Internet Information Services (IIS) web server. In order for ASP.NET web pages to run properly on IIS, it must have properly defined mappings that associate each of the ASP.NET files types with its associated application DLL. This article walks you through how to resolve several common ASP.NET failure situations involving IIS. Handling cookies in ASP .NET
How to create a cookie, how to get the value stored in a cookie, set the lifetime, path and domain for a cookie, edit a cookie, delete a cookie, remove subkeys from a cookie... Connecting to a SQL database from ASP .NET II
This is part II of the tutorial that teaches you how to connect to a SQL database from ASP .NET using SQL Authentication. This part shows you how to connect to the database using ASP .NET code and Visual Studio .NET's features. Using the DataList control
This tutorial covers the creation of a DataList control to retrieve records from a database. Also shows you how to make the DataList esthetic by changing its attributes. Three easy methods for compiling your ASP.NET components - Free
A common task in N-tier .NET web application development is compiling components. You can compile components in several different ways, either using commands executed at the DOS command prompt or by using methods available through the Visual Studio .NET Integrated Development Environment. In this tutorial, you'll walk through these methods for compiling components developed in Microsoft« Visual Basic .NET. How to bind a DataGrid to an array
It simply shows how to bind a DataGrid to an array using C# code. .NET - Use Refactoring To Handle Multiple Versions of Classes - freeware
Recently, I had a requirement to put together a website that deals with taking somewhat elaborate financial surveys. While the questions and answers themselves are good candidates for being database driven, there were a large number of nuiances ranging from UI items, business rules, and calculations that just didn't fit into a database driven strategy. With this in mind, my initial strategy was to create version specific classes and reference them in version specific ASP.NET pages. Of course, this accomplished the initial requirement. However, whenever a new version needs to be implemented, I had to copy all of the ASP.NET pages and modify the references to the appropriate version specific class name. Refactoring provides a better alternative and here's how:
A D V E R T I S E M E N T
||Subscribe to SourceCodesWorld - Techies Talk