About Scott Mitchell

Scott Mitchell, author of five ASP/ASP.NET books and founder of 4GuysFromRolla.com, has been working with Microsoft Web technologies for the past five years. An active member in the ASP and ASP.NET community, Scott is passionate about ASP and ASP.NET and enjoys helping others learn more about these exciting technologies. For more on the DataGrid, DataList, and Repeater controls, check out Scott's book ASP.NET Data Web Controls Kick Start (ISBN: 0672325012). Read his blog at : http://scottonwriting.net
Using a Custom Base Class for your ASP.NET Page’s Code-Behind Classes
· 2

One of the many benefits of object-oriented programming is that it allows for reuse of logic. For example, classes can be created that contain a base level of functionality.

An Extensive Examination of Web Services: WSE standards

As we’ve discussed in the previous installments of this article series, Web services are comprised of a number of core standards, including:

Syndicating Your Web Site’s Content with RSS and ASP.NET
· 1

About a year ago I wrote an article titled, Syndicating Your Web Site’s Content with RSS.

An Extensive Examination of Web Services: Part 4

So far in this article series we have examined the standards involved in Web services, looked at creating Web services with Visual Studio .NET, and have examined WSDL and creating proxy classes to consume a Web service.

Using ASP.NET to Prompt a User to Save When Leaving a Page
· 1

Previously I wrote an article titled Prompting a User to Save When Leaving a Page, which looked at how to use the client-side onbeforeunload event to display a confirmation messagebox when a user attempted to leave a data-entry page after having modified the data’s contents without explicitly saving the data.

An Extensive Examination of Web Services: Part 1

Starting in April 2002, I began a long-running article series titled, An Extensive Examination of the DataGrid.

Creating and Consuming a Web Service

One of the most powerful aspects of .NET is the ease with which one can create Web Services. A Web Service is an external interface provided by a Web site that can be called from other Web sites. For example, a financial company may make up to the minute stock quotes available via a Web Service for those who do their trading with that company. This information could be read from a Web page and displayed, or read from a stand-alone application on a customer’s desktop computer.

Querying XML Data with XQuery

Let’s face it, one of the primary tasks we, as Web developers, are faced with is querying data from some data store and allowing users to view and/or manipulate the information via a Web interface.

Creating an Online RSS News Aggregator with ASP.NET Part 4

Displaying the News Items for a Particular Syndication Feed

The next task that faces us is creating the DisplayNewsItems.aspx Web page. This page should display the titles of the news items in the selected syndication feed as hyperlinks such that when the hyperlink is clicked the description of the news item is shown in the bottom right frame. This task presents us with two primary challenges:

Creating an Online RSS News Aggregator with ASP.NET Part 1

With the rise of always-on Internet connections in homes and businesses, and the continued explosive growth of the World Wide Web and Internet-accessible applications, it is becoming more and more important for applications to be able to share data with each other. Sharing data among disparate platforms requires a platform-neutral data format that can be easily transmitted via standard Internet protocols-this is where XML fits in. Since XML files are essentially, simple text files with well-known encodings, and since there exist XML parsers for all commonly used programming languages, XML data can be easily consumed by any platform.

Creating an Online RSS News Aggregator with ASP.NET Part 3

Consuming a Syndication Feed in an ASP.NET Web Page

In order to test the syndication engine we just created, let’s build an online news aggregator that allows for any number of syndication feeds. The aggregator user interface will be fairly straightforward, comprising of three frames, as shown in Figure 2. In the left frame, a list of the various syndication feeds will be listed. In the top right frame, the news items for the selected syndication feed will be displayed. Finally, in the bottom right frame, the title and description of the selected news item feed will be displayed, with a link to the news item. Note that this UI is pretty much the de facto standard UI for aggregators of all kinds, including news aggregators, email clients and newsgroup readers.

Creating an Online RSS News Aggregator with ASP.NET Part 2

Creating the Syndication Output via an ASP.NET Web Page

Now that we’ve seen how our news items are stored along with the RSS 2.0 specification, we’re ready to create an ASP.NET Web page that, when requested, will return our Web site’s syndicated content. More specifically, we’ll create an ASP.NET Web page named rss.aspx that will return the five most recent news items from the Articles database table, formatted according to the RSS 2.0 specification.

Displaying the Details for a Particular News Item

This is Part 5 of a 5 part article “Creating An Online RSS News Aggregator With ASP.NET”.

Deciding When to Use the DataGrid, DataList or Repeater Part 1

Web development has come a long way since simple script-based Web programming technologies like Microsoft Active Server Pages (ASP). With Microsoft ASP.NET, a lot of the tedious, repetitious coding chores that were commonplace with classic ASP are now a thing of the past. For example, as all one-time classic ASP developers know, displaying data in a classic ASP Web page required the following pseudocode:

Deciding When to Use the DataGrid, DataList or Repeater Part 2
· 1

Analyzing the DataList

Recall that the DataGrid renders as an HTML <table> , which each DataSource record as a table row (<tr>) and each record field as a table column (<td>). At times you might want more control over the presentation of data. For example, you might want to have the data displayed in an HTML <table>, but rather than have one record per row, you might want to display five records per row. Alternatively, you might not want to have the data displayed in a <table> tag at all, but rather have each element displayed in a <span> tag.

Injecting Client-Side Script from an ASP.NET Server Control
· 1

While, technically, all of a Microsoft ASP.NET server control’s functionality can be performed on the server-side, often the usability of a server control can be greatly enhanced by adding client-side script. For example, the ASP.NET validation Web controls perform all validation checks on the server-side. However, for uplevel browsers, the validation Web controls also emit client-side script so that validation can be performed on the client-side as well. This means that users of those browsers get a more responsive, dynamic experience.