Home > Microsoft .Net Development Tips > .NET Developer > Implementing RSS and XML serialization in .NET
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

.NET DEVELOPER

Implementing RSS and XML serialization in .NET


SearchVB.com staff
10.18.2006
Rating: --- (out of 5)


.NET Essentials Channel
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RSS is increasingly emerging as a useful means of exchanging information. And it's not just for the latest news and sports scores -- enterprises are increasingly examining ways to use RSS to improve communication and information sharing among employees.

As RSS spreads, building it into applications grows in importance. Scott Van Vliet recently blogged about this in a post entitled RSS in .NET Made Easy with XML Serialization.

"I use XmlSerializer religiously, and thought it would be quite trivial to build a set of classes to quickly create and publish an RSS feed. Thus, as any geek would do, I did just that," Van Vliet wrote.

"These classes are adorned with System.Xml.Serialization attributes, which comply with the RSS 2.0 Specification," he continued. "To create an RSS document, it's no more difficult than creating and populating [an object]. To generate the XML for this feed, simply call the ToString() method."

Among the comments on Van Vliet's post is a link to a blog post by Phil Weber called East RSS in VB.NET.

"First, I created this class to model the feed….Now all it takes to update the feed is to populate the RSS object and serialize it to XML," Weber wrote. (Source code is available for the "this class" here.)

These quick tips should be enough to get you started with adding RSS to .NET applications.

More on this topic from SearchVB.com

  • Definition: RSS
  • Reference: RSS Learning Guide
  • Tip: Use real-time RSS feeds

    Rate this Tip
    To rate tips, you must be a member of SearchWinDevelopment.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



    RELATED CONTENT
    .NET Developer
    How to speed up Visual Studio 2008's slow WPF designer
    How to list fonts in WPF using markup extensions and data templates
    How to convince management to buy Microsoft Visual Studio 2008
    Microsoft webcast series previews new Visual Studio 2010 features
    New features in Windows 7 bring new UI considerations for developers
    User Account Control (UAC): How to develop code for standard users
    Introduction to Vista's user account control (UAC) for developers
    Visual Studio 2008 code metrics tools will help keep code clean
    Downloadable MSDN library released for VS 2008 SP 1
    Widgetbox provides good example of how to use Facebook Developer Toolkit

    .NET Framework development with XML and XAML
    Embarcadero RAD Studio 2010
    How to write an out-of-browser Silverlight 3 application in 3 steps
    Ajax Learning Guide
    Ajax Learning Guide
    Open XML SDK ready for the road
    XAML as an everywhere presentation format
    Silverlight Spy scans XAML objects, eases JavaScript debugging
    Java presentation tool outputs XAML files
    Microsoft, Cisco et al. to partner on modeling language
    Microsoft's XAML recasts UI development

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    Atlas  (SearchWinDevelopment.com)
    RSS  (SearchWinDevelopment.com)
    Silverlight  (SearchWinDevelopment.com)
    Windows Communication Foundation  (SearchWinDevelopment.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts