.NET StockTrader Sample Application
Discuss this end-to-end sample application that illustrates WCF and .NET Enterprise Technologies.
Announcements
StockTrader 5.0 Download Available: Does Not Require Azure, But Fully Supports Azure
Gregory LeakeMicrosoft EmployeeWednesday, June 15, 2011 12:28 PMThe new StockTrader 5.0 sample is now available for download and setup. This replaces the 4.0 release of StockTrader. The installer can be downloaded from https://azurestocktrader.cloudapp.net or http://msdn.microsoft.com/stocktrader.
This version does not require Windows Azure/SQL Azure or an Azure subscription. Like 4.0, it will setup and work 100% on-premise, including on a standalone latop/PC with SQLExpress. However, I hope you take the time to explore this application on Windows Azure at the live link above, and deploy to your own Windows Azure subscription. I have personally been "converted" to developing for the cloud based on migrating this application to Windows Azure. While I like tinkering with my own hardware in my lab, the ability to "publish" this to fully provisioned Windows Server instances with full .NET 4.0 support, and quickly scale out, is great. I have scaled all portions of the application to as many as 100 Azure instances. It does take a few minutes; but I would not even be able to think about doing this in my lab on campus (machine cost? network setup/bandwidth? space? hardware, OS and DB software setup and management?). I also enjoy using SQL Azure just as if it was a local SQL Server.
Windows Azure and SQL Azure Support
This version fully supports Windows Azure and SQL Azure. The second stage of the Setup Wizard allows you to optionally install to your Azure subscription and creates the required SQL Azure databases. The Azure projects use the exact same shared libraries and projects as the on-premise deployment, save for being hosted in Azure Web Role and Worker Roler project types for the cloud. The code base is the same, but separate VS Solutions for the Azure elements are provided so that Azure and the Azure SDK/VS Tools are not required to work with on-premise elements only. One key objective for the sample is to show the same code base working on-premise and on the Windows Azure Platform.
The new documents are available as well at the AzureStockTrader site above, in the Docs menu. These include a Guide to VS Solutions so you know which solutions (Web App, Business Services, Order Processor, etc) are where on disk. And also the Configuration Guide that steps through re-configuring for remote modes, changing WCF security options, working with Oracle 11G, etc.
Make sure to read the opening readme regarding system requirements. Note during the on-premise setup stage, you can optionally point to an on-premise SQL Server including SQLExpress; OR you can point to a SQL Azure database. If working soley with the on-premise deployment, you do not need to install the Azure SDK. This version is designed for Visual Studio 2010 and the .NET Framework 4.0. You can download and install the working application without having Visual Studio; but for developing/customizing/exploring, then you need Visual Studio. The sample is developed in C#.
If you have setup issues, or questions about the sample once it is installed this is the place to post them. Thank you!
-Greg
Filtering and SortingUse these options to narrow down the question and discussion list.
- 3173

Attaching to my version of the BSL hosted in Azure is failing
Tony Wright Friday, May 18, 2012 5:27 AM - 2270

Commercial use and Licensing
Nestor3 Monday, May 14, 2012 11:02 AM - 1188

StockTrader installation issues / comparing with WSO2 StockTrader
Lothar Behrens Sunday, May 13, 2012 9:10 AM - 8851

How to implement on-premise Stocktrader web app against Azure BSL
Tony Wright Monday, April 30, 2012 7:07 AM - 325154

Federation and Configuration Service
gsogol Monday, October 13, 2008 5:11 PM - 3666

Can't access trade/config.svc, but can access trade and configweb
Tony Wright Tuesday, April 10, 2012 6:22 AM - 4848

Windows Azure certificate with thumbprint ... is missing for hosted server StockTraderWebApp
Tony Wright Wednesday, March 28, 2012 3:37 AM - 1564

Browse the code online
sp_4120000 Monday, April 16, 2012 8:36 PM - 55769

Silent install or other scripted install options?
GUnderwood Wednesday, September 09, 2009 5:01 PM - 739235

Server Error in '/ConfigWeb' Application
Darren Brust Wednesday, January 28, 2009 9:19 PM - 0327

windows phone connected to WCF in cloud
ayat-mohammad Monday, April 16, 2012 7:55 PM - 2835

Config Services connect to CRM2011
MatKoenig Tuesday, April 03, 2012 11:42 AM - 1583

i want to show stock price of a particular company
marut.mahajan Tuesday, April 03, 2012 8:58 AM - 1477

Config Services Host: Starts two times
MatKoenig Tuesday, April 03, 2012 11:49 AM - 1174813

iis7 - HTTP Error 500.19 - Internal Server Error
hijiki7777 Friday, August 22, 2008 2:02 PM - 1569

Missing AzureStockTrader Azure Blue Globe
Tony Wright Tuesday, March 27, 2012 3:09 AM - 97696

Managed Services Engine vs Configuration Service 2.0
CasperDino Wednesday, June 04, 2008 9:02 PM - 42569

Implement Configuration Service 5.0 without using template
Timhenn Wednesday, November 09, 2011 8:32 PM - 74758

Event Log : Child Service calling Parent Service config
Anuj Agrawal Tuesday, February 08, 2011 6:02 PM - 12789

How can I change the layout of the forms in the setup project using .Net 2010
Sally Safwat Wednesday, October 19, 2011 2:17 PM

