incubator-stonehenge-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drew...@apache.org
Subject svn commit: r728078 [9/9] - in /incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution: ./ BasicClient/ BasicClient/Properties/ BusinessServiceConfigurationSettings/ BusinessServiceConfigurationSettings/Properties/ Busine...
Date Fri, 19 Dec 2008 17:43:32 GMT
Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx Fri Dec 19 09:43:28 2008
@@ -0,0 +1,133 @@
+<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="Register.aspx.cs" EnableEventValidation="false" Inherits="Trade.Web.Register" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head>
+<meta http-equiv="Content-Style-Type" content="text/css"/>
+<title>.NET StockTrader Register</title>
+<link rel="stylesheet" href="StockTrader.css" type="text/css" />
+</head>
+<body class="StockTraderBodyStyle">
+<!--------------------------Begin Main Web Form Declaration--------------------------------->
+<div>
+<form runat="server" id="RegisterForm" style="margin:0;">  
+<!-------------------------Begin Global Header Table Declaration---------------------------->
+<table class= "HeaderTableStyle">
+    <tr>
+		<td><img alt="" src="Images/dotnet_logo.jpg" height="63"/></td>
+        <td class="HeaderLeftStyle">.NET StockTrader
+            </td>
+        <td class="HeaderRightStyle">Apache Stonehenge Incubator Project</td>
+    </tr>
+</table>
+<table class="MenuTableStyle">
+    <tr>
+            <td class="Menu"><a href="Default.aspx">Welcome</a></td>
+            <td class="Menu"><a href="TradeHome.aspx">Home</a></td>
+            <td class="Menu"><a href="account.aspx">Account</a></td>
+            <td class="Menu"><a href="portfolio.aspx">Portfolio</a></td>
+            <td class="Menu"><a href="quotes.aspx?symbols=s:0,s:1,s:2,s:3,s:4">Quotes/Trade</a></td>
+            <td class="Menu"><a href="Glossary.aspx">Glossary</a></td>
+            <td class="Menu"><a href="logout.aspx">Login/Logout</a></td>
+            <td class="Menu"><a href="ReadMe.mht" target="_blank">Read Me</a></td>
+    </tr>
+</table>    
+<!--------------------------End Global Header Table Declaration ---------------------------->
+<table class="TradeHomeTableStyle" style="padding-left:4px;padding-right:4px">
+    <tr>
+        <td colspan="2"> <br /></td>
+    </tr>
+    
+    <tr>
+        <td>
+        <table class="SubHeaderTableStyle">
+        <tr>
+            <th class="SubHeaderStyle">Register</th>
+            <th class="TodaysDateStyle"><asp:Label ID="Date" runat="server"></asp:Label></th>
+        </tr>
+    </table>
+        </td>
+    </tr>
+    <tr>
+        <td><br /></td>
+    </tr>
+    <tr>
+        <td style="text-align:center">
+        <table class="AccountTableStyle">
+    <tr >
+            <td colspan="4" style="height:20px;padding-top:5px"><b><asp:Label ID="RegisterMessage" runat="server" Text="Create Account Profile: " ForeColor="#003f5f"></asp:Label></b>
+            <br />
+            <hr style="vertical-align:top"/>
+            </td>
+    </tr>
+    <tr>
+            <td style="text-align:right; padding-right:4px;padding-top:10px">Requested User ID:</td>
+            <td style="text-align:left;padding-left:4px; padding-top:10px;"><asp:TextBox ID="UserID" runat="server" MaxLength="50" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+            <td style="text-align:right; padding-right:4px; padding-top:10px">Opening Balance:</td>
+            <td style="text-align:left;padding-left:4px; padding-top:10px;"><asp:TextBox ID="OpenBalance" runat="server" Text="100000" MaxLength="7" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+    </tr>
+    <tr>
+            <td style="text-align:right; padding-right:4px;">Full Name:</td>
+            <td style="text-align:left;padding-left:4px;"><asp:TextBox ID="FullName" runat="server" MaxLength="100" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+            <td style="text-align:right; padding-right:4px;">Email Address:</td>
+            <td style="text-align:left;padding-left:4px;"><asp:TextBox ID="Email" runat="server" MaxLength="100" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+    </tr>
+    <tr>
+            <td style="text-align:right; padding-right:4px">Address:</td>
+            <td style="text-align:left;padding-left:4px"><asp:TextBox ID="Address" runat="server" MaxLength="100" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+            <td style="text-align:right;padding-right:4px">Password:</td>
+            <td style="text-align:left;padding-left:4px"><asp:TextBox ID="Password" runat="server" TextMode="Password" MaxLength="100" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+    </tr>
+    <tr>
+            <td style="text-align:right;padding-right:4px">Credit Card:</td>
+            <td style="text-align:left;padding-left:4px"><asp:TextBox ID="CreditCard" runat="server" MaxLength="100" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+            <td style="text-align:right;padding-right:4px">Confirm Password:</td>
+            <td style="text-align:left;padding-left:4px"><asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password" MaxLength="100" BackColor="#EBEBEB" BorderColor="#d4d8db"></asp:TextBox></td>
+    </tr>
+    <tr>
+            <td colspan="4" style="padding-top:15px; padding-bottom:10px;">
+            <div class="LinkButtonRegStyle"><asp:LinkButton ID="LinkRegister" CssClass="Button" runat="server" PostBackUrl="~/Register.aspx">Register</asp:LinkButton></div>
+            <br />
+                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Register" DisplayMode="List" />
+                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="FullName"
+                    ErrorMessage="Please Enter a Name" ValidationGroup="Register" Display="None"></asp:RequiredFieldValidator>
+                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Address"
+                    ErrorMessage="Please Enter an Address" ValidationGroup="Register" Display="None"></asp:RequiredFieldValidator>
+                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Email"
+                    ErrorMessage="Please Enter an Email" ValidationGroup="Register" Display="None"></asp:RequiredFieldValidator>
+                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Password"
+                    ErrorMessage="Please Enter a Password" ValidationGroup="Register" Display="None"></asp:RequiredFieldValidator>&nbsp;
+                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Enter a User ID" ControlToValidate="UserID" Display="None" ValidationGroup="Register"></asp:RequiredFieldValidator>
+                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="Please Enter a Credit Card"
+                    ValidationGroup="Register" ControlToValidate="CreditCard" Display="None"></asp:RequiredFieldValidator>
+                <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="OpenBalance"
+                    ErrorMessage="Enter a value between $1,000 and $10,000,000" ValidationGroup="Register" Display="None" MaximumValue="10000000" MinimumValue="1000"></asp:RangeValidator>
+                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="Password"
+                    ControlToValidate="ConfirmPassword" Display="None" ErrorMessage="Passwords Don't Match!"
+                    ValidationGroup="Register"></asp:CompareValidator>
+                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ConfirmPassword"
+                    Display="None" ErrorMessage="Please Confirm Your Password" ValidationGroup="Register"></asp:RequiredFieldValidator></td>
+    </tr>
+  </table>
+  <br />
+  </td>
+</tr>
+</table>
+</form>
+</div>
+<!-------------------------------Start StockTrader Footer----------------------------------->
+<table class="FooterTableStyle">
+    <tr>
+            <td class="FooterLeftStyle">
+            Apache Stonehenge Incubator Project</td>
+            <td class="FooterRightStyle">
+            .NET StockTrader</td>
+    </tr>
+    <tr>
+            <td colspan="2" class="FooterCopyRightStyle"><br />
+            Created with Visual Studio and the Microsoft .NET Framework 3.5 
+            </td>
+    </tr>
+</table> 
+</table>         
+</body>
+</html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx.cs
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx.cs?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx.cs (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Register.aspx.cs Fri Dec 19 09:43:28 2008
@@ -0,0 +1,77 @@
+//  .NET StockTrader Sample WCF Application for Benchmarking, Performance Analysis and Design Considerations for Service-Oriented Applications
+
+using System;
+using System.Collections.Generic;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using Trade.StockTraderWebApplicationSettings;
+using Trade.StockTraderWebApplicationModelClasses;
+using Trade.StockTraderWebApplicationServiceClient;
+using Trade.Utility;
+
+namespace Trade.Web
+{
+    /// <summary>
+    /// Registers a new user, performs login/authentication via Business Services.
+    /// </summary>
+    public partial class Register : System.Web.UI.Page
+    {
+        string userID;
+        string fullName;
+        string address;
+        string emailAddress;
+        string creditCard;
+        string password;
+        decimal openBalance;
+
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            Date.Text = DateTime.Now.ToString("f");
+            //configlink.HRef = "http://" + HttpContext.Current.Server.MachineName + "/" + Settings.PAGE_PATH_CONFIG;
+            if (IsPostBack)
+            {
+                submitData();
+            }
+        }
+
+        private void submitData()
+        {
+             Page.Validate();
+             if (Page.IsValid)
+             {
+                RegisterMessage.ForeColor = System.Drawing.Color.Red;
+                fullName = Input.InputText(Request["FullName"], StockTraderUtility.FULLNAME_MAX_LENGTH);
+                address = Input.InputText(Request["Address"], StockTraderUtility.ADDRESS_MAX_LENGTH);
+                emailAddress = Input.InputText(Request["Email"], StockTraderUtility.EMAIL_MAX_LENGTH);
+                creditCard = Input.InputText(Request["CreditCard"], StockTraderUtility.CREDITCARD_MAX_LENGTH);
+                userID = Input.InputText(Request["UserID"], StockTraderUtility.USERID_MAX_LENGTH);
+                password = Input.InputText(Request["Password"], StockTraderUtility.PASSWORD_MAX_LENGTH);
+                openBalance = Decimal.Parse(Input.InputText(Request["OpenBalance"], StockTraderUtility.OPENBALANCE_MAX_LENGTH));
+                AccountDataUI customer = null;
+                try
+                {
+                    BSLClient businessServicesClient = new BSLClient();
+                    customer = businessServicesClient.register(userID, password, fullName, address, emailAddress, creditCard, openBalance);
+                }
+                catch (Exception e)
+                {
+                    //Depending on web.config user setting just catch the duplicate key exception and display a 
+                    //user-friendly message, or throw a 500 back to browser to make it easy to catch
+                    //this error from benchmark scripts. You can mark DisplayDuplicateKeyExceptions true/false
+                    //in Web.Config for this setting.
+                    if ((e.Message.Contains(StockTraderUtility.EXCEPTION_DOTNET_DUPLICATE_PRIMARY_KEY) || e.Message.ToLower().Contains(StockTraderUtility.EXCEPTION_WEBSPHERE_DUPLICATE_PRIMARY_KEY.ToLower())) && !Settings.DISPLAY_DUPLICATE_KEY_EXCEPTIONS)
+                    {
+                        RegisterMessage.Text = StockTraderUtility.EXCEPTION_MESSAGE_DUPLICATE_PRIMARY_KEY;
+                        return;
+                    }
+                    else
+                        throw;
+                }
+                FormsAuthentication.SetAuthCookie(customer.profileID, false);
+                Response.Redirect(Settings.PAGE_HOME, true);
+            }
+        }
+    }
+}
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx Fri Dec 19 09:43:28 2008
@@ -0,0 +1,104 @@
+<%@ Register TagPrefix="controls" TagName="ClosedOrders" Src = "Controls/ClosedOrders.ascx"  %>
+<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" EnableEventValidation="false" CodeFile="StockTrade.aspx.cs" Inherits="Trade.Web.StockTrade" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head>
+<meta http-equiv="Content-Style-Type" content="text/css"/>
+<title>.NET StockTrader Trade</title>
+<link rel="stylesheet" href="StockTrader.css" type="text/css" />
+</head>
+<body class="StockTraderBodyStyle">
+<!--------------------------Begin Main Web Form Declaration--------------------------------->
+<div>
+<form runat="server" id="AccountForm" style="margin:0;">  
+<!-------------------------Begin Global Header + Order Alert Control------------------------>
+<controls:ClosedOrders id="ClosedOrdersControl" runat="server" ></controls:ClosedOrders>
+<!--------------------------End Global Header Table Declaration ---------------------------->
+<!-------------------- -----Start Portfolio Page-Specific Processing------------------------>
+<table class="TradeHomeTableStyle" style="padding-left:4px;padding-right:4px">
+    <tr>
+    <td colspan="2"> <br /></td>
+</tr>
+    <tr>
+        <td>
+        <table class="SubHeaderTableStyle">
+        <tr>
+            <th class="SubHeaderStyle">Trade</th>
+            <th class="TodaysDateStyle"><asp:Label ID="Date" runat="server"></asp:Label></th>
+        </tr>
+    </table>
+        </td>
+    </tr>
+         <tr>
+            <td style="text-align:center;">
+                 <br /><br /><br /><br /><br /><br />
+                 <div class="ConfirmStyle">Trade Confirmation</div>
+                 <br />
+          <table class="StockTradeTableStyle">
+              <tr>
+                 <td colspan="4" style="font-size:12px;padding-top:8px;">
+                 <asp:Label ID="TradeOperation" runat="server"></asp:Label>
+                </td>
+              </tr>
+              <tr>
+                <td style="text-align:right;padding-left:4px; padding-right:4px; width: 749px;">
+                Number of Shares:
+                </td>
+                <td style="text-align:left;padding-left:4px; padding-right:4px; width: 143px;">
+                <asp:TextBox ID="quantity" runat="server" MaxLength="7" Width="50px" BackColor="#EBEBEB" BorderColor="#d4d8db">100</asp:TextBox>
+                </td>
+                <td  style="padding-top:10px;padding-left:4px; padding-right:4px;padding-bottom:12px">
+                <div class="LinkButtonTradeStyle" style="padding-left:20px;"><asp:LinkButton ID="LinkButtonBuy" runat="server" CssClass="Button">Buy</asp:LinkButton></div>
+                </td>
+                <td  style="padding-top:10px; padding-right:25px;padding-bottom:12px">
+                <div class="LinkButtonTradeStyle" style="padding-left:12px;"><asp:LinkButton ID="LinkButtonCancel" runat="server" CssClass="Button" PostBackUrl="Quotes.aspx">Cancel</asp:LinkButton></div>
+                </td>
+             </tr>
+          </table>    
+                <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="quantity"
+                    ErrorMessage="Please enter a valid value..." MaximumValue="100000000" MinimumValue="1"
+                    Type="Integer"></asp:RangeValidator><br /><br /><br /><br /><br /><br /><br />
+          </td>
+          </tr>
+<!-------------------------------Start Get Quote Input Form/Footer-------------------------->
+<tr>
+<td>
+<table class="GetQuotesTableStyle">
+<tr>
+<td colspan="3"> <hr style="vertical-align:bottom"/></td>
+</tr>
+ <tr><td style="text-align:center;" >
+ <table style="width:600">
+    <tr>
+        <td style="width:100px;height:30px;text-align:right">
+            <asp:TextBox ID="symbols" BackColor="#EBEBEB"    runat="server" Text="s:0;s:1;s:2;s:3"></asp:TextBox>
+        </td>
+        <td style="padding-left:6px;padding-bottom:4px;"><div class="LinkButtonQuoteStyle">
+            <asp:LinkButton ID="LinkButtonQuote" runat="server" CssClass="Button" PostBackUrl="~/Quotes.aspx">Get Quote</asp:LinkButton></div>
+        </td>
+    </tr>
+  </table>          
+</td></tr>
+</table>
+</td>
+</tr>
+</table>
+</form>
+</div>
+<!-------------------------------Start StockTrader Footer----------------------------------->
+<table class="FooterTableStyle">
+    <tr>
+            <td class="FooterLeftStyle">
+            Apache Stonehenge Incubator Project</td>
+            <td class="FooterRightStyle">
+            .NET StockTrader</td>
+    </tr>
+    <tr>
+            <td colspan="2" class="FooterCopyRightStyle"><br />
+            Created with Visual Studio and the Microsoft .NET Framework 3.5 
+            </td>
+    </tr>
+</table> 
+</table>         
+</body>
+</html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx.cs
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx.cs?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx.cs (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrade.aspx.cs Fri Dec 19 09:43:28 2008
@@ -0,0 +1,69 @@
+using System;
+using System.Web;
+using System.Web.Security;
+using System.Text;
+using Trade.StockTraderWebApplicationServiceClient;
+using Trade.StockTraderWebApplicationModelClasses;
+using Trade.StockTraderWebApplicationSettings;
+using Trade.Utility;
+
+namespace Trade.Web
+{
+    /// <summary>
+    /// Allows users to enter number of shares for a buy/sell operation.
+    /// </summary>
+    public partial class StockTrade : System.Web.UI.Page
+    {
+
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            Date.Text = DateTime.Now.ToString("f");
+            string userid = HttpContext.Current.User.Identity.Name;
+            BSLClient businessServicesClient = new BSLClient();
+            string action = Input.InputText(Request["action"], 5);
+            string returnUrl = Input.InputText(Request["return"], 25);
+            if (action == StockTraderUtility.ORDER_TYPE_BUY)
+            {
+                string quoteSymbol = Input.InputText(Request["symbol"], StockTraderUtility.QUOTESYMBOL_MAX_LENGTH);
+                QuoteDataUI quote = businessServicesClient.getQuote(quoteSymbol);
+                LinkButtonBuy.PostBackUrl = Settings.PAGE_ORDER + "?action=buy" + "&symbol=" + quote.symbol;
+                LinkButtonCancel.PostBackUrl = LinkButtonCancel.PostBackUrl + "?symbols=" + quoteSymbol;
+                TradeOperation.Text = "You have requested to <b>buy</b> shares of " + quote.quoteLink + " which is currently trading at " + quote.priceWithArrow;
+            }
+            else
+            {
+                LinkButtonCancel.PostBackUrl = returnUrl;
+                string holdingID = Request["holdingid"];
+                int holdingid = Convert.ToInt32(holdingID);
+                if (action == StockTraderUtility.ORDER_TYPE_SELL)
+                {
+                    if (Settings.interfaceMode == StockTraderUtility.ACCESS_WebService_WSHttp_WSO2)
+                    {
+                        TradeOperation.Text = "You have requested to sell your holding " + holdingID + ". Please confirm this request.";
+                        //indicate for postback we are running against WebSphere Trade 6.1 which does not implement the functionality/business logic
+                        //to sell a portion of a holding--only the entire holding can be sold at once.
+                        quantity.Text = "-1";
+                        quantity.Visible = false;
+                        LinkButtonBuy.Text = "Sell";
+                        LinkButtonBuy.PostBackUrl = Settings.PAGE_ORDER + "?action=sell" + "&holdingid=" + holdingID;
+                    }
+                    else
+                    {
+                        HoldingDataUI holding = businessServicesClient.getHolding(userid, holdingid);
+                        StringBuilder strBldr = new StringBuilder("You have requested to sell all or part of your holding ");
+                        strBldr.Append(holdingID);
+                        strBldr.Append(". This holding has a total of ");
+                        strBldr.Append(holding.quantity);
+                        strBldr.Append(" shares of stock <b>");
+                        strBldr.Append(holding.quoteID);
+                        strBldr.Append("</b>. Please indicate how many shares to sell.");
+                        TradeOperation.Text = strBldr.ToString();
+                        quantity.Text = holding.quantity;
+                        LinkButtonBuy.Text = "Sell";
+                        LinkButtonBuy.PostBackUrl = Settings.PAGE_ORDER + "?action=sell" + "&holdingid=" + holdingID;
+                    }
+                }
+            }
+        }
+    }
+}
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrader.css
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrader.css?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrader.css (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/StockTrader.css Fri Dec 19 09:43:28 2008
@@ -0,0 +1,1045 @@
+Body.StockTraderBodyStyle
+{
+font-family: Arial;
+font-size:10pt;
+vertical-align:middle;
+text-align:center;
+}
+
+FORM
+{
+	margin:0;
+}
+
+A
+{
+	color: #336699;
+	text-decoration: none;
+}
+
+A:hover
+{
+	color: #222b62;
+	text-decoration: underline;
+}
+
+A.MktSummary
+{
+	color: #222b62;
+	text-decoration: none;
+}
+
+A.Config:hover
+{
+	color: #314154;
+	text-decoration: underline;
+}
+
+A.Config
+{
+	color: #000000;
+	text-decoration: underline;
+}
+
+A.Config2:hover
+{
+	color: #FFFFFF;
+	text-decoration: underline;
+	font-size:12px;
+}
+
+A.Config2
+{
+	color: #000000;
+	text-decoration: underline;
+	font-size:12px;
+}
+
+A.Config1:hover
+{
+	color: #FFFFFF;
+	text-decoration: none;
+	font-size:12px;
+}
+
+A.Config1
+{
+	color: #000000;
+	text-decoration: none;
+	font-size:12px;
+}
+
+A.MktSummary:hover
+{
+	color: #336699;
+	text-decoration: none;
+}
+
+A.Button
+{
+	color:Black;
+}
+
+A.Button:hover
+{
+	color:White;
+	text-decoration:none;
+}
+
+LI.Mainline
+{
+	padding-left: 5px;
+	font-weight: bold;
+	padding-right:4px;
+	font-size:12px;
+}
+
+LI.Subline
+{
+	list-style-position: outside;
+	margin-left: 10px;
+	list-style-type: circle;
+	padding-right:8px;
+}
+
+Table.HeaderTableStyle
+{ 
+ height:63px;
+ background-image:url(Images/header_main.jpg);
+ background-repeat:no-repeat;
+ border-collapse: collapse;
+ border:none;
+ width: 800px;
+ color: #000000;
+ font-size: large;
+ margin:0;
+}
+
+DIV.InvalidLogin
+{
+	color: #990000;
+	text-align:center;
+}
+
+Table.MenuTableStyle
+{
+	font-family: Arial;
+	background-image:url(Images/button_bg.jpg);
+	background-position:top-left;
+	background-repeat:no-repeat;
+	text-align: center;
+	border-collapse: collapse;
+	width: 800px;
+}
+
+TD.Menu
+{
+width:92px;
+height: 30px;
+padding-top:15px;
+text-align: center;
+vertical-align:top;
+font-weight:bold;
+font-size:9pt;
+}
+
+Table.TradeHomeTableStyle
+{
+	border: none;
+	border-collapse: collapse;
+	background-image:url(Images/table_bg.jpg);
+	background-position:top-center;
+	background-repeat:repeat;
+	width: 800px;
+}
+
+TD.NameStyle
+{
+text-align:center;
+font-size:15px;
+color:#003f5f;
+}
+
+DIV.ConfirmStyle
+{
+text-align:center;
+font-size:16px;
+color:#003f5f;
+font-weight:bold;
+}
+
+Table.StockTradeTableStyle
+{
+ border-collapse:collapse;
+ width:350px;
+ background-color:#c7c4af;
+ border-right: #949493 4px outset; 
+ border-top: #949493 4px outset;
+ border-left: #949493 4px outset;
+ border-bottom: #949493 4px outset;
+}
+
+TD.AccountSubHeadStyle
+{
+font-size:14px;
+color:#003f5f;
+width:350;
+}
+
+Table.AccountTableStyle
+{
+	border-collapse: collapse;
+	width: 720px;
+	background-color: #c7c4af;
+	border-right: #949493 4px outset;
+	border-top: #949493 4px outset;
+	border-left: #949493 4px outset;
+	border-bottom: #949493 4px outset;
+}
+
+Table.LoginTableStyle
+{
+	border-collapse: collapse;
+	width: 720px;
+	background-color: #c7c4af;
+	border-right: #949493 4px outset;
+	border-top: #949493 4px outset;
+	border-left: #949493 4px outset;
+	border-bottom: #949493 4px outset;
+}
+
+Table.SubHeaderTableStyle
+{
+	border:none;
+	background-color: #112e58;
+	border-collapse: collapse;
+	width: 790px;
+	color: #000000;
+	margin: 0;
+}
+
+TH.TodaysDateStyle
+{
+font-family:Arial;
+text-align:right;
+font-size:12px;
+color:#ffffff;
+padding-right:10px;
+}
+
+TH.SubHeaderStyle
+{
+	text-align:left;
+	padding-left:10px;
+	vertical-align:top;
+	font-size:20px;
+	height:20px;
+	border-collapse: collapse;
+	margin:0;
+	color:#ffffff;
+}
+
+TH.InnerHeading
+{
+	background-color: #818287;
+	font-size: 12px;
+	text-align: center;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+}
+
+TH.InnerHeading2
+{
+	background-color: #000000;
+	color:#d4d8db;
+	font-size: 8pt;
+	text-align: center;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+}
+
+TH.InnerHeading3
+{
+	background-color: #000000;
+	color:#d4d8db;
+	font-size: 14pt;
+	text-align: center;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+}
+
+TD.InnerData
+{
+	font-size: 12px;
+	background-color: #c7c4af;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+	padding-right: 3px;
+}
+
+TH.InnerDataTotal
+{
+	background-color: #dddccf;
+	font-size: 12px;
+	text-align: right;
+	padding-right: 3px;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+}
+
+TH.InnerDataSubtotal
+{
+	font-size: 12px;
+	background-color: #1c1c1a;
+	color:#d4d8db;
+	padding-right: 3px;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+}
+
+TD.SubHeaderStyle2
+{
+	text-align:left;
+	vertical-align:top;
+	color: #000000;
+	font-size:16px;
+	padding-left:55px;
+	padding-right:4px;
+	width: 320px;
+}
+
+TD.DataHeadersStyle
+{
+	text-align:right;
+	padding-left: 5px;
+	font-weight: normal;
+	font-size: 14px;
+	color: #000000;
+	width:170px;
+}
+
+TD.DataLabelsStyle
+{
+	text-align:left;
+	padding-left: 5px;
+	font-size: 14px;
+	font-weight: normal;
+	color: #000000;
+	width:160px;
+}
+
+TD.DataLabelsStyle1
+{
+	width: 140px;
+	font-size: 12px;
+	text-align: left;
+	font-weight: normal;
+	color: #000000;
+	border-bottom: #b0b7b8 1px solid;
+	border-top: #b0b7b8 1px solid;
+	padding-left: 6px;
+}
+
+TD.AccountDataHeaderStyle1
+{
+	padding-right:3px;
+	border-bottom:solid 1px black;
+	border-top:solid 1px black;
+	border-left:solid 1px black;
+	border-right:solid 1px black;
+	width: 136px;
+	text-align:right;
+}
+
+TD.AccountDataLabelStyle1
+{
+	padding-left:3px;
+	border-bottom:solid 1px black;
+	border-top:solid 1px black; 
+	border-left:solid 1px black;
+	border-right:solid 1px black;
+	text-align:left;
+}
+TD.AccountDataHeaderStyle2
+{
+	padding-right:3px;
+	border-bottom:solid 1px black;
+	border-top:solid 1px black;
+	border-left:solid 1px black;
+	border-right:solid 1px black;
+	text-align:right;
+	width: 236px;
+}
+
+TD.AccountDataLabelStyle2
+{
+	 border-bottom:solid 1px black;
+	 border-top:solid 1px black; 
+	 border-left:solid 1px black;
+	 border-right:solid 1px black;
+	 text-align:left;
+	 padding-left:3px;
+}
+
+Table.TechnologiesTableStyle
+{ 
+	font-family: Arial;
+	font-size: 10px;
+	border-collapse:collapse;
+	border-style:solid;
+	border-width: medium;
+	border-color: #112e58;
+	background-color: #ffffff;
+	text-align:left;
+	vertical-align:middle;
+}
+
+Table.GetQuotesTableStyle
+{
+	border-collapse: collapse;
+	width:800px;
+	border:0px;
+	border-collapse:collapse;
+}
+
+Table.FooterTableStyle
+{
+ border-collapse: collapse;
+ background-image:url(Images/footer_main.jpg);
+ background-position:top;
+ background-repeat:no-repeat;
+ width: 800px;
+ 
+}
+
+Table.QuotesTableStyle
+{
+	
+	width: 670px;
+	color: #000000;
+	font-size: small;
+	border-collapse:collapse;
+}
+
+Table.PortfolioTableStyle
+{
+	background-color: #e1dfc7;
+	width: 720px;
+	color: #000000;
+	font-size: small;
+	border-collapse:collapse;
+}
+
+Table.ConfigTableStyle
+{
+	
+	width: 650px;
+	color: #000000;
+	font-size: small;
+	border-right: #000000 2px solid; 
+	border-left: #000000 2px solid; 
+	border-top: #000000 2px solid; 
+	border-bottom: #000000 2px solid; 
+	border-collapse: collapse;
+}
+
+Table.TermsTableStyle
+{
+	
+	width: 650px;
+	color: #000000;
+	font-size: small;
+	border-right: #000000 2px solid; 
+	border-left: #000000 2px solid; 
+	border-top: #000000 2px solid; 
+	border-bottom: #000000 2px solid; 
+	border-collapse: collapse;
+}
+
+Table.ConfigUpdateTableStyle
+{
+	
+	width: 700px;
+	color: #000000;
+	font-size: small;
+	border-right: #000000 1px solid; 
+	border-left: #000000 1px solid; 
+	border-top: #000000 1px solid; 
+	border-bottom: #000000 1px solid; 
+	border-collapse: collapse;
+}
+
+Table.HostUpdateTableStyle
+{
+	
+	width: 650px;
+	color: #000000;
+	border-right: #000000 2px solid; 
+	border-left: #000000 2px solid; 
+	border-top: #000000 2px solid; 
+	border-bottom: #000000 2px solid; 
+	border-collapse: collapse;
+}
+
+Table.ConnectionPointTableStyle
+{
+	
+	width: 700px;
+	color: #000000;
+	font-size: 12px;
+	border-right: #000000 1px solid; 
+	border-left: #000000 1px solid; 
+	border-top: #000000 1px solid; 
+	border-bottom: #000000 1px solid; 
+	border-collapse: collapse;
+}
+
+Table.ServiceTableStyle
+{
+	
+	width: 760px;
+	color: #000000;
+	font-size: small;
+	border-right: #000000 2px solid; 
+	border-left: #000000 2px solid; 
+	border-top: #000000 2px solid; 
+	border-bottom: #000000 2px solid; 
+	border-collapse: collapse;
+}
+
+Table.ConfigServiceTableStyle
+{
+	width: 100px;
+	color: #000000;
+	text-align:center;
+	font-size: small;
+	border-right: #000000 2px solid; 
+	border-left: #000000 2px solid; 
+	border-top: #000000 2px solid; 
+	border-bottom: #000000 2px solid; 
+	border-collapse: collapse;
+}
+
+Table.NodeServiceTableStyle
+{
+	width: 600px;
+	color: #000000;
+	text-align:center;
+	font-size: small;
+	border-right: #000000 2px solid; 
+	border-left: #000000 2px solid; 
+	border-top: #000000 2px solid; 
+	border-bottom: #000000 2px solid; 
+	border-collapse: collapse;
+}
+
+TD.TradeServiceTDStyle
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right: #000000 1px solid;
+	padding-bottom: 3px;
+	padding-right: 6px;
+	padding-left: 6px;
+	vertical-align: middle;
+	text-align: left;
+	font-size: 12px;
+	background-color: #c6d4cc;
+}
+
+TD.TradeServiceTDStyle3
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right: #000000 1px solid;
+	padding-bottom: 3px;
+	padding-right: 6px;
+	padding-left: 6px;
+	vertical-align: middle;
+	text-align: left;
+	font-size: 12px;
+	background-color: #959ba2;
+}
+
+TD.TradeHostServiceTDStyle
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right: #000000 1px solid;
+	padding-bottom: 3px;
+	padding-right: 6px;
+	padding-left: 6px;
+	vertical-align: middle;
+	text-align: right;
+	font-size: 12px;
+	background-color: #959ba2;
+}
+
+TD.TradeHostServiceTDStyle2
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right: #000000 1px solid;
+	padding-bottom: 3px;
+	padding-right: 6px;
+	padding-left: 6px;
+	vertical-align: middle;
+	text-align: left;
+	font-size: 12px;
+	background-color: #959ba2;
+}
+
+
+TD.TradeConfigTDStyle
+{
+	
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+    border-right : #000000 1px solid;
+	padding-bottom:3px;
+	padding-right:3px;
+	padding-left:3px;
+	vertical-align:middle;
+	text-align:left;
+	font-size:9px;
+		
+}
+
+TD.TradeConfigTDNameStyle
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-right: #000000 1px solid;
+	padding-bottom: 3px;
+	padding-right: 3px;
+	padding-left: 3px;
+	vertical-align: middle;
+	text-align: center;
+	font-size: 15px;
+	color: #000000;
+}
+
+TD.TradeConfigTDStyle2
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+    border-right : #000000 1px solid;
+	padding-bottom:3px;
+	padding-right:6px;
+	padding-left:6px;
+	vertical-align:middle;
+	text-align:left;
+	font-size:11px;
+	width:300px;
+}
+
+TH.TradeConfigTHStyle
+{
+	border-top: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right: #a0a1a2 1px solid;
+	border-left: #414141 1px solid;
+	border-collapse: collapse;
+	background-color: #72768e;
+	color: #d4d8db;
+	font-size: 9pt;
+	text-align: center;
+	padding-bottom: 10px;
+	padding-top: 10px;
+	padding-right: 3px;
+	vertical-align: middle;
+}
+
+TH.TradeConfigTHStyle2
+{
+	border-top: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right: #a0a1a2 1px solid;
+	border-left: #414141 1px solid;
+	border-collapse: collapse;
+	background-color: #000000;
+	color: white;
+	font-size: 9pt;
+	text-align: center;
+	padding-bottom: 10px;
+	padding-top: 10px;
+	padding-right: 6px;
+	padding-left: 6px;
+	vertical-align: middle;
+}
+
+TH.TradeConfigTHStyle3
+{
+	border-top: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right: #a0a1a2 1px solid;
+	border-left: #414141 1px solid;
+	border-collapse: collapse;
+	background-color: #000000;
+	color: white;
+	font-size: 10px;
+	text-align: center;
+	padding-bottom: 10px;
+	padding-top: 10px;
+	padding-right: 6px;
+	padding-left: 6px;
+	vertical-align: middle;
+}
+
+
+TD.TradeConfigNotesTDStyle
+{
+	width:670px;
+	text-align:center;
+	font-size:8pt;
+	padding-left: 60pt;
+	padding-right: 60pt;
+}
+
+TD.OrderAlertControlStyle
+{
+	width:770px;
+	text-align:center;
+}
+
+Table.OrderAlertTableStyle
+{
+	
+	width: 720px;
+	font-size: small;
+	border-collapse:collapse;	
+}
+
+Table.OrderConfirmTableStyle
+{
+	
+	width: 700px;
+	font-size: small;
+	border-collapse:collapse;
+	
+	
+}
+
+TD.OrderAlertMessageStyle
+{
+	color: #cc0000;
+	text-align: center;
+	padding-top: 12px;
+	padding-bottom: 12px;
+}
+
+TD.OrderConfirmMessageStyle
+{
+	color: #003f5f;
+	text-align: center;
+	padding-top: 12px;
+	padding-bottom: 12px;
+}
+
+TD.TradeTermsTDStyleLeft
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right:  #000000 1px solid;
+	padding-bottom:3px;
+	padding-right:3px;
+	padding-left:6px;
+	vertical-align:middle;
+	text-align:right;
+	font-size:10pt;
+	width:150px;
+	font-weight:bold;
+}
+
+TD.TradeTermsTDStyleRight
+{
+	border-top: #000000 1px solid;
+	border-left: #000000 1px solid;
+	border-bottom: #000000 1px solid;
+	border-right:  #000000 1px solid;
+	padding-bottom:3px;
+	padding-right:6px;
+	padding-left:6px;
+	text-align:left;
+	vertical-align:middle;
+	text-align:left;
+	font-size:10pt;
+	width:550px;
+}
+
+TD.HeaderLeftStyle
+{
+width: 470px;
+vertical-align:middle;
+text-align:left;
+font-size:larger;
+color:#d4d8db;
+padding-left:4px;
+font-weight:bold;
+}
+
+TD.HeaderRightStyle
+{
+	width: 226px;
+	padding-right: 4px;
+	text-align: center;
+	vertical-align: middle;
+	font-size: small;
+	color: #e9eaea;
+	font-weight: bold;
+}
+
+TD.FooterLeftStyle
+{
+	width:579px;
+	height:60px;
+	padding-top:10px;
+	padding-left:10px;
+	vertical-align:top;
+	text-align:left;
+	font-size:medium;
+	color:#d4d8db;
+	font-weight:bold;
+}
+
+TD.FooterRightStyle
+{
+	text-align:center;
+	padding-top:10px;
+	vertical-align:top;
+	color: #d4d8db;
+	font-size:small;
+	width: 211px;
+	font-weight: bold;
+}
+TD.FooterCopyRightStyle
+{
+	text-align:center;
+	font-size:x-small;
+}
+
+
+
+Table.MarketSummaryControlTableStyle
+{
+	border-collapse:collapse;
+}
+
+Table.MarketSummaryControlGainersLosersTableStyle
+{
+	font-family: Arial;
+	border-collapse: collapse;
+	border-right: gainsboro thick outset;
+	border-top: gainsboro thick outset;
+	border-left: gainsboro thick outset;
+	border-bottom: gainsboro thick outset;
+	background-color: #bbc6e4;
+	width: 190px;
+}
+
+TH.MarketSummaryInnerHeading
+{
+	background-color: #23254d;
+	font-size: 11px;
+	text-align: center;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+	padding-left: 4px;
+	font-weight:lighter;
+	padding-right: 4px;
+	color: #e1e1d9;
+}
+
+TD.MarketSummaryInnerData
+{
+	font-size: 11px;
+	text-align: center;
+	background-color: #c1c1bf;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+	padding-left: 6px;
+	padding-right: 6px;
+}
+
+TH.MarketSummaryHeader
+{
+	background-color: #a8a79d;
+	font-size: 12px;
+	text-align: center;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+	padding-left: 6px;
+	padding-right: 6px;
+}
+
+TD.MarketSummaryMasterHeader
+{
+background-color:#000000;
+font-size: 10pt;
+color:#d4d8db;
+font-weight:bolder;
+text-align:center;
+}
+
+TD.MarketSummaryLeftSubHeader
+{
+	font-size: 9pt;
+	text-align: center;
+	vertical-align: middle;
+	background-color: #c7c4af;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+	padding-left: 16px;
+	padding-right: 16px;
+}
+
+TD.MarketSummaryGainerLoserHeader
+{
+	font-size: 9pt;
+	text-align: center;
+	vertical-align: middle;
+	background-color: #c7c4af;
+	padding-left: 16px;
+	padding-right: 16px;
+	border-right: #50525b 1px solid;
+	border-top: #50525b 1px solid;
+	border-left: #50525b 1px solid;
+	border-bottom: #50525b 1px solid;
+	padding-top: 8px;
+}
+
+TD.ConfigText
+{
+	text-align:left;
+	font-size:11px;
+	padding-left:85px;
+	padding-right:85px
+}
+
+DIV.LinkButtonStyle
+{
+	height: 18px;
+	width: 60px;
+	font-size: 9pt;
+	padding-top: 4px;
+	margin: top 4px;
+	font-weight: bolder;
+	padding-left: 6px;
+	margin: bottom 4px;
+	vertical-align: middle;
+	background-color: #b3c2cc;
+	text-align: left;
+	color: #d4d8db;
+	border-right: black 1px groove;
+	border-top: black 1px groove;
+	border-left: black 1px groove;
+	border-bottom: black 1px groove;
+}
+
+DIV.LinkButtonQuoteStyle
+{
+	height: 18px;
+	width: 60px;
+	font-size: 9pt;
+	padding-top: 4px;
+	margin: top 4px;
+	font-weight: bolder;
+	padding-left: 6px;
+	margin: bottom 4px;
+	vertical-align: middle;
+	background-color: #b3c2cc;
+	text-align: left;
+	color: #d4d8db;
+	border-right: black 1px groove;
+	border-top: black 1px groove;
+	border-left: black 1px groove;
+	border-bottom: black 1px groove;
+}
+
+DIV.LinkButtonTradeStyle
+{
+	height: 18px;
+	width: 50px;
+	font-size: 9pt;
+	padding-top: 4px;
+	margin: top 4px;
+	font-weight: bolder;
+	padding-left: 6px;
+	margin: bottom 4px;
+	vertical-align: middle;
+	background-color: #b3c2cc;
+	text-align: left;
+	color: #d4d8db;
+	border-right: black 1px groove;
+	border-top: black 1px groove;
+	border-left: black 1px groove;
+	border-bottom: black 1px groove;
+}
+
+DIV.LinkButtonRegStyle
+{
+	height: 20px;
+	width: 55px;
+	font-size: 9pt;
+	padding-top: 4px;
+	margin: top 4px;
+	font-weight: bolder;
+	padding-left: 7px;
+	margin: bottom 4px;
+	vertical-align: middle;
+	background-color: #b3c2cc;
+	text-align: left;
+	color: #d4d8db;
+	border-right: black 1px groove;
+	border-top: black 1px groove;
+	border-left: black 1px groove;
+	border-bottom: black 1px groove;
+}
+
+DIV.LinkButtonRegisterStyle
+{
+	height: 18px;
+	width: 60px;
+	font-size: 9pt;
+	padding-top: 4px;
+	margin: top 4px;
+	font-weight: bolder;
+	padding-left: 30px;  
+	margin: bottom 4px;
+	vertical-align: middle;
+	background-color: #b3c2cc;
+	text-align: left;
+	color: #d4d8db;
+	border-right: black 1px groove;
+	border-top: black 1px groove;
+	border-left: black 1px groove;
+	border-bottom: black 1px groove;
+}
+

Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx Fri Dec 19 09:43:28 2008
@@ -0,0 +1,175 @@
+<%@ Register TagPrefix="controls" TagName="MarketSummary" Src = "Controls/MarketSummary.ascx"  %>
+<%@ Register TagPrefix="controls" TagName="ClosedOrders" Src = "Controls/ClosedOrders.ascx"  %>
+<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="TradeHome.aspx.cs" EnableEventValidation="false" Inherits="Trade.Web.TradeHome" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head>
+<meta http-equiv="Content-Style-Type" content="text/css"/>
+<title>.NET StockTrader Home</title>
+<link rel="stylesheet" href="StockTrader.css" type="text/css" />
+</head>
+<body class="StockTraderBodyStyle">
+<!--------------------------Begin Main Web Form Declaration--------------------------------->
+<div>
+<form runat="server" id="HomeForm" style="margin:0;">  
+<!-------------------------Begin Global Header + Order Alert Control------------------------>
+<controls:ClosedOrders id="ClosedOrdersControl" runat="server" ></controls:ClosedOrders>
+<!-------------------------Begin TradeHome.aspx Page HTML----------------------------------->
+<table class="TradeHomeTableStyle" style="padding-left:4px;padding-right:4px">
+<tr>
+    <td colspan="2"> <br /></td>
+</tr>
+<tr>
+    <td>
+    <table class="SubHeaderTableStyle">
+        <tr>
+            <th class="SubHeaderStyle">Home</th>
+            <th class="TodaysDateStyle"><asp:Label ID="Date" runat="server"></asp:Label></th>
+        </tr>
+    </table>
+<table class="TradeHomeTableStyle">
+<tr>
+    <td colspan="3">
+    <br />
+    </td>
+</tr>
+<tr>
+    <td colspan = "3" class="NameStyle">Welcome, <asp:Label id="Name" runat="server"></asp:Label>
+    <br /><br /></td>
+</tr>
+<tr>
+            <td colspan="2" class="SubHeaderStyle2">
+            <table>
+               <tr>
+                  <td colspan="4" style="padding-top:7px"> User Statistics
+                  <hr style="width: 310px;"/>  </td>
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Account ID:</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="AccountID" runat="server"></asp:Label></td>
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Account Created:</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="CreationDate" runat="server"></asp:Label></td>
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Total Logins:</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="LoginCount" runat="server"></asp:Label></td>
+               </tr> 
+               <tr> 
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Session Created:</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="SessionCreateDate" runat="server"></asp:Label>
+                  </td>
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle"><br /></td>
+               </tr>
+               <tr>
+                  <td colspan="4" >
+                  Account Summary<hr style="width: 310px;" /> </td>
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx"> Cash Balance:</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="Balance" runat="server"></asp:Label></td>
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Number of Holdings:</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="NumHoldings" runat="server"></asp:Label></td>
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Total of Holdings: </a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="HoldingsTotal" runat="server"></asp:Label></td>  
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Sum of Cash & Holdings</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="SumOfCashHoldings" runat="server"></asp:Label></td> 
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Opening Balance:</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="OpenBalance" runat="server"></asp:Label></td> 
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">Current Gain/(Loss):</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="Gain" runat="server"></asp:Label></td> 
+               </tr>
+               <tr>
+                  <td class="DataHeadersStyle">
+                  <a href="Glossary.aspx">% Gain/(Loss):</a></td>
+                  <td class="DataLabelsStyle"> 
+                  <asp:Label ID="PercentGain" runat="server"></asp:Label></td> 
+               </tr>
+            </table></td>
+            <td >
+<!---------------------------Start MarketSummary ASP.NET User Control----------------------->
+ <controls:MarketSummary id="MarketSummary" runat="server" ></controls:MarketSummary>
+<!---------------------------End MarketSummary ASP.NET User Control------------------------->   
+            </td>
+         </tr>
+        <tr>
+            <td><br /></td>
+        </tr>
+    </table>
+    </td>
+</tr>
+<!-------------------------------Start Get Quote Input Form/Footer-------------------------->
+<tr>
+<td>
+<table class="GetQuotesTableStyle">
+<tr>
+<td colspan="3"> <hr style="vertical-align:bottom"/></td>
+</tr>
+ <tr><td style="text-align:center;" >
+ <table style="width:600">
+    <tr>
+        <td style="width:100px;height:30px;text-align:right">
+            <asp:TextBox ID="symbols" BackColor="#EBEBEB"    runat="server" Text="s:0;s:1;s:2;s:3"></asp:TextBox>
+        </td>
+        <td style="padding-left:6px;padding-bottom:4px;"><div class="LinkButtonQuoteStyle">
+            <asp:LinkButton ID="LinkButtonQuote" runat="server" CssClass="Button" PostBackUrl="~/Quotes.aspx">Get Quote</asp:LinkButton></div>
+        </td>
+    </tr>
+  </table>          
+</td></tr>
+</table>
+</td>
+</tr>
+</table>
+</form>
+</div>
+<!-------------------------------Start StockTrader Footer----------------------------------->
+<table class="FooterTableStyle">
+    <tr>
+            <td class="FooterLeftStyle">
+            Apache Stonehenge Incubator Project</td>
+            <td class="FooterRightStyle">
+            .NET StockTrader</td>
+    </tr>
+    <tr>
+            <td colspan="2" class="FooterCopyRightStyle"><br />
+            Created with Visual Studio and the Microsoft .NET Framework 3.5 
+            </td>
+    </tr>
+</table> 
+</table>         
+</body>
+</html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx.cs
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx.cs?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx.cs (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/TradeHome.aspx.cs Fri Dec 19 09:43:28 2008
@@ -0,0 +1,84 @@
+//  .Net StockTraderuserid Sample WCF Application for Benchmarking, Performance Analysis and Design Considerations for Service-Oriented Applications
+
+using System;
+using System.Collections.Generic;
+using System.Web;
+using System.Web.Caching;
+using System.Web.Security;
+using Trade.StockTraderWebApplicationSettings;
+using Trade.StockTraderWebApplicationModelClasses;
+using Trade.StockTraderWebApplicationServiceClient;
+
+namespace Trade.Web
+{
+    /// <summary>
+    /// The info-loaded Home Page.
+    /// </summary>
+    public partial class TradeHome : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            Date.Text = DateTime.Now.ToString("t");
+            decimal gain = (decimal)0.00;
+            decimal percentGain = (decimal)0.00;
+            TotalHoldingsUI totalHoldings;
+            string userid;
+           
+            //Must get/decrypt FormsAuthentication ticket on this page only to get session created date for display.  
+            //Would recommend not displaying session create date if really do not need to; depending on
+            //configured Forms authentication protection level, decrypting ticket might be expensive!
+            //We are needing to do here only to maintain same functionality as WebSphere Trade 6.1
+            //for consistency and comparative benchmarking reasons.  If not for this, would simply need to grab userid 
+            //(from which all logic/queries in this app are driven off of), from httpcontext.  You will note
+            //in other authenticated pages where we do not need to display session created date on the aspx page for the user,
+            //we just get userid from a property on the child ClosedOrders.Ascx control, which has gotten it
+            //from HttpContext.Current.User.Identity.Name.  This control is embedded on every authenticated page per
+            //Trade 6.1 design. This also avoids use of server-side Session state object entirely.  Its not that this is 
+            //much faster than session state, the BIG advantage is that for deploying to web farms/clusters you never
+            //have to worry about using ASP.NET state server or database configuration; it's "cluster-safe/webfarm-ready"
+            //out of the box.
+            HttpCookie authcookie = Request.Cookies[FormsAuthentication.FormsCookieName];
+            FormsAuthenticationTicket ticket = (FormsAuthenticationTicket)FormsAuthentication.Decrypt(authcookie.Value);
+            userid = ticket.Name;
+            SessionCreateDate.Text = ticket.IssueDate.ToString();
+            BSLClient businessServicesClient = new BSLClient();
+            AccountDataUI customer = businessServicesClient.getAccountData(userid);
+            totalHoldings = businessServicesClient.getHoldings(userid);
+            Name.Text = customer.profileID + "!";
+            AccountID.Text = customer.accountID.ToString();
+            CreationDate.Text = customer.creationDate.ToString();
+            LoginCount.Text = customer.loginCount.ToString();
+            OpenBalance.Text = string.Format("{0:C}", customer.openBalance);
+            Balance.Text = string.Format("{0:C}", customer.balance);
+            NumHoldings.Text = totalHoldings.holdings.Count.ToString();
+            HoldingsTotal.Text = string.Format("{0:C}", totalHoldings.marketValue);
+            decimal totalcashandholdings = totalHoldings.marketValue + customer.balance;
+            SumOfCashHoldings.Text = string.Format("{0:C}", totalcashandholdings);
+            gain = totalcashandholdings - customer.openBalance;
+            string percentGainString = "";
+            if (customer.openBalance != 0)
+                percentGain = gain / customer.openBalance * 100;
+            else
+                percentGain = 0;
+            if (gain > 0)
+            {
+                percentGainString = string.Format("{0:N}%" + Settings.UPARROWLINK, percentGain);
+                Gain.ForeColor = System.Drawing.Color.DarkGreen;
+                PercentGain.ForeColor = System.Drawing.Color.DarkGreen;
+            }
+            else 
+                if (gain < 0)
+                {
+                    percentGainString = string.Format("{0:N}%" + Settings.DOWNARROWLINK, percentGain);
+                    Gain.ForeColor = System.Drawing.Color.DarkRed;
+                    PercentGain.ForeColor = System.Drawing.Color.DarkRed;
+                }
+                else
+                    {
+                        percentGainString = string.Format("{0:N}%", percentGain);
+                    }
+            Gain.Text = string.Format("{0:C}", gain);
+            PercentGain.Text = percentGainString;
+        }
+    }
+}

Added: incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Web.config
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Web.config?rev=728078&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Web.config (added)
+++ incubator/stonehenge/contrib/stocktrader/dotnet/StockTrader/StockTraderWebAppSolution/Trade/Web.config Fri Dec 19 09:43:28 2008
@@ -0,0 +1,335 @@
+<?xml version="1.0"?>
+<!--  
+    Note: As an alternative to hand editing this file you can use the 
+    web admin tool to configure settings for your application. Use
+    the Website->Asp.Net Configuration option in Visual Studio.
+    A full list of settings and comments can be found in 
+    machine.config.comments usually located in 
+    \Windows\Microsoft.Net\Framework\v2.x\Config 
+-->
+<configuration>
+	
+	<appSettings>
+        <add key="ACCESS_MODE" value="Http_WebService_MSecurity"/>
+        <!-- 
+        //Valid Config Values for user-set "AccessMode" config setting. 
+        public const string ACCESS_STRING_Direct = "InProcess";
+        public const string ACCESS_STRING_WEB_SERVICE_HTTP = "Http_WebService";
+        public const string ACCESS_STRING_WEB_SERVICE_HTTP_MESECURITY = "Http_WebService_MSecurity";
+        public const string ACCESS_STRING_WSO2_WEB_SERVICE_HTTP_MESECURITY = "Http_WSO2_WebService_MSecurity";
+        -->
+        <add key="EVENT_LOG" value="Trade Web App"/>
+        <add key="MAX_DISPLAY_ORDERS" value="20"/>
+        <add key="MAX_DISPLAY_TOP_ORDERS" value="20"/>
+        <add key="DISPLAY_DUPLICATE_KEY_EXCEPTIONS" value="true"/>
+        <add key="CHECK_ORDER_ALERT_EVERY_REQUEST" value="true"/>
+        <add key="ORDER_ALERT_CHECK_FREQUENCY" value="30"/>
+        <add key="BSL_DOTNET_ENDPOINT_CONFIG_HTTP" value="Client_BasicHttpBinding_BSL"/>
+        <add key="BSL_DOTNET_ENDPOINT_CONFIG_WSHTTP" value="Client_WsHttpBinding_M_Security_TradeBSL"/>
+        <add key="BSL_WSO2_ENDPOINT_CONFIG_WSHTTP" value="Client_WsHttpBinding_M_Security_TradeBSL_WSO2"/>
+        <add key="BSL_USERID" value="bsloperationuser"/>
+        <add key="BSL_PASSWORD" value="yyy"/>
+    
+    <!-- These are duplicated from Business Service to support ACCESS_MODE=InProcess-->
+    <add key="ORDER_PROCESSING_MODE" value="ASync_Http_MSecurity"/>
+    <!--
+       //Valid Config Values for user-set "OrderMode" config setting.
+        public const string ORDER_STRING_Sync = "Sync_InProcess";
+        public const string ORDER_STRING_ASyncHttp = "ASync_Http";
+        public const string ORDER_STRING_ASyncHttpMSec = "ASync_Http_MSecurity";
+        public const string ORDER_STRING_WSO2_HTTP_MSEC = "ASync_WSO2_Java_Http_MSecurity";
+
+    -->
+    <add key="BSL_VALID_USERID" value="bsloperationuser"/>
+    <add key="BSL__VALID_PASSWORD" value="yyy"/>
+    <add key="DBServer" value="localhost"/>
+    <add key="Database" value="StockTraderDB"/>
+    <add key="UserID" value="trade"/>
+    <add key="Password" value="yyy"/>
+    <add key="MinDBConnections" value="20"/>
+    <add key="MaxDBConnections" value="20"/>
+    <add key="DAL" value="Trade.DALSQLServer"/>
+    <add key="ENABLE_GLOBAL_SYSTEM_DOT_TRANSACTIONS_CONFIGSTRING" value="true"/>
+    <add key="SYSTEMDOTTRANSACTION_TIMEOUT" value="0"/>
+    <add key="MAX_QUERY_ORDERS" value="10"/>
+    <add key="MAX_QUERY_TOP_ORDERS" value="10"/>
+    <add key="DISPLAY_WEBSERVICE_LOGINS" value="true"/>
+    <add key="LOGIN_ITERATIONSTO_DISPLAY" value="5"/>
+    <!--Can't be ZERO-->
+    <add key="DISPLAYNUMBERORDERITERATIONS" value="3"/>
+    <!--Can't be ZERO-->
+    <add key="OPS_DOTNET_ENDPOINT_CONFIG_HTTP" value="Client_BasicHttpBinding"/>
+    <add key="OPS_DOTNET_ENDPOINT_CONFIG_WSHTTP" value="Client_WsHttpBinding_M_Security_OPS"/>
+    <add key="OPS_WSO2_ENDPOINT_CONFIG_WSHTTP" value="Client_customBinding_M_Security_OPS_WS02"/>
+    
+  </appSettings>
+	<runtime>
+		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+		</assemblyBinding>
+	</runtime>
+	<!-- system.service model: New configuration section added with the release 
+       of .NET 3.0 and Windows Communication Foundation. This section defines the:
+ 
+       a) WCF Web Services, if any, hosted by this application.  
+       b) WCF clients and their endpoints.
+       c) The bindings used by the services and clients: bindings are transports and
+          encoding standards, such as HTTP/Text-XML; TCP/Binary; MSMQ, etc.
+   -->
+	<system.serviceModel>
+		<!--This enables the WCF ServiceModel performance counters for this application.-->
+		<diagnostics performanceCounters="All"></diagnostics>
+		
+		<client>
+      <endpoint address="http://localhost:8000/tradeorderprocessor" binding="basicHttpBinding" bindingConfiguration="Client_BasicHttpBinding" contract="Trade.OrderProcessorContract.IOrderProcessor" name="Client_BasicHttpBinding"/>
+      <endpoint address="http://localhost:8000/tradeorderprocessor/msec" binding="wsHttpBinding" bindingConfiguration="Client_WsHttpBinding_M_Security_OPS" contract="Trade.OrderProcessorContract.IOrderProcessor" behaviorConfiguration="OPS_ClientCertificateBehavior" name="Client_WsHttpBinding_M_Security_OPS">
+        <identity>
+          <certificate encodedValue="AwAAAAEAAAAUAAAA+g9Yu2BfpDNp4nno+QiIcv3gmUMgAAAAAQAAAPQBAAAwggHwMIIBWaADAgECAhDUQtaRqC0hpkD6saVDQMH8MA0GCSqGSIb3DQEBBAUAMBIxEDAOBgNVBAMTB09QUy5Db20wHhcNMDgwNTIxMDQ0NTAxWhcNMzkxMjMxMjM1OTU5WjASMRAwDgYDVQQDEwdPUFMuQ29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHCT2agc1venAAV2iWxWs1ELKlr0wAf005uUYlFbpq/3ewLmi5t+NvN8iBRHJxWA5igj/obcBmKMQ0L/+1HwKI27B9zffyPiAYkJhAwoXzR/S/7Cw4KFtYD+NIyZbRd5naa2fbyRTNnAE35q4r6JS6tiZR9mU0IjMuszj0oqotEwIDAQABo0cwRTBDBgNVHQEEPDA6gBAYaG6w3pziP/tZKe+J5ExsoRQwEjEQMA4GA1UEAxMHT1BTLkNvbYIQ1ELWkagtIaZA+rGlQ0DB/DANBgkqhkiG9w0BAQQFAAOBgQBnzFXGKgK8by3yILHlfLsmBTIZWdODFWE/f64wZJxrS7XCqd+g962FeTKQ+QI/lkRhJLlKgEt0IqGfUeogJ1MGRHabR5ujnQKhdPWUDL7kwQt3OVHxIf0pXqeiTAI8BbdFRGTWG5oOLcU7WgUNWbrXjqsAHJmsb8+MN7fD4xRoeA=="/>
+        </identity>
+      </endpoint>
+      <endpoint address="http://insert_WSO2_address_here" binding="customBinding" bindingConfiguration="Client_customBinding_M_Security_OPS_WS02" contract="Trade.OrderProcessorContract.IOrderProcessor" behaviorConfiguration="OPS_ClientCertificateBehavior" name="Client_customBinding_M_Security_OPS_WS02">
+        <identity>
+          <certificate encodedValue="MIIDCjCCAfKgAwIBAgIQYDju2/6sm77InYfTq65x+DANBgkqhkiG9w0BAQUFADAwMQ4wDAYDVQQKDAVPQVNJUzEeMBwGA1UEAwwVT0FTSVMgSW50ZXJvcCBUZXN0IENBMB4XDTA1MDMxOTAwMDAwMFoXDTE4MDMxOTIzNTk1OVowQDEOMAwGA1UECgwFT0FTSVMxIDAeBgNVBAsMF09BU0lTIEludGVyb3AgVGVzdCBDZXJ0MQwwCgYDVQQDDANCb2IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMCquMva4lFDrv3fXQnKK8CkSU7HvVZ0USyJtlL/yhmHH/FQXHyYY+fTcSyWYItWJYiTZ99PAbD+6EKBGbdfuJNUJCGaTWc5ZDUISqM/SGtacYe/PD/4+g3swNPzTUQAIBLRY1pkr2cm3s5Ch/f+mYVNBR41HnBeIxybw25kkoM7AgMBAAGjgZMwgZAwCQYDVR0TBAIwADAzBgNVHR8ELDAqMCiiJoYkaHR0cDovL2ludGVyb3AuYmJ0ZXN0Lm5ldC9jcmwvY2EuY3JsMA4GA1UdDwEB/wQEAwIEsDAdBgNVHQ4EFgQUXeg55vRyK3ZhAEhEf+YT0z986L0wHwYDVR0jBBgwFoAUwJ0o/MHrNaEd1qqqoBwaTcJJDw8wDQYJKoZIhvcNAQEFBQADggEBAIiVGv2lGLhRvmMAHSlY7rKLVkv+zEUtSyg08FBT8z/RepUbtUQShcIqwWsemDU8JVtsucQLc+g6GCQXgkCkMiC8qhcLAt3BXzFmLxuCEAQeeFe8IATr4wACmEQE37TEqAuWEIanPYIplbxYgwP0OBWBSjcRpKRAxjEzuwObYjbll6vKdFHYIweWhhWPrefquFp7TefTkF4D3rcctTfWJ76I5NrEVld+7PBnnJNpdDEuGsoaiJrwTW3Ixm40
 RXvG3fYS4hIAPeTCUk3RkYfUkqlaaLQnUrF2hZSgiBNLPe8gGkYORccRIlZCGQDEpcWl1Uf9OHw6fC+3hkqolFd5CVI=" />
+        </identity>
+      </endpoint>
+      <endpoint address="http://localhost:9000/tradebusinessservice" binding="basicHttpBinding" bindingConfiguration="Client_BasicHttpBinding" contract="Trade.BusinessServiceContract.ITradeServices" name="Client_BasicHttpBinding_BSL"/>
+      <endpoint address="http://localhost:9000/tradebusinessservice/msec" binding="wsHttpBinding" bindingConfiguration="Client_WsHttpBinding_M_Security_TradeBSL" contract="Trade.BusinessServiceContract.ITradeServices" name="Client_WsHttpBinding_M_Security_TradeBSL" behaviorConfiguration="BSL_ClientCertificateBehavior">
+        <identity>
+          <dns value="trade.com"/>
+        </identity>
+      </endpoint>
+      <endpoint address="http://insert_WSO2_address_here" binding="wsHttpBinding" bindingConfiguration="Client_WsHttpBinding_M_Security_TradeBSL" contract="Trade.BusinessServiceContract.ITradeServices" name="Client_WsHttpBinding_M_Security_TradeBSL_WSO2" behaviorConfiguration="BSL_ClientCertificateBehavior">
+        <identity>
+          <dns value="trade.com"/>
+        </identity>
+      </endpoint>
+    </client>
+		<!--********************************************************BEGIN CONFIG SERVICE TEMPLATE BINDINGS*****************************************************-->
+		<bindings>
+			<!--BEGIN basicHttpBindings-->
+			<basicHttpBinding>
+				<!--THESE ARE TEMPLATE PRIMARY SERVICE CLIENT BINDINGS.  TO AUGMENT, ADD WITH PREFIX 'Client_'-->
+				<binding name="Client_BasicHttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:30:00" sendTimeout="00:1:00" allowCookies="true" bypassProxyOnLocal="true" hostNameComparisonMode="StrongWildcard" maxBufferSize="524288" maxBufferPoolSize="524288" maxReceivedMessageSize="524288" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
+					<readerQuotas maxDepth="512" maxStringContentLength="262144" maxArrayLength="262144" maxBytesPerRead="65536" maxNameTableCharCount="262144"/>
+					<security mode="None">
+						<transport clientCredentialType="None" proxyCredentialType="None" realm=""/>
+						<message clientCredentialType="Certificate" algorithmSuite="Default"/>
+					</security>
+				</binding>
+    	</basicHttpBinding>
+
+      
+      <!--BEGIN wsHttpBindings-->
+      <wsHttpBinding>
+    		<binding name="Client_WsHttpBinding_M_Security_OPS" closeTimeout="00:01:00"
+                            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
+                            bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
+                            maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
+                            messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
+                            allowCookies="false">
+          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
+          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
+          <security mode="Message">
+            <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
+            <message clientCredentialType="Certificate" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true" />
+          </security>
+        </binding>
+        <binding name="Client_WsHttpBinding_M_Security_TradeBSL" closeTimeout="00:01:00"
+                                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
+                                    bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
+                                    maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
+                                    messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
+                                    allowCookies="false">
+          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
+          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
+          <security mode="Message">
+            <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
+            <message clientCredentialType="UserName" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true" />
+          </security>
+        </binding>
+        
+      </wsHttpBinding>
+      <customBinding>
+        <binding name="Client_customBinding_M_Security_OPS_WS02">
+          <security defaultAlgorithmSuite="Basic256" authenticationMode="AnonymousForCertificate" requireDerivedKeys="false" securityHeaderLayout="Lax" includeTimestamp="true" keyEntropyMode="CombinedEntropy" messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="Default" requireSignatureConfirmation="true">
+            <localClientSettings cacheCookies="true" detectReplays="true" replayCacheSize="900000" maxClockSkew="00:05:00" maxCookieCachingTime="Infinite" replayWindow="00:05:00" sessionKeyRenewalInterval="10:00:00" sessionKeyRolloverInterval="00:05:00" reconnectTransportOnFailure="true" timestampValidityDuration="00:05:00" cookieRenewalThresholdPercentage="60"/>
+            <localServiceSettings detectReplays="true" issuedCookieLifetime="10:00:00" maxStatefulNegotiations="128" replayCacheSize="900000" maxClockSkew="00:05:00" negotiationTimeout="00:01:00" replayWindow="00:05:00" inactivityTimeout="00:02:00" sessionKeyRenewalInterval="15:00:00" sessionKeyRolloverInterval="00:05:00" reconnectTransportOnFailure="true" maxPendingSessions="128" maxCachedCookies="1000" timestampValidityDuration="00:05:00"/>
+            <secureConversationBootstrap/>
+          </security>
+          <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8">
+            <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
+          </textMessageEncoding>
+          <httpTransport/>
+        </binding>
+      </customBinding>
+       
+		
+		</bindings>
+		<!--Service Behaviors are applied (at the service level) to services that specify them, hence apply to ALL ENDPOINTS FOR A SERVICE HOST/VHOST -->
+		<behaviors>
+			<!--Endpint Behaviors are applied at the individual endpoint level.-->
+			<endpointBehaviors>
+				<behavior name="ClientCertificateBehavior">
+					<clientCredentials>
+						<serviceCertificate>
+							<authentication certificateValidationMode="PeerOrChainTrust"/>
+						</serviceCertificate>
+					</clientCredentials>
+				</behavior>
+				<behavior name="BSL_ClientCertificateBehavior">
+					<clientCredentials>
+						<serviceCertificate>
+							<authentication certificateValidationMode="PeerOrChainTrust"/>
+						</serviceCertificate>
+					</clientCredentials>
+				</behavior>
+				<behavior name="OPS_ClientCertificateBehavior">
+					<clientCredentials>
+						<clientCertificate findValue="BSL.Com" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="TrustedPeople">
+            </clientCertificate>
+					</clientCredentials>
+				</behavior>
+			</endpointBehaviors>
+		</behaviors>
+		<!--END CONFIG SERVICE TEMPLATE BEHAVIORS-->
+	</system.serviceModel>
+	<!-- Set identity impersonate to false to make sure ASP.NET runs as its 
+       preferred ASP.NET Machine Account. Note this is also required for the 
+       application by default to run in a Windows Vista/ASP.NET worker process 
+      using the new "integrated pipeline" mode introduced with IIS 7.0, 
+      which is the web server within Vista (and upcoming Windows "Longhorn" Server
+      release.-->
+	<system.web>
+		<identity impersonate="false"/>
+		<trace enabled="false" pageOutput="false"/>
+		<!--A setting for ASMX Web Service Only-->
+		<webServices>
+			<protocols>
+				<add name="AnyHttpSoap"/>
+			</protocols>
+		</webServices>
+		<!-- 
+            Set compilation debug="true" to insert debugging 
+            symbols into the compiled page. Because this 
+            affects performance, set this value to true only 
+            during development.
+        -->
+		<customErrors mode="Off"></customErrors>
+		<pages buffer="true" enableSessionState="false" enableViewState="false" enableViewStateMac="false" smartNavigation="false"/>
+		<compilation defaultLanguage="c#" debug="true">
+			<assemblies>
+				<add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="Microsoft.Transactions.Bridge, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="SMDiagnostics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.IdentityModel.Selectors, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<!--<add assembly="Oracle.DataAccess, Version=2.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>-->
+				<add assembly="Microsoft.Build.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Workflow.ComponentModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+				<add assembly="System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+				<add assembly="Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
+				<add assembly="System.Workflow.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+				<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+				<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Data.Services.Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Data.Services.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+				<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
+		</compilation>
+		<authentication mode="Forms">
+			<forms name="signinform" loginUrl="login.aspx" protection="None" timeout="15"/>
+		</authentication>
+		<!--
+            The <customErrors> section enables configuration 
+            of what to do if/when an unhandled error occurs 
+            during the execution of a request. Specifically, 
+            it enables developers to configure html error pages 
+            to be displayed in place of a error stack trace.
+
+        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
+            <error statusCode="403" redirect="NoAccess.htm"/>
+            <error statusCode="404" redirect="FileNotFound.htm"/>
+        </customErrors>
+        -->
+		<sessionState mode="Off" cookieless="false" stateConnectionString="" timeout="15"/>
+	</system.web>
+	<!--These are the restricted pages based on ASP.NET authentication; and require
+      user login before access is granted-->
+	<location path="Account.aspx">
+		<system.web>
+			<authorization>
+				<deny users="?"/>
+			</authorization>
+		</system.web>
+	</location>
+	<location path="TradeHome.aspx">
+		<system.web>
+			<authorization>
+				<deny users="?"/>
+			</authorization>
+		</system.web>
+	</location>
+	<location path="Portfolio.aspx">
+		<system.web>
+			<authorization>
+				<deny users="?"/>
+			</authorization>
+		</system.web>
+	</location>
+	<location path="Order.aspx">
+		<system.web>
+			<authorization>
+				<deny users="?"/>
+			</authorization>
+		</system.web>
+	</location>
+	<location path="Quotes.aspx">
+		<system.web>
+			<authorization>
+				<deny users="?"/>
+			</authorization>
+		</system.web>
+	</location>
+	<location path="StockTrade.aspx">
+		<system.web>
+			<authorization>
+				<deny users="?"/>
+			</authorization>
+		</system.web>
+	</location>
+	<location path="logout.aspx">
+		<system.web>
+			<authorization>
+				<deny users="?"/>
+			</authorization>
+		</system.web>
+	</location>
+	<!--  Note:  Uncomment this section to move .ascx output caching of MarketSummaryto kernel mode
+    <system.webServer>
+        <caching>
+            <profiles>
+                <add extension=".ascx" policy="DontCache" kernelCachePolicy="CacheForTimePeriod" duration="00:01:00" />
+            </profiles>
+        </caching>
+    </system.webServer>
+    -->
+</configuration>



Mime
View raw message