You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2005/06/19 16:45:25 UTC

svn commit: r191346 [16/16] - in /ibatis/trunk/cs/npetshop2: ./ External-bin/ NPetshop.Domain/ NPetshop.Domain/Accounts/ NPetshop.Domain/Billing/ NPetshop.Domain/Catalog/ NPetshop.Domain/Shopping/ NPetshop.Persistence/ NPetshop.Persistence/Ddl/ NPetsho...

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/NPetshopView.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/NPetshopView.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/NPetshopView.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/NPetshopView.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,34 @@
+using System;
+
+using Castle.MVC.Views;
+using NPetshop.Presentation;
+
+namespace NPetshop.Web.Views
+{
+	/// <summary>
+	/// An NPetshop view.
+	/// </summary>
+	public class NPetshopView : WebFormView
+	{
+		public NPetshopView()
+		{
+			this.Load+=new EventHandler(this.NPetshopView_Load);
+		}
+
+		private void NPetshopView_Load(object sender, EventArgs e)
+		{
+			this.RegisterClientScriptBlock("basefix", "<script language=\"javascript\">document.forms[0].action = '" + Request["Url"] + "?"+ Request["Query_String"] + "'</script>"); 
+		}
+
+		/// <summary>
+		/// Get user context.
+		/// </summary>
+		public NPetshopState NPetshopState
+		{
+			get
+			{
+				return this.State as NPetshopState;
+			}
+		}
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,25 @@
+<%@ Register TagPrefix="uc1" TagName="Cart" Src="../../UserControls/Shopping/Cart.ascx" %>
+<%@ Page language="c#" Codebehind="Cart.aspx.cs" AutoEventWireup="false" Inherits="NPetshop.Web.Views.Shopping.Cart" %>
+<%@ Register TagPrefix="uc1" TagName="Header" Src="../../UserControls/Header.ascx" %>
+<%@ Register TagPrefix="uc1" TagName="Footer" Src="../../UserControls/Footer.ascx" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+	<HEAD>
+		<title>Cart</title>
+		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
+		<meta name="CODE_LANGUAGE" Content="C#">
+		<meta name="vs_defaultClientScript" content="JavaScript">
+		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
+		<base href="http://localhost/Npetshop.Web/">
+		<LINK href="@css/Styles.css" type="text/css" rel="stylesheet">	
+	</HEAD>
+	<body MS_POSITIONING="FlowLayout">
+		<form id="Form1" method="post" runat="server">
+			<uc1:Header id="Header" runat="server"></uc1:Header>
+			<div style="HEIGHT:500px">
+				<uc1:Cart id="Cart" runat="server"></uc1:Cart>
+			</div>
+			<uc1:Footer id="Footer" runat="server"></uc1:Footer>
+		</form>
+	</body>
+</HTML>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,36 @@
+using System;
+
+namespace NPetshop.Web.Views.Shopping
+{
+	/// <summary>
+	/// Summary description for Cart.
+	/// </summary>
+	public class Cart : NPetshopView
+	{
+		private void Page_Load(object sender, EventArgs e)
+		{
+			// Put user code to initialize the page here
+		}
+
+		#region Web Form Designer generated code
+		override protected void OnInit(EventArgs e)
+		{
+			//
+			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
+			//
+			InitializeComponent();
+			base.OnInit(e);
+		}
+		
+		/// <summary>
+		/// Required method for Designer support - do not modify
+		/// the contents of this method with the code editor.
+		/// </summary>
+		private void InitializeComponent()
+		{    
+			this.Load += new EventHandler(this.Page_Load);
+
+		}
+		#endregion
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.resx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.resx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.resx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Cart.aspx.resx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+</root>
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,25 @@
+<%@ Register TagPrefix="uc1" TagName="Header" Src="../../UserControls/Header.ascx" %>
+<%@ Register TagPrefix="uc1" TagName="Footer" Src="../../UserControls/Footer.ascx" %>
+<%@ Page language="c#" Codebehind="Checkout.aspx.cs" AutoEventWireup="false" Inherits="NPetshop.Web.Views.Shopping.Checkout" %>
+<%@ Register TagPrefix="uc1" TagName="Checkout" Src="../../UserControls/Shopping/Checkout.ascx" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+	<HEAD>
+		<title>Checkout</title>
+		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
+		<meta name="CODE_LANGUAGE" Content="C#">
+		<meta name="vs_defaultClientScript" content="JavaScript">
+		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
+		<base href="http://localhost/Npetshop.Web/">
+		<LINK href="@css/Styles.css" type="text/css" rel="stylesheet">					
+	</HEAD>
+	<body MS_POSITIONING="FlowLayout">
+		<form id="Form1" method="post" runat="server">
+			<uc1:Header id="Header" runat="server"></uc1:Header>
+			<div style="HEIGHT:500px">
+				<uc1:Checkout id="Checkout" runat="server"></uc1:Checkout>
+			</div>
+			<uc1:Footer id="Footer" runat="server"></uc1:Footer>
+		</form>
+	</body>
+</HTML>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,36 @@
+using System;
+
+namespace NPetshop.Web.Views.Shopping
+{
+	/// <summary>
+	/// Summary description for Checkout.
+	/// </summary>
+	public class Checkout : NPetshopView
+	{
+		private void Page_Load(object sender, EventArgs e)
+		{
+			// Put user code to initialize the page here
+		}
+
+		#region Web Form Designer generated code
+		override protected void OnInit(EventArgs e)
+		{
+			//
+			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
+			//
+			InitializeComponent();
+			base.OnInit(e);
+		}
+		
+		/// <summary>
+		/// Required method for Designer support - do not modify
+		/// the contents of this method with the code editor.
+		/// </summary>
+		private void InitializeComponent()
+		{    
+			this.Load += new EventHandler(this.Page_Load);
+
+		}
+		#endregion
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.resx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.resx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.resx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/Shopping/Checkout.aspx.resx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+</root>
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,25 @@
+<%@ Register TagPrefix="uc1" TagName="StartUp" Src="../UserControls/StartUp.ascx" %>
+<%@ Register TagPrefix="uc1" TagName="Footer" Src="../UserControls/Footer.ascx" %>
+<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false" Inherits="NPetshop.Web.Views._default" %>
+<%@ Register TagPrefix="uc1" TagName="Header" Src="../UserControls/Header.ascx" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+	<HEAD>
+		<title>default</title>
+		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
+		<meta name="CODE_LANGUAGE" Content="C#">
+		<meta name="vs_defaultClientScript" content="JavaScript">
+		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
+		<base href="http://localhost/Npetshop.Web/">
+		<LINK href="@css/Styles.css" type="text/css" rel="stylesheet">
+	</HEAD>
+	<body MS_POSITIONING="FlowLayout">
+		<form id="Form1" method="post" runat="server">
+			<uc1:Header id="Header" runat="server"></uc1:Header>
+			<div style="HEIGHT:500px">
+				<uc1:StartUp id="StartUp" runat="server"></uc1:StartUp>
+			</div>
+			<uc1:Footer id="Footer" runat="server"></uc1:Footer>
+		</form>
+	</body>
+</HTML>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,36 @@
+using System;
+
+namespace NPetshop.Web.Views
+{
+	/// <summary>
+	/// Summary description for _default.
+	/// </summary>
+	public class _default : NPetshopView
+	{
+		private void Page_Load(object sender, EventArgs e)
+		{
+			// Put user code to initialize the page here
+		}
+
+		#region Web Form Designer generated code
+		override protected void OnInit(EventArgs e)
+		{
+			//
+			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
+			//
+			InitializeComponent();
+			base.OnInit(e);
+		}
+		
+		/// <summary>
+		/// Required method for Designer support - do not modify
+		/// the contents of this method with the code editor.
+		/// </summary>
+		private void InitializeComponent()
+		{    
+			this.Load += new EventHandler(this.Page_Load);
+
+		}
+		#endregion
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.resx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.resx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.resx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Views/default.aspx.resx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+</root>
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/Web.config
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/Web.config?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/Web.config (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/Web.config Sun Jun 19 07:45:17 2005
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+  <configSections>
+  	<sectionGroup name="castle">
+		<section name="mvc" type="Castle.MVC.Configuration.ConfigurationSectionHandler, castle.mvc"/>
+	</sectionGroup>
+  </configSections>   
+
+	<castle> 
+		<mvc>
+			<webViews>
+				<view id="Default" path="/NPetshop.Web/Views/default.aspx"  />
+				
+				<view id="Category"        path="/NPetshop.Web/Views/Catalog/Category.aspx"  />
+				<view id="Product"         path="/NPetshop.Web/Views/Catalog/Product.aspx"  />
+				<view id="SearchProduct"   path="/NPetshop.Web/Views/Catalog/SearchProduct.aspx"  />
+				<view id="Item"            path="/NPetshop.Web/Views/Catalog/Item.aspx"  />
+				
+				<view id="SignIn"          path="/NPetshop.Web/Views/Account/SignIn.aspx"  />
+				<view id="SignOut"         path="/NPetshop.Web/Views/Account/SignOut.aspx"  />
+				<view id="Register"        path="/NPetshop.Web/Views/Account/Register.aspx"  />
+				<view id="AccountEdition"  path="/NPetshop.Web/Views/Account/AccountEdition.aspx"  />
+				
+				<view id="Cart"       path="/NPetshop.Web/Views/Shopping/Cart.aspx"  />
+				<view id="Checkout"   path="/NPetshop.Web/Views/Shopping/Checkout.aspx"  />
+				
+				<view id="Payment"   path="/NPetshop.Web/Views/Billing/Payment.aspx"  />
+				<view id="Confirmation"   path="/NPetshop.Web/Views/Billing/Confirmation.aspx"  />
+				<view id="Billing"   path="/NPetshop.Web/Views/Billing/Billing.aspx"  />
+				<view id="Shipping"   path="/NPetshop.Web/Views/Billing/Shipping.aspx"  />
+				
+			</webViews>
+			
+			<global-commands>
+				<command id="goHome" view="Default" />
+				<command id="showCategory" view="Category" />
+				<command id="showCart" view="Cart" />
+				<command id="signIn" view="SignIn" />
+				<command id="signOut" view="SignOut" />
+				<command id="editAccount" view="AccountEdition" />
+				<command id="showResult" view="SearchProduct" />
+				<command id="register" view="Register" />
+			</global-commands>
+			
+			<command-mappings>
+				<!-- Catalog Actions -->
+				<commands view="Category">
+					<command id="showProduct" view="Product" />
+				</commands>
+				<commands view="Product">
+					<command id="showItem" view="Item" />
+					<command id="addToCart" view="Cart" />
+				</commands>
+				<commands view="Item">
+					<command id="addToCart" view="Cart" />
+				</commands>
+				
+				<commands view="SignIn">
+				</commands>
+				
+				<!-- Cart Actions -->
+				<commands view="Cart">
+					<command id="showItem" view="Item" />
+					<command id="checkout" view="Checkout" />
+				</commands>
+				
+				<!-- Order Actions -->
+				<commands view="Checkout">
+					<command id="pay" view="Payment" />
+				</commands>
+				<commands view="Payment">
+					<command id="confirm" view="Confirmation" />
+					<command id="ship" view="Shipping" />
+				</commands>
+				<commands view="Shipping">
+					<command id="cancelShippingAddress" view="Payment" />
+					<command id="bill" view="Confirmation" />
+				</commands>
+				<commands view="Confirmation">
+					<command id="bill" view="Billing" />
+				</commands>
+				
+			</command-mappings>
+		</mvc>
+	</castle> 
+	
+  <system.web>
+    <!--  DYNAMIC DEBUG COMPILATION
+          Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
+          false will improve runtime performance of this application. 
+          Set compilation debug="true" to insert debugging symbols (.pdb information)
+          into the compiled page. Because this creates a larger file that executes
+          more slowly, you should set this value to true only when debugging and to
+          false at all other times. For more information, refer to the documentation about
+          debugging ASP.NET files.
+    -->
+    <compilation 
+         defaultLanguage="c#"
+         debug="true"
+    />
+    
+   <!-- <httpModules>
+        <add type="NPetshop.Web.HttpModules.ErrorModule, NPetshop.Web" name="ErrorModule" />
+    </httpModules>-->
+    
+    <!--  CUSTOM ERROR MESSAGES
+          Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 
+          Add <error> tags for each of the errors you want to handle.
+
+          "On" Always display custom (friendly) messages.
+          "Off" Always display detailed ASP.NET error information.
+          "RemoteOnly" Display custom (friendly) messages only to users not running 
+           on the local Web server. This setting is recommended for security purposes, so 
+           that you do not display application detail information to remote clients.
+    -->
+    <customErrors 
+    mode="RemoteOnly" 
+    /> 
+
+    <!--  AUTHENTICATION 
+          This section sets the authentication policies of the application. Possible modes are "Windows", 
+          "Forms", "Passport" and "None"
+
+          "None" No authentication is performed. 
+          "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to 
+           its settings for the application. Anonymous access must be disabled in IIS. 
+          "Forms" You provide a custom form (Web page) for users to enter their credentials, and then 
+           you authenticate them in your application. A user credential token is stored in a cookie.
+          "Passport" Authentication is performed via a centralized authentication service provided
+           by Microsoft that offers a single logon and core profile services for member sites.
+    -->
+    <authentication mode="Windows" /> 
+
+	<!--  AUTHORIZATION 
+          This section sets the authorization policies of the application. You can allow or deny access
+          to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous 
+          (unauthenticated) users.
+    -->
+
+    <authorization>
+        <allow users="*" /> <!-- Allow all users -->
+            <!--  <allow     users="[comma separated list of users]"
+                             roles="[comma separated list of roles]"/>
+                  <deny      users="[comma separated list of users]"
+                             roles="[comma separated list of roles]"/>
+            -->
+    </authorization>
+
+    <!--  APPLICATION-LEVEL TRACE LOGGING
+          Application-level tracing enables trace log output for every page within an application. 
+          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
+          trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
+          application trace log by browsing the "trace.axd" page from your web application
+          root. 
+    -->
+    <trace
+        enabled="false"
+        requestLimit="10"
+        pageOutput="false"
+        traceMode="SortByTime"
+		localOnly="true"
+    />
+
+    <!--  SESSION STATE SETTINGS
+          By default ASP.NET uses cookies to identify which requests belong to a particular session. 
+          If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
+          To disable cookies, set sessionState cookieless="true".
+    -->
+    <sessionState 
+            mode="InProc"
+            stateConnectionString="tcpip=127.0.0.1:42424"
+            sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
+            cookieless="false" 
+            timeout="20" 
+    />
+
+    <!--  GLOBALIZATION
+          This section sets the globalization settings of the application. 
+    -->
+    <globalization 
+            requestEncoding="utf-8" 
+            responseEncoding="utf-8" 
+   />
+ </system.web>
+
+</configuration>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/properties.config Sun Jun 19 07:45:17 2005
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<settings>
+	<!--   User application and configured property settings go here.-->
+	<!--   Example: <add key="settingName" value="settingValue"/> -->
+	<add key="path" value="../NPetshop.Persistence" />
+	<add key="userid" value="NPetshop" />
+	<add key="password" value="ibatisnet" />
+	<add key="database" value="NPetshop" />
+	<add key="datasource" value="(local)\NetSDK" />
+</settings>
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/readme.txt
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/readme.txt?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/readme.txt (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/readme.txt Sun Jun 19 07:45:17 2005
@@ -0,0 +1,3 @@
+
+Home page
+http://localhost/NPetshop.Web/Views/default.aspx
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.sln
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.sln?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.sln (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.sln Sun Jun 19 07:45:17 2005
@@ -0,0 +1,61 @@
+Microsoft Visual Studio Solution File, Format Version 8.00
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NPetshop.Presentation", "NPetshop.Presentation\NPetshop.Presentation.csproj", "{182B5E6F-CAFA-42A6-B0EA-8782F2F3A48A}"
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NPetshop.Service", "NPetshop.Service\NPetshop.Service.csproj", "{AFD8E8A6-C647-4107-B069-DE24C617CFA7}"
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NPetshop.Domain", "NPetshop.Domain\NPetshop.Domain.csproj", "{7D1DA776-6341-43C8-B9C7-8FA344996665}"
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NPetshop.Persistence", "NPetshop.Persistence\NPetshop.Persistence.csproj", "{CD60B882-160E-4BC9-A580-3A8079A60499}"
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NPetshop.Web", "http://localhost/NPetshop.Web/NPetshop.Web.csproj", "{C0EE0335-5733-409B-B4E3-59C3B9799731}"
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NPetshop.Test", "NPetshop.Test\NPetshop.Test.csproj", "{BD25CBA1-38E2-4BD1-A32B-6632B55C938B}"
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
+EndProject
+Global
+	GlobalSection(SolutionConfiguration) = preSolution
+		Debug = Debug
+		Release = Release
+	EndGlobalSection
+	GlobalSection(ProjectConfiguration) = postSolution
+		{182B5E6F-CAFA-42A6-B0EA-8782F2F3A48A}.Debug.ActiveCfg = Debug|.NET
+		{182B5E6F-CAFA-42A6-B0EA-8782F2F3A48A}.Debug.Build.0 = Debug|.NET
+		{182B5E6F-CAFA-42A6-B0EA-8782F2F3A48A}.Release.ActiveCfg = Release|.NET
+		{182B5E6F-CAFA-42A6-B0EA-8782F2F3A48A}.Release.Build.0 = Release|.NET
+		{AFD8E8A6-C647-4107-B069-DE24C617CFA7}.Debug.ActiveCfg = Debug|.NET
+		{AFD8E8A6-C647-4107-B069-DE24C617CFA7}.Debug.Build.0 = Debug|.NET
+		{AFD8E8A6-C647-4107-B069-DE24C617CFA7}.Release.ActiveCfg = Release|.NET
+		{AFD8E8A6-C647-4107-B069-DE24C617CFA7}.Release.Build.0 = Release|.NET
+		{7D1DA776-6341-43C8-B9C7-8FA344996665}.Debug.ActiveCfg = Debug|.NET
+		{7D1DA776-6341-43C8-B9C7-8FA344996665}.Debug.Build.0 = Debug|.NET
+		{7D1DA776-6341-43C8-B9C7-8FA344996665}.Release.ActiveCfg = Release|.NET
+		{7D1DA776-6341-43C8-B9C7-8FA344996665}.Release.Build.0 = Release|.NET
+		{CD60B882-160E-4BC9-A580-3A8079A60499}.Debug.ActiveCfg = Debug|.NET
+		{CD60B882-160E-4BC9-A580-3A8079A60499}.Debug.Build.0 = Debug|.NET
+		{CD60B882-160E-4BC9-A580-3A8079A60499}.Release.ActiveCfg = Release|.NET
+		{CD60B882-160E-4BC9-A580-3A8079A60499}.Release.Build.0 = Release|.NET
+		{C0EE0335-5733-409B-B4E3-59C3B9799731}.Debug.ActiveCfg = Debug|.NET
+		{C0EE0335-5733-409B-B4E3-59C3B9799731}.Debug.Build.0 = Debug|.NET
+		{C0EE0335-5733-409B-B4E3-59C3B9799731}.Release.ActiveCfg = Release|.NET
+		{C0EE0335-5733-409B-B4E3-59C3B9799731}.Release.Build.0 = Release|.NET
+		{BD25CBA1-38E2-4BD1-A32B-6632B55C938B}.Debug.ActiveCfg = Debug|.NET
+		{BD25CBA1-38E2-4BD1-A32B-6632B55C938B}.Debug.Build.0 = Debug|.NET
+		{BD25CBA1-38E2-4BD1-A32B-6632B55C938B}.Release.ActiveCfg = Release|.NET
+		{BD25CBA1-38E2-4BD1-A32B-6632B55C938B}.Release.Build.0 = Release|.NET
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+	EndGlobalSection
+	GlobalSection(ExtensibilityAddIns) = postSolution
+	EndGlobalSection
+EndGlobal