<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sqlrbs Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/sqlrbs/Wiki/View.aspx?title=Home</link><description>sqlrbs Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/wikipage?version=15</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; Please refer to the RBS blog post &lt;a href="http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for instructions on changes to the RBS API since this sample was written, specifically that the SqlRemoteBlobContext object now implements the IDisposable interface.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;July 2010 update:&lt;/b&gt; When using the sample provider with SharePoint 2010, the account that is running the application pool for the web site needs to be added to the db_rbs_admin SQL Server Role in the blob database.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; To correctly install the sample provider or third party created provider, the provider dll will need to be registered in the GAC and either strong name signed or use sn.exe to provide a strong name signing override.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server 2008 R2 November CTP Feature Pack link&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm&amp;#39;s technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command as an administrator:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named &amp;#39;application&amp;#39; to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2009 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mikew</author><pubDate>Tue, 27 Jul 2010 16:16:07 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100727041607P</guid></item><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/wikipage?version=14</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; Please refer to the RBS blog post &lt;a href="http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for instructions on changes to the RBS API since this sample was written, specifically that the SqlRemoteBlobContext object now implements the IDisposable interface.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;July 2010 update:&lt;/b&gt; When using the sample provider with SharePoint 2010, the account that is running the application pool for the web site needs to be added to the db&lt;i&gt;&lt;/i&gt;rbs&lt;i&gt;&lt;/i&gt;admin SQL Server Role in the blob database.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; To correctly install the sample provider or third party created provider, the provider dll will need to be registered in the GAC and either strong name signed or use sn.exe to provide a strong name signing override.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server 2008 R2 November CTP Feature Pack link&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm&amp;#39;s technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command as an administrator:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named &amp;#39;application&amp;#39; to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2009 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mikew</author><pubDate>Tue, 27 Jul 2010 16:15:16 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100727041516P</guid></item><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/wikipage?version=13</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; Please refer to the RBS blog post &lt;a href="http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for instructions on changes to the RBS API since this sample was written, specifically that the SqlRemoteBlobContext object now implements the IDisposable interface.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;July 2010 update:&lt;/b&gt; When using the sample provider with SharePoint 2010, the account that is running the application pool for the web site needs to be added to the db&lt;i&gt;rbs&lt;/i&gt;admin SQL Server Role in the blob database.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; To correctly install the sample provider or third party created provider, the provider dll will need to be registered in the GAC and either strong name signed or use sn.exe to provide a strong name signing override.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server 2008 R2 November CTP Feature Pack link&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm&amp;#39;s technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command as an administrator:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named &amp;#39;application&amp;#39; to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2009 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mikew</author><pubDate>Tue, 27 Jul 2010 16:14:56 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100727041456P</guid></item><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/wikipage?version=12</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; Please refer to the RBS blog post &lt;a href="http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for instructions on changes to the RBS API since this sample was written, specifically that the SqlRemoteBlobContext object now implements the IDisposable interface.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; To correctly install the sample provider or third party created provider, the provider dll will need to be registered in the GAC and either strong name signed or use sn.exe to provide a strong name signing override.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server 2008 R2 November CTP Feature Pack link&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm&amp;#39;s technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command as an administrator:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named &amp;#39;application&amp;#39; to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2009 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>pradeepm</author><pubDate>Wed, 24 Feb 2010 00:07:41 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100224120741A</guid></item><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/wikipage?version=11</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; Please refer to the RBS blog post &lt;a href="http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs/archive/2009/11/13/remote-blob-storage-november-ctp-refresh-available.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for instructions on changes to the RBS API since this sample was written, specifically that the SqlRemoteBlobContext object now implements the IDisposable interface.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.
&lt;ul&gt;&lt;li&gt;&lt;b&gt;November 2009 update:&lt;/b&gt; To correctly install the sample provider or third party created provider, the provider dll will need to be registered in the GAC and either strong name signed or use sn.exe to provide a strong name signing override.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server 2008 R2 November CTP Feature Pack link&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named 'application' to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2009 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mikew</author><pubDate>Tue, 01 Dec 2009 00:22:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20091201122226A</guid></item><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/wikipage?version=10</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.
&lt;ul&gt;&lt;li&gt;Please note: To correctly install the sample provider or third party created provider, the provider dll will need to be registered in the GAC and either strong name signed or use sn.exe to provide a strong name signing override.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server 2008 R2 November CTP Feature Pack link&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=020EE0D5-BCE4-4A45-9D64-B0C49C8831E5&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named 'application' to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2009 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mikew</author><pubDate>Tue, 01 Dec 2009 00:17:36 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20091201121736A</guid></item><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/Wiki/View.aspx?title=Home&amp;version=9</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Updated RBS Packages are available as part of the SQL Server 2008 R2 August CTP release:&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=adc60012-be4a-47d0-877f-ca91326939c3" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=adc60012-be4a-47d0-877f-ca91326939c3&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named 'application' to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mikew</author><pubDate>Fri, 14 Aug 2009 16:01:28 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090814040128P</guid></item><item><title>Updated Wiki: Home</title><link>http://sqlrbs.codeplex.com/Wiki/View.aspx?title=Home&amp;version=8</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Microsoft SQL Remote Blob Storage (RBS) Samples&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt;&lt;br /&gt;The following samples are included:
&lt;ul&gt;&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.&lt;/li&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt;&lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Scenario&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt;
&lt;h2&gt;Languages&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;Before running this sample, make sure the following software is installed:
&lt;ul&gt;&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Install File Store Provider from the provided binaries&lt;/h2&gt;&lt;h4&gt;To install the File Store Provider&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Execute the sample application&lt;/h2&gt;&lt;h4&gt;To run the sample application&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can then edit the connection string named 'application' to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Building the Samples&lt;/h2&gt;&lt;h4&gt;To build the Remote Blob Storage samples&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt;
&lt;h4&gt;Removing the installed File Store Provider&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt;&lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt;
&lt;h2&gt;Comments&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt;&lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mikew</author><pubDate>Wed, 08 Jul 2009 21:01:11 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090708090111P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/sqlrbs/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;
Microsoft SQL Remote Blob Storage (RBS) Samples
&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt; &lt;br /&gt;The following samples are included:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.&lt;/li&gt;&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt; &lt;br /&gt;Also, the Remote Blob Store Provider Library Implementation Specification is now online at &lt;a href="http://msdn.microsoft.com/en-us/library/cc905212.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/cc905212.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Scenario
&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Languages
&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Prerequisites
&lt;/h2&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=089A9DAD-E2DF-43E9-9CD8-C06320520B40&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Install File Store Provider from the provided binaries
&lt;/h2&gt;&lt;h4&gt;
To install the File Store Provider
&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Execute the sample application
&lt;/h2&gt;&lt;h4&gt;
To run the sample application
&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;You can then edit the connection string named 'application' to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Building the Samples
&lt;/h2&gt;&lt;h4&gt;
To build the Remote Blob Storage samples
&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt; &lt;br /&gt;&lt;h4&gt;
Removing the installed File Store Provider
&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
Comments
&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved. &lt;br /&gt;
&lt;/div&gt;</description><author>mikew</author><pubDate>Tue, 23 Sep 2008 17:08:22 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080923050822P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/sqlrbs/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;
Microsoft SQL Remote Blob Storage (RBS) Samples
&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt; &lt;br /&gt;The following samples are included:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.&lt;/li&gt;&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Scenario
&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Languages
&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Prerequisites
&lt;/h2&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=089A9DAD-E2DF-43E9-9CD8-C06320520B40&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Install File Store Provider from the provided binaries
&lt;/h2&gt;&lt;h4&gt;
To install the File Store Provider
&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Execute the sample application
&lt;/h2&gt;&lt;h4&gt;
To run the sample application
&lt;/h4&gt;To successfully run the sample application, a blob store provider must be installed. See the above section on installing the File Store Provider for instructions.&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\Application.exe.config
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;You can then edit the connection string named 'application' to connect to the SQL Server and Catalog that RBS is installed on. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\Application.exe
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Building the Samples
&lt;/h2&gt;&lt;h4&gt;
To build the Remote Blob Storage samples
&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt; &lt;br /&gt;&lt;h4&gt;
Removing the installed File Store Provider
&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
Comments
&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved. &lt;br /&gt;
&lt;/div&gt;</description><author>mikew</author><pubDate>Thu, 24 Jul 2008 23:56:37 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080724115637P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/sqlrbs/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;
Microsoft SQL Remote Blob Storage (RBS) Samples
&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt; &lt;br /&gt;The following samples are included:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Scenario
&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Languages
&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Prerequisites
&lt;/h2&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=089A9DAD-E2DF-43E9-9CD8-C06320520B40&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Install File Store Provider from the provided binaries
&lt;/h2&gt;&lt;h4&gt;
To install the File Store Provider
&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Building the Samples
&lt;/h2&gt;&lt;h4&gt;
To build the Remote Blob Storage samples
&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt; &lt;br /&gt;&lt;h4&gt;
Removing the installed File Store Provider.
&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
Comments
&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved. &lt;br /&gt;
&lt;/div&gt;</description><author>mikew</author><pubDate>Thu, 24 Jul 2008 18:00:17 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080724060017P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/sqlrbs/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;
Microsoft SQL Remote Blob Storage (RBS) Samples
&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt; &lt;br /&gt;The following samples are included:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Remote Blob Storage Sample Application &lt;i&gt;Application.exe&lt;/i&gt;. This contains implementations of Simple Store / Fetch, Custom Store (specifying collections / blob stores), Store / Fetch using Push streaming, Store / Fetch using Pull streaming, and an example that uses the System.IO.Stream APIs to do asynchronous reads from the blob store.&lt;/li&gt;&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Scenario
&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Languages
&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Prerequisites
&lt;/h2&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=089A9DAD-E2DF-43E9-9CD8-C06320520B40&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Install File Store Provider from the provided binaries
&lt;/h2&gt;&lt;h4&gt;
To install the File Store Provider
&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Building the Samples
&lt;/h2&gt;&lt;h4&gt;
To build the Remote Blob Storage samples
&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt; &lt;br /&gt;&lt;h4&gt;
Removing the installed File Store Provider.
&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
Comments
&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved. &lt;br /&gt;
&lt;/div&gt;</description><author>mikew</author><pubDate>Thu, 24 Jul 2008 17:59:03 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080724055903P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/sqlrbs/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;
Microsoft SQL Remote Blob Storage (RBS) Samples
&lt;/h1&gt;RBS is a library API set that is designed to move storage of BLOB data from database servers to external Content Addressable Stores (CAS). A reference to the blob is stored in the database. An application stores and accesses blob data by calling into the RBS client library. RBS manages the lifecycle of the blob e.g. doing garbage collection as and when needed. &lt;br /&gt; &lt;br /&gt;The following samples are included:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;File Store sample provider &lt;i&gt;Microsoft.Data.BlobStores.FileBlobStore&lt;/i&gt;. This file contains the basic implementation of a provider that uses NTFS files as the blob store. This is a demonstration provider for development and testing purposes only and should not be used on production systems.&lt;/li&gt;&lt;li&gt;&lt;i&gt;InstallProvider.exe&lt;/i&gt; utility application. This is a generic utility tool to aid in correctly installing, registering and uninstalling providers on both on the client and the server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;See the RBS team blog at &lt;a href="http://blogs.msdn.com/sqlrbs" class="externalLink"&gt;http://blogs.msdn.com/sqlrbs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for the latest news regarding RBS.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Scenario
&lt;/h2&gt;Jane is a developer for Adventure Works Cycles. She has to store documents in an external CAS store but still wants to utilize the relational capabilities of SQL Server without incurring the cost of manually keeping track of the external blobs.&lt;br /&gt;Joe is a developer for a firm that manufactures Content Addressable Store hardware. He wants to create a provider library to allow applications that are RBS enabled to utilise his firm's technology.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Languages
&lt;/h2&gt;Transact-SQL and Visual C#.&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Prerequisites
&lt;/h2&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft SQL Server or Microsoft SQL Server Express. You can obtain SQL Server Express free of charge from the SQL Server Express Documentation and Samples &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;web site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The SQL Server Remote Blob Store installation package available as part of the feature packs included with SQL Server, also available at the SQL Server &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=089A9DAD-E2DF-43E9-9CD8-C06320520B40&amp;amp;displaylang=en" class="externalLink"&gt;Feature Pack site.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;.NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h2&gt;
Install File Store Provider from the provided binaries
&lt;/h2&gt;&lt;h4&gt;
To install the File Store Provider
&lt;/h4&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\InstallProvider.cmd
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\InstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Building the Samples
&lt;/h2&gt;&lt;h4&gt;
To build the Remote Blob Storage samples
&lt;/h4&gt;Compile the sample by using Visual Studio 2008 and the provided Visual Studio solution, or by using Microsoft MSBuild, which is included in the .NET Framework SDK 2.0. Run commands similar to the following at a .NET Framework command prompt:&lt;br /&gt;&lt;pre&gt;
msbuild /nologo /verbosity:quiet /property:Configuration=Debug Source\RBS_Samples.sln 
&lt;/pre&gt; &lt;br /&gt;&lt;h4&gt;
Removing the installed File Store Provider.
&lt;/h4&gt;To remove the installed File Store Provider&lt;br /&gt;At a command prompt, use the change directory (CD) command to change the current folder of the command prompt window to the RBS sample directory. At the command prompt, run the following command:&lt;br /&gt;&lt;pre&gt;
notepad Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;You can then edit the parameters in the command script for your setup. Each parameter should be documented in the command script. Once your custom configuration is complete, at the command prompt run the following command:&lt;br /&gt;&lt;pre&gt;
Binaries\UninstallProvider.cmd 
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
Comments
&lt;/h2&gt;Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator. &lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved. &lt;br /&gt;
&lt;/div&gt;</description><author>mikew</author><pubDate>Fri, 18 Jul 2008 20:11:59 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080718081159P</guid></item></channel></rss>