Click here to Skip to main content
15,892,059 members
Articles / Programming Languages / C#

View, View Controller, Model Controller, Model (VVCMCM) Pattern

Rate me:
Please Sign up or sign in to vote.
3.00/5 (1 vote)
18 Mar 2012CPOL11 min read 18.7K   200   16  
The MVC Pattern was first conceptualized assuming all the three actors were present at one place. Since Web Applications have both a client and a server this needs to be applied differently without technology bias.
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{3BDD5EAA-8BB2-47C8-A8BB-2470938ED34A}</ProjectGuid>
    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>VVCMCM</RootNamespace>
    <AssemblyName>VVCMCM</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <SccProjectName>
    </SccProjectName>
    <SccLocalPath>
    </SccLocalPath>
    <SccAuxPath>
    </SccAuxPath>
    <SccProvider>
    </SccProvider>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Web" />
    <Reference Include="System.Configuration" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Views\EntityExplorer.htm" />
    <Content Include="Scripts\Core.js" />
    <Content Include="Scripts\JqGrid\i18n\grid.locale-en.js" />
    <Content Include="Scripts\jquery-1.4.2-vsdoc.js" />
    <Content Include="Scripts\jquery-1.4.2.js" />
    <Content Include="Scripts\JqueryUI\jquery-ui-1.8.1.custom.min.js" />
    <Content Include="Scripts\JqGrid\jquery.jqGrid.min.js" />
    <Content Include="Themes\start\images\ui-bg_flat_55_999999_40x100.png" />
    <Content Include="Themes\start\images\ui-bg_flat_75_aaaaaa_40x100.png" />
    <Content Include="Themes\start\images\ui-bg_glass_45_0078ae_1x400.png" />
    <Content Include="Themes\start\images\ui-bg_glass_55_f8da4e_1x400.png" />
    <Content Include="Themes\start\images\ui-bg_glass_75_79c9ec_1x400.png" />
    <Content Include="Themes\start\images\ui-bg_gloss-wave_45_e14f1c_500x100.png" />
    <Content Include="Themes\start\images\ui-bg_gloss-wave_50_6eac2c_500x100.png" />
    <Content Include="Themes\start\images\ui-bg_gloss-wave_75_2191c0_500x100.png" />
    <Content Include="Themes\start\images\ui-bg_inset-hard_100_fcfdfd_1x100.png" />
    <Content Include="Themes\start\images\ui-icons_0078ae_256x240.png" />
    <Content Include="Themes\start\images\ui-icons_056b93_256x240.png" />
    <Content Include="Themes\start\images\ui-icons_d8e7f3_256x240.png" />
    <Content Include="Themes\start\images\ui-icons_e0fdff_256x240.png" />
    <Content Include="Themes\start\images\ui-icons_f5e175_256x240.png" />
    <Content Include="Themes\start\images\ui-icons_f7a50d_256x240.png" />
    <Content Include="Themes\start\images\ui-icons_fcd113_256x240.png" />
    <Content Include="Themes\start\jquery-ui-1.8.4.custom.css" />
    <Content Include="Themes\jqgrid\ui.jqgrid.css" />
    <Content Include="Themes\ui-lightness\images\ui-bg_diagonals-thick_18_b81900_40x40.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_diagonals-thick_20_666666_40x40.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_flat_10_000000_40x100.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_glass_100_f6f6f6_1x400.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_glass_100_fdf5ce_1x400.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_glass_65_ffffff_1x400.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_gloss-wave_35_f6a828_500x100.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_highlight-soft_100_eeeeee_1x100.png" />
    <Content Include="Themes\ui-lightness\images\ui-bg_highlight-soft_75_ffe45c_1x100.png" />
    <Content Include="Themes\ui-lightness\images\ui-icons_222222_256x240.png" />
    <Content Include="Themes\ui-lightness\images\ui-icons_228ef1_256x240.png" />
    <Content Include="Themes\ui-lightness\images\ui-icons_ef8c08_256x240.png" />
    <Content Include="Themes\ui-lightness\images\ui-icons_ffd27a_256x240.png" />
    <Content Include="Themes\ui-lightness\images\ui-icons_ffffff_256x240.png" />
    <Content Include="Themes\ui-lightness\jquery-ui-1.8.4.custom.css" />
    <Content Include="ViewControllers\Entity.js" />
    <Content Include="ViewEvents\Entity.js" />
    <Content Include="Web.config" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="ModelAsynOperation.cs" />
    <Compile Include="ModelControllerHandler.cs" />
    <Compile Include="ModelControllers\Entity.cs" />
    <Compile Include="Model\EntityDTO.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="App_Data\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>True</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>12688</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>http://localhost/VVCMCMLocal</IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <UseCustomServer>False</UseCustomServer>
          <CustomServerUrl>
          </CustomServerUrl>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>

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
Architect Riversand Technologies Inc
India India
Head of Engineering at Riversand Technologies Inc.

Comments and Discussions