Archives

Archives / 2005 / November
  • Sharing Master Pages Across IIS Applications

    I'm working on an ASP.NET site that consists of many government departments each having their own IIS application off of the root of the server so that they can have complete control over their own web.config file, etc..  Each department site inherited an XML template framework I wrote for .NET version 1.1 (http://www.xmlforasp.net/codeSection.aspx?csID=102) to provide a consistent look and feel (header and footer) across all departments even though they each have their own IIS application created.  The XML template solution worked great but wasn't as powerful as Master Pages by any means since it didn't support code-behind files and had no designer support (to name just 2 of its short-comings).

    Read more...

  • Asynchronous Web Service Options in .NET V2

    As more and more Web Services are made available additional flexibility is needed when calling them. Applications that call Web Services may need to do so in an asynchronous (parallel) manner especially when calling multiple services or services that may take a longer amount of time to complete.

    The code found in this sample demonstrates how to make synchronous and asynchronous calls to Web Services using features in .NET version 2.0. The included code demonstrates the following types of asynchronous calls:

    • Callbacks
    • WaitHandles
    • Polling
    • Asynchronous Events
    • Asynchronous ASP.NET Pages

    The code can be downloaded from http://www.xmlforasp.net/CodeSection.aspx?csID=119.

     

    Read more...

  • Work with RSS Feeds using the System.Xml Assembly

    .NET version 2.0 adds many enhancements to the System.Xml namespace and its related classes. This sample code demonstrates how several of these enhancements can be used to consume RSS feeds for display on ASP.NET Websites in an efficient and scalable manner. Different techniques are shown including caching feeds, randomizing feeds, plus more using the XmlReader and XPathNavigator classes. Other alternatives such as the DataSet and XmlDataSource control are also shown.

    Read more...

  • New XML Features in .NET Version 2

    Version 1.1 of the .NET framework supports today‚Äôs mainstream XML technologies including DTDs, XML Schema, XSLT, XPath, SOAP 1.1, DOM Level 2, and XML namespaces. While version 2 of the framework continues to support these technologies (and newer versions where appropriate), it also adds significantly more perfomant XSLT transformations, enhanced XmlReader and XmlWriter APIs, plus a more powerful XPathNavigator class (to name a few of the enhancements). I've put together some code that shows how to leverage several of the new XML APIs found in .NET version 2.  You'll find the code available at the following URL:

    http://www.xmlforasp.net/CodeSection.aspx?csID=107

     

    Read more...

  • DevConnections Conference Las Vegas

    I just got back home from speaking at the DevConnections conference in Las Vegas and had a great time.  For those that haven't been, it's a fun conference loaded with great material that is just the right size in my opinion.  I believe they had around 3000 people there this time around.  I spoke on migrating from Web Services to SOAs, new XML features in .NET V2, Synchronous and Asynchronous Web Services in .NET V2 and mastering RSS feeds using .NET V2 APIs.

    I finally had a chance to meet Dino Esposito (.NET trainer and writer guru) as well as a few others that produce some great .NET related content.  The next conference is in Orlando and I'd definitely encourage anyone who may have considered going to attend (no...I didn't get paid to say that...I just really enjoy the conference :-)). 

    Read more...

comments powered by Disqus