<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>MSFTSBProdSamples Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=Home</link><description>MSFTSBProdSamples Wiki Rss Description</description><item><title>New Comment on "SS2008!Readme_ShoppingCart"</title><link>https://msftsbprodsamples.codeplex.com/wikipage?title=SS2008!Readme_ShoppingCart&amp;ANCHOR#C27163</link><description>Where can i download this &amp;#34;ssb_ShoppingCart&amp;#34; database.</description><author>mnvraghuram</author><pubDate>Wed, 10 Apr 2013 17:53:11 GMT</pubDate><guid isPermaLink="false">New Comment on "SS2008!Readme_ShoppingCart" 20130410055311P</guid></item><item><title>Updated Wiki: Home</title><link>http://msftsbprodsamples.codeplex.com/wikipage?version=32</link><description>&lt;div class="wikidoc"&gt;&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt;&lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt;&lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt;&lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &amp;amp; SQL Server 2008R2 &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2005%21Readme_EventNotification&amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_EventNotification&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2005%21Readme_HelloWorld&amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_HelloWorld&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; HelloWorld_CLR &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2005%21Readme_HelloWorldService&amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_HelloWorldService&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2005%21Readme_ServiceBrokerInterface&amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_ServiceBrokerInterface&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2005%21Readme_ShoppingCart&amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_ShoppingCart&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Dialog Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_DialogSecurity&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Transport Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_TransportSecurity&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Dialog Pool&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_DialogPool&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Fast Data Push&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_FastDataPush&amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Got questions?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more samples, or if you want to contribute, see the &lt;a href="http://www.codeplex.com/SQLSrvSrvcBrkr/Release/ProjectReleases.aspx?ReleaseId=3853" class="externalLink"&gt;SQL Server Community Samples for Service Broker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 08 Dec 2009 23:58:30 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20091208115830P</guid></item><item><title>Updated Wiki: SS2008!Readme_FastDataPush</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_FastDataPush&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_FastDataPush Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt; &lt;br /&gt;A common use of service broker is the &amp;quot;data push&amp;quot; scenario in which messages are asynchronously sent to a destination such as a data warehouse for storage and processing with minimal processing delay to the source application. Two frequent concerns are whether service broker can handle a proposed work load, and how to &amp;quot;tune&amp;quot; a broker application so that it can achieve the required performance. Since various applications impose different constraints and are hosted within differing computing and networking configurations, there is no &amp;quot;one size fits all&amp;quot; answer.&lt;br /&gt; &lt;br /&gt;This sample offers a means of estimating the performance of a broker application and tuning it to suit a given load and configuration. The user does this by setting several application parameters, such as message volume, message size, and processing time, as well as several internal parameters, such as number of initiator transactions, number of dialogs, etc. On the initiator, the output is the time to send the specified number of messages and the time for the messages to be transmitted to the target. On the target, the output is the time to receive and process the messages, which allows the user to obtain an estimate of whether the initiator is overrunning the target, something to avoid for a sustained high volume message load.&lt;br /&gt; &lt;br /&gt;The sample also illustrates a number of recommended practices for using service broker, and can serve as an example of how to build the service broker part of a data push application. Of particular significance, it is recommended that batch messaging be done where possible. On the initiator side, this refers to sending messages on a set of &amp;quot;reusable&amp;quot; dialogs to avoid the overhead of creating a dialog per message. The dialog pool sample shows how to do this. On the target, batching refers to receiving a set of messages at a time, which can significantly improve performance.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;This sample is normally run between two server instances on different machines using Windows transport security. However, it can easily be configured to perform a &amp;quot;loop around&amp;quot; data push in the same database by skipping the indicated sections of the initiator and target setup scripts. For the two server case, it is essential that the servers are configured to enable communication protocols. In this example, we will be using TCP, so use the SQL Server Configuration Manager to make sure TCP is enabled on both servers.&lt;br /&gt; &lt;br /&gt;On each server, open the project file in SQL Server Management Studio.&lt;br /&gt; &lt;br /&gt;Edit the Common setup.sql script and set the desired parameters. Make sure the edits are performed identically on both servers.&lt;br /&gt; &lt;br /&gt;Run the scripts, in order:&lt;br /&gt; &lt;br /&gt;1 - Common setup.sql (both servers).&lt;br /&gt;2 - Initiator setup.sql.&lt;br /&gt;3 - Target setup.sql.&lt;br /&gt;4 - Initiator send.sql. The message sending start and end times are printed.&lt;br /&gt;5 - Target monitor.sql. The message processing time is printed.&lt;br /&gt;6 - Cleanup.sql (both servers).&lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 03:03:38 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_FastDataPush 20090228030338A</guid></item><item><title>Updated Wiki: SS2008!Readme_DialogPool</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_DialogPool&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_DialogPool Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt; &lt;br /&gt;As noted in various Service Broker sources, it is often advantageous to minimize the overhead of creating dialogs to send messages on. This sample shows how to create a shared pool of dialogs to be able to reuse dialogs instead of creating new ones.&lt;br /&gt; &lt;br /&gt;The code shows how to get, free and delete dialogs from a dialog pool table. Initially empty, a new dialog is created in the pool when a request for an existing free dialog cannot be met. Thus the pool will grow during bursts of high demand.&lt;br /&gt; &lt;br /&gt;The dialog pool entries also contain creation time and send count fields that ease the auditing and &amp;quot;recycling&amp;quot; of dialogs in the pool based on application requirements. Recycling consists of gracefully ending an existing dialog between services and beginning a new one. If done prudently, this technique can ease the handling of dialog errors by limiting the number of messages affected. For example, the application may choose to contrain a dialog to a certain number of messages before it is recycled. This might also be done according to the age of a dialog. See the end of the usp_send procedure for an example of recycling.&lt;br /&gt; &lt;br /&gt;An example application that exercises the dialog pool is also included.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;Open the project file in SQL Server Management Studio.&lt;br /&gt; &lt;br /&gt;Run the scripts, in order:&lt;br /&gt; &lt;br /&gt;1 - Demo database setup.sql&lt;br /&gt;2 - Dialog pool setup.sql&lt;br /&gt;3 - Demo app setup.sql&lt;br /&gt;4 - Run demo.sql&lt;br /&gt;5 - Cleanup.sql&lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 03:01:29 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_DialogPool 20090228030129A</guid></item><item><title>Updated Wiki: SS2008!Readme_DialogPool</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_DialogPool&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
This sample requires two server instances on different machines to avoid a port collision. It is essential that the servers are configured to enable communication protocols. In this example, we will be using TCP, so use the SQL Server Configuration Manager to make sure TCP is enabled on both servers.&lt;br /&gt; &lt;br /&gt;On one server, open the initiator project file in SQL Server Management Studio. Open the target project file on the other server.&lt;br /&gt; &lt;br /&gt;Run the scripts, in order:&lt;br /&gt; &lt;br /&gt;1 - Initiator endpoint setup.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;1 - Target endpoint setup.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;2 - Initiator certification of target.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;2 - Target certification of initiator.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;3 - Initiator service setup.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;3 - Target service setup.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;4 - Initiator message send.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;4 - Target message receive.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;5 - Initiator cleanup.sql.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;5 - Target cleanup.sql.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:59:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_DialogPool 20090228025915A</guid></item><item><title>Updated Wiki: SS2008!Readme_TransportSecurity</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_TransportSecurity&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_TransportSecurity Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt; &lt;br /&gt;In order to have a broker dialog between server instances, you have to be concerned with having a secure network connection, which in service broker terminology is called transport security. An effective way to accomplish this is using certificates to secure the broker endpoints, which is the topic of this sample. You can then safely establish dialogs knowing that the communication context is authenticated. By default, messages are also encrypted on behalf of dialogs by the endpoints to prevent monitoring.&lt;br /&gt; &lt;br /&gt;Certificate-based authentication is more cumbersome to set up than Windows based authentication, but it works in more general circumstances, e.g., between different domains, and allows users to specify a window of time in which authentication will be honored. In any case, some form of transport security is always necessary.&lt;br /&gt; &lt;br /&gt;The initiator and target certificates must be exchanged in order for them to authenticate each other. This &amp;quot;out of band&amp;quot; exchange should be done with a high level of trust, since a certificate bearer will be able to begin dialogs and send messages to service broker services in the authenticating server.&lt;br /&gt; &lt;br /&gt;Transport security allows dialogs to be set up between services and is not concerned with permissions and security associated with these services. For example, in the sample code the target service will accept messages from any source in the sender server. If this is an issue, then see the dialog security sample.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;This sample requires two server instances on different machines to avoid a port collision. It is essential that the servers are configured to enable communication protocols. In this example, we will be using TCP, so use the SQL Server Configuration Manager to make sure TCP is enabled on both servers.&lt;br /&gt; &lt;br /&gt;On one server, open the initiator project file in SQL Server Management Studio. Open the target project file on the other server.&lt;br /&gt; &lt;br /&gt;Run the scripts, in order:&lt;br /&gt; &lt;br /&gt;1 - Initiator endpoint setup.sql.&lt;br /&gt;1 - Target endpoint setup.sql.&lt;br /&gt;2 - Initiator certification of target.sql.&lt;br /&gt;2 - Target certification of initiator.sql.&lt;br /&gt;3 - Initiator service setup.sql.&lt;br /&gt;3 - Target service setup.sql.&lt;br /&gt;4 - Initiator message send.sql.&lt;br /&gt;4 - Target message receive.sql.&lt;br /&gt;5 - Initiator cleanup.sql.&lt;br /&gt;5 - Target cleanup.sql.&lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:58:34 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_TransportSecurity 20090228025834A</guid></item><item><title>Updated Wiki: SS2008!Readme_TransportSecurity</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_TransportSecurity&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_DialogSecurity Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt; &lt;br /&gt;In order to have a broker dialog between server instances, you have to be concerned with having a secure network connection, which in service broker terminology is called transport security. An effective way to accomplish this is using certificates to secure the broker endpoints, which is the topic of this sample. You can then safely establish dialogs knowing that the communication context is authenticated. By default, messages are also encrypted on behalf of dialogs by the endpoints to prevent monitoring.&lt;br /&gt; &lt;br /&gt;Certificate-based authentication is more cumbersome to set up than Windows based authentication, but it works in more general circumstances, e.g., between different domains, and allows users to specify a window of time in which authentication will be honored. In any case, some form of transport security is always necessary.&lt;br /&gt; &lt;br /&gt;The initiator and target certificates must be exchanged in order for them to authenticate each other. This &amp;quot;out of band&amp;quot; exchange should be done with a high level of trust, since a certificate bearer will be able to begin dialogs and send messages to service broker services in the authenticating server.&lt;br /&gt; &lt;br /&gt;Transport security allows dialogs to be set up between services and is not concerned with permissions and security associated with these services. For example, in the sample code the target service will accept messages from any source in the sender server. If this is an issue, then see the dialog security sample.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;This sample requires two server instances on different machines to avoid a port collision. It is essential that the servers are configured to enable communication protocols. In this example, we will be using TCP, so use the SQL Server Configuration Manager to make sure TCP is enabled on both servers.&lt;br /&gt; &lt;br /&gt;On one server, open the initiator project file in SQL Server Management Studio. Open the target project file on the other server.&lt;br /&gt; &lt;br /&gt;Run the scripts, in order:&lt;br /&gt; &lt;br /&gt;1 - Initiator endpoint setup.sql.&lt;br /&gt;1 - Target endpoint setup.sql.&lt;br /&gt;2 - Initiator certification of target.sql.&lt;br /&gt;2 - Target certification of initiator.sql.&lt;br /&gt;3 - Initiator service setup.sql.&lt;br /&gt;3 - Target service setup.sql.&lt;br /&gt;4 - Initiator message send.sql.&lt;br /&gt;4 - Target message receive.sql.&lt;br /&gt;5 - Initiator cleanup.sql.&lt;br /&gt;5 - Target cleanup.sql.&lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:58:16 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_TransportSecurity 20090228025816A</guid></item><item><title>Updated Wiki: SS2008!Readme_DialogSecurity</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_DialogSecurity&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_DialogSecurity Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt; &lt;br /&gt;This sample shows how to set up a secure dialog using certificates. Service broker will always have a level of security at the transport level, which may include encryption, but this is at a server level of granularity. It does not secure conversations on a database-to-database basis. If this is required, then dialog security can be used. Dialog security is also end-to-end as opposed to the point-to-point connection-based security provided by transport security. Since conversations may entail multiple hops through the use of forwarding, dialog security can provide authentication and one-time encryption at the terminating services. Certificate-based authentication also allows users to specify a window of time in which authentication will be honored.&lt;br /&gt; &lt;br /&gt;The initiator and target certificates must be exchanged in order for them to authenticate each other. This &amp;quot;out of band&amp;quot; exchange should be done with a high level of trust, since a certificate bearer will be able to begin dialogs and send messages to service broker services in the authenticating server.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;This sample requires two server instances on different machines to avoid a port collision. It is essential that the servers are configured to enable communication protocols. In this example, we will be using TCP, so use the SQL Server Configuration Manager to make sure TCP is enabled on both servers. To keep things simple, Windows authentication is used for transport security. The transport security sample shows how to use certificates for this if needed.&lt;br /&gt; &lt;br /&gt;On one server, open the initiator project file in SQL Server Management Studio. Open the target project file on the other server.&lt;br /&gt; &lt;br /&gt;Run the scripts, in order:&lt;br /&gt; &lt;br /&gt;1 - Initiator endpoint setup.sql.&lt;br /&gt;1 - Target endpoint setup.sql.&lt;br /&gt;2 - Initiator service setup.sql.&lt;br /&gt;2 - Target service setup.sql.&lt;br /&gt;3 - Initiator certification of target.sql.&lt;br /&gt;3 - Target certification of initiator.sql.&lt;br /&gt;4 - Initiator message send.sql.&lt;br /&gt;4 - Target message receive.sql.&lt;br /&gt;5 - Initiator cleanup.sql.&lt;br /&gt;5 - Target cleanup.sql.&lt;br /&gt; &lt;br /&gt;&amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:55:38 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_DialogSecurity 20090228025538A</guid></item><item><title>Updated Wiki: SS2008!Readme_ShoppingCart</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_ShoppingCart&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_ShoppingCart Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;The Shopping Cart sample uses the conversation group identifier to maintain state for a simple shopping cart application. The application uses the ServiceBrokerInterface sample.&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
Building and Installing the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;In Visual Studio 2008, open  &lt;span class="codeInline"&gt;ShoppingCartCS.sln&lt;/span&gt; .&lt;/li&gt;&lt;li&gt;Build the solution by pressing &lt;b&gt;F6&lt;/b&gt;, or by selecting &lt;b&gt;Build Solution&lt;/b&gt; from the &lt;b&gt;Build&lt;/b&gt; menu.&lt;/li&gt;&lt;li&gt;Open a command prompt, locate the  &lt;span class="codeInline"&gt;Scripts&lt;/span&gt;  folder, and then run the following command: *  install all *The install script installs the SQL Server objects for the application, including the common language runtime (CLR) stored procedure that implements the &lt;b&gt;ShoppingCartService&lt;/b&gt; service.&lt;/li&gt;
&lt;/ol&gt;&lt;h6&gt;
Running the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Run the  &lt;span class="codeInline"&gt;ShoppingCartClient.exe&lt;/span&gt;  application from the sample directory. For simplicity, the client processes one order each time the client runs.&lt;/li&gt;&lt;li&gt;Click &lt;b&gt;Create Order&lt;/b&gt; to create an order. Add items to the shopping cart by selecting the item from the &lt;b&gt;Item&lt;/b&gt; list, and then clicking the &lt;b&gt;Add Item&lt;/b&gt; button.&lt;/li&gt;&lt;li&gt;Click the *Service Broker Trace *tab at any time to see a summary of the Service Broker messages sent and received.&lt;/li&gt;&lt;li&gt;The &lt;b&gt;ShoppingList&lt;/b&gt; and &lt;b&gt;StateTable&lt;/b&gt; tables in the &lt;b&gt;ssb_ShoppingCart&lt;/b&gt; database maintain state for the application. The CLR stored procedure updates the tables based on messages from the client. You can use Management Studio or &lt;b&gt;sqlcmd&lt;/b&gt; to inspect these tables.&lt;/li&gt;
&lt;/ol&gt;&lt;h6&gt;
Uninstalling the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Open a command prompt, locate the  &lt;span class="codeInline"&gt;Scripts&lt;/span&gt;  folder, and then run the following command: *  uninstall all *&lt;/li&gt;&lt;li&gt;The uninstall script removes the SQL Server objects for the application.&lt;/li&gt;
&lt;/ol&gt;&lt;h3&gt;
Requirements
&lt;/h3&gt;This sample requires Visual Studio 2008. Because the sample uses features of the CLR that were not available in earlier versions, versions of Visual Studio earlier than 2008 cannot build the sample.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Demonstrates
&lt;/h3&gt;Service Broker applications most often store state in the database that hosts the service. When messages arrive, the application loads state from the database, and then processes the messages.&lt;br /&gt;The  &lt;span class="codeInline"&gt;*Service*&lt;/span&gt;  class of the Service Broker Interface sample provides a convenient way to maintain state. This sample demonstrates how to use the Service class to maintain state.&lt;br /&gt;To maintain state by using the  &lt;span class="codeInline"&gt;*Service*&lt;/span&gt;  class, you implement two methods in your application and a stored procedure in SQL Server, as listed in the following table:&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;  Item &lt;/th&gt;&lt;th&gt;  Signature &lt;/th&gt;&lt;th&gt;  Description  &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Stored Procedure&lt;/td&gt;&lt;td&gt;  &lt;span class="codeInline"&gt;CREATE PROCEDURE &lt;/span&gt; &lt;i&gt;name&lt;/i&gt; &lt;span class="codeInline"&gt; (@cgid uniqueidentifier)&lt;/span&gt; &lt;/td&gt;&lt;td&gt; Returns the state for the application. The result sets that are returned by this procedure must contain the conversation group identifier. &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; public method&lt;/td&gt;&lt;td&gt;  &lt;span class="codeInline"&gt;public override bool LoadState(System.Data.Sql.SqlReader reader)&lt;/span&gt; &lt;/td&gt;&lt;td&gt; Reads the result sets that are provided by the stored procedure to restore state. This stored procedure must save the conversation group identifier in the class, because the Service Broker Interface does not provide the identifier to the  &lt;span class="codeInline"&gt;*SaveState*&lt;/span&gt;  method. &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; public method&lt;/td&gt;&lt;td&gt;  &lt;span class="codeInline"&gt;public override void SaveState()&lt;/span&gt; &lt;/td&gt;&lt;td&gt; Saves state to the database. &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;This topic describes the general outline for restoring state. See  &lt;span class="codeInline"&gt;ShoppingCartService.cs&lt;/span&gt;  for the full example.&lt;br /&gt;The stored procedure must accept a conversation group identifier and return two result sets. The first result set consists of the conversation group identifier itself. The second result set contains the application-specific state. There is no fixed name for this stored procedure. Instead, you supply the name of the stored procedure by setting the  &lt;span class="codeInline"&gt;*AppLoaderProcName*&lt;/span&gt;  property. The Service Broker Interface simply calls the stored procedure provided.&lt;br /&gt;The  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt;  method restores the state for the application. The exact process the application follows depends on the state that the application requires. The method takes an instance of  &lt;span class="codeInline"&gt;*System.Data.Sql.SqlReader*&lt;/span&gt;  as a parameter. The  &lt;span class="codeInline"&gt;*SqlReader*&lt;/span&gt;  contains the result sets returned the stored procedure. Typically, implementations of the  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt;  method update the  &lt;span class="codeInline"&gt;*State*&lt;/span&gt;  property of the  &lt;span class="codeInline"&gt;*Service*&lt;/span&gt;  class, save the conversation group identifier in a private field, and then save the application-specific state in appropriate data structures. For example, the  &lt;span class="codeInline"&gt;*ShoppingCartService*&lt;/span&gt;  stores information about items, quantities, and prices in a private instance of the  &lt;span class="codeInline"&gt;*ShoppingCart*&lt;/span&gt;  class.&lt;br /&gt;After calling  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt; , the Service Broker Infrastructure dispatches the message. Notice that, if you use the attribute-based message dispatch framework, you can dispatch messages based on the State property in addition to the message type name. In the methods that handle messages, you can read or update the data structures that are created in  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt; .&lt;br /&gt;When the message handling method returns, the Service Broker Infrastructure calls the  &lt;span class="codeInline"&gt;*SaveState*&lt;/span&gt;  method. The  &lt;span class="codeInline"&gt;*SaveState*&lt;/span&gt;  method uses the  &lt;span class="codeInline"&gt;*Connection*&lt;/span&gt;  property of the Service class to create a  &lt;span class="codeInline"&gt;*SqlCommand*&lt;/span&gt;  object, and then uses that object to update the state stored in the database. For example, the  &lt;span class="codeInline"&gt;*ShoppingCartService*&lt;/span&gt;  deletes the saved contents of the shopping cart and then inserts the current contents of the shopping cart into the database.&lt;br /&gt; &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:46:24 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_ShoppingCart 20090228024624A</guid></item><item><title>Updated Wiki: SS2008!Readme_ServiceBrokerInterface</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_ServiceBrokerInterface&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_ServiceBrokerInterface Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;This sample shows one way to build an object-oriented programming interface for Service Broker applications. The sample contains classes that encapsulate the details of sending and receiving messages by using the Service Broker DML. This sample forms the foundations for other sample applications included with the SQL Server samples.&lt;br /&gt;The sample includes two different approaches to message dispatch. An application that uses this sample can use an attribute-based approach for message dispatch, or the application can implement a message processing loop.&lt;br /&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;&lt;h6&gt;
Building the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Open the solution file  &lt;span class="codeInline"&gt;Service Broker Interface.sln&lt;/span&gt;  in Visual Studio 2008. This file is located in the  &lt;span class="codeInline"&gt;cs&lt;/span&gt;  directory within the  &lt;span class="codeInline"&gt;ServiceBrokerInterface&lt;/span&gt;  directory.&lt;/li&gt;&lt;li&gt;Build the solution by pressing &lt;b&gt;F6&lt;/b&gt;, or by selecting &lt;b&gt;Build Solution&lt;/b&gt; from the &lt;b&gt;Build&lt;/b&gt; menu.&lt;/li&gt;
&lt;/ol&gt;&lt;h6&gt;
Using the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Build the sample as described above.&lt;/li&gt;&lt;li&gt;Add a reference to the assembly  &lt;span class="codeInline"&gt;Microsoft.Samples.SqlServer.dll&lt;/span&gt; .&lt;/li&gt;&lt;li&gt;In your code, add a using directive (C#) or Imports statement (Visual Basic) for the namespace  &lt;span class="codeInline"&gt;Microsoft.Samples.SqlServer&lt;/span&gt; .&lt;/li&gt;
&lt;/ol&gt;&lt;h3&gt;
Requirements
&lt;/h3&gt;This sample requires Visual Studio 2008. Because the sample uses features of the common language runtime that were not available in earlier versions, versions of Visual Studio earlier than 2008 cannot build the sample.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Demonstrates
&lt;/h3&gt;This sample demonstrates one way to represent Service Broker DML within a .NET language.&lt;br /&gt; &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:45:20 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_ServiceBrokerInterface 20090228024520A</guid></item><item><title>Updated Wiki: SS2008!Readme_HelloWorldService</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008!Readme_HelloWorldService&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme&lt;i&gt;HelloWorld&lt;/i&gt;CLR Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;This sample shows a simple, stateless application that uses the ServiceBrokerInterface sample.&lt;br /&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;&lt;h6&gt;
Building and Installing the sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;In Visual Studio 2008, open  &lt;span class="codeInline"&gt;HelloWorldCS.sln&lt;/span&gt;  or  &lt;span class="codeInline"&gt;HelloWorldVB.sln&lt;/span&gt; .&lt;/li&gt;&lt;li&gt;Build the solution by pressing &lt;b&gt;F6&lt;/b&gt;, or by selecting &lt;b&gt;Build Solution&lt;/b&gt; from the &lt;b&gt;Build&lt;/b&gt; menu.&lt;/li&gt;&lt;li&gt;Run  &lt;span class="codeInline"&gt;Install.cmd&lt;/span&gt; , located in the  &lt;span class="codeInline"&gt;Scripts&lt;/span&gt;  folder of the  &lt;span class="codeInline"&gt;HelloWorld_CLR&lt;/span&gt;  directory. This file sets up the environment, and then runs the  &lt;span class="codeInline"&gt;Install.sql&lt;/span&gt;  install script. If you built the Visual Basic version of the project, you might have to change the &amp;quot;cs&amp;quot; in the path for the assembly to &amp;quot;vb&amp;quot; in the  &lt;span class="codeInline"&gt;Install.sql&lt;/span&gt;  script.&lt;/li&gt;
&lt;/ol&gt;&lt;h6&gt;
Running the sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Run the  &lt;span class="codeInline"&gt;HelloWorldClient.exe&lt;/span&gt;  console application from the sample directory. To exit the client, press &lt;b&gt;Enter&lt;/b&gt; after the client shows the response.&lt;/li&gt;
&lt;/ol&gt;&lt;h3&gt;
Requirements
&lt;/h3&gt;This sample requires Visual Studio 2008. Because the sample uses features of the common language runtime (CLR) that were not available in earlier versions, versions of Visual Studio earlier than 2008 cannot build the sample.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Demonstrates
&lt;/h3&gt;This sample demonstrates use of the sample object-oriented programming interface provided in the Service Broker Interface sample. All Service Broker functionality for the sample uses the Service Broker Interface.&lt;br /&gt;There are two main parts of the sample: a client program that runs outside of SQL Server, and a CLR stored procedure that implements the service.&lt;br /&gt;The external program begins a conversation from the service &lt;b&gt;HelloWorldClient&lt;/b&gt; to the service &lt;b&gt;HelloWorldService&lt;/b&gt;, and then sends a message on that conversation. This application sends a &lt;b&gt;Request&lt;/b&gt; message to the service &lt;b&gt;HelloWorldService&lt;/b&gt;. The activated stored procedure receives and responds to the message. The client receives a response, shows the response on the console, and then ends the dialog.&lt;br /&gt;The CLR stored procedure implements the &lt;b&gt;HelloWorldService&lt;/b&gt;. Service Broker activates this procedure. The procedure reads a message from the queue. For a &lt;b&gt;Request&lt;/b&gt; message, the procedure responds with a Response message. For a Service Broker end dialog message, the procedure ends the conversation.&lt;br /&gt; &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:44:09 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_HelloWorldService 20090228024409A</guid></item><item><title>Updated Wiki: Home</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=Home&amp;version=31</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt; &lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld_CLR &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Transport Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_TransportSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Pool&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogPool&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fast Data Push&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_FastDataPush&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;&lt;b&gt;Got questions?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;For more samples, or if you want to contribute, see the &lt;a href="http://www.codeplex.com/SQLSrvSrvcBrkr/Release/ProjectReleases.aspx?ReleaseId=3853" class="externalLink"&gt;SQL Server Community Samples for Service Broker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Sat, 28 Feb 2009 02:43:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090228024333A</guid></item><item><title>Updated Wiki: Home</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=Home&amp;version=30</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt; &lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorldService &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Transport Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_TransportSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Pool&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogPool&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fast Data Push&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_FastDataPush&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;&lt;b&gt;Got questions?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;For more samples, or if you want to contribute, see the &lt;a href="http://www.codeplex.com/SQLSrvSrvcBrkr/Release/ProjectReleases.aspx?ReleaseId=3853" class="externalLink"&gt;SQL Server Community Samples for Service Broker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Fri, 27 Feb 2009 22:27:51 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090227102751P</guid></item><item><title>Updated Wiki: Home</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=Home&amp;version=29</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt; &lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorldService &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Transport Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_TransportSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Pool&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogPool&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fast Data Push&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_FastDataPush&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;&lt;b&gt;Got questions?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Want to contribute?&lt;/b&gt; See the &lt;a href="http://www.codeplex.com/SQLSrvSrvcBrkr/Release/ProjectReleases.aspx?ReleaseId=3853" class="externalLink"&gt;SQL Server Community Samples for Service Broker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Fri, 27 Feb 2009 22:26:57 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090227102657P</guid></item><item><title>Updated Wiki: Home</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=Home&amp;version=28</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt; &lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorldService &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Transport Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_TransportSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Pool&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogPool&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fast Data Push&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_FastDataPush&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;&lt;b&gt;Got questions? Want to contribute?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and the&lt;br /&gt;&lt;a href="http://www.codeplex.com/SQLSrvSrvcBrkr/Release/ProjectReleases.aspx?ReleaseId=3853" class="externalLink"&gt;SQL Server Community Samples for Service Broker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Fri, 27 Feb 2009 22:25:10 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090227102510P</guid></item><item><title>Updated Wiki: Home</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=Home&amp;version=27</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt; &lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorldService &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Transport Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_TransportSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Pool&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogPool&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fast Data Push&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_FastDataPush&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;&lt;b&gt;Got questions? Want to contribute?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;! and the&lt;br /&gt;&lt;a href="http://www.codeplex.com/SQLSrvSrvcBrkr/Release/ProjectReleases.aspx?ReleaseId=3853" class="externalLink"&gt;SQL Server Community Samples for Service Broker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;! &lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Fri, 27 Feb 2009 22:24:02 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090227102402P</guid></item><item><title>Updated Wiki: Home</title><link>http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=Home&amp;version=26</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt; &lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorldService &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2005%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Transport Security &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_TransportSecurity&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Dialog Pool&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_DialogPool&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fast Data Push&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://msftsbprodsamples.codeplex.com/Wiki/View.aspx?title=SS2008%21Readme_FastDataPush&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;&lt;b&gt;Got questions? Want to contribute?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;!&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Fri, 27 Feb 2009 20:09:24 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090227080924P</guid></item><item><title>Updated Wiki: SS2008!Readme_DialogSecurity</title><link>http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2008!Readme_DialogSecurity&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&amp;lt;html DIR=&amp;quot;LTR&amp;quot; xmlns:tool=&amp;quot;http://www.microsoft.com/tooltip&amp;quot; xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xmlns:ddue=&amp;quot;http://ddue.schemas.microsoft.com/authoring/2003/5&amp;quot; xmlns:MSHelp=&amp;quot;http://msdn.microsoft.com/mshelp&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;head&amp;gt;&lt;br /&gt;    &amp;lt;META HTTP-EQUIV=&amp;quot;Content-Type&amp;quot; CONTENT=&amp;quot;text/html; CHARSET=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;META NAME=&amp;quot;save&amp;quot; CONTENT=&amp;quot;history&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;title&amp;gt;Readme_DialogSecurity&amp;lt;/title&amp;gt;&lt;br /&gt;    &lt;br /&gt; &amp;lt;Style TYPE=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt; &lt;br /&gt;body&lt;br /&gt;{&lt;br /&gt;    background: #FFFFFF;&lt;br /&gt;    color: #000000;&lt;br /&gt;    font-family:    Verdana;&lt;br /&gt;    font-size: medium;&lt;br /&gt;    font-style: normal;&lt;br /&gt;    font-weight: normal;&lt;br /&gt;    margin-top: 0;&lt;br /&gt;    margin-bottom:  0;&lt;br /&gt;    margin-left:    0;&lt;br /&gt;    margin-right:   0;&lt;br /&gt;    width:  100%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#mainSection&lt;br /&gt;{&lt;br /&gt;    font-size: 70%;&lt;br /&gt;    width: 100%;&lt;br /&gt;    padding-left:    10;&lt;br /&gt;    margin-right: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#mainBody&lt;br /&gt;{&lt;br /&gt;    font-size: 90%;&lt;br /&gt;    margin-top: 10;&lt;br /&gt;    padding-bottom: 20;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#header&lt;br /&gt;{&lt;br /&gt;    background-color: #D2D2D2;&lt;br /&gt;    padding-top:    0;&lt;br /&gt;    padding-bottom: 0;&lt;br /&gt;    padding-left:   10;&lt;br /&gt;    padding-right:  0;&lt;br /&gt;    width:          100%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#header table&lt;br /&gt;{&lt;br /&gt;    border-bottom-color: #C8CDDE;&lt;br /&gt;    border-bottom-style: solid;&lt;br /&gt;    border-bottom-width: 1;&lt;br /&gt;    width:  100%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;span.#runningHeaderText&lt;br /&gt;{&lt;br /&gt;    color: #003399;&lt;br /&gt;    font-size: 90%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;span.#nsrTitle&lt;br /&gt;{&lt;br /&gt;/*    color: #003399;*/&lt;br /&gt;    font-size: 120%;&lt;br /&gt;    font-weight: 600;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#header table td&lt;br /&gt;{&lt;br /&gt;    color: #000000;&lt;br /&gt;    font-size: 70%;&lt;br /&gt;    margin-top: 0;&lt;br /&gt;    margin-bottom:  0;&lt;br /&gt;    padding-right: 20;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#header table tr.#headerTableRow3 td&lt;br /&gt;{&lt;br /&gt;    padding-bottom: 2;&lt;br /&gt;    padding-top: 5;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#header table.#bottomTable&lt;br /&gt;{&lt;br /&gt;    border-top-color: #FFFFFF;&lt;br /&gt;    border-top-style: solid;&lt;br /&gt;    border-top-width: 1;&lt;br /&gt;    text-align: left;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#footer&lt;br /&gt;{&lt;br /&gt;    font-size: 90%;&lt;br /&gt;    margin-top: 0;&lt;br /&gt;    margin-bottom:  0;&lt;br /&gt;    margin-left:    -5;&lt;br /&gt;    margin-right:   0;&lt;br /&gt;    padding-top:    2;&lt;br /&gt;    padding-bottom: 2;&lt;br /&gt;    padding-left:   0;&lt;br /&gt;    padding-right:  0;&lt;br /&gt;    width:  100%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;hr.#footerHR&lt;br /&gt;{&lt;br /&gt;    border-bottom-color: #EEEEFF;&lt;br /&gt;    border-bottom-style: solid;&lt;br /&gt;    border-bottom-width: 1;&lt;br /&gt;    border-top-color: C8CDDE;&lt;br /&gt;    border-top-style: solid;&lt;br /&gt;    border-top-width: 1;&lt;br /&gt;    height: 3;&lt;br /&gt;    color: #D2D2D2;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.section&lt;br /&gt;{&lt;br /&gt;    padding-top:    2;&lt;br /&gt;    padding-bottom: 2;&lt;br /&gt;    padding-right:  15;&lt;br /&gt;    width:  100%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;.heading&lt;br /&gt;{&lt;br /&gt;    color:          #000000;&lt;br /&gt;    font-weight:    bold;&lt;br /&gt;    margin-top:     18;&lt;br /&gt;    margin-bottom:  8;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;h1.heading&lt;br /&gt;{&lt;br /&gt;    color: #000000;&lt;br /&gt;    font-size:  150%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;.subHeading&lt;br /&gt;{&lt;br /&gt;    color:          #000000;&lt;br /&gt;    font-weight:    bold;&lt;br /&gt;    font-size:      150%;&lt;br /&gt;    margin-bottom:  4;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;h2.subHeading&lt;br /&gt;{&lt;br /&gt;    color:          #000000;&lt;br /&gt;    font-weight:    bold;&lt;br /&gt;    font-size:      130%;&lt;br /&gt;}&lt;br /&gt;h3.subHeading&lt;br /&gt;{&lt;br /&gt;    color:  #000000;&lt;br /&gt;    font-size: 125%;&lt;br /&gt;    font-weight: bold;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;h4.subHeading&lt;br /&gt;{&lt;br /&gt;    color: #000000;&lt;br /&gt;    font-size: 110%;&lt;br /&gt;    font-weight: bold;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;h4.procedureHeading&lt;br /&gt;{&lt;br /&gt;    color: #000080;&lt;br /&gt;    font-size: 110%;&lt;br /&gt;    font-weight: bold;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;h5.subHeading&lt;br /&gt;{&lt;br /&gt;    color: #000000;&lt;br /&gt;    font-size: 100%;&lt;br /&gt;    font-weight: bold;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img&lt;br /&gt;{&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img.toggle&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    margin-right: 5;&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img.copyCodeImage&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    margin: 1;&lt;br /&gt;    margin-right: 3;&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img.downloadCodeImage&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    margin-right: 3;&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img.viewCodeImage&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    margin-right: 3;&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img.note&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    margin-right: 3;&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img.#membersOptionsFilterImage&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    margin-left: 10;&lt;br /&gt;    vertical-align: middle;&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;img.#toggleAllImage&lt;br /&gt;{&lt;br /&gt;    margin-left: 4;&lt;br /&gt;    vertical-align: middle;&lt;br /&gt;    padding-bottom: 10;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#mainSection table&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    font-size: 100%;&lt;br /&gt;    width:  100%;&lt;br /&gt;    margin-top: 5px;&lt;br /&gt;    margin-bottom: 15px;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#mainSection table tr&lt;br /&gt;{&lt;br /&gt;    vertical-align: top;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#mainSection table th&lt;br /&gt;{&lt;br /&gt;    text-align: left;&lt;br /&gt;    background: #D8D8D8;&lt;br /&gt;    border-bottom-color: #D8D8D8;&lt;br /&gt;    border-bottom-style: solid;&lt;br /&gt;    border-bottom-width: 1;&lt;br /&gt;    color: #000000;&lt;br /&gt;    padding-left: 5;&lt;br /&gt;    padding-right: 5;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#mainSection table td&lt;br /&gt;{&lt;br /&gt;    background: #F2F2F2;&lt;br /&gt;    border-top-color: #D8D8D8;&lt;br /&gt;    border-top-style: solid;&lt;br /&gt;    border-top-width: 1;&lt;br /&gt;    padding-left: 5;&lt;br /&gt;    padding-right: 5;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.#mainSection table td.imageCell&lt;br /&gt;{&lt;br /&gt;    white-space: nowrap;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.code&lt;br /&gt;{&lt;br /&gt;	width: 98%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.code table&lt;br /&gt;{&lt;br /&gt;    border: 0;&lt;br /&gt;    font-size: 95%;&lt;br /&gt;    margin-bottom: 5;&lt;br /&gt;    width: 100%&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.code table th&lt;br /&gt;{   &lt;br /&gt;    text-align: left;&lt;br /&gt;    background: #D8D8D8;&lt;br /&gt;    border-bottom-color: #D8D8D8;&lt;br /&gt;    border-bottom-style: solid;&lt;br /&gt;    border-bottom-width: 1;&lt;br /&gt;    color: #000000;&lt;br /&gt;    font-weight: bold;&lt;br /&gt;    padding-left: 5;&lt;br /&gt;    padding-right: 5;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.code table td&lt;br /&gt;{&lt;br /&gt;    background: #CCCCCC;&lt;br /&gt;    border-top-color: #D8D8D8;&lt;br /&gt;    border-top-style: solid;&lt;br /&gt;    border-top-width: 1;&lt;br /&gt;    padding-left: 5;&lt;br /&gt;    padding-right: 5;&lt;br /&gt;    padding-top: 5;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.alert&lt;br /&gt;{&lt;br /&gt;	margin-left: 10;&lt;br /&gt;	width: 98%;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.alert table&lt;br /&gt;{&lt;br /&gt;    border: 1;&lt;br /&gt;    font-size: 100%;&lt;br /&gt;    width:  100%;&lt;br /&gt;    border: solid 1 #DEDFEF;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.alert table th&lt;br /&gt;{&lt;br /&gt;    text-align: left;&lt;br /&gt;    background: #D8D8D8;&lt;br /&gt;    border-bottom-width: 0;&lt;br /&gt;    color: #000000;&lt;br /&gt;    padding-left: 5;&lt;br /&gt;    padding-right: 5;&lt;br /&gt;    border: solid 1 #DEDFEF;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.alert table td&lt;br /&gt;{&lt;br /&gt;    background: #FFFFFF;&lt;br /&gt;    border-top-color: #D8D8D8;&lt;br /&gt;    border-top-style: solid;&lt;br /&gt;    border-top-width: 1;&lt;br /&gt;    padding-left: 5;&lt;br /&gt;    padding-right: 5;&lt;br /&gt;    border: solid 1 #DEDFEF;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;span.copyCode&lt;br /&gt;{&lt;br /&gt;    color: #0000ff;&lt;br /&gt;    font-size: 90%;&lt;br /&gt;    font-weight: normal;&lt;br /&gt;    cursor: hand;&lt;br /&gt;    float: right;&lt;br /&gt;    display: inline;&lt;br /&gt;    text-align: right;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;.downloadCode&lt;br /&gt;{&lt;br /&gt;    color: #0000ff;&lt;br /&gt;    font-size: 90%;&lt;br /&gt;    font-weight: normal;&lt;br /&gt;    cursor: hand;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;.viewCode&lt;br /&gt;{&lt;br /&gt;    color: #0000ff;&lt;br /&gt;    font-size: 90%;&lt;br /&gt;    font-weight: normal;&lt;br /&gt;    cursor: hand;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;div.code pre&lt;br /&gt;{&lt;br /&gt;    font-family:    Monospace, Courier New, Courier;&lt;br /&gt;    font-size: 105%;&lt;br /&gt;    color:  #000000;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;code&lt;br /&gt;{&lt;br /&gt;    font-family:    Monospace, Courier New, Courier;&lt;br /&gt;    font-size: 105%;&lt;br /&gt;    color:  #000000;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;dl&lt;br /&gt;{&lt;br /&gt;    margin-top: 0;&lt;br /&gt;    padding-left:   1;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;dd&lt;br /&gt;{&lt;br /&gt;    margin-bottom:  0;&lt;br /&gt;    margin-left:    0;&lt;br /&gt;    padding-left:   20;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;dd p&lt;br /&gt;{&lt;br /&gt;    margin-top: 5;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;ul&lt;br /&gt;{&lt;br /&gt;    margin-left: 17;&lt;br /&gt;    list-style-type: disc;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;ul ul&lt;br /&gt;{&lt;br /&gt;    margin-bottom: 4;&lt;br /&gt;    margin-left: 17;&lt;br /&gt;    margin-top: 3;&lt;br /&gt;    list-style-type: disc;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;ol&lt;br /&gt;{&lt;br /&gt;    margin-left: 24;&lt;br /&gt;    list-style-type: decimal;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;ol ol&lt;br /&gt;{&lt;br /&gt;    margin-left: 24;&lt;br /&gt;    margin-top: 3;&lt;br /&gt;    list-style-type: lower-alpha;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;li&lt;br /&gt;{&lt;br /&gt;    margin-top: 0;&lt;br /&gt;    margin-bottom: 0;&lt;br /&gt;    padding-bottom: 0;&lt;br /&gt;    padding-top: 0;&lt;br /&gt;    margin-left: 5;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;p&lt;br /&gt;{&lt;br /&gt;    margin-bottom: 15;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;.tip&lt;br /&gt;{&lt;br /&gt;    color:  #0000FF;&lt;br /&gt;    font-style: italic;&lt;br /&gt;    cursor:hand;&lt;br /&gt;    text-decoration:underline;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;.math&lt;br /&gt;{&lt;br /&gt;    font-family: Times New Roman;&lt;br /&gt;    font-size: 125%&lt;br /&gt;}&lt;br /&gt;.sourceCodeList&lt;br /&gt;{&lt;br /&gt;    font-family: Verdana;&lt;br /&gt;    font-size: 90%; &lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;pre.viewCode&lt;br /&gt;{&lt;br /&gt;    width: 100%;&lt;br /&gt;    overflow: auto;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;li:hover table, li.over table&lt;br /&gt;{&lt;br /&gt;    background-color: #C0C0C0;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;li:hover ul, li.over ul&lt;br /&gt;{ &lt;br /&gt;    background-color: #d2d2d2;&lt;br /&gt;    border: 1px solid #000;&lt;br /&gt;    display: block;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;  &amp;lt;/head&amp;gt;&lt;br /&gt;  &amp;lt;body&amp;gt;&lt;br /&gt;    &amp;lt;!--Topic built:1/29/2007--&amp;gt;&lt;br /&gt; &lt;br /&gt;    &amp;lt;div id=&amp;quot;header&amp;quot;&amp;gt;&lt;br /&gt;      &amp;lt;table width=&amp;quot;100%&amp;quot; id=&amp;quot;topTable&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;tr&amp;gt;&lt;br /&gt;          &amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;&lt;br /&gt;            &amp;lt;span id=&amp;quot;nsrTitle&amp;quot;&amp;gt;Readme_DialogSecurity&amp;lt;/span&amp;gt;&lt;br /&gt;          &amp;lt;/td&amp;gt;&lt;br /&gt;          &lt;br /&gt;              &lt;br /&gt;        &amp;lt;/tr&amp;gt;&lt;br /&gt;      &amp;lt;/table&amp;gt;&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;div id=&amp;quot;mainSection&amp;quot;&amp;gt;&lt;br /&gt;      &amp;lt;div id=&amp;quot;mainBody&amp;quot;&amp;gt;&lt;br /&gt; &lt;br /&gt;        &amp;lt;font color=&amp;quot;DarkGray&amp;quot;&amp;gt;&lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=This%20topic%20is%20subject%20to%20change%20in%20future%20releases.%20Blank%20topics%20are%20included%20as%20placeholders.&amp;amp;referringTitle=SS2008%21Readme_DialogSecurity"&gt;This topic is subject to change in future releases. Blank topics are included as placeholders.&lt;/a&gt; &amp;lt;/font&amp;gt;&amp;lt;p /&amp;gt; &lt;br /&gt;        &amp;lt;span id=&amp;quot;changeHistory&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;/span&amp;gt;&lt;br /&gt;&amp;lt;h1 class=&amp;quot;heading&amp;quot;&amp;gt;Scenario&amp;lt;/h1&amp;gt;&amp;lt;div id=&amp;quot;sectionSection0&amp;quot; class=&amp;quot;section&amp;quot;&amp;gt;&amp;lt;content xmlns=&amp;quot;http://ddue.schemas.microsoft.com/authoring/2003/5&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;p xmlns=&amp;quot;&amp;quot;&amp;gt;This sample shows how to set up a secure dialog using certificates. Service &lt;br /&gt;        broker will always have a level of security at the transport level, which may include&lt;br /&gt;        encryption, but this is at a server level of granularity.&lt;br /&gt;        It does not secure conversations on a database-to-database basis. If this is required,&lt;br /&gt;        then dialog security can be used. Dialog security is also end-to-end as opposed to the&lt;br /&gt;        point-to-point connection-based security provided by transport security. Since conversations&lt;br /&gt;        may entail multiple hops through the use of forwarding, dialog security can provide&lt;br /&gt;        authentication and one-time encryption at the terminating services.&lt;br /&gt;	Certificate-based authentication also allows users to specify a window of time&lt;br /&gt; 	in which authentication will be honored.&amp;lt;/p&amp;gt;&lt;br /&gt;	&amp;lt;p xmlns=&amp;quot;&amp;quot;&amp;gt;The initiator and target certificates must be exchanged in order for them to&lt;br /&gt;	authenticate each other. This &amp;quot;out of band&amp;quot; exchange should be done with&lt;br /&gt;	a high level of trust, since a certificate bearer will be able to begin dialogs&lt;br /&gt;	and send messages to service broker services in the authenticating server.&amp;lt;/p&amp;gt;&lt;br /&gt;    &amp;lt;/content&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;h1 class=&amp;quot;heading&amp;quot;&amp;gt;Running the Sample&amp;lt;/h1&amp;gt;&amp;lt;div id=&amp;quot;sectionSection1&amp;quot; class=&amp;quot;section&amp;quot;&amp;gt;&amp;lt;content xmlns=&amp;quot;http://ddue.schemas.microsoft.com/authoring/2003/5&amp;quot;&amp;gt;&lt;br /&gt;      &amp;lt;div id=&amp;quot;procedureSectionEBBDBHA&amp;quot; class=&amp;quot;section&amp;quot; xmlns=&amp;quot;&amp;quot;&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;&lt;br /&gt;		&amp;lt;p xmlns=&amp;quot;&amp;quot;&amp;gt;This sample requires two server instances on different machines to avoid a port collision. It is essential&lt;br /&gt; 		that the servers are configured to enable communication protocols. In this example, we will be using TCP, &lt;br /&gt;		so use the SQL Server Configuration Manager to make sure TCP is enabled on both servers.&lt;br /&gt;		To keep things simple, Windows authentication is used for transport security.&lt;br /&gt;		The transport security sample shows how to use certificates for this if needed.&amp;lt;/p&amp;gt;&lt;br /&gt;          &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&lt;br /&gt;              &amp;lt;p xmlns=&amp;quot;&amp;quot;&amp;gt;On one server, open the initiator project file in SQL Server Management Studio.&lt;br /&gt;		Open the target project file on the other server.&amp;lt;/p&amp;gt;&lt;br /&gt;          &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&lt;br /&gt;              &amp;lt;p xmlns=&amp;quot;&amp;quot;&amp;gt;Run the scripts, in order:&amp;lt;/p&amp;gt;&lt;br /&gt;              &amp;lt;dl xmlns=&amp;quot;&amp;quot;&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  1 - Initiator endpoint setup.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  1 - Target endpoint setup.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  2 - Initiator service setup.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  2 - Target service setup.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  3 - Initiator certification of target.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  3 - Target certification of initiator.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  4 - Initiator message send.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  4 - Target message receive.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  5 - Initiator cleanup.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;dt&amp;gt;&lt;br /&gt;                  5 - Target cleanup.sql.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;                &amp;lt;/dt&amp;gt;&amp;lt;/dl&amp;gt;&lt;br /&gt;          &amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/content&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!--&lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=if%20gte%20IE%205&amp;amp;referringTitle=SS2008%21Readme_DialogSecurity"&gt;if gte IE 5&lt;/a&gt;&amp;gt;&lt;br /&gt;			&amp;lt;tool:tip element=&amp;quot;seeAlsoToolTip&amp;quot; avoidmouse=&amp;quot;false&amp;quot;/&amp;gt;&amp;lt;tool:tip element=&amp;quot;languageFilterToolTip&amp;quot; avoidmouse=&amp;quot;false&amp;quot;/&amp;gt;&amp;lt;tool:tip element=&amp;quot;roleInfoSpan&amp;quot; avoidmouse=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;		&amp;lt;!&lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=endif&amp;amp;referringTitle=SS2008%21Readme_DialogSecurity"&gt;endif&lt;/a&gt;--&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;      &amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;        &lt;br /&gt;			&lt;br /&gt;			&amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;		&amp;lt;/a&amp;gt;&lt;br /&gt; 	&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/div&amp;gt;&lt;br /&gt;  &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;/div&gt;</description><author>portegys</author><pubDate>Wed, 11 Feb 2009 01:20:58 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_DialogSecurity 20090211012058A</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=Home&amp;version=25</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Service Broker Product Samples&lt;br /&gt; &lt;br /&gt;This project contains Service Broker samples released with Microsoft SQL Server product. Below is the list of these samples. If you are interested in contributing Service Broker samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTSBProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; EventNotification &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2005%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2008%21Readme_EventNotification&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorld &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2005%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2008%21Readme_HelloWorld&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; HelloWorldService &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2005%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2008%21Readme_HelloWorldService&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ServiceBrokerInterface &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2005%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2008%21Readme_ServiceBrokerInterface&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ShoppingCart &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2005%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2008%21Readme_ShoppingCart&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;b&gt;Got questions? Want to contribute?&lt;/b&gt; Check out the &lt;a href="http://social.msdn.microsoft.com/Forums/en-us/sqlserversamples/threads" class="externalLink"&gt;SQL Server Community &amp;amp; Samples Discussion Forum&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;!&lt;br /&gt;
&lt;/div&gt;</description><author>ReedMe</author><pubDate>Thu, 29 Jan 2009 23:08:37 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090129110837P</guid></item><item><title>Updated Wiki: SS2008!Readme_ShoppingCart</title><link>http://www.codeplex.com/MSFTSBProdSamples/Wiki/View.aspx?title=SS2008!Readme_ShoppingCart&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_ShoppingCart Sample
&lt;/h2&gt; &lt;br /&gt; 11/05/2008 21:36:06&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;The Shopping Cart sample uses the conversation group identifier to maintain state for a simple shopping cart application. The application uses the ServiceBrokerInterface sample.&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
Building and Installing the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;In Visual Studio 2005, open  &lt;span class="codeInline"&gt;ShoppingCartCS.sln&lt;/span&gt; .&lt;/li&gt;&lt;li&gt;Build the solution by pressing &lt;b&gt;F6&lt;/b&gt;, or by selecting &lt;b&gt;Build Solution&lt;/b&gt; from the &lt;b&gt;Build&lt;/b&gt; menu.&lt;/li&gt;&lt;li&gt;Open a command prompt, locate the  &lt;span class="codeInline"&gt;Scripts&lt;/span&gt;  folder, and then run the following command: *  install all *The install script installs the SQL Server objects for the application, including the common language runtime (CLR) stored procedure that implements the &lt;b&gt;ShoppingCartService&lt;/b&gt; service.&lt;/li&gt;
&lt;/ol&gt;&lt;h6&gt;
Running the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Run the  &lt;span class="codeInline"&gt;ShoppingCartClient.exe&lt;/span&gt;  application from the sample directory. For simplicity, the client processes one order each time the client runs.&lt;/li&gt;&lt;li&gt;Click &lt;b&gt;Create Order&lt;/b&gt; to create an order. Add items to the shopping cart by selecting the item from the &lt;b&gt;Item&lt;/b&gt; list, and then clicking the &lt;b&gt;Add Item&lt;/b&gt; button.&lt;/li&gt;&lt;li&gt;Click the *Service Broker Trace *tab at any time to see a summary of the Service Broker messages sent and received.&lt;/li&gt;&lt;li&gt;The &lt;b&gt;ShoppingList&lt;/b&gt; and &lt;b&gt;StateTable&lt;/b&gt; tables in the &lt;b&gt;ssb_ShoppingCart&lt;/b&gt; database maintain state for the application. The CLR stored procedure updates the tables based on messages from the client. You can use Management Studio or &lt;b&gt;sqlcmd&lt;/b&gt; to inspect these tables.&lt;/li&gt;
&lt;/ol&gt;&lt;h6&gt;
Uninstalling the Sample
&lt;/h6&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Open a command prompt, locate the  &lt;span class="codeInline"&gt;Scripts&lt;/span&gt;  folder, and then run the following command: *  uninstall all *&lt;/li&gt;&lt;li&gt;The uninstall script removes the SQL Server objects for the application.&lt;/li&gt;
&lt;/ol&gt;&lt;h3&gt;
Requirements
&lt;/h3&gt;This sample requires Visual Studio 2005. Because the sample uses features of the CLR that were not available in earlier versions, versions of Visual Studio earlier than 2005 cannot build the sample.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Demonstrates
&lt;/h3&gt;Service Broker applications most often store state in the database that hosts the service. When messages arrive, the application loads state from the database, and then processes the messages.&lt;br /&gt;The  &lt;span class="codeInline"&gt;*Service*&lt;/span&gt;  class of the Service Broker Interface sample provides a convenient way to maintain state. This sample demonstrates how to use the Service class to maintain state.&lt;br /&gt;To maintain state by using the  &lt;span class="codeInline"&gt;*Service*&lt;/span&gt;  class, you implement two methods in your application and a stored procedure in SQL Server, as listed in the following table:&lt;br /&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;  Item &lt;/th&gt;&lt;th&gt;  Signature &lt;/th&gt;&lt;th&gt;  Description  &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Stored Procedure&lt;/td&gt;&lt;td&gt;  &lt;span class="codeInline"&gt;CREATE PROCEDURE &lt;/span&gt; &lt;i&gt;name&lt;/i&gt; &lt;span class="codeInline"&gt; (@cgid uniqueidentifier)&lt;/span&gt; &lt;/td&gt;&lt;td&gt; Returns the state for the application. The result sets that are returned by this procedure must contain the conversation group identifier. &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; public method&lt;/td&gt;&lt;td&gt;  &lt;span class="codeInline"&gt;public override bool LoadState(System.Data.Sql.SqlReader reader)&lt;/span&gt; &lt;/td&gt;&lt;td&gt; Reads the result sets that are provided by the stored procedure to restore state. This stored procedure must save the conversation group identifier in the class, because the Service Broker Interface does not provide the identifier to the  &lt;span class="codeInline"&gt;*SaveState*&lt;/span&gt;  method. &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; public method&lt;/td&gt;&lt;td&gt;  &lt;span class="codeInline"&gt;public override void SaveState()&lt;/span&gt; &lt;/td&gt;&lt;td&gt; Saves state to the database. &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt;This topic describes the general outline for restoring state. See  &lt;span class="codeInline"&gt;ShoppingCartService.cs&lt;/span&gt;  for the full example.&lt;br /&gt;The stored procedure must accept a conversation group identifier and return two result sets. The first result set consists of the conversation group identifier itself. The second result set contains the application-specific state. There is no fixed name for this stored procedure. Instead, you supply the name of the stored procedure by setting the  &lt;span class="codeInline"&gt;*AppLoaderProcName*&lt;/span&gt;  property. The Service Broker Interface simply calls the stored procedure provided.&lt;br /&gt;The  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt;  method restores the state for the application. The exact process the application follows depends on the state that the application requires. The method takes an instance of  &lt;span class="codeInline"&gt;*System.Data.Sql.SqlReader*&lt;/span&gt;  as a parameter. The  &lt;span class="codeInline"&gt;*SqlReader*&lt;/span&gt;  contains the result sets returned the stored procedure. Typically, implementations of the  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt;  method update the  &lt;span class="codeInline"&gt;*State*&lt;/span&gt;  property of the  &lt;span class="codeInline"&gt;*Service*&lt;/span&gt;  class, save the conversation group identifier in a private field, and then save the application-specific state in appropriate data structures. For example, the  &lt;span class="codeInline"&gt;*ShoppingCartService*&lt;/span&gt;  stores information about items, quantities, and prices in a private instance of the  &lt;span class="codeInline"&gt;*ShoppingCart*&lt;/span&gt;  class.&lt;br /&gt;After calling  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt; , the Service Broker Infrastructure dispatches the message. Notice that, if you use the attribute-based message dispatch framework, you can dispatch messages based on the State property in addition to the message type name. In the methods that handle messages, you can read or update the data structures that are created in  &lt;span class="codeInline"&gt;*LoadState*&lt;/span&gt; .&lt;br /&gt;When the message handling method returns, the Service Broker Infrastructure calls the  &lt;span class="codeInline"&gt;*SaveState*&lt;/span&gt;  method. The  &lt;span class="codeInline"&gt;*SaveState*&lt;/span&gt;  method uses the  &lt;span class="codeInline"&gt;*Connection*&lt;/span&gt;  property of the Service class to create a  &lt;span class="codeInline"&gt;*SqlCommand*&lt;/span&gt;  object, and then uses that object to update the state stored in the database. For example, the  &lt;span class="codeInline"&gt;*ShoppingCartService*&lt;/span&gt;  deletes the saved contents of the shopping cart and then inserts the current contents of the shopping cart into the database.&lt;br /&gt; &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Thu, 06 Nov 2008 23:53:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_ShoppingCart 20081106115312P</guid></item></channel></rss>