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.
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.
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.
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:
I've been working on a financial reporting project lately and came upon the idea of bringing our charts from ChartFX.NET to life. The idea being that we could dynamically review each pixel's color in the chart in order to generate an HTML image map on the fly. This would enable us to apply supporting documentation in the form of links or JavaScript functions to perform some sort of action when the user moves their mouse over the chart or clicks a section of it.
Drill down on some of the new and exciting page framework features in ASP.NET "Whidbey". See how to leverage exciting features like Master Pages and Themes/Skins to richly customize Web UI, demonstrates how to leverage the new cross page postback features to postback server controls to other pages, and the new Site Navigation API and navigation controls to make building Web apps a breeze.
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.
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
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.