Click here to Skip to main content
15,881,812 members
Articles / Web Development / ASP.NET

Understanding MVP (WCSF) Over ASP.NET Web Forms

Rate me:
Please Sign up or sign in to vote.
4.71/5 (4 votes)
13 Nov 2012CPOL8 min read 35.1K   471   25  
The usage of Web Client Software Factory (WCSF) in developing enterprise web applicaitons.
  • StockControl.zip
    • StockControl
      • Library
        • Microsoft.Practices.CompositeWeb.dll
        • Microsoft.Practices.CompositeWeb.EnterpriseLibrary.dll
        • Microsoft.Practices.EnterpriseLibrary.Common.dll
        • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll
        • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll
        • Microsoft.Practices.EnterpriseLibrary.Logging.dll
        • Microsoft.Practices.EnterpriseLibrary.Security.dll
        • Microsoft.Practices.ObjectBuilder.dll
        • Microsoft.Practices.ServiceLocation.dll
        • Microsoft.Practices.Unity.dll
        • Microsoft.Practices.Unity.Interception.dll
      • Module1
      • Modules
        • Shell
          • bin
            • Debug
              • Microsoft.Practices.CompositeWeb.dll
              • Microsoft.Practices.CompositeWeb.EnterpriseLibrary.dll
              • Microsoft.Practices.EnterpriseLibrary.Common.dll
              • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll
              • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll
              • Microsoft.Practices.EnterpriseLibrary.Logging.dll
              • Microsoft.Practices.EnterpriseLibrary.Security.dll
              • Microsoft.Practices.ObjectBuilder.dll
              • Microsoft.Practices.ServiceLocation.dll
              • Microsoft.Practices.Unity.dll
              • Microsoft.Practices.Unity.Interception.dll
              • Shell.dll
              • Shell.pdb
            • Release
          • MasterPages
          • obj
          • Properties
          • Shell.csproj
          • Shell.csproj.user
          • ShellModuleInitializer.cs
          • Views
      • Products.Interface
      • Products
      • StockControl.gpState
      • StockControl.sln
      • StockControl.suo
      • WebSites
        • StockControl
          • App_Code
          • App_Themes
          • Bin
            • Microsoft.Practices.CompositeWeb.dll
            • Microsoft.Practices.CompositeWeb.dll.refresh
            • Microsoft.Practices.CompositeWeb.EnterpriseLibrary.dll
            • Microsoft.Practices.CompositeWeb.EnterpriseLibrary.dll.refresh
            • Microsoft.Practices.EnterpriseLibrary.Common.dll
            • Microsoft.Practices.EnterpriseLibrary.Common.dll.refresh
            • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll
            • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll.refresh
            • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll
            • Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll.refresh
            • Microsoft.Practices.EnterpriseLibrary.Logging.dll
            • Microsoft.Practices.EnterpriseLibrary.Logging.dll.refresh
            • Microsoft.Practices.EnterpriseLibrary.Security.dll
            • Microsoft.Practices.EnterpriseLibrary.Security.dll.refresh
            • Microsoft.Practices.ObjectBuilder.dll
            • Microsoft.Practices.ObjectBuilder.dll.refresh
            • Microsoft.Practices.ServiceLocation.dll
            • Microsoft.Practices.ServiceLocation.dll.refresh
            • Microsoft.Practices.Unity.dll
            • Microsoft.Practices.Unity.dll.refresh
            • Microsoft.Practices.Unity.Interception.dll
            • Microsoft.Practices.Unity.Interception.dll.refresh
            • Products.dll
            • Products.Interface.dll
            • Products.Interface.pdb
            • Products.pdb
            • Shell.dll
            • Shell.pdb
          • Default.aspx
          • Default.aspx.cs
          • Errors
          • Global.asax
          • Products
          • Shared
          • vwd.webinfo
          • Web.config
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductView.aspx.cs" Inherits="StockControl.Products.Views.ProductView"
    Title="ProductView" MasterPageFile="~/Shared/DefaultMaster.master" %>

<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" runat="Server">
    <h1>
        <asp:Label ID="lblTitle" runat="server"></asp:Label>
    </h1>
    <table>
        <tr>
            <td>
              Prodcut Name
            </td>
            <td>
             <asp:Label ID="lblProductName" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
            Product cost
            </td>
            <td>
            <asp:Label ID="lblProductCost" runat="server"></asp:Label>
            </td>
        </tr>
    </table>

</asp:Content>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Sri Lanka Sri Lanka
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions