<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Microsoft SQL Server Community &amp; Samples RSS</title><link>http://sqlrss.codeplex.com/project/feeds/rss</link><description>This community project provides a place for distributing and developing a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed.</description><item><title>Source code checked in, #80132</title><link>http://sqlrss.codeplex.com/SourceControl/changeset/changes/80132</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:49:39 GMT</pubDate><guid isPermaLink="false">Source code checked in, #80132 20121001094939P</guid></item><item><title>Source code checked in, #80131</title><link>http://sqlrss.codeplex.com/SourceControl/changeset/changes/80131</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:43:10 GMT</pubDate><guid isPermaLink="false">Source code checked in, #80131 20121001094310P</guid></item><item><title>Source code checked in, #55373</title><link>http://sqlrss.codeplex.com/SourceControl/changeset/changes/55373</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Mon, 02 Aug 2010 22:49:34 GMT</pubDate><guid isPermaLink="false">Source code checked in, #55373 20100802104934P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/SQLRSS/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Really Simple SQL Server Syndication (SQLRSS)
&lt;/h2&gt;This community project provides a place for distributing and developing a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;The SQLRSS community application is designed to expose changes made to SQL Server 2008 tables as an RSS or ATOM feed.  The application is useful as is.  Many enhancements are possible and community contributions to this project are encouraged.&lt;br /&gt; &lt;br /&gt;Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on SQLRSS.zip to download the code.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Got questions? Want to contribute?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;!&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Implementation 
&lt;/h3&gt;This application is based on the following features:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Change Tracking (CT) feature of SQL Server 2008 &lt;/li&gt;&lt;li&gt;Reporting Services &lt;/li&gt;&lt;li&gt;The syndication feed feature of WCF &lt;/li&gt;&lt;li&gt;LINQ to XML &lt;/li&gt;&lt;li&gt;ADO.NET  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;The use of Reporting Services is optional, but is a handy way to display the changed data.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Visual Studio Projects
&lt;/h3&gt;There are two principle parts of the application.  The first part is the implementation of the WCF based syndication feed service which transmits changes to one or more tables via RSS or ATOM feeds.  For the remainder of this document we will refer to the first part of this application as the SQLRSS web service.  The second part of the application is a demonstration of how to use the SQLRSS web service to monitor activity on the Production.ProductReview table in the AdventureWorks2008 sample database.  The SQLRSS web service is designed to be completely general purpose and can be applied to any SQL Server 2008 database in a server where Change Tracking is enabled.  The second part is for illustration purposes only and can be discarded in a production application environment.&lt;br /&gt; &lt;br /&gt;The implementation of the SQLRSS web service is located in the &lt;b&gt;SQLRSS&lt;/b&gt; solution which is located in the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService&lt;/span&gt; directory.  The project is named &lt;b&gt;RSSDataService&lt;/b&gt;.   It is the only essential project necessary for production use.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in that solution provides the code necessary to host the service in a console application.  In an actual production environment this kind of web service would normally be hosted in a Windows Service and some additional code is necessary to enable that particular scenario.  The other project in the SQLRSS solution is &lt;b&gt;TestClientApplication&lt;/b&gt; which is a very simple application for invoking the SQLRSS web service and viewing the results in a console application.  Outlook 2007 or Internet Explorer 7 would make more interesting and useful client applications for browsing this feed.&lt;br /&gt; &lt;br /&gt;In the &lt;span class="codeInline"&gt;SQLRSS\ReportProject1&lt;/span&gt; directory is a solution called &lt;b&gt;ProductReviewReports&lt;/b&gt; which contains a sample reporting services report.  This report illustrates how syndication feed items can link to a Reporting Services report.  This solution would not be deployed in a production environment, although something similar to it might be useful.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;In order to use the SQLRSS web service the following components need to be installed and available:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;The SQLRSS source code.  Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on &lt;span class="codeInline"&gt;SQLRSS.zip&lt;/span&gt; to download the code.&lt;/li&gt;&lt;li&gt;Microsoft.Net 3.5 &lt;/li&gt;&lt;li&gt;Microsoft SQL Server 2008 RTM &lt;/li&gt;&lt;li&gt;Either Visual Studio 2008 SP1 or the Microsoft.Net Framework SDK 3.5 &lt;/li&gt;&lt;li&gt;A SQL Server 2008 database which contains at least one table to be tracked and published by the web service. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Configuration and Installation
&lt;/h3&gt;The first step in configuring the SQLRSS web service is to enable the Change Tracking feature in the database or databases which contains the table or tables to be tracked and published, and also enable Change Tracking for the table or tables.  See &lt;a href="http://msdn.microsoft.com/en-us/library/bb964713(SQL.100).aspx" class="externalLink"&gt;MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for details.  For the samples provided you can use the following statements after installing the AdventureWorks2008 OLTP database from &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;Sample Databases at CodePlex&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
ALTER DATABASE AdventureWorks2008
SET CHANGE_TRACKING = ON
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON);
 
USE AdventureWorks2008
GO
 
ALTER TABLE Production.ProductReview
ENABLE CHANGE_TRACKING
WITH (TRACK_COLUMNS_UPDATED = OFF);
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;There are many options available for Change Tracking and there is no substitute for carefully reading the documentation and understanding the implications of the settings you decide to use.&lt;br /&gt; &lt;br /&gt;The second step in configuring the SQLRSS web service is to create an XML file which complies with the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xsd&lt;/span&gt; schema.  There are extensive comments in the schema file which explain the meaning of the elements and attributes of the schema.  There is also an example of what such an XML file would look like in &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xml&lt;/span&gt;.&lt;br /&gt; &lt;br /&gt;The third step is to create a host for SQLRSS web service and pass the path to the XML file you created in step two to the service during its construction.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in the &lt;b&gt;SQLRSS&lt;/b&gt; solution provides an example of how to do that for a console application.&lt;br /&gt; &lt;br /&gt;Once the service has been launched in the desired host, changes since Change Tracking was enabled for tables described in the XML configuration file will be available as syndication feeds based on the conditions and configuration information contained in the XML configuration file.  &lt;br /&gt; &lt;br /&gt;If you start the test host with the provided configuration file then the RSS feed will be located at &lt;b&gt;http://localhost/SQLRSS/GetDataChanges?rssFormat=atom&amp;amp;connection=local&amp;amp;table=Production.ProductReview&lt;/b&gt;. &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Vista UAC Notes
&lt;/h3&gt;Some aspects of this sample code will not run correctly on Vista with UAC enabled unless you take the following steps:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Run the test host in an elevated command prompt.&lt;/li&gt;&lt;li&gt;Configure Reporting Services as described in &lt;a href="http://msdn.microsoft.com/en-us/library/bb630430.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/bb630430.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Unimplemented Configuration Options
&lt;/h3&gt;The XML schema describes some features of the application which are not yet implemented.  Here is a list of the current restrinctions:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;DataViewSource&lt;/span&gt; and &lt;span class="codeInline"&gt;DataViewSourceMode&lt;/span&gt; are not yet implemented.  The data source is always the table being monitored, combined with whatever reference tables you provide. &lt;/li&gt;&lt;li&gt;Only &lt;span class="codeInline"&gt;Report&lt;/span&gt; is implemented for &lt;span class="codeInline"&gt;DataDisplayMode&lt;/span&gt;.  &lt;span class="codeInline"&gt;HTML&lt;/span&gt; and &lt;span class="codeInline"&gt;XML&lt;/span&gt; modes are not yet implemented. &lt;/li&gt;&lt;li&gt;Only the &lt;span class="codeInline"&gt;Top ChangeFilterMode&lt;/span&gt; is implemented.  &lt;span class="codeInline"&gt;TimeInterval&lt;/span&gt; is not yet implemented. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;If there is sufficient interest these options could be implemented in a future release.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Areas for Future Expansion
&lt;/h3&gt;There are many possible ways to expand the breadth or depth of the sample.  Here are some ideas:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Support for images in syndication feed items &lt;/li&gt;&lt;li&gt;Example code for packaging and creating a Windows Service to run the SQLRSS web service, or for running SQLRSS under IIS7. &lt;/li&gt;&lt;li&gt;Completing the unimplemented configuration options listed above. &lt;/li&gt;&lt;li&gt;Building interesting web site templates using this technology, such as a blog web site template. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;Both users who are interested in using this technology and developers interested in extending this technology are welcome to create items in the Discussion and Work Item areas of CodePlex for this project and begin the discussion of how this software should grow and evolve.  If you are interested in contributing code to this project please contact the owner of this project at CodePlex.com and send along your interests in expanding it and some background information about your skills and projects you’ve worked on in the past.&lt;br /&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Wed, 11 Feb 2009 22:15:22 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090211101522P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/SQLRSS/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Really Simple SQL Server Syndication (SQLRSS)
&lt;/h2&gt;This community project provides a place for distributing and developing a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;The SQLRSS community application is designed to expose changes made to SQL Server 2008 tables as an RSS or ATOM feed.  The application is useful as is.  Many enhancements are possible and community contributions to this project are encouraged.&lt;br /&gt; &lt;br /&gt;Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on SQLRSS.zip to download the code.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Got questions? Want to contribute?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;!&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Implementation 
&lt;/h3&gt;This application is based on the following features:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Change Tracking (CT) feature of SQL Server 2008 &lt;/li&gt;&lt;li&gt;Reporting Services &lt;/li&gt;&lt;li&gt;The syndication feed feature of WCF &lt;/li&gt;&lt;li&gt;LINQ to XML &lt;/li&gt;&lt;li&gt;ADO.NET  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;The use of Reporting Services is optional, but is a handy way to display the changed data.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Visual Studio Projects
&lt;/h3&gt;There are two principle parts of the application.  The first part is the implementation of the WCF based syndication feed service which transmits changes to one or more tables via RSS or ATOM feeds.  For the remainder of this document we will refer to the first part of this application as the SQLRSS web service.  The second part of the application is a demonstration of how to use the SQLRSS web service to monitor activity on the Production.ProductReview table in the AdventureWorks2008 sample database.  The SQLRSS web service is designed to be completely general purpose and can be applied to any SQL Server 2008 database in a server where Change Tracking is enabled.  The second part is for illustration purposes only and can be discarded in a production application environment.&lt;br /&gt; &lt;br /&gt;The implementation of the SQLRSS web service is located in the &lt;b&gt;SQLRSS&lt;/b&gt; solution which is located in the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService&lt;/span&gt; directory.  The project is named &lt;b&gt;RSSDataService&lt;/b&gt;.   It is the only essential project necessary for production use.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in that solution provides the code necessary to host the service in a console application.  In an actual production environment this kind of web service would normally be hosted in a Windows Service and some additional code is necessary to enable that particular scenario.  The other project in the SQLRSS solution is &lt;b&gt;TestClientApplication&lt;/b&gt; which is a very simple application for invoking the SQLRSS web service and viewing the results in a console application.  Outlook 2007 or Internet Explorer 7 would make more interesting and useful client applications for browsing this feed.&lt;br /&gt; &lt;br /&gt;In the &lt;span class="codeInline"&gt;SQLRSS\ReportProject1&lt;/span&gt; directory is a solution called &lt;b&gt;ProductReviewReports&lt;/b&gt; which contains a sample reporting services report.  This report illustrates how syndication feed items can link to a Reporting Services report.  This solution would not be deployed in a production environment, although something similar to it might be useful.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;In order to use the SQLRSS web service the following components need to be installed and available:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;The SQLRSS source code.  Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on &lt;span class="codeInline"&gt;SQLRSS.zip&lt;/span&gt; to download the code.&lt;/li&gt;&lt;li&gt;Microsoft.Net 3.5 &lt;/li&gt;&lt;li&gt;Microsoft SQL Server 2008 RTM &lt;/li&gt;&lt;li&gt;Either Visual Studio 2008 SP1 or the Microsoft.Net Framework SDK 3.5 &lt;/li&gt;&lt;li&gt;A SQL Server 2008 database which contains at least one table to be tracked and published by the web service. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Configuration and Installation
&lt;/h3&gt;The first step in configuring the SQLRSS web service is to enable the Change Tracking feature in the database or databases which contains the table or tables to be tracked and published, and also enable Change Tracking for the table or tables.  See &lt;a href="http://msdn.microsoft.com/en-us/library/bb964713(SQL.100).aspx" class="externalLink"&gt;MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for details.  For the samples provided you can use the following statements after installing the AdventureWorks2008 OLTP database from &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;Sample Databases at CodePlex&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
ALTER DATABASE AdventureWorks2008
SET CHANGE_TRACKING = ON
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON);
 
USE AdventureWorks2008
GO
 
ALTER TABLE Production.ProductReview
ENABLE CHANGE_TRACKING
WITH (TRACK_COLUMNS_UPDATED = OFF);
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;There are many options available for Change Tracking and there is no substitute for carefully reading the documentation and understanding the implications of the settings you decide to use.&lt;br /&gt; &lt;br /&gt;The second step in configuring the SQLRSS web service is to create an XML file which complies with the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xsd&lt;/span&gt; schema.  There are extensive comments in the schema file which explain the meaning of the elements and attributes of the schema.  There is also an example of what such an XML file would look like in &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xml&lt;/span&gt;.&lt;br /&gt; &lt;br /&gt;The third step is to create a host for SQLRSS web service and pass the path to the XML file you created in step two to the service during its construction.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in the &lt;b&gt;SQLRSS&lt;/b&gt; solution provides an example of how to do that for a console application.&lt;br /&gt; &lt;br /&gt;Once the service has been launched in the desired host, changes since Change Tracking was enabled for tables described in the XML configuration file will be available as syndication feeds based on the conditions and configuration information contained in the XML configuration file.  &lt;br /&gt; &lt;br /&gt;If you start the test host with the provided configuration file then the RSS feed will be located at &lt;b&gt;http://localhost/SQLRSS/GetDataChanges?rssFormat=atom&amp;amp;connection=local&amp;amp;table=Production.ProductReview&lt;/b&gt;. &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Vista UAC Notes
&lt;/h3&gt;Some aspects of this sample code will not run correctly on Vista with UAC enabled unless you take the following steps:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Run the test host in an elevated command prompt.&lt;/li&gt;&lt;li&gt;Configure Reporting Services as described in http://msdn.microsoft.com/en-us/library/bb630430.aspx.  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Unimplemented Configuration Options
&lt;/h3&gt;The XML schema describes some features of the application which are not yet implemented.  Here is a list of the current restrinctions:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;DataViewSource&lt;/span&gt; and &lt;span class="codeInline"&gt;DataViewSourceMode&lt;/span&gt; are not yet implemented.  The data source is always the table being monitored, combined with whatever reference tables you provide. &lt;/li&gt;&lt;li&gt;Only &lt;span class="codeInline"&gt;Report&lt;/span&gt; is implemented for &lt;span class="codeInline"&gt;DataDisplayMode&lt;/span&gt;.  &lt;span class="codeInline"&gt;HTML&lt;/span&gt; and &lt;span class="codeInline"&gt;XML&lt;/span&gt; modes are not yet implemented. &lt;/li&gt;&lt;li&gt;Only the &lt;span class="codeInline"&gt;Top ChangeFilterMode&lt;/span&gt; is implemented.  &lt;span class="codeInline"&gt;TimeInterval&lt;/span&gt; is not yet implemented. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;If there is sufficient interest these options could be implemented in a future release.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Areas for Future Expansion
&lt;/h3&gt;There are many possible ways to expand the breadth or depth of the sample.  Here are some ideas:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Support for images in syndication feed items &lt;/li&gt;&lt;li&gt;Example code for packaging and creating a Windows Service to run the SQLRSS web service, or for running SQLRSS under IIS7. &lt;/li&gt;&lt;li&gt;Completing the unimplemented configuration options listed above. &lt;/li&gt;&lt;li&gt;Building interesting web site templates using this technology, such as a blog web site template. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;Both users who are interested in using this technology and developers interested in extending this technology are welcome to create items in the Discussion and Work Item areas of CodePlex for this project and begin the discussion of how this software should grow and evolve.  If you are interested in contributing code to this project please contact the owner of this project at CodePlex.com and send along your interests in expanding it and some background information about your skills and projects you’ve worked on in the past.&lt;br /&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Wed, 11 Feb 2009 22:14:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090211101426P</guid></item><item><title>Closed Issue: Change AdventureWorks2008Test in connection string to AdventureWorks2008</title><link>http://www.codeplex.com/SQLRSS/WorkItem/View.aspx?WorkItemId=3189</link><description>Currently the connection string for the sample report specifies AdventureWorks2008Test.  This should just be changed to AdventureWorks2008.&lt;br /&gt;Comments: Fixed in release 1.2.</description><author>bonniefe</author><pubDate>Wed, 11 Feb 2009 22:10:55 GMT</pubDate><guid isPermaLink="false">Closed Issue: Change AdventureWorks2008Test in connection string to AdventureWorks2008 20090211101055P</guid></item><item><title>Created Release: V1.2 (Feb 11, 2009)</title><link>http://www.codeplex.com/SQLRSS/Release/ProjectReleases.aspx?ReleaseId=23110</link><description>&lt;div&gt;
SQLRSS is a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed. &lt;br&gt; &lt;br&gt;Click on SQLRSS.zip below to download the server application and an example of how to use it with AdventureWorks 2008. Be sure to read the documentation on the home page for instructions on how to use it.&lt;br&gt; &lt;br&gt;This release contains additional information in the documentation on dealing with Vista UAC and clarifies how to access the RSS or ATOM feed once the test host has been started for the default configuration file.  The name of the database for the sample report has been changed from &lt;b&gt;AdventureWorks2008Test&lt;/b&gt; to &lt;b&gt;AdventureWorks2008&lt;/b&gt;.&lt;br&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Wed, 11 Feb 2009 22:08:19 GMT</pubDate><guid isPermaLink="false">Created Release: V1.2 (Feb 11, 2009) 20090211100819P</guid></item><item><title>Released: V1.2 (Feb 11, 2009)</title><link>http://www.codeplex.com/SQLRSS/Release/ProjectReleases.aspx?ReleaseId=23110</link><description>&lt;div&gt;
SQLRSS is a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed. &lt;br&gt; &lt;br&gt;Click on SQLRSS.zip below to download the server application and an example of how to use it with AdventureWorks 2008. Be sure to read the documentation on the home page for instructions on how to use it.&lt;br&gt; &lt;br&gt;This release contains additional information in the documentation on dealing with Vista UAC and clarifies how to access the RSS or ATOM feed once the test host has been started for the default configuration file.  The name of the database for the sample report has been changed from &lt;b&gt;AdventureWorks2008Test&lt;/b&gt; to &lt;b&gt;AdventureWorks2008&lt;/b&gt;.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Wed, 11 Feb 2009 22:08:16 GMT</pubDate><guid isPermaLink="false">Released: V1.2 (Feb 11, 2009) 20090211100816P</guid></item><item><title>Source code checked in, #21847</title><link>http://www.codeplex.com/SQLRSS/SourceControl/ListDownloadableCommits.aspx</link><description>Update documentation to describe Vista UAC issues and provide more explanation about how to access the RSS or ATOM feed once the test host is running.</description><author>bonniefe</author><pubDate>Wed, 11 Feb 2009 22:05:24 GMT</pubDate><guid isPermaLink="false">Source code checked in, #21847 20090211100524P</guid></item><item><title>Created Issue: Change AdventureWorks2008Test in connection string to AdventureWorks2008</title><link>http://www.codeplex.com/SQLRSS/WorkItem/View.aspx?WorkItemId=3189</link><description>Currently the connection string for the sample report specifies AdventureWorks2008Test.  This should just be changed to AdventureWorks2008.&lt;br /&gt;</description><author>bonniefe</author><pubDate>Wed, 11 Feb 2009 21:42:36 GMT</pubDate><guid isPermaLink="false">Created Issue: Change AdventureWorks2008Test in connection string to AdventureWorks2008 20090211094236P</guid></item><item><title>Source code checked in, #21843</title><link>http://www.codeplex.com/SQLRSS/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>bonniefe</author><pubDate>Wed, 11 Feb 2009 21:40:57 GMT</pubDate><guid isPermaLink="false">Source code checked in, #21843 20090211094057P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/SQLRSS/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Really Simple SQL Server Syndication (SQLRSS)
&lt;/h2&gt;This community project provides a place for distributing and developing a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;The SQLRSS community application is designed to expose changes made to SQL Server 2008 tables as an RSS or ATOM feed.  The application is useful as is.  Many enhancements are possible and community contributions to this project are encouraged.&lt;br /&gt; &lt;br /&gt;Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on SQLRSS.zip to download the code.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Got questions? Want to contribute?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;!&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Implementation 
&lt;/h3&gt;This application is based on the following features:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Change Tracking (CT) feature of SQL Server 2008 &lt;/li&gt;&lt;li&gt;Reporting Services &lt;/li&gt;&lt;li&gt;The syndication feed feature of WCF &lt;/li&gt;&lt;li&gt;LINQ to XML &lt;/li&gt;&lt;li&gt;ADO.NET  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;The use of Reporting Services is optional, but is a handy way to display the changed data.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Visual Studio Projects
&lt;/h3&gt;There are two principle parts of the application.  The first part is the implementation of the WCF based syndication feed service which transmits changes to one or more tables via RSS or ATOM feeds.  For the remainder of this document we will refer to the first part of this application as the SQLRSS web service.  The second part of the application is a demonstration of how to use the SQLRSS web service to monitor activity on the Production.ProductReview table in the AdventureWorks2008 sample database.  The SQLRSS web service is designed to be completely general purpose and can be applied to any SQL Server 2008 database in a server where Change Tracking is enabled.  The second part is for illustration purposes only and can be discarded in a production application environment.&lt;br /&gt; &lt;br /&gt;The implementation of the SQLRSS web service is located in the &lt;b&gt;SQLRSS&lt;/b&gt; solution which is located in the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService&lt;/span&gt; directory.  The project is named &lt;b&gt;RSSDataService&lt;/b&gt;.   It is the only essential project necessary for production use.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in that solution provides the code necessary to host the service in a console application.  In an actual production environment this kind of web service would normally be hosted in a Windows Service and some additional code is necessary to enable that particular scenario.  The other project in the SQLRSS solution is &lt;b&gt;TestClientApplication&lt;/b&gt; which is a very simple application for invoking the SQLRSS web service and viewing the results in a console application.  Outlook 2007 or Internet Explorer 7 would make more interesting and useful client applications for browsing this feed.&lt;br /&gt; &lt;br /&gt;In the &lt;span class="codeInline"&gt;SQLRSS\ReportProject1&lt;/span&gt; directory is a solution called &lt;b&gt;ProductReviewReports&lt;/b&gt; which contains a sample reporting services report.  This report illustrates how syndication feed items can link to a Reporting Services report.  This solution would not be deployed in a production environment, although something similar to it might be useful.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;In order to use the SQLRSS web service the following components need to be installed and available:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;The SQLRSS source code.  Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on &lt;span class="codeInline"&gt;SQLRSS.zip&lt;/span&gt; to download the code.&lt;/li&gt;&lt;li&gt;Microsoft.Net 3.5 &lt;/li&gt;&lt;li&gt;Microsoft SQL Server 2008 RTM &lt;/li&gt;&lt;li&gt;Either Visual Studio 2008 SP1 or the Microsoft.Net Framework SDK 3.5 &lt;/li&gt;&lt;li&gt;A SQL Server 2008 database which contains at least one table to be tracked and published by the web service. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Configuration and Installation
&lt;/h3&gt;The first step in configuring the SQLRSS web service is to enable the Change Tracking feature in the database or databases which contains the table or tables to be tracked and published, and also enable Change Tracking for the table or tables.  See &lt;a href="http://msdn.microsoft.com/en-us/library/bb964713(SQL.100).aspx" class="externalLink"&gt;MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for details.  For the samples provided you can use the following statements after installing the AdventureWorks2008 OLTP database from &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;Sample Databases at CodePlex&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
ALTER DATABASE AdventureWorks2008
SET CHANGE_TRACKING = ON
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON);
 
USE AdventureWorks2008
GO
 
ALTER TABLE Production.ProductReview
ENABLE CHANGE_TRACKING
WITH (TRACK_COLUMNS_UPDATED = OFF);
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;There are many options available for Change Tracking and there is no substitute for carefully reading the documentation and understanding the implications of the settings you decide to use.&lt;br /&gt; &lt;br /&gt;The second step in configuring the SQLRSS web service is to create an XML file which complies with the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xsd&lt;/span&gt; schema.  There are extensive comments in the schema file which explain the meaning of the elements and attributes of the schema.  There is also an example of what such an XML file would look like in &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xml&lt;/span&gt;.&lt;br /&gt; &lt;br /&gt;The third step is to create a host for SQLRSS web service and pass the path to the XML file you created in step two to the service during its construction.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in the &lt;b&gt;SQLRSS&lt;/b&gt; solution provides an example of how to do that for a console application.&lt;br /&gt; &lt;br /&gt;Once the service has been launched in the desired host, changes since Change Tracking was enabled for tables described in the XML configuration file will be available as syndication feeds based on the conditions and configuration information contained in the XML configuration file.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Unimplemented Configuration Options
&lt;/h3&gt;The XML schema describes some features of the application which are not yet implemented.  Here is a list of the current restrinctions:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;DataViewSource&lt;/span&gt; and &lt;span class="codeInline"&gt;DataViewSourceMode&lt;/span&gt; are not yet implemented.  The data source is always the table being monitored, combined with whatever reference tables you provide. &lt;/li&gt;&lt;li&gt;Only &lt;span class="codeInline"&gt;Report&lt;/span&gt; is implemented for &lt;span class="codeInline"&gt;DataDisplayMode&lt;/span&gt;.  &lt;span class="codeInline"&gt;HTML&lt;/span&gt; and &lt;span class="codeInline"&gt;XML&lt;/span&gt; modes are not yet implemented. &lt;/li&gt;&lt;li&gt;Only the &lt;span class="codeInline"&gt;Top ChangeFilterMode&lt;/span&gt; is implemented.  &lt;span class="codeInline"&gt;TimeInterval&lt;/span&gt; is not yet implemented. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;If there is sufficient interest these options could be implemented in a future release.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Areas for Future Expansion
&lt;/h3&gt;There are many possible ways to expand the breadth or depth of the sample.  Here are some ideas:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Support for images in syndication feed items &lt;/li&gt;&lt;li&gt;Example code for packaging and creating a Windows Service to run the SQLRSS web service, or for running SQLRSS under IIS7. &lt;/li&gt;&lt;li&gt;Completing the unimplemented configuration options listed above. &lt;/li&gt;&lt;li&gt;Building interesting web site templates using this technology, such as a blog web site template. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;Both users who are interested in using this technology and developers interested in extending this technology are welcome to create items in the Discussion and Work Item areas of CodePlex for this project and begin the discussion of how this software should grow and evolve.  If you are interested in contributing code to this project please contact the owner of this project at CodePlex.com and send along your interests in expanding it and some background information about your skills and projects you’ve worked on in the past.&lt;br /&gt;
&lt;/div&gt;</description><author>ReedMe</author><pubDate>Thu, 29 Jan 2009 22:56:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090129105631P</guid></item><item><title>Source code checked in, #17890</title><link>http://www.codeplex.com/SQLRSS/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>bonniefe</author><pubDate>Mon, 17 Nov 2008 21:21:34 GMT</pubDate><guid isPermaLink="false">Source code checked in, #17890 20081117092134P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/SQLRSS/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This comminity project provides a place distributing and developing a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
SQLRSS Community Application
&lt;/h2&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;The SQLRSS community application is designed to expose changes made to SQL Server 2008 tables as an RSS or ATOM feed.  The application is useful as is.  Many enhancements are possible and community contributions to this project are encouraged.&lt;br /&gt; &lt;br /&gt;Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on SQLRSS.zip to download the code.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Implementation 
&lt;/h3&gt;This application is based on the following features:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Change Tracking (CT) feature of SQL Server 2008 &lt;/li&gt;&lt;li&gt;Reporting Services &lt;/li&gt;&lt;li&gt;The syndication feed feature of WCF &lt;/li&gt;&lt;li&gt;LINQ to XML &lt;/li&gt;&lt;li&gt;ADO.NET  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;The use of Reporting Services is optional, but is a handy way to display the changed data.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Visual Studio Projects
&lt;/h3&gt;There are two principle parts of the application.  The first part is the implementation of the WCF based syndication feed service which transmits changes to one or more tables via RSS or ATOM feeds.  For the remainder of this document we will refer to the first part of this application as the SQLRSS web service.  The second part of the application is a demonstration of how to use the SQLRSS web service to monitor activity on the Production.ProductReview table in the AdventureWorks2008 sample database.  The SQLRSS web service is designed to be completely general purpose and can be applied to any SQL Server 2008 database in a server where Change Tracking is enabled.  The second part is for illustration purposes only and can be discarded in a production application environment.&lt;br /&gt; &lt;br /&gt;The implementation of the SQLRSS web service is located in the &lt;b&gt;SQLRSS&lt;/b&gt; solution which is located in the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService&lt;/span&gt; directory.  The project is named &lt;b&gt;RSSDataService&lt;/b&gt;.   It is the only essential project necessary for production use.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in that solution provides the code necessary to host the service in a console application.  In an actual production environment this kind of web service would normally be hosted in a Windows Service and some additional code is necessary to enable that particular scenario.  The other project in the SQLRSS solution is &lt;b&gt;TestClientApplication&lt;/b&gt; which is a very simple application for invoking the SQLRSS web service and viewing the results in a console application.  Outlook 2007 or Internet Explorer 7 would make more interesting and useful client applications for browsing this feed.&lt;br /&gt; &lt;br /&gt;In the &lt;span class="codeInline"&gt;SQLRSS\ReportProject1&lt;/span&gt; directory is a solution called &lt;b&gt;ProductReviewReports&lt;/b&gt; which contains a sample reporting services report.  This report illustrates how syndication feed items can link to a Reporting Services report.  This solution would not be deployed in a production environment, although something similar to it might be useful.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;In order to use the SQLRSS web service the following components need to be installed and available:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;The SQLRSS source code.  Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on &lt;span class="codeInline"&gt;SQLRSS.zip&lt;/span&gt; to download the code.&lt;/li&gt;&lt;li&gt;Microsoft.Net 3.5 &lt;/li&gt;&lt;li&gt;Microsoft SQL Server 2008 RTM &lt;/li&gt;&lt;li&gt;Either Visual Studio 2008 SP1 or the Microsoft.Net Framework SDK 3.5 &lt;/li&gt;&lt;li&gt;A SQL Server 2008 database which contains at least one table to be tracked and published by the web service. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Configuration and Installation
&lt;/h3&gt;The first step in configuring the SQLRSS web service is to enable the Change Tracking feature in the database or databases which contains the table or tables to be tracked and published, and also enable Change Tracking for the table or tables.  See &lt;a href="http://msdn.microsoft.com/en-us/library/bb964713(SQL.100).aspx" class="externalLink"&gt;MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for details.  For the samples provided you can use the following statements after installing the AdventureWorks2008 OLTP database from &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;Sample Databases at CodePlex&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
ALTER DATABASE AdventureWorks2008
SET CHANGE_TRACKING = ON
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON);
 
USE AdventureWorks2008
GO
 
ALTER TABLE Production.ProductReview
ENABLE CHANGE_TRACKING
WITH (TRACK_COLUMNS_UPDATED = OFF);
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;There are many options available for Change Tracking and there is no substitute for carefully reading the documentation and understanding the implications of the settings you decide to use.&lt;br /&gt; &lt;br /&gt;The second step in configuring the SQLRSS web service is to create an XML file which complies with the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xsd&lt;/span&gt; schema.  There are extensive comments in the schema file which explain the meaning of the elements and attributes of the schema.  There is also an example of what such an XML file would look like in &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xml&lt;/span&gt;.&lt;br /&gt; &lt;br /&gt;The third step is to create a host for SQLRSS web service and pass the path to the XML file you created in step two to the service during its construction.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in the &lt;b&gt;SQLRSS&lt;/b&gt; solution provides an example of how to do that for a console application.&lt;br /&gt; &lt;br /&gt;Once the service has been launched in the desired host, changes since Change Tracking was enabled for tables described in the XML configuration file will be available as syndication feeds based on the conditions and configuration information contained in the XML configuration file.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Unimplemented Configuration Options
&lt;/h3&gt;The XML schema describes some features of the application which are not yet implemented.  Here is a list of the current restrinctions:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;DataViewSource&lt;/span&gt; and &lt;span class="codeInline"&gt;DataViewSourceMode&lt;/span&gt; are not yet implemented.  The data source is always the table being monitored, combined with whatever reference tables you provide. &lt;/li&gt;&lt;li&gt;Only &lt;span class="codeInline"&gt;Report&lt;/span&gt; is implemented for &lt;span class="codeInline"&gt;DataDisplayMode&lt;/span&gt;.  &lt;span class="codeInline"&gt;HTML&lt;/span&gt; and &lt;span class="codeInline"&gt;XML&lt;/span&gt; modes are not yet implemented. &lt;/li&gt;&lt;li&gt;Only the &lt;span class="codeInline"&gt;Top ChangeFilterMode&lt;/span&gt; is implemented.  &lt;span class="codeInline"&gt;TimeInterval&lt;/span&gt; is not yet implemented. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;If there is sufficient interest these options could be implemented in a future release.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Areas for Future Expansion
&lt;/h3&gt;There are many possible ways to expand the breadth or depth of the sample.  Here are some ideas:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Support for images in syndication feed items &lt;/li&gt;&lt;li&gt;Example code for packaging and creating a Windows Service to run the SQLRSS web service, or for running SQLRSS under IIS7. &lt;/li&gt;&lt;li&gt;Completing the unimplemented configuration options listed above. &lt;/li&gt;&lt;li&gt;Building interesting web site templates using this technology, such as a blog web site template. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;Both users who are interested in using this technology and developers interested in extending this technology are welcome to create items in the Discussion and Work Item areas of CodePlex for this project and begin the discussion of how this software should grow and evolve.  If you are interested in contributing code to this project please contact the owner of this project at CodePlex.com and send along your interests in expanding it and some background information about your skills and projects you’ve worked on in the past.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Mon, 17 Nov 2008 19:24:02 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20081117072402P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/SQLRSS/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This comminity project provides a place distributing and developing a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
SQLRSS Community Application
&lt;/h2&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;The SQLRSS community application is designed to expose changes made to SQL Server 2008 tables as an RSS or ATOM feed.  The application is useful as is.  Many enhancements are possible and community contributions to this project are encouraged.&lt;br /&gt; &lt;br /&gt;Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on SQLRSS.zip to download the code.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Implementation 
&lt;/h3&gt;This application is based on the following features:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Change Data Tracking (CDT) feature of SQL Server 2008 &lt;/li&gt;&lt;li&gt;Reporting Services &lt;/li&gt;&lt;li&gt;The syndication feed feature of WCF &lt;/li&gt;&lt;li&gt;LINQ to XML &lt;/li&gt;&lt;li&gt;ADO.NET  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;The use of Reporting Services is optional, but is a handy way to display the changed data.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Visual Studio Projects
&lt;/h3&gt;There are two principle parts of the application.  The first part is the implementation of the WCF based syndication feed service which transmits changes to one or more tables via RSS or ATOM feeds.  For the remainder of this document we will refer to the first part of this application as the SQLRSS web service.  The second part of the application is a demonstration of how to use the SQLRSS web service to monitor activity on the Production.ProductReview table in the AdventureWorks2008 sample database.  The SQLRSS web service is designed to be completely general purpose and can be applied to any SQL Server 2008 database in a server where Change Data Tracking is enabled.  The second part is for illustration purposes only and can be discarded in a production application environment.&lt;br /&gt; &lt;br /&gt;The implementation of the SQLRSS web service is located in the &lt;b&gt;SQLRSS&lt;/b&gt; solution which is located in the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService&lt;/span&gt; directory.  The project is named &lt;b&gt;RSSDataService&lt;/b&gt;.   It is the only essential project necessary for production use.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in that solution provides the code necessary to host the service in a console application.  In an actual production environment this kind of web service would normally be hosted in a Windows Service and some additional code is necessary to enable that particular scenario.  The other project in the SQLRSS solution is &lt;b&gt;TestClientApplication&lt;/b&gt; which is a very simple application for invoking the SQLRSS web service and viewing the results in a console application.  Outlook 2007 or Internet Explorer 7 would make more interesting and useful client applications for browsing this feed.&lt;br /&gt; &lt;br /&gt;In the &lt;span class="codeInline"&gt;SQLRSS\ReportProject1&lt;/span&gt; directory is a solution called &lt;b&gt;ProductReviewReports&lt;/b&gt; which contains a sample reporting services report.  This report illustrates how syndication feed items can link to a Reporting Services report.  This solution would not be deployed in a production environment, although something similar to it might be useful.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;In order to use the SQLRSS web service the following components need to be installed and available:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;The SQLRSS source code.  Click on the &lt;b&gt;Releases&lt;/b&gt; table and then click on &lt;span class="codeInline"&gt;SQLRSS.zip&lt;/span&gt; to download the code.&lt;/li&gt;&lt;li&gt;Microsoft.Net 3.5 &lt;/li&gt;&lt;li&gt;Microsoft SQL Server 2008 RC0 or RTM &lt;/li&gt;&lt;li&gt;Either Visual Studio 2008 SP1 or the Microsoft.Net Framework SDK 3.5 &lt;/li&gt;&lt;li&gt;A SQL Server 2008 database which contains at least one table to be tracked and published by the web service. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Configuration and Installation
&lt;/h3&gt;The first step in configuring the SQLRSS web service is to enable the Change Data Tracking feature in the database or databases which contains the table or tables to be tracked and published, and also enable Change Data Tracking for the table or tables.  See &lt;a href="http://msdn.microsoft.com/en-us/library/bb964713(SQL.100).aspx" class="externalLink"&gt;MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for details.  For the samples provided you can use the following statements after installing the AdventureWorks2008 OLTP database from &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;Sample Databases at CodePlex&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
ALTER DATABASE AdventureWorks2008
SET CHANGE_TRACKING = ON
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON);
 
USE AdventureWorks2008
GO
 
ALTER TABLE Production.ProductReview
ENABLE CHANGE_TRACKING
WITH (TRACK_COLUMNS_UPDATED = OFF);
&lt;/pre&gt; &lt;br /&gt;There are many options available for Change Data Tracking and there is no substitute for carefully reading the documentation and understanding the implications of the settings you decide to use.&lt;br /&gt; &lt;br /&gt;The second step in configuring the SQLRSS web service is to create an XML file which complies with the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xsd&lt;/span&gt; schema.  There are extensive comments in the schema file which explain the meaning of the elements and attributes of the schema.  There is also an example of what such an XML file would look like in &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xml&lt;/span&gt;.&lt;br /&gt; &lt;br /&gt;The third step is to create a host for SQLRSS web service and pass the path to the XML file you created in step two to the service during its construction.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in the &lt;b&gt;SQLRSS&lt;/b&gt; solution provides an example of how to do that for a console application.&lt;br /&gt; &lt;br /&gt;Once the service has been launched in the desired host, changes since Change Data Tracking was enabled for tables described in the XML configuration file will be available as syndication feeds based on the conditions and configuration information contained in the XML configuration file.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Unimplemented Configuration Options
&lt;/h3&gt;The XML schema describes some features of the application which are not yet implemented.  Here is a list of the current restrinctions:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;DataViewSource&lt;/span&gt; and &lt;span class="codeInline"&gt;DataViewSourceMode&lt;/span&gt; are not yet implemented.  The data source is always the table being monitored, combined with whatever reference tables you provide. &lt;/li&gt;&lt;li&gt;Only &lt;span class="codeInline"&gt;Report&lt;/span&gt; is implemented for &lt;span class="codeInline"&gt;DataDisplayMode&lt;/span&gt;.  &lt;span class="codeInline"&gt;HTML&lt;/span&gt; and &lt;span class="codeInline"&gt;XML&lt;/span&gt; modes are not yet implemented. &lt;/li&gt;&lt;li&gt;Only the &lt;span class="codeInline"&gt;Top ChangeFilterMode&lt;/span&gt; is implemented.  &lt;span class="codeInline"&gt;TimeInterval&lt;/span&gt; is not yet implemented. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;If there is sufficient interest these options could be implemented in a future release.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Areas for Future Expansion
&lt;/h3&gt;There are many possible ways to expand the breadth or depth of the sample.  Here are some ideas:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Support for images in syndication feed items &lt;/li&gt;&lt;li&gt;Example code for packaging and creating a Windows Service to run the SQLRSS web service, or for running SQLRSS under IIS7. &lt;/li&gt;&lt;li&gt;Completing the unimplemented configuration options listed above. &lt;/li&gt;&lt;li&gt;Building interesting web site templates using this technology, such as a blog web site template. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;Both users who are interested in using this technology and developers interested in extending this technology are welcome to create items in the Discussion and Work Item areas of CodePlex for this project and begin the discussion of how this software should grow and evolve.  If you are interested in contributing code to this project please contact the owner of this project at CodePlex.com and send along your interests in expanding it and some background information about your skills and projects you’ve worked on in the past.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Wed, 04 Jun 2008 22:33:02 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080604103302P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/SQLRSS/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This comminity project provides a place distributing and developing a server application which exposes changes to SQL Server 2008 database tables as either an RSS or Atom syndication feed.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
SQLRSS Community Application
&lt;/h2&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;The SQLRSS community application is designed to expose changes made to SQL Server 2008 tables as an RSS or ATOM feed.  The application is useful as is.  Many enhancements are possible and community contributions to this project are encouraged.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Implementation 
&lt;/h3&gt;This application is based on the following features:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Change Data Tracking (CDT) feature of SQL Server 2008 &lt;/li&gt;&lt;li&gt;Reporting Services &lt;/li&gt;&lt;li&gt;The syndication feed feature of WCF &lt;/li&gt;&lt;li&gt;LINQ to XML &lt;/li&gt;&lt;li&gt;ADO.NET  &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;The use of Reporting Services is optional, but is a handy way to display the changed data.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Visual Studio Projects
&lt;/h3&gt;There are two principle parts of the application.  The first part is the implementation of the WCF based syndication feed service which transmits changes to one or more tables via RSS or ATOM feeds.  For the remainder of this document we will refer to the first part of this application as the SQLRSS web service.  The second part of the application is a demonstration of how to use the SQLRSS web service to monitor activity on the Production.ProductReview table in the AdventureWorks2008 sample database.  The SQLRSS web service is designed to be completely general purpose and can be applied to any SQL Server 2008 database in a server where Change Data Tracking is enabled.  The second part is for illustration purposes only and can be discarded in a production application environment.&lt;br /&gt; &lt;br /&gt;The implementation of the SQLRSS web service is located in the &lt;b&gt;SQLRSS&lt;/b&gt; solution which is located in the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService&lt;/span&gt; directory.  The project is named &lt;b&gt;RSSDataService&lt;/b&gt;.   It is the only essential project necessary for production use.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in that solution provides the code necessary to host the service in a console application.  In an actual production environment this kind of web service would normally be hosted in a Windows Service and some additional code is necessary to enable that particular scenario.  The other project in the SQLRSS solution is &lt;b&gt;TestClientApplication&lt;/b&gt; which is a very simple application for invoking the SQLRSS web service and viewing the results in a console application.  Outlook 2007 or Internet Explorer 7 would make more interesting and useful client applications for browsing this feed.&lt;br /&gt; &lt;br /&gt;In the &lt;span class="codeInline"&gt;SQLRSS\ReportProject1&lt;/span&gt; directory is a solution called &lt;b&gt;ProductReviewReports&lt;/b&gt; which contains a sample reporting services report.  This report illustrates how syndication feed items can link to a Reporting Services report.  This solution would not be deployed in a production environment, although something similar to it might be useful.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;In order to use the SQLRSS web service the following components need to be installed and available:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Microsoft.Net 3.5 &lt;/li&gt;&lt;li&gt;Microsoft SQL Server 2008 RC0 or RTM &lt;/li&gt;&lt;li&gt;Either Visual Studio 2008 SP1 or the Microsoft.Net Framework SDK 3.5 &lt;/li&gt;&lt;li&gt;A SQL Server 2008 database which contains at least one table to be tracked and published by the web service. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Configuration and Installation
&lt;/h3&gt;The first step in configuring the SQLRSS web service is to enable the Change Data Tracking feature in the database or databases which contains the table or tables to be tracked and published, and also enable Change Data Tracking for the table or tables.  See &lt;a href="http://msdn.microsoft.com/en-us/library/bb964713(SQL.100).aspx" class="externalLink"&gt;MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for details.  For the samples provided you can use the following statements after installing the AdventureWorks2008 OLTP database from &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;Sample Databases at CodePlex&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
ALTER DATABASE AdventureWorks2008
SET CHANGE_TRACKING = ON
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON);
 
USE AdventureWorks2008
GO
 
ALTER TABLE Production.ProductReview
ENABLE CHANGE_TRACKING
WITH (TRACK_COLUMNS_UPDATED = OFF);
&lt;/pre&gt; &lt;br /&gt;There are many options available for Change Data Tracking and there is no substitute for carefully reading the documentation and understanding the implications of the settings you decide to use.&lt;br /&gt; &lt;br /&gt;The second step in configuring the SQLRSS web service is to create an XML file which complies with the &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xsd&lt;/span&gt; schema.  There are extensive comments in the schema file which explain the meaning of the elements and attributes of the schema.  There is also an example of what such an XML file would look like in &lt;span class="codeInline"&gt;SQLRSS\RSSDataService\FeedMap.xml&lt;/span&gt;.&lt;br /&gt; &lt;br /&gt;The third step is to create a host for SQLRSS web service and pass the path to the XML file you created in step two to the service during its construction.  The &lt;b&gt;TestServiceHost&lt;/b&gt; project in the &lt;b&gt;SQLRSS&lt;/b&gt; solution provides an example of how to do that for a console application.&lt;br /&gt; &lt;br /&gt;Once the service has been launched in the desired host, changes since Change Data Tracking was enabled for tables described in the XML configuration file will be available as syndication feeds based on the conditions and configuration information contained in the XML configuration file.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Unimplemented Configuration Options
&lt;/h3&gt;The XML schema describes some features of the application which are not yet implemented.  Here is a list of the current restrinctions:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="codeInline"&gt;DataViewSource&lt;/span&gt; and &lt;span class="codeInline"&gt;DataViewSourceMode&lt;/span&gt; are not yet implemented.  The data source is always the table being monitored, combined with whatever reference tables you provide. &lt;/li&gt;&lt;li&gt;Only &lt;span class="codeInline"&gt;Report&lt;/span&gt; is implemented for &lt;span class="codeInline"&gt;DataDisplayMode&lt;/span&gt;.  &lt;span class="codeInline"&gt;HTML&lt;/span&gt; and &lt;span class="codeInline"&gt;XML&lt;/span&gt; modes are not yet implemented. &lt;/li&gt;&lt;li&gt;Only the &lt;span class="codeInline"&gt;Top ChangeFilterMode&lt;/span&gt; is implemented.  &lt;span class="codeInline"&gt;TimeInterval&lt;/span&gt; is not yet implemented. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;If there is sufficient interest these options could be implemented in a future release.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Areas for Future Expansion
&lt;/h3&gt;There are many possible ways to expand the breadth or depth of the sample.  Here are some ideas:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Support for images in syndication feed items &lt;/li&gt;&lt;li&gt;Example code for packaging and creating a Windows Service to run the SQLRSS web service, or for running SQLRSS under IIS7. &lt;/li&gt;&lt;li&gt;Completing the unimplemented configuration options listed above. &lt;/li&gt;&lt;li&gt;Building interesting web site templates using this technology, such as a blog web site template. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;Both users who are interested in using this technology and developers interested in extending this technology are welcome to create items in the Discussion and Work Item areas of CodePlex for this project and begin the discussion of how this software should grow and evolve.  If you are interested in contributing code to this project please contact the owner of this project at CodePlex.com and send along your interests in expanding it and some background information about your skills and projects you’ve worked on in the past.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Wed, 04 Jun 2008 21:55:48 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080604095548P</guid></item></channel></rss>