MSDN Magazine: ASP / ASP.NET
All MSDN Magazine Topics
Cutting Edge: Exploring ASP.NET 4.0—Web Forms and Beyond
Dino Esposito - September 2009 2009
The upcoming ASP.NET 4.0 platform has the same foundation as the latest 3.5 SP1 version, but it provides further refinement in the areas of Web Forms, Dynamic Data controls, and ASP.NET AJAX. In this article, Dino takes a look at what’s new and improved in the Web Forms model.
Extreme ASP.NET: Search Engine Optimization with ASP.NET 4.0, Visual Studio 2010 and IIS7
Scott Allen - September 2009 2009
In this article, the author takes a look at SEO practices that the reader can apply when using the latest Microsoft Web technologies.
Cutting Edge: Comparing Web Forms And ASP.NET MVC
Dino Esposito - July 2009
In this month's column, we’ll explore the pros and cons of both ASP.NET Web Forms and ASP.NET MVC.
Test Run: Request-Response Testing With F#
James McCaffrey - July 2009
This month we show you how to use F# to perform HTTP request-response testing for ASP.NET Web applications.
Extreme ASP.NET: Guiding Principles For Your ASP.NET MVC Applications
Scott Allen - July 2009
In this column, the author lays out some guiding principles that you should follow when working with the ASP.NET MVC framework.
Cutting Edge: Go Beyond HTML Forms With AJAX
Dino Esposito - June 2009
This month we examine forms in the context of AJAX applications and look at various approaches to implementing features such as auto-saving, just-in-time validation, and submission throttling.
.NET RIA Services: Building A Data-Driven Expense App with Silverlight 3
Jonathan Carter - May 2009
.NET RIA Services provides a set of server components and ASP.NET extensions such as authentication, roles, and profile management. We’ll show you how they work.
Data Services: Access Your Data On Premise Or In The Cloud With ADO.NET Data Services
Elisa Flasko - May 2009
In this article the author looks at two versions of the same application--one consuming an on-premise Data Service, and one consuming an Azure Table Data Service to illustrate data access in the cloud.
Cutting Edge: Build Rich User Interfaces with jQuery
Dino Esposito - May 2009
In this month's installment we build modal and modeless dialog boxes in jQuery and explain how to post data from them to the Web server.
Cutting Edge: Explore Rich Client Scripting With jQuery, Part 1
Dino Esposito - March 2009
Thanks to selectors and function chaining, jQuery allows you to write compact, cross-browser code.
Extreme ASP.NET: Charting With ASP.NET And LINQ
K. Scott Allen - March 2009
The combination of the ASP.NET Chart Control and the data querying power of LINQ lets you build flexible charts. Learn how here.
ASP.NET Workflow: Web Apps That Support Long-Running Operations
Michael Kennedy - January 2009
Integrating workflow into ASP.NET applications means communicating with activities via a workflow queue and hosting the runtime in the global application class. We’ll show you how.
Extreme ASP.NET: Routing with ASP.NET Web Forms
Scott Allen - January 2009
See how to get the benefits of rerouting while alleviating the risks with this in-depth look at URL rewriting in ASP.NET.
Cutting Edge: ASP.NET Presentation Patterns
Dino Esposito - December 2008
Choosing the right design pattern for your ASP.NET Web application can help you achieve the separation of concerns between your presentation layer and the layers beneath it.
ASP.NET AJAX 4.0: New AJAX Support For Data-Driven Web Apps
Bertrand Le Roy - October 2008
Here is an ASP.NET AJAX data-driven Web application that takes the best features from server- and client-side programming to deliver an efficient, user-friendly experience.
Office Space: Custom Auditing In SharePoint
Ted Pattison - September 2008
Learn how to enable an auditing solution for Windows SharePoint Services (WSS) 3.0 with customized control pages in Microsoft Office SharePoint Server (MOSS) 2007.
Cutting Edge: Building A Secure AJAX Service Layer
Dino Esposito - September 2008
This month Dino builds a service layer that authenticates users of Silverlight 2 and ASP.NET AJAX services to prevent illegal access to sensitive back-end services.
Security Briefs: SDL Embraces The Web
Bryan Sullivan - September 2008
In this installment we introduce you to new Web-oriented security guidance and tools straight from the Security Development Lifecycle (SDL) team at Microsoft.
Toolbox: Serializing objects, Scott Allen’s blog, Site Performance, and more
Scott Mitchell - August 2008
Serialize and Deserialize Fixed Length and Delimited Files, Scott Allen's blog, inspecting Web Pages, and more.
Cutting Edge: Programming AJAX with ASP.NET Partial Rendering
Dino Esposito - August 2008
Dino Esposito compares the use of AJAX patterns and DOM manipulations to the use of the ASP.NET partial rendering engine.
Office Space: Automated SharePoint Site Branding
Ted Pattison - July 2008
Here's a custom branding solution for SharePoint sites that integrates Master Pages and CSS files at the level of the site collection.
Cutting Edge: The HTML Message Pattern
Dino Esposito - July 2008
In this installment, the author provides an enhanced implementation of the BST pattern and compares it to HTM solutions.
Cutting Edge: ASP.NET AJAX and Client-side Templates.
Dino Esposito - June 2008
AJAX is meant to go beyond mere partial page rendering. Find out where Dino Esposito thinks dynamic pages are headed in the future with ASP.NET AJAX.
Security: Safer Authentication with a One-Time Password Solution
Dan Griffin - May 2008
One-time passwords offer solutions to dictionary attacks, phishing, interception, and lots of other security breaches. Here's how it all works.
Toolbox: Database Audit Logs, Joel on Software, Code Handouts, and More
Scott Mitchell - May 2008
This month the Toolbox column takes a look at database logging, Joel Spolsky's blog, printing code projects, and ASP.NET reading.
Cutting Edge: Single-page Interface and AJAX Patterns
Dino Esposito - May 2008
This month we begin a look at the Single Page Interface (SPI) model and some design patterns for designing AJAX applications.
Test Run: Request/Response Testing with Windows PowerShell
Dr. James McCaffrey - May 2008
Did you know you can use Windows PowerShell to perform lightweight request/response testing for an ASP.NET Web app? Here's how.
Wicked Code: Silverlight Page Turning Made Simple
Jeff Prosise - May 2008
Performance: Scaling Strategies for ASP.NET Applications
Richard Campbell and Kent Alstad - April 2008
Performance problems can creep into your Web app as it scales up, and when they do, you need to find the causes and the best strategies to address them.
Toolbox: Logging Web App Errors, Learning LINQ, and More
Scott Mitchell - April 2008
See how to log Web application errors for better health monitoring, what to read if you’re thinking about LINQ, and which blog Scott recommends reading this month.
Cutting Edge: ListView Tips and Tricks
Dino Esposito - April 2008
This month, use nested ListView controls to create hierarchical views of data and extend the eventing model of the ListView by deriving a custom ListView class.
ASP.NET MVC: Building Web Apps without Web Forms
Chris Tavares - March 2008
Chris Tavares explains how the ASP.NET MVC Framework's Model View Controller pattern helps you build flexible, easily tested Web applications.
Test Run: Web UI Automation with Windows PowerShell
Dr. James McCaffrey - March 2008
Here we show you how to use Windows PowerShell to create quick and easy UI test automation for ASP.NET and classic ASP Web applications.
Extreme ASP.NET: The Only Data-binding Control You'll Ever Need
Fritz Onion - March 2008
Fritz Onion demonstrates how the ListView control in ASP.NET 3.5 makes data-binding tasks easier with support for styling with CSS, flexible pagination, and a full complement of sorting, inserting, deleting, and updating features.
IIS 7.0: Build Web Server Solutions with End-To-End Extensibility
Mike Volodarsky - Launch 2008
Mike Volodarsky demonstrates the IIS 7.0 extensibility model by extending the Response Modification into a configurable Web server module and a custom management page for IIS Manager.
Cutting Edge: Modal Dialog Boxes with AJAX
Dino Esposito - Launch 2008
This month Dino Esposito shows you how to get Windows-style modal dialog boxes for your Web applications thanks to the Ajax Control Toolkit and some clever coding.
World Ready: Around the World with ASP.NET AJAX Applications
Guy Smith-Ferrier - January 2008
Cutting Edge: Customize Controls with AJAX Extenders
Dino Esposito - January 2008
AJAX Extenders extend the behavior and features of ordinary Web controls so you can reduce postbacks and control input even better than with AJAX alone.
Wicked Code: Drag and Drop with ASP.NET AJAX
Jeff Prosise - January 2008
Jeff Prosise shows how you can implement drag-and-drop functionality in your Web app with ASP.NET AJAX.
Extreme ASP.NET: Encapsulate Silverlight with ASP.NET Controls
Fritz Onion - January 2008
To implement Silverlight in ASP.NET pages, you can encapsulate your Silverlight elements in ASP.NET controls. Here's how.
Toolbox: Live Chat, Code Conversion, Multiple Monitors, and More
Scott Mitchell - December 2007
This month, more of the tools you need to get your job done.
Cutting Edge: Inside the Microsoft AJAX Library
Dino Esposito - December 2007
Office Space: Events in SharePoint 2007
Ted Pattison - November 2007
Windows SharePoint Services (WSS) 3.0 provides a new and improved infrastructure for handling server-side events. In this installment of Office Space, we look at techniques for hooking up Before Events and After Events using both Features and code.
Cutting Edge: Managing the User Experience in AJAX
Dino Esposito - November 2007
This month Dino takes a look at limitations and UI issues in Partial Rendering AJAX pages and techniques for managing the UI.
Bugslayer: Measuring the Impact of View State
John Robbins - November 2007
Bloated view state can be a real performance bottleneck for your Web app, but it can be difficult to diagnose. John Robbins creates a handy tool that records and reports the view state size for pages in your ASP.NET applications.
Toolbox: Manage databases, easier FTP, and clustered caching
Scott Mitchell - October 2007
This month's products include DatabaseSpy, FileZilla, NCache, and more.
Cutting Edge: AJAX application architecture, Part 2
Dino Esposito - October 2007
The second of this two-part series delves into the script services programming model, which is useful if you're looking for a full paradigm shift in building AJAX applications.
ASP.NET: ScriptManager Enables AJAX In Your Web Apps
Ben Rush - September 2007
Learn how to use the ScriptManager control, which provides much of the magic behind ASP.NET AJAX.
Find It: Integrate Search Into Your Site With ASP.NET
Marco Bellinaso - September 2007
We implement search providers for both Live.com and SharePoint so you can take advantage of either in your own applications.
Editor's Note: Summer in New York
Joshua Trupin - September 2007
As the thermometer rises, we cool down with a look at AJAX technologies.
Toolbox: ASP.NET Controls, FTP, and More
Scott Mitchell - September 2007
ASP.NET controls, a comprehensive FTP library, rich imaging support, and a book about SQL Server 2005.
Cutting Edge: AJAX Application Architecture, Part 1
Dino Esposito - September 2007
In the first of a two-part column, Dino explains AJAX from an architectural standpoint to help developers, architects, designers, and administrators better understand the issues that affect their sites.
Cutting Edge: Canceling Server Tasks with ASP.NET AJAX
Dino Esposito - August 2007
This month Dino explains how to remotely cancel tasks running on the server using ASP.NET AJAX.
Extreme ASP.NET: Web Client Software Factory
Fritz Onion - August 2007
The Web Service Software Factory is designed to provide guidance and enhanced tools for building Web services using ASMX or WCF.
Cutting Edge: Context-Sensitive Feedback with AJAX
Dino Esposito - July 2007
Beyond progress bars: talking to server-side apps with ASP.NET AJAX.
SILVERLIGHT: Get Started Building A Deeper Experience Across The Web
Laurence Moroney - June 2007
Build rich, compelling, cross-platform, interactive applications with Microsoft Silverlight.
Wicked Code: UpdatePanel Tips and Tricks
Jeff Prosise - June 2007
Jeff Prosise explains when it's better to use UpdatePanel and when it's better to use asynchronous calls to WebMethods or page methods instead.
Migration: Convert A Java Web Application To ASP.NET Using JLCA
Brian Jimerson - May 2007
Cutting Edge: Subclassing and Overriding ASP.NET Pages—Part II
Dino Esposito - May 2007
Identity: Secure Your ASP.NET Apps And WCF Services With Windows CardSpace
Michèle Leroux Bustamante - April 2007
Windows CardSpace replaces traditional authentication with a more consistent and streamlined login process and improves trust between end-users, applications and services. Michèle Leroux Bustamante explains.
ASP.NET 2.0: Enforce Web Standards For Better Accessibility
Ben Waldron - April 2007
Web standards are about much more than closing HTML tags. They are a critical factor in how well software components can be used in future contexts.
Cutting Edge: Subclassing and Overriding ASP.NET Pages—Part I
Dino Esposito - April 2007
There are a number of techniques that allow you to modify a running ASP.NET page without touching its source code. Dino discusses some this month.
Extreme ASP.NET: Web Deployment Projects
Fritz Onion - April 2007
ASP.NET 2.0 development is the easiest ASP development yet. Fritz Onion reveals why.
IIS 7.0: Explore The Web Server For Windows Vista And Beyond
Mike Volodarsky - March 2007
ASP.NET 2.0: Manage Web Users With Custom Profile Providers
Jason N. Gaylord - March 2007
Cutting Edge: Validating ASP.NET Query Strings
Dino Esposito - March 2007
Wicked Code: Scalable Apps with Asynchronous Programming in ASP.NET
Jeff Prosise - March 2007
Test Run: AJAX Test Automation
Dr. James McCaffrey - February 2007
This month James McCaffrey presents a technique that allows you to write lightweight test automation to verify the functionality of AJAX Web applications.
Cutting Edge: Perspectives on ASP.NET AJAX
Dino Esposito - February 2007
AJAX allows you to build rich browser applications using powerful combinations of existing client-side Web technologies. This month Dino delves into AJAX
Cutting Edge: The Server Side of ASP.NET Pages
Dino Esposito - January 2007
Where are the files generated by ASP.NET stored and how are they used to serve page requests? This month Cutting Edge explains.
Extreme ASP.NET: Client-Side Web Service Calls with AJAX Extensions
Fritz Onion - January 2007
Microsoft AJAX Library and the ASP.NET 2.0 AJAX Extensions provide a number of compelling features ranging from client-side data binding, to DHTML animations and behaviors. Learn all about them here.
Security Briefs: Using Protocol Transition—Tips from the Trenches
Keith Brown - January 2007
Now that Windows Server 2003 is widely deployed, Keith Brown addresses questions from readers who are trying to use protocol transition to build secure gateways into their intranets.
Extend ASP.NET: Simplify Data Binding In ASP.NET 2.0 With Our Custom Control
Rick Strahl - December 2006
The wwDataBinder control addresses simple control data binding--binding simple form controls like textboxes, checkboxes, and the selected values of list controls to individual data or object values.
Cutting Edge: The Client Side of ASP.NET Pages
Dino Esposito - December 2006
This month Dino Esposito dissects the client-side source code generated by ASP.NET pages.
Single Sign-On: A Developer's Introduction To Active Directory Federation Services
Keith Brown - November 2006
Use Active Directory Federation Services to allow other organizations to use your Web applications without the need for you to grant access explicitly.
Basic Instincts: Server-Side Generation of Word 2007 Docs
Ted Pattison - November 2006
This month, Office Open XML, which allows ASP.NET and SharePoint developers to read, write, and generate Word, Excel, and PowerPoint documents on the server without running an Office desktop application there.
Cutting Edge: Simplify Task Progress with ASP.NET "Atlas"
Dino Esposito - October 2006
Dino Esposito rewrites his task progress bar with the help of ASP.NET “Atlas.”
Extreme ASP.NET: Control Adapters
Fritz Onion - October 2006
Control adapters let you provide alternate renderings of controls for mobile devices. But they can also be used to completely change the rendering of a con¬trol based on browser type, which can be useful in a number of situations.
Security Briefs: CardSpace, SqlMembershipProvider, and More
Keith Brown - October 2006
This month Keith Brown fields some reader questions on InfoCard turned CardSpace and passwords for SqlMembershipProvider.
Wicked Code: Running ASMX Web Services on STA Threads
Jeff Prosise - October 2006
Jeff Prosise describes performance problems in an ASMX Web service that relied on legacy COM and Visual Basic 6.0 to perform key processing tasks and the approach he took to find a fix.
Cutting Edge: Reporting Task Progress With ASP.NET 2.0
Dino Esposito - September 2006
The progress bar is great for keeping users informed about the progress of a task. Unfortunately, there’s no progress bar element built into ASP.NET, so Dino Esposito solves that problem with his ProgressPanel control.
Gathering MOSS: New Dev-Centric Features In Office SharePoint Server Keep Your Apps Rolling
Ted Pattison - August 2006
Microsoft Office SharePoint Server (MOSS) 2007 provides great portal and search features and much more, and Ted Pattison puts them to good use here.
Basic Instincts: Resources and Localization in ASP.NET 2.0
Ted Pattison - August 2006
In this installment of Advanced Basics Ted Pattison discusses the localization of Web sites in ASP.NET 2.0.
Cutting Edge: All About Enums
Dino Esposito - August 2006
Dino Esposito reviews the basics of enumeration types and their implementation in the Microsoft .NET Framework.
Design Patterns: Model View Presenter
Jean-Paul Boodhoo - August 2006
The MVP pattern helps you separate your logic and keep your UI layer free of clutter. This month learn how.
Atlas At Last: ASP.NET Atlas Powers the AJAX-Style Sites You’ve Been Waiting For
Matt Gibbs - July 2006
Web App Follies: Keep Sites Running Smoothly By Avoiding These 10 Common ASP.NET Pitfalls
Jeff Prosise - July 2006
WSS 3.0 Preview: Discover Significant Developer Improvements In SharePoint Services
Ted Pattison - July 2006
Editor's Note: Get Ready for AJAX
- July 2006
If you’re fortunate enough to attend a developer conference this year, look around at the variety of people. There are all kinds out there, a diverse ecosystem as the marketing folks might say. Even within a relatively narrow group like programmers, you’ll find a wide range of goals and interests.
Inside MSDN: Building the MSDN Aggregation System
John Mollman - July 2006
Have you visited msdn2. microsoft. com? It’s the new online face of the MSDN® Developer Tools and Enterprise Server documentation. The infrastructure behind it includes a system developed by my team at Microsoft for aggregating information related to our content.
Extreme ASP.NET: Asynchronous Web Parts
Fritz Onion - July 2006
Building a customizable Web site complete with a collection of pluggable Web Parts is fairly easy with the portal infrastructure of ASP. NET 2. 0. This model is very flexible, allowing users to easily place your Web Parts anywhere on the Web page so they are free to customize your site.
Share The Load: Report Visual Studio Team System Load Test Results Via A Configurable Web Site
Wen Ding - June 2006
This article discusses a new load test tool in Visual Studio 2005 Team System for performance and stress testing your Web sites, Web services, and other server components. Combined with its handy reporting capabilities, the load test tool provides some powerful options for sharing and managing test results.
Cutting Edge: A Provider-Based Service for ASP.NET Tracing
Dino Esposito - June 2006
When it comes to catching programming errors, the debugger is a developer's best friend. ASP. NET tracing, however, is a nice complement to the debugger and shouldn't be overlooked. It enables your ASP.
Wicked Code: Three Cures for Common Site Map Ailments
Jeff Prosise - June 2006
Data-driven site navigation is among the niftiest and most useful features in ASP. NET 2. 0. To get it working, all you do is create an XML site map file (or a SQL site map if you're using the MSDN®Magazine SqlSiteMapProvider), add a SiteMapDataSource, and bind a TreeView or Menu to the SiteMapDataSource.
Cutting Edge: Extending the GridView Control
Dino Esposito - May 2006
Welcome to my100th consecutive installment of Cutting Edge. I've been writing this column since January 1998 in Microsoft Internet Developer. Looking back over the past eight years, I realize that I've touched on almost every subject in the Windows® SDK and the Microsoft® .
Extreme ASP.NET: Keeping secrets in ASP.NET 2.0.
Rob Howard - May 2006
Storing data securely in a configuration system is not an easy problem to solve. While I was on the ASP. NET team, this particular feature, secure connection string storage, looked as if it wouldn’t get done.
Extreme ASP.NET: A New Solution to an Old State Storage Problem
Fritz Onion - April 2006
State management in Web applications is a contentious issue. Should you store user data per session or should you persist it across sessions? You can easily store information temporarily while someone navigates your site by using session state.
Basic Instincts: Introducing ASP.NET Web Part Connections
Ted Pattison - February 2006
When you begin to work with the Microsoft® . NET Framework 2. 0 and ASP. NET, you discover that the new Web Parts infrastructure adds some very powerful functionality to the underlying platform. In the September 2005 issue of MSDN®Magazine, Fritz Onion and I have an article on programming Web Parts titled "ASP.
Cutting Edge: Build Providers for Windows Forms
Dino Esposito - February 2006
In ASP. NET and Windows Forms projects, some file types are treated differently than others. For example, ASPX and ASCX files are dynamically parsed and compiled to an assembly on the fly. The contents of an XML Schema Definition (XSD) file are used to create a new, strongly typed DataSet-based object at design time.
Wicked Code: The SQL Site Map Provider You've Been Waiting For
Jeff Prosise - February 2006
Now that ASP.NET 2.0 is a shipping product, it seems appropriate to revisit an issue that tops the new features wish lists of many developers: a SQL Server™ site map provider.
Cutting Edge: Custom Data Control Fields
Dino Esposito - January 2006
In ASP. NET 2. 0, the GridView and DetailsView controls are designed to work together. They don't merely provide complementary services, they also share a number of helper classes and components. The output of the GridView control consists of a sequence of rows, each with a fixed number of columns.
Extreme ASP.NET: Codebehind and Compilation in ASP.NET 2.0
Fritz Onion - January 2006
As I write this column, the release candidates of the Microsoft® .NET Framework 2.0 and Visual Studio® 2005 have just come out, and by the time you read this, they will both already be on the shelves. It feels like it's been a long time coming.
Web Apps: An Overview Of The New Services, Controls, And Features In ASP.NET 2.0
Jeff Prosise - Visual Studio 2005 Guided Tour 2006
ASP.NET 2.0 aims to reduce the amount of code required to accomplish common Web programming tasks by 70 percent or more. New services, controls, and features make it almost as dramatic an improvement to ASP.NET 1.x as that was to ASP Classic. Here Jeff Prosise explores the new features.
UI on the Fly: Use the .NET Framework to Generate and Execute Custom Controls at Run Time
Morgan Skinner - December 2005
Creating UI controls on the fly can be accomplished via run-time code generation. And there are lots of reasons to do so. Generating these controls once and then reusing them as needed is more efficient than generating the controls each time. Read on.
Cutting Edge: Flexible Custom Data Views
Dino Esposito - December 2005
ASP. NET 1. x introduced some powerful and useful data-bound controls. However, none were designed specifically to manage the view of a single record. When you build master/detail views, you need to display the contents of a single record.
Are You Protected?: Design and Deploy Secure Web Apps with ASP.NET 2.0 and IIS 6.0
Mike Volodarsky - November 2005
Ensuring the security of a Web application is critical and requires careful planning throughout the design, development, deployment, and operation phases. It is not something that can be slapped onto an existing application. In this article, Mike Volodarsky outlines best practices that allow you to take advantage of the security features of ASP.NET 2.0 and IIS 6.0 to build and deploy more secure Web applications.
Who Goes There?: Upgrade Your Site's Authentication with the New ASP.NET 2.0 Membership API
Dino Esposito and Andrea Saltarello - November 2005
Here Dino Esposito and Andrea Saltarello cover the plumbing of the Membership API and its inherently extensible nature, based on pluggable providers. To demonstrate the features, they take an existing ASP.NET 1.x authentication mechanism and port it to ASP.NET 2.0, exposing the legacy authentication mechanism through the new Membership API.
Web Q&A: ASP.NET Session State, Validation, DataGrids, and More
Edited by Nancy Michell - November 2005
Cutting Edge: A Quick Tour of Themes in ASP.NET 2.0
Dino Esposito - November 2005
It's much easier to build a rich user interface into your Web application in ASP. NET 2. 0 than it was in previous versions. Master Pages let you build pages based on existing templates of markup and code.
Extreme ASP.NET: Page Navigation
Rob Howard - October 2005
In my childhood I spent several weeks a year in Holland with my extended family. As a young American boy I was fascinated with the electric Dutch trains, something we didn't see in my hometown of Dallas, Texas.
Cutting Edge: Personalization and User Profiles in ASP.NET 2.0
Dino Esposito - October 2005
Personalization is growing to be more and more of an essential ingredient in many types of Web apps, including portals and shopping sites. Without it, it's quite difficult to serve your customers efficiently.
Wicked Code: Asynchronous Pages in ASP.NET 2.0
Jeff Prosise - October 2005
ASP.NET 2.0 is replete with new features ranging from declarative data binding and Master Pages to membership and role management services. But my vote for the coolest new feature goes to asynchronous pages, and here's why.
Best Practices: Fast, Scalable, and Secure Session State Management for Your Web Applications
Mike Volodarsky - September 2005
ASP.NET provides a number of ways to maintain user state, the most powerful of which is session state. This article takes an in-depth look at designing and deploying high-performance, scalable, secure session solutions, and presents best practices for both existing and new ASP.NET session state features straight from the ASP.NET feature team.
ASP.NET 2.0: Personalize Your Portal with User Controls and Custom Web Parts
Ted Pattison and Fritz Onion - September 2005
ASP.NET 2.0 introduces a Web Part control that is designed to deal with the serialization, storage, and retrieval of customization and personalization data behind the scenes. In this article, the authors explain how you can put the WebPart control to work in your ASP.NET 2.0 applications.
Call MOM: Instrument and Monitor Your ASP.NET Apps Using WMI and MOM 2005
Michael Jurek - September 2005
The current version of Windows Management Instrumentation (WMI) satisfies many current and future manageability requirements. In this article Michael Jurek demonstrates how WMI provides important system management capabilities and develops a WMI-aware monitoring solution you can use to instrument your ASP.NET applications. He then introduces the capabilities of MOM 2005 that allow you to monitor these instrumented applications.
Web Q&A: Smart Navigation, ASP.NET Project Structure, and More
Edited by Nancy Michell - September 2005
Cutting Edge: ASP.NET Forms
Dino Esposito - September 2005
Forms are an essential piece of ASP. NET—the ASP. NET Web programming model itself wouldn't be possible without forms. The use of forms is not constrained in pure HTML, but it is subject to some restrictions in ASP.
Security Briefs: Credentials and Delegation
Keith Brown - September 2005
I get loads of security questions from friends and former students, and recently I've gotten a number of questions about building secure data-driven Web sites for internal enterprise systems. I've decided to answer them here to hopefully save you some headaches in your own projects.
Cutting Edge: DHTML-Enabled ASP.NET Controls
Dino Esposito - July 2005
In the past, I've covered some core aspects of the interaction between DHTML behaviors, the browser, and ASP. NET runtime (see Cutting Edge: Extend the ASP. NET DataGrid with Client-side Behaviors and Cutting Edge: Moving DataGrid Rows Up and Down).
Web Q&A: Locking Pop-Up Blocker, Mixed Authentication, and More
Edited by Nancy Michell - June 2005
Cutting Edge: Data Repeater Controls in ASP.NET
Dino Esposito - June 2005
The ASP. NET Repeater is a basic container control that allows you to create custom lists from any data available to the page. It's a handy control, especially since most ASP. NET pages that display data need to repeat the same kinds of data over and over.
Extreme ASP.NET: Tools of the Trade: Application Center Test
Rob Howard - June 2005
When you sit down to write an ASP. NET application, how much time do you spend thinking about performance? It's unfortunate, but for most developers performance is an afterthought. Performance planning and design really need to be front and center.
Wicked Code: Power Programming Tips for ASP.NET 2.0
Jeff Prosise - June 2005
In the February 2005 issue, I introduced five lesser-known features of ASP. NET 2. 0 that have the potential to make a significant impact on the security, performance, and robustness of your code (see Wicked Code: Five Undiscovered Features on ASP.
Web Q&A: ASP.NET Performance, Notification, Keeping Sort Order, and More
Edited by Nancy Michell - May 2005
Cutting Edge: Collections and Data Binding
Dino Esposito - May 2005
When it's time to design the Data Access Layer (DAL) of your distributed Microsoft® . NET Framework-based app, one of the key decisions you'll make is how you'll pass data to and from methods of DAL classes.
Extreme ASP.NET: A Little Bit of Control for Your Controls
Rob Howard - May 2005
Having worked for so many years designing and developing ASP. NET while at Microsoft, it's exciting now to have a venue in which to talk about it. In this new column, Extreme ASP. NET, I'll discuss and demonstrate time-tested techniques and approaches to implementing high-performance, reliable, secure, and user-friendly Web applications with ASP.
Security: Unify Windows Forms and ASP.NET Providers for Credentials Management
Juval Lowy - April 2005
The .NET Framework 2.0 provides custom credentials management to ASP.NET apps out of the box. Using it, you can easily authenticate users without using Windows accounts. In this article the author presents a set of helper classes that let a Windows Forms application use the ASP.NET credentials management infrastructure as easily as if it were an ASP.NET application.
Web Q&A: Get Authentication Type, Get Screen Resolution, and More
Edited by Nancy Michell - April 2005
Test Run: Lightweight UI Test Automation for ASP.NET Web Apps
James McCaffrey - April 2005
The release of ASP. NET revolutionized Web development and made it easy to create full-featured Web applications. Visual Studio® 2005 and ASP. NET 2. 0 will let you add even more functionality to your applications, but the more features a Web application has, the more important testing becomes.
.NET Matters: ICustomTypeDescriptor, Part 1
Stephen Toub - April 2005
ASP.NET: Combine Web and Windows Services to Run Your ASP.NET Code at Scheduled Intervals
Andrew Needleman - March 2005
If you want to schedule ASP.NET tasks, one solution is to use a Web service to provide an interface to your ASP.NET application and build a Windows service that calls to it at scheduled intervals. Thus the ASP.NET application doesn't have to own the scheduling logic. Here the author shows how to schedule your ASP.NET tasks using a Windows service to initiate the Web service call because Windows services can start themselves when Windows boots up.
Cutting Edge: Moving DataGrid Rows Up and Down
Dino Esposito - March 2005
Imagine opening your Inbox one morning and finding a message that reads "Dear Mr. DataGrid, I urgently need an ASP.NET DataGrid that lets my users move rows on the client. You're my last hope. Will you please help me?"
Web Q&A: ActiveX Privileges, Making Icon Files, Sticky Sessions, and More
Edited by Nancy Michell - February 2005
Inside MSDN: Designing URLs for MSDN2
Tim Ewald - February 2005
This is the first installment of a new column about MSDN® projects: what we're doing, how we're doing it, and what we're learning along the way. It will be written by MSDN staff with the goal of sharing the team's experiences in solving the real-world business problems MSDN faces.
Cutting Edge: Adding a Context Menu to ASP.NET Controls
Dino Esposito - February 2005
Although the context menu is a common element of most desktop applications, it is still fairly uncommon in Web application names because it doesn't map well to a server-based technology like ASP. NET.
Wicked Code: Five Undiscovered Features on ASP.NET 2.0
Jeff Prosise - February 2005
By now, developers everywhere have had the opportunity to download the first beta of the Microsoft® . NET Framework 2. 0. ASP. NET developers who have played with it are no doubt salivating at all the cool new features.
ASP.NET: 10 Tips for Writing High-Performance Web Applications
Rob Howard - January 2005
Writing a Web application with ASP.NET is unbelievably easy. So many developers don't take the time to structure their applications for great performance. In this article, the author presents 10 tips for writing high-performance Web apps. The discussion is not limited to ASP.NET applications because they are just one subset of Web applications.
Interop: Get Seamless .NET Exception Logging From COM Clients Without Modifying Your Code
Matt Adamson - January 2005
Using .NET objects from ASP can help you gain experience with the .NET Framework before migrating to ASP.NET. Your ASP pages will make use of the new .NET components through COM-callable wrappers (CCW). But how will you handle exceptions? This article fills you in.
Data Points: Data Source Controls in ASP.NET 2.0
John Papa - January 2005
ASP. NET 2. 0 introduces a series of new tools that improve data access including several data source and data bound controls. The new assortment of data source controls can eliminate a ton of repetitive code that was required in ASP.
Cutting Edge: Custom Script Callbacks in ASP.NET
Dino Esposito - January 2005
ASP. NET client callbacks represent a neat and elegant way to execute server-side code without posting and refreshing the current page. I discussed ASP. NET callbacks in the August and December 2004 installments of Cutting Edge, considering them from the perspective of rendered pages making background callbacks to the server, sending input data to the relevant page, and receiving a response.
The ASP Column: Determining Browser Capabilities in ASP.NET
George Shepherd - January 2005
Web applications are different from applications that run in homogenous environments because they send their output to all kinds of platforms and Web browsers. Some browsers support client-side scripting, some support XHTML, and still others have limited screen real estate.
Web Q&A: Windowed and Windowless Elements, Cookie Characters, and More
Edited by Nancy Michell - December 2004
Cutting Edge: Implications of Script Callbacks in ASP.NET
Dino Esposito - December 2004
Script callbacks in ASP. NET 2. 0 is a feature whose time has come. Script callbacks can significantly speed up an application by limiting server postbacks. They also allow you to execute small portions of server-side code without having to manage the view state for reading or writing.
Service Station: Run ASMX Without IIS
Aaron Skonnard - December 2004
When the Microsoft® . NET Framework first shipped, it introduced a breakthrough Web services framework known as ASMX. The motivation behind the ASMX design was to simplify the process of developing Web services as much as possible so that even if you're not an XML expert, you can get a Web service up and running.
Web Q&A: ADO.NET Joins, HTML to XHTML, ASP.NET ViewState, and More
Edited by Nancy Michell - November 2004
Cutting Edge: The ASP.NET 2.0 Wizard Control
Dino Esposito - November 2004
ASP.NET has a lot to offer to both the low-level programmer willing to control every little step of the code and the busiest of developers who needs to point-and-click his way through Web app development using just a few existing components.
ASP.NET 2.0: Speed Up Your Site with the Improved View State in ASP.NET 2.0
Fritz Onion - October 2004
View state is a wonderful thing. It allows the ASP.NET developer to maintain state for server-side controls that are not form elements.Used judiciously, it can improve the user experience. But in the wrong hands, it can cause your pages to grind to a halt. The release of ASP.NET 2.0 will include a variety of improvements to view state that will make it easier to use and less likely to slow performance.
Web Q&A: Refreshing Web Pages, Spyware, Group Policy, and More
Edited by Nancy Michell - October 2004
Cutting Edge: Design Smarter Tracing for ASP.NET Pages
Dino Esposito - September 2004
Tracing is important to the success of your ASP. NET applications. When tracing is enabled for an ASP. NET page, a large chunk of runtime information is appended to the page's output for your perusal.
The ASP Column: What's in ASP.NET Config Files?
George Shepherd - September 2004
Even though you've been using ASP. NET for a while, how much do you really know about ASP. NET configuration files? While you've probably touched the Web. config file from time to time, there are some nuances involved in configuring ASP.
Reporting: Deliver User-Friendly Reports from Your Application with SQL Server Reporting Services
John C. Hancock - August 2004
SQL Server 2000 Reporting Services--a server-based reporting platform built on the .NET Framework and integrated with SQL Server 2000--lets you easily add reporting from diverse data sources. Using Visual Studio and Reporting Services you can integrate reports from any data source that has an OLE DB, ODBC, or ADO.NET provider into your Web applications. This article explains how it's done.
GridView: Move Over DataGrid, There's a New Grid in Town!
Dino Esposito - August 2004
When incorporating the ASP.NET DataGrid control into your Web apps, common operations such as paging, sorting, editing, and deleting data require more effort than you might like to expend. But all that is about to change. The GridView control--the successor to the DataGrid-- extends the DataGrid's functionality it in a number of ways. First, it fully supports data source components and can automatically handle data operations, such as paging, sorting, and editing, as long as its bound data source object supports these capabilities. In addition, the GridView control offers some functional improvements over the DataGrid. Here DataGrid expert Dino Esposito introduces the GridView and explains all its long-awaited features.
Web Q&A: Page Ready State, DataGrid Row Deletion, and More
Edited by Nancy Michell - August 2004
Cutting Edge: Script Callbacks in ASP.NET
Dino Esposito - August 2004
If you're involved in Web development you may have faced a problem that you couldn't find a good solution for—making client-to-server calls outside the current page. For example, you might want to validate the content of a textbox against data stored on the server asynchronously, without interrupting the continuity of the work or without forcing a full page refresh, which is particularly heavy for UI-rich pages.
Test Run: Test Automation for ASP.NET Web Apps with SSL
James McCaffrey - August 2004
If you're encrypting user data with Secure Sockets Layer (SSL) over HTTP and you want to test your Web applications programmatically you'll find that the techniques are not widely known. In this month's column I'll show you how to set up a test SSL server and write test automation that verifies the functionality of a simple but representative Web application.
Wicked Code: Foiling Session Hijacking Attempts
Jeff Prosise - August 2004
Let's face it: every minute of every day, someone, somewhere, is patrolling the Web looking for sites to hack. ASP. NET developers must constantly be on their guard to ensure attempted hacks can't be successful.
Cutting Edge: Implement Custom Cache Dependencies in ASP.NET 1.x
Dino Esposito - July 2004
One of the most compelling improvements that ASP. NET brought to ASP programming was the Cache object. The Cache has some similarities to the Application object and is a container of global data (as opposed to session-specific data) that features a fair number of innovative characteristics.
Advanced Basics: Data Binding Radio Buttons to a List
Duncan Mackenzie - July 2004
The Big Story: An Overview of the New Services, Controls, and Features in ASP.NET 2.0
Jeff Prosise - June 2004
ASP.NET has become a bit of a gold standard for Web programming. The upcoming version, ASP.NET 2.0 will have even more of the kinds of features that have made it the popular framework it is today. This article takes a broad look at those features, including what's new in data source controls, themes and skins, the DataGrid and its new functionality, managing roles, and other administrative tasks.
Security: Security Headaches? Take ASP.NET 2.0!
Keith Brown - June 2004
ASP.NET 2.0 provides significant advantages with respect to security, especially for folks developing Web sites that use Forms authentication. By providing a user profile repository with support for roles, Forms authentication will move beyond the purview of the ASP.NET internals guru, and should become much more broadly accessible. This article introduces security in ASP.NET 2.0 to give you a head start with upcoming features.
Portals: Unleash Your Site's Potential with Web Parts and Personalization in ASP.NET 2.0
Steven A. Smith - June 2004
ASP.NET 2.0 has addressed some of the most common problems developers face today with a suite of controls, components and IDE tools. One such issuer is maintaining preferences information about individual users of a Web application in a uniform manner. This article drills down into ASP.NET 2.0 to illustrate how it helps solve these problems far easier than is possible today, and demonstrates how these features can be combined to build powerful, personalized Websites in very little time.
Data: More Load, Less Code with the Data Enhancements of ASP.NET 2.0
Dino Esposito - June 2004
A data source control is a server control that wraps some basic functions of a data source - be it a SQL Server database, an XML document, an Excel worksheet, or a sitemap description. Through the services of a similar component, data-bound controls can fetch data as well as insert new records or update and delete existing ones. Data source controls enable a consistent model across a variety of data sources and dramatically reduce the amount of code needed to implement a two-way data-binding scenario. This article provides an introduction to data source controls and other related data binding features.
Master Pages: Master Your Site Design with Visual Inheritance and Page Templates
Fritz Onion - June 2004
Master pages in ASP.NET 2.0 solve a problem many Web developers have been solving on their own with a variety of techniques for years - providing a single master template for an entire site. This article covers the details of master pages, discussing their usage and implementation and how they are a natural evolution of custom techniques developers are using today.
Controls: Plan Your Migration to the Visual Studio 2005 Navigation Controls
Dave Donaldson and Steven DeWalt - June 2004
Navigation is central to a well functioning Web application and it can be implemented numerous ways using today's technologies. This article highlights some of the key details of the new navigation controls that are part of the upcoming ASP.NET 2.0, and talks about how to design and implement one of these navigation controls today. This article contains a simple Web site that demonstrates the use of these navigation controls, pointing out some of the key items such as a breadcrumb control and things to watch for along the way. The article then describes how to implement a breadcrumb control today.
Editor's Note: Fun with ASP.NET 2.0
Joshua Trupin - June 2004
As you could probably tell from the cover, we are bringing you early, in-depth coverage of ASP. NET 2. 0, the Web components of the next version of the Microsoft . NET Framework. ASP. NET 2. 0 was unveiled at the October 2003 Microsoft PDC, but until now has had limited availability.
Cutting Edge: Dress Your Controls for Success with ASP.NET 1.1 Themes, Part 2
Dino Esposito - June 2004
Web Q&A: Request Timeouts, Byte Array Conversion, and More
Edited by Nancy Michell - May 2004
Data Points: Saving Parent-child Data in a Multitiered App Using ADO.NET
John Papa - May 2004
Cutting Edge: Dress Your Controls for Success with ASP.NET 1.1 Themes
Dino Esposito - May 2004
Cutting Edge: Image Generation Service for ASP.NET 1.1
Dino Esposito - April 2004
Data Points: Exception-handling Techniques
John Papa - March 2004
Cutting Edge: Personalization in ASP.NET 1.1
Dino Esposito - March 2004
The ASP Column: Using SOAP Extensions in ASP.NET
George Shepherd - March 2004
Resource File: ASP.NET "Whidbey"
- March 2004
Web Q&A: ANSI Chars in XML, E-commerce Architecture, and More
Edited by Nancy Michell - February 2004
The ASP Column: Web Services: ATL Server Versus ASP.NET
George Shepherd - February 2004
Wicked Code: Client-side Paging for DataGrids
Jeff Prosise - February 2004
Cutting Edge: Extend the ASP.NET DataGrid with Client-side Behaviors
Dino Esposito - January 2004
Web Q&A: Virtual Directories, Releasing DB Connections, and More
Edited by Nancy Michell - December 2003
Design Patterns: Asynchronous Wait State Pattern in ASP.NET
Lyn Robison - December 2003
The ASP Column: ATL Server Versus ASP.NET
George Shepherd - November 2003
OLAP: Build an OLAP Reporting App in ASP.NET Using SQL Server 2000 Analysis Services and Office XP
Jeffrey Hasan and Kenneth Tu - October 2003
Many organizations analyze their business-critical data using Online Analytical Processing (OLAP) technology. OLAP-based data mining provides a way to query multidimensional data sets and drill down into the data to find patterns. ASP.NET and the Microsoft Office Web Components (OWC) enable Web-based OLAP reporting. The OWC controls include PivotTable and Chart components that can be embedded in a Web page and scripted by programmers. In this article, the authors build a Web-based OLAP reporting app using ASP.NET, OWC, and SQL Server 2000 Analysis Services to illustrate the process.
Marco Bellinaso - October 2003
Cutting Edge: Nested Grids for Hierarchical Data
Dino Esposito - October 2003
Web Q&A: InfoPath Back End, WSH Script Signing, and More
Edited by Nancy Michell - September 2003
The ASP Column: The Internet Explorer Toolbar Control
George Shepherd - September 2003
ASP.NET: Jump Start Your Web Site Development with the ASP.NET Starter Kits
Paul Litwin - August 2003
If you're building an ASP.NET Web site you could probably use a good, solid code foundation to start with and build upon. Wouldn't it be nice to start with a complete site, make a few tweaks and customizations, and go live? The ASP.NET Starter Kits are packaged solutions that let you do just that. The five kits—Community, Reports, Commerce, Portal, and Time Tracker—supply full, reusable code that can be easily customized. In addition, there are a number of ISPs that support automatic deployment of ASP.NET Starter Kit Web sites, leaving you with little left to do when you have to get there fast. Here, the author introduces the ASP.NET Starter Kits and builds a community Web site with lots of advanced features such as ratings, user polls, upload quotas, change notifications, and themes.
Web Services: Extend the ASP.NET WebMethod Framework with Business Rules Validation
Aaron Skonnard and Dan Sullivan - August 2003
In an earlier article the authors showed how to build a custom WebMethods extension that provides XML Schema validation, a function that is lacking in ASP.NET. In the process they established a foundation for enforcing business rules during the deserialization of XML data. The technique, which is described in this article, uses declarative XPath assertions to test business rule compliance.In building this business rules validation engine, the authors integrate the validation descriptions into the WSDL file that is automatically generated by the WebMethod infrastructure. Finally, they demonstrate how to extend wsdl.exe, the tool that generates WebMethod proxy/server code from WSDL files, to make use of their extensions.
Cutting Edge: Creating a Multi-table DataGrid in ASP.NET
Dino Esposito - August 2003
If you bind a multi-table DataSet to a DataGrid, only the first table is recognized. Here Dino Esposito writes a custom solution the the multi-table problem.
Vector Graphics: Build Flexible, Lightweight XML-Based Images for ASP.NET Using Scalable Vector Graphics
Dennis Forbes - July 2003
Scalable Vector Graphics (SVG), a W3C graphics standard built around XML, is one of several vector graphics technologies that allows fast, lightweight drawings such as charts and graphs to be rendered on the fly in an appropriate viewer. There are many advantages to such vector graphics, including conservation of bandwidth and storage media, and flexibility. This article explains these benefits and shows you how to easily add powerful, dynamic, interactive visual elements to your Web applications.
Web Services: Extend the ASP.NET WebMethod Framework by Adding XML Schema Validation
Aaron Skonnard and Dan Sullivan - July 2003
WebMethods make the development of XML Web Services easier by encapsulating a good deal of functionality, but there is still a lot of underlying XML processing that you have to be responsible for. For example, WebMethods do not validate messages against the implied schema. Because they are not validated, the response that's returned can result in unintended consequences. To address this, the authors extend the WebMethod framework by adding XML Schema validation through a custom SoapExtension class.
Web Q&A: Accessible Images, Image Format Converter, and More
Edited by Nancy Michell - July 2003
Data Points: Managing Hierarchical Inserts in ASP.NET and ADO.NET
John Papa - July 2003
ASP.NET Pipeline: Use Threads and Build Asynchronous Handlers in Your Server-Side Web Code
Fritz Onion - June 2003
Fortunately for developers, threading in ASP.NET is a lot easier than it was in ASP. In this article, the author takes a look at threading in the ASP.NET HTTP pipeline, and explains how threads are managed efficiently without the involvement of the developer. The article considers how the common language runtime threadpool is used by ASP.NET to service requests, looks at the pooling mechanisms used for handlers, modules, and applications, and covers both IIS 5.0 and IIS 6.0 and how they differ in their approach to request processing and thread allocation. Finally, how and when to use asynchronous handlers is discussed for developers who still need to use threads in their own applications.
Web Q&A: Font Sizing, Internationalization in JScript, and More
Edited by Nancy Michell - June 2003
Font Sizing, Internationalization in JScript, and More.
Cutting Edge: ASP.NET Controls Templates
Dino Esposito - June 2003
It's easy to create a custom control in ASP.NET by deriving a new class from an already existing control. Creating a new ASP.NET control from scratch, on the other hand, is more challenging. When you need a Web server control and none of the existing ones meet your requirements, you can derive from one of the base classes - Control or WebControl. Try it out.
The ASP Column: Tree Controls with XSL
George Shepherd - June 2003
Manipulating the TreeView server-side control is very much like programming any other ASP.NET server-side control. There are a number of properties, methods, and events that are available both programmatically and through the designer. Find out how to take advantage of it.
Data Points: Techniques for Managing Rowset Paging
John Papa - May 2003
There are a number of ways to handle paging in Web applications. This month I'll examine several paging techniques and weigh their pros and cons. John Papa discusses how to manage paging and caching issues through the lower tiers of an n-tiered architecture, including how to make SQL Server manage the paging on your app's behalf.
Cutting Edge: Form-based Programming in ASP.NET
Dino Esposito - May 2003
One of the most common snags that ASP developers encounter when they first approach ASP.NET is that managed Web applications must be written according to a single-form interface model. Find out how it works.
ASP.NET: Nine Options for Managing Persistent User State in Your ASP.NET Application
Steven Smith - April 2003
ASP.NET provides many different ways to persist data between user requests. You can use the Application object, cookies, hidden fields, the Session or Cache objects, and lots of other methods. Deciding when to use each of these can sometimes be difficult. This article will introduce the aforementioned techniques and present some guidelines on when to use them. Although many of these techniques existed in classic ASP, best practices for when to use them have changed with the introduction of the .NET Framework. To persist data in ASP.NET, you'll have to adjust what you learned previously about handling state in ASP.
Cutting Edge: MyTracer Monitors and Traces ASP.NET Apps
Dino Esposito - April 2003
The Microsoft® . NET Framework comes with a rich set of programming tools for debugging and tracing applications. I'm not talking about integrated debuggers; I'm referring to software components that you use in the development cycle.
Wicked Code: Supporting Database Cache Dependencies in ASP.NET
Jeff Prosise - April 2003
Developers love the ASP. NET application cache. One reason they love it is that ASP. NET lets them create dependencies between items placed in the cache and files in the file system. If a file targeted by a dependency changes, ASP.
Resource File: ASP.NET Starter Kits
- April 2003
It's a well-known axiom in the world of programming: build the samples and they will come. ASP. NET is well suited for building online storefronts and communities, but a lack of easy-to-use, standardized samples has sometimes slowed adoption.
Site Skinning: Rich XML Classes Let Users Personalize Their Visual Experience on Your ASP.NET Site
Harry Pierson - March 2003
One way that Web sites and applications become better able to meet the needs of customers is by allowing them to personalize their experience. For Web sites, this means displaying the content as the user wants to see it. For rich-client applications, this often means allowing the user to choose the user interface through a technique known as skinning, which is similar to themes in Windows XP. This article shows how you can apply skinning to Web sites, wrapping their functionality in a new user interface. The technique uses the rich XML classes in the .NET Framework and the built-in extensibility of ASP.NET.
House of Web Services: Accessing Raw SOAP Messages in ASP.NET Web Services
Tim Ewald - March 2003
Web Services exchange XML messages. Most of today's Web Service toolkits do their best to hide this fact from developers, by exposing a Web Service's behavior as method invocations against objects instead.
Cutting Edge: The ASP.NET View State
Dino Esposito - February 2003
In ASP. NET pages, the view state represents the state of the page when it was last processed on the server. It's used to build a call context and retain values across two successive requests for the same page.
The ASP Column: Using the Internet Explorer WebControls
George Shepherd - February 2003
During the lifespan of ASP, there have been many technologies developed for making browser-based user interface development easier. For example, during the early days of classic ASP development, keeping a browser-based UI consistent required many conditional statements into the ASP script.
Web Q&A: Releasing Memory in JScript, Bulkload Problems, and More
Edited by Nancy Michell - January 2003
Cutting Edge: ASP. NET Client-side Hosting with Cassini
Dino Esposito - January 2003
In the September and October 2000 issues of MSDN® Magazine I discussed how to build a client-side environment for ASP applications; that is, a serverless environment to run ASP pages (see Cutting Edge: A Client-side Environment for ASP Pages and Cutting Edge: A Client-side Environment for ASP Pages—Part 2).
XML Schemas: Take Advantage of Existing External XML Schemas with a Custom Import Framework in ASP.NET
Scott Short - December 2002
Over the years, many industry-standard XML schemas and dialects have been developed. These industry-specific schemas embrace the original purpose of XML and are extremely valuable in promoting and supporting B2B interaction. Unfortunately, the ASP.NET Web Services runtime does not allow developers to directly reference external schemas from within their XML Web Services interface (the WSDL file). This article builds an external schema framework as an extension to the ASP.NET Web Services runtime to enable you to reference external schemas within your XML Web Service interface.
Provisioning: Use Web Services Provisioning to Control Access, Usage, and Billing on Your Site
Chandu Thota - December 2002
Building Web Services to provide enterprise-level solutions is only the first step. You need to take care of the infrastructure aspects of your solution as well, including provisioning, billing, security, and reporting. In this article, the author uses the .NET Framework and SQL Server 2000 to design a provisioning system that will take care of all these housekeeping tasks. He discusses the general requirements of a Web Service provisioning system, walks through the implementation, and then outlines various scenarios for putting this system to work.
Web Q&A: Web Services
Edited by Nancy Michell - December 2002
Wireless Web: Microsoft Mobile Internet Toolkit Lets Your Web Application Target Any Device Anywhere
Paul Yao and David Durant - November 2002
If you've built Web sites using ASP.NET, you'll welcome the Microsoft Mobile Internet Toolkit (MMIT). MMIT extends the Visual Studio .NET IDE you already know by providing new controls for handheld devices letting you easily develop applications for wireless devices. This means you can write less code while adapting it to more devices. Not only does MMIT integrate with Visual Studio .NET, it extends ASP.NET as well. This article gives you the background you need to write, test, and deploy a site with MMIT and make all your code able to target specific devices for a custom fit.
Web Q&A: Mobile Internet Toolkit versus Smart Device Extensions, SSL Glitch Again, and More
Edited by Nancy Michell - November 2002
The ASP Column: Deploying an ASP.NET App Using Visual Studio .NET
George Shepherd - November 2002
When Visual Studio® . NET was released back in February 2002, it included a number of new features that made it easier to create Web applications. The Microsoft® . NET Framework includes classes for intercepting and processing HTTP requests, and Visual Studio .
Web Q&A: Allowing ASP in IIS 6.0, Sorting XML Elements, SSL and Navigation, and More
Edited by Nancy Michell - October 2002
HTTP Pipelines: Securely Implement Request Processing, Filtering, and Content Redirection with HTTP Pipelines in ASP.NET
Tim Ewald and Keith Brown - September 2002
ASP.NET is a flexible and extensible framework for server-side HTTP programming. While most people think of ASP.NET in terms of pages served, there is a lower-level infrastructure sitting beneath this page model. The underlying plumbing is based on a pipeline of app, module, and handler objects. Understanding how this pipeline works is key if you want to get the most out of ASP.NET as an HTTP server platform, while making your process more efficient, and keeping your server secure. This article introduces the architecture of the pipeline and shows how you can use it to add sophisticated functionality to an ASP.NET-based app.
Tamper-Resistant Apps: Cryptographic Hash Algorithms Let You Detect Malicious Code in ASP.NET
Jason Coombs - September 2002
Cryptographic hash algorithms produce fixed-length sequences based on input of arbitrary length. A given input always produces the same output, called a hash code. Using these algorithms, you can compute and validate hash codes to ensure that code running on your machine has not been tampered with or otherwise changed. ASP.NET provides a software mechanism for validating hash code fingerprints for every page requested by a client. In this article, the author shows how to use hash codes with ASP.NET applications to detect tampering and prevent malicious code from running when tampering is detected.
The XML Files: WS-Security, WebMethods, Generating ASP.NET Web Service Classes
Aaron Skonnard - September 2002
ASP.NET: Intercept, Monitor, and Modify Web Requests with HTTP Filters in ISAPI and ASP.NET
Panos Kougiouris - August 2002
There can be many reasons to reroute incoming Web requests. For instance, sometimes it's necessary to redirect a browser to a page based on user criteria without passing long lists of parameters in the URL. In the past, the only way to intercept such page requests and send them elsewhere was with ISAPI. Now, in ASP.NET, the IHttpModule interface provides notification of server requests, and lets you easily reroute them based on criteria other than browser type or version. Here the author demonstrates the use of IHttpModule for interception and explains the use of ISAPI filters for anyone who isn't yet using ASP.NET.
Commerce with ASP.NET: Leverage the Authentication and Form Validation Features of ASP.NET to Bolster Your Commerce App
Jason Lefebvre and Robert Lair - August 2002
If you're planning to build an e-commerce site, you'll be pleased to see that ASP.NET makes it easier than ever. Existing controls can be used and extended to add a great deal more functionality than you might expect. In this article, forms-based authentication is used to verify the identity of users and make certain areas of the site, such as the check-out page, inaccessible to unauthorized users. The power and flexibility of validation controls are demonstrated using the CustomValidator control to connect to a Web Service that verifies addresses. A shopping cart is then implemented in ASP.NET using the DataGrid, and finally, credit card authorization and billing are performed.
Web Q&A: Passing XML to SQL Server, Document.write on Resize, Transformations on the Fly, and More
Edited by Nancy Michell - August 2002
The XML Files: Dynamic Discovery in .NET, Codebehind, WebService Inheritance, and More
Aaron Skonnard - August 2002
The ASP Column: Code-behind in ASPX Files
George Shepherd - August 2002
Wicked Code: Code Your Way to ASP.NET Excellence
Jeff Prosise - August 2002
ASP.NET: Develop Polished Web Form Controls the Easy Way with the .NET Framework
David S. Platt - June 2002
Pre-built custom controls make application design easier and faster and allow you to maintain UI consistency. However, prepackaged controls can be big and slow, and are OS-specific. For those who don't want to use prepackaged controls, Visual Studio .NET provides controls for Web Forms similar to those found in Windows Forms, including label and textbox, and new additions such as the DataGrid, all of which you can customize. If you want to design your own controls, the .NET Framework provides inheritable classes that take care of all the nasty stuff you want to avoid, including page lifecycle, maintaining state across invocations, and browser detection. This article discusses these concepts, as well as eventing, rendering, and client-side scripting.
Cutting Edge: Building a Data Navigator Control, Part III
Dino Esposito - June 2002
ASP.NET Security: An Introductory Guide to Building and Deploying More Secure Sites with ASP.NET and IIS, Part 2
Jeff Prosise - May 2002
Forms authentication is one of the most compelling and useful new features of ASP.NET. It enables developers to declaratively specify which files on their site can be accessed and by whom, and allows identification of a login page. When an unauthenticated user attempts to retrieve a page protected by forms authentication, ASP.NET automatically redirects them to the login page and asks them to identify themselves. Included here is an overview of forms authentication and what you need to know to put it to work. Also included is hard-to-find information on the security of cookie authentication and on combining forms authentication with role-based URL authorizations.
The ASP Column: HTTP Modules
George Shepherd - May 2002
Data Points: Building a Tiered Web App Using the DataSet and the ASP DataGrid
John Papa - May 2002
Cutting Edge: Building Editing Capabilities into the SqlDataNavigator ASP.NET Control
Dino Esposito - May 2002
ASP.NET Security: An Introductory Guide to Building and Deploying More Secure Sites with ASP.NET and IIS
Jeff Prosise - April 2002
ASP.NET and Microsoft Internet Information Services (IIS) work together to make building secure Web sites a breeze. But to do it right, you have to know how the two interrelate and what options they provide for securing access to a Web site's resources. This article, the first in a two-part series, explains the ABCs of Web security as seen through the eyes of ASP.NET and includes a hands-on tutorial demonstrating Windows authentication and ACL authorizations. A range of security measures and authentication methods are discussed, including basic authentication, digest authentication, and role-based security.
Virus Hunting: Track and Report Server Attacks Quickly and Easily with the .NET Networking Classes
G. Andrew Duthie - April 2002
To help stop the spread of worms, viruses, and other hostile activity, it is important to track down and report the servers used in these attacks along with those used to send spam. Many Web administrators, however, don't take the time to track them because the manual process can be quite cumbersome. The Microsoft .NET Framework comes to the rescue with several networking classes, including the Dns class and the TcpClient class, that abstract away the complexity of performing DNS and WHOIS lookups. These classes make it easy to create a simple, straightforward ASP.NET-based utility for performing these lookups and automating this very important task.
ASP.NET: Selectively Enable Form Validation When Using ASP.NET Web Controls
James M. Venglarik II - April 2002
Sometimes the extra controls that come with Visual Studio .NET can be a bit inflexible or they just don't provide enough functionality or flexibility for all situations. The ASP.NET form validation controls, while powerful and easy to use, require that the entire page be valid before it's submitted back to the server. Through the use of the new object-oriented features of Visual Basic .NET, it is possible to extend their functionality to overcome this limitation. This article tells you how and helps you decide when it's a good idea to keep validation on the client and when you'd be better off disabling it.
Cutting Edge: Building a DataNavigator Control
Dino Esposito - April 2002
Cutting Edge: ASP.NET Data Shaping
Dino Esposito - March 2002
ASP.NET: Create Snazzy Web Charts and Graphics On the Fly with the .NET Framework
Scott Mitchell - February 2002
Knowledge workers can understand data more effectively when raw numbers are presented in a graphical format. This is especially true when displaying database information on a Web page, where a simple chart can make the difference between a dry presentation and a vivid data source. In the past, creating dynamic, data-based charts on the fly in ASP required purchasing a third-party, image-generating COM component. Now with ASP.NET, developers can access the .NET Framework's drawing classes directly with C# to create dynamic images and charts.
The XML Files: Publishing and Discovering Web Services with DISCO and UDDI
Aaron Skonnard - February 2002
Data Points: Using the ADO.NET DataSet for Multitiered Apps
John Papa - January 2002
Cutting Edge: Understanding Templates in ASP.NET
Dino Esposito - January 2002
Security Briefs: Managed Security Context in ASP.NET
Keith Brown - January 2002
Generative Programming: Modern Techniques to Automate Repetitive Programming Tasks
Chris Sells - December 2001
Even when developers have recurring computer-readable metadata to process and a clear idea of how code should be structured, they can still find themselves in need of a technique to automatically generate the code to avoid the drudge work of repeatedly writing and tweaking it. Generative programming is a technique that addresses this problem. Using generative programming techniques, you can solve software engineering problems in families, rather than individually, saving time and coding effort. This article describes these techniques, and builds a sample template-driven code generator. The article also lists existing utilities that have been built with generative programming techniques, as well as actual code generators.
The ASP Column: DataList vs. DataGrid in ASP.NET
George Shepherd - December 2001
Cutting Edge: Using Session and Application Objects in ASP.NET, Part 2
Dino Esposito - December 2001
Data Points: Abstracting ADO.NET
John Papa - November 2001
Cutting Edge: Using Session and Application Objects in ASP.NET
Dino Esposito - November 2001
Security Briefs: ASP.NET Security Issues
Keith Brown - November 2001
Cutting Edge: Build a Variety of Custom Controls Based on the DataGrid Control
Dino Esposito - October 2001
Bugslayer: Handling Assertions in ASP.NET Web Apps
John Robbins - October 2001
ASP.NET: Collect Customer Order Information on an Internet Site Using XML and Web Forms
Jeff Jorczak - September 2001
XML has quickly become the new data structure standard for everything from database access to cross-platform computing. XML is typically considered to be a vehicle for data exchange, dynamic data presentation, and data storage. However, the potential of XML far surpasses those limited applications. This article examines one new use: the gathering of data across a number of forms in an ASP.NET Beta 1 framework application. The sample program is a Web app used for ordering pizza. It uses ASP and C# to gather order information and then stores it in XML. To build the application, several concepts are explained, including data collection, order persistence using cookies, grouping input forms, and formatting the data for display.
.NET Migration Case Study: Using ASP.NET to Build the beta.visualstudio.net Web Site
Jay Schmelzer - September 2001
When the Web site used to collect customer feedback about the Visual Studio .NET beta needed an update, the Visual Studio team saw a good opportunity to implement, deploy, and showcase a real-world site using .NET technologies. This article covers the migration of the Web site, beta.visualstudio.net, from components written in Visual Basic 6.0 and ASP hosted on Microsoft Internet Information Services (IIS) 5.0 to ASP.NET and the .NET Framework. The choices of technologies to be incorporated, along with issues such as validation, security, and authentication, are all discussed. Both existing components and the new components written in JScript and ASP.NET that were used to migrate the site are also explained.
The ASP Column: HTMLControls and WebControls in ASP.NET
George Shepherd - September 2001
Cutting Edge: Reusability in ASP.NET, Part 2
Dino Esposito - September 2001
SQL and XML: Use XML to Invoke and Return Stored Procedures Over the Web
Dave Grundgeiger, Anson Goldade, and Varon Fugman - August 2001
Front-end developers frequently want to add functionality to the presentation tier of an n-tier architecture, but such requests can require changes on all tiers just to get the data and present it. This process can be made easier and more flexible by using SQL Server stored procedures to automate the delivery of data in XML format from the database to the front-end components. In the component presented here, stored procedures are invoked by XML strings, XML is returned, converted using XSL, and presented to the client in HTML. The technique supports rapid changes yet doesn't sacrifice the n-tier approach. This approach can be used with either SQL Server 7.0 or SQL Server 2000.
Web Q&A: Include Files, ActiveX DLLs, Target a Window in JScript, Cancel a Form Submission, and More
Edited by Nancy Michell - August 2001
Cutting Edge: Reusability in ASP.NET: Code-behind Classes and Pagelets
Dino Esposito - August 2001
The ASP Column: ASP.NET Connection Model and Writing Custom HTTP Handler/Response Objects
George Shepherd - July 2001
Cutting Edge: Custom Web Data Reporting
Dino Esposito - July 2001
.NET Mobile Web SDK: Build and Test Wireless Web Applications for Phones and PDAs
Eric Griffin - June 2001
Cell phones, PDAs, and other wireless devices that connect with the Internet enjoy growing popularity, making wireless applications more important and especially useful to companies with remote employees. This article presents an overview of the .NET Mobile Web SDK for building wireless apps. The technologies and design decisions that influence the development of mobile Web applications are discussed along with specific strategies for setting up a development environment using an emulator and building a real-world mobile Web application.
ASP.NET: Web Forms Let You Drag And Drop Your Way To Powerful Web Apps
Jeff Prosise - May 2001
Web Forms have the potential to change Web programming by introducing a new programming model built around server-side controls-a model in which controls render their own UIs by generating HTML to return to clients and firing events that are handled by server-side scripts. Since all the action takes place on the Web server, virtually any browser can run a Web Forms app. And thanks to Visual Studio .NET, building a Web Forms app is a lot like using Visual Basic: just drop a control onto a form then write an event handler. This article describes the Web Forms programming model, how it fits with ASP.NET, and introduces DataGrid, TextBox, and other classes in the .NET Framework class library.
Cutting Edge: Server-side ASP.NET Data Binding, Part 3: Interactive DataGrids
Dino Esposito - May 2001
Cutting Edge: Server-side ASP.NET Data Binding, Part 2: Customizing the DataGrid Control
Dino Esposito - April 2001
Cutting Edge: Server-side ASP.NET Data Binding
Dino Esposito - March 2001
Visual Programmer: Advanced ASP.NET Server-side Controls, Part 2
George Shepherd - March 2001
Web Services: Building Reusable Web Components with SOAP and ASP.NET
David S. Platt - February 2001
XML and HTTP are cross-platform technologies especially suited for building applications that can communicate with each other over the Internet, regardless of the platform they are running on. Web Services in the Microsoft .NET Framework make it easy to write components that communicate using HTTP GET, HTTP POST, and SOAP. An understanding of these concepts, along with knowledge of synchronous and asynchronous operations, security, state management, and the management of proxies by the .NET Framework is essential in building these applications. This article has been adapted from David Platt's upcoming book introducing the Microsoft .NET Platform to be published by Microsoft Press in Spring 2000.
Cutting Edge: The Component Model in ASP.NET
Dino Esposito - February 2001
Visual Programmer: Advanced ASP.NET Server-side Controls
George Shepherd - January 2001
Web Q&A: Client-side Cookies, Unchecking Checkboxes, Microsoft.com Toolbar, WebBrowser Control, and More
Robert Hess - December 2000
Beyond ASP: XML and XSL-based Solutions Simplify Your Data Presentation Layer
Scott Howlett and Jeff Dunmall - November 2000
The combination of XML and XSL can provide a powerful alternative to ASP development. This article presents arguments for building even small-scale Internet applications on the XML model. An example written with traditional ASP programming is compared to the same example written with XML and XSL in order to show the benefits of this approach. The example is followed by nine good reasons to make the switch. These reasons include separation of presentation and data, reusability, extensibility, division of labor, enhanced testing, and legacy integration. The XML/XSL solutions described hold the promise of greater simplicity, flexibility, and durability than ASP solutions built the traditional way.
Web Q&A: Onstop, Connecting to SQL with ASP, Hiding Images, Passing Values from a Control
Robert Hess - November 2000
Basic Instincts: To Cache or not to Cache
Ted Pattison - November 2000
Taming the Stateless Beast: Managing Session State Across Servers on a Web Farm
John Papa - October 2000
Running a Web farm means managing session state across servers. Since session state can't be shared across a Web farm with Internet Information Services 5.0, a custom solution is required. One such solution using a tool called the session manager is described here. The article begins with a description of the SQL Server database used to store state information, the stored procedures used to update it, and the retrieval of session data. ASP code drives the session manager tool and the COM and COM+ components that run the stored procedures.
Cutting Edge: Client-side Environment for ASP Pages-Part 2
Dino Esposito - October 2000
Visual Programmer: Server-side Controls in Active Server Pages+
George Shepherd - October 2000
Active Server Pages+: ASP+ Improves Web App Deployment, Scalability, Security, and Reliability
Dave Sussman - September 2000
ASP has been rebuilt from the ground up. The result? Active Server Pages+. ASP+, with a host of new features, provides for easier to write, cleaner code that's simple to reuse and share. ASP+ boosts performance and scalability by offering access to complied languages; development is more intuitive thanks to Web Forms; and an object-oriented foundation facilitates reuse. Other important features include page events, Web Controls, and caching. Server Controls and improvements in data binding are also new with ASP+. Libraries for use with ASP+, and the Microsoft .NET Framework which allows custom business functions to be exposed over the Web, provide more new development opportunities.
Cutting Edge: A Client-side Environment for ASP Pages
Dino Esposito - September 2000
Develop a Web Service: Up and Running with the SOAP Toolkit for Visual Studio
Rob Caron - August 2000
The new Simple Object Access Protocol (SOAP) Toolkit for Visual Studio 6.0 provides the infrastructure for developers to build, expose, and consume Web services. With a few exceptions that are outlined in the toolkit, the SOAP Toolkit complies with the SOAP version 1.1 specification. It includes the Remote Object Proxy Engine (ROPE), a Service Description and Code Generation Wizard, and code that provides ASP and ISAPI reference implementations of SOAP listeners. This article describes the tools and the object model of the SOAP Toolkit, and then demonstrates ASP and ISAPI implementations of a functional Web service using this toolkit.
Wicked Code: Implementing Handler Marshaling Under Windows 2000: DeviceClient Sample App
Jeff Prosise - August 2000
Microsoft Office 2000: Create Dynamic Digital Dashboards Using Office, OLAP, and DHTML
Todd Abel - July 2000
Digital Dashboards provide users with one single interface through which they can view information from a variety of sources that have been chosen specifically for that user. In addition, dashboards allow a user to view the information offline, adding portability to the mix. This article discusses options for building a dashboard based on the Microsoft Outlook folder home pages feature. It covers culling the data from disparate sources and storing it using the MSDE. It then discusses the creation of nugget definitions for structuring the data, and providing a synchronization mechanism to update to the data stores.
Web Security: Part 2: Introducing the Web Application Manager, Client Authentication Options, and Process Isolation
Keith Brown - July 2000
This article, the second of two parts, continues coverage of Web security for Windows. It introduces the Web Application Manager in IIS that allows Web processes to be isolated, decreasing the security risk associated with running in a logon session. The article then picks up where Part One left off-it discusses authentication methods such as basic authentication, digest authentication, integrated Windows authentication, and anonymous logons, and the benefits and drawbacks of each.
Building a Custom Data Grid: Performing Ad Hoc Web Reporting with a VBScript 5.0 Class Object
Randall Kindig - July 2000
A flexible, customizable grid for displaying data is a useful tool for ASP developers. It allows Web visitors to customize their view of your data. This article takes the data grid presented in "Ad Hoc Web Reporting with ADO 2.0" by John Papa and Charles Caison (MIND, December 1998) and adds handy features such as a finds feature that supports multiple finds and a mode for adding and editing records. This version also improves response time by allowing asynchronous record download and it componentizes the code so it can be used as a standalone VBScript class object that can be reused in other pages.
Go Global: Designing Your ASP-based Web Site to Support Globalization
Michael Kaplan - July 2000
If you have a Web site for your business, you already have an international presence. But how can you make sure users in any country can access your site effectively? The Trigeminal Software site at http://www.trigeminal.com has pages localized into up to 48 languages and allows users to see pages in the language of their choice. This article describes how the site was implemented and how issues such as whether the site should use frames and what character set to choose for multibyte languages were dealt with. Which database to use for storing dynamic content, whether to use static or dynamic pages, and how to implement localized solutions on both Windows NT 4.0 and Windows 2000 is also discussed.
Info on the Go: Wireless Internet Database Connectivity with ASP, XML, and SQL Server
Srdjan Vujosevic and Robert Laberge - June 2000
Many handheld wireless devices such as cellular phones and PDAs already have the ability to access Web sites. So how do you build Web applications that tap this wireless audience? Although there are a number of limitations to wireless devices-such as screen size, navigation, and connection speed-you can use familiar Web development technologies to make your existing Web applications available to mobile users. This article outlines the services and equipment currently available to support wireless Web access. A sample wireless-accessible Web site that dynamically draws data from a SQL Server database back end in real time is created using tools such as ASP and XML.
Cutting Edge: Creating and Optimizing Performance for XML Document/View Web Applications
Dino Esposito - June 2000
B2B Frontiers in E-Commerce: Implement Affiliate Programs to Create New Partnerships and Generate Business
Ted Coombs - May 2000
Like the Internet itself, e-commerce is evolving. Today's e-commerce companies are allowing their customers to plug into existing catalogs and ordering systems, creating new synergistic relationships. Some companies are even adding real-time chat with customer service personnel. This article gives you an overview of some of the new e-commerce concepts and implementations that are helping forge those new relationships with customers, vendors, and shipping companies. The importance of these relationships, as well as the specific technologies used to encourage communication and collaboration are discussed and illustrated with representative code samples.
Virtual Source Code Control Systems: Promoting and Managing Projects using Visual SourceSafe
Ken Ramirez - May 2000
Source code control systems like Microsoft Visual SourceSafe can simplify just about any development project, and make it easier for your code to move safely among individual programmers, development teams, and project stages. Visual SourceSafe provides an object model that you can use as the basis of your own customized source code control environment. To give you an idea of what is possible, we'll walk you through the elements of a browser-based source code control system built with Visual SourceSafe, ASP, and VBScript. This simple system lets members of your team build, label, and promote individual files or entire projects, and to reverse promotions.
Web Q&A: Displaying Processing Messages, Accessing File Size and Bandwidth, and Debugging ASP
Robert Hess - May 2000
Using Server-Side XSL for Early Rendering: Generating Frequently Accessed Data-Driven Web Pages in Advance
Paul Enfield - April 2000
Dynamic data-driven pages have become the basis of many cutting-edge Web sites. Early render systems can provide better performance and maintainability for data-driven Web sites by generating frequently accessed pages that contain less-volatile information ahead of time. We'll show you an example of a server-side solution that uses Extensible Stylesheet Language (XSL) to merge data and layout information into HTML that is compatible with just about any modern Web browser. Using these techniques to render Web pages early can reduce the load on your database back end and increase performance for your users.
New Directions in Redirection: Microsoft Internet Information Services 5.0 Provides Two New Methods
Ram Papatla - April 2000
Internet Information Services (IIS) 5.0 provides several enhancements to its support for ASP-based Web development, including two new server-side redirection methods: Server.Transfer and Server.Execute. Rather than redirecting requests with a round-trip to the client, these new methods can be used to transfer requests directly to an ASP file without ever leaving the server. While this functionality doesn't replace the Response.Redirect method used by IIS 4.0, you can take advantage of it to implement better application flow control mechanisms and to handle errors more efficiently. The different redirection options are described, along with some tips and tricks for implementing them on your own site.
Web Q&A: Windows Script Host, Dropdown Menus, ASP-to-HTML, and More
Robert Hess - April 2000
Serving the Web: Working with MTS, ASP, and Visual Basic
Ken Spencer - April 2000
Build an Easy Maintenance Intranet Site: Using Office Docs, File System Object, and OLE Structured Storage
Josef Finsel - March 2000
If you've ever needed to build an easy-to-maintain intranet site, here's a solution based on Microsoft Office documents. Many sites require constant updating of their HTML, but the use of Word documents can simplify the process. This article details the construction of a human resources site that exploits the File System Object (FSO), OLE Structured Storage, and ActiveX capabilities of Word documents. This allows the HR staff to copy their revised or newly created Word files to the site, dynamically generate a list of links to their files, and free IS from the constant recoding of HR updates into new HTML pages.
The XML Files: XML-based Persistence Behaviors Fix Web Farm Headaches
Aaron Skonnard - March 2000
Serving the Web: Compiling Components in Visual Basic for ASP
Ken Spencer - March 2000
Receive the MSDN Flash e-mail newsletter every other week, with news and information personalized to your interests and areas of focus.