Permalink
Browse files

first load

  • Loading branch information...
0 parents commit 118eb9374e90286640855f2f1e9bdff91bcfad62 @nathanb committed Aug 31, 2010
Showing with 2,487 additions and 0 deletions.
  1. +2 −0 .gitattributes
  2. +117 −0 JsonPDemo/ClientWebsite/ClientWebsite.csproj
  3. +28 −0 JsonPDemo/ClientWebsite/Content/Site.css
  4. +20 −0 JsonPDemo/ClientWebsite/Controllers/HomeController.cs
  5. +1 −0 JsonPDemo/ClientWebsite/Global.asax
  6. +34 −0 JsonPDemo/ClientWebsite/Global.asax.cs
  7. +35 −0 JsonPDemo/ClientWebsite/Properties/AssemblyInfo.cs
  8. +167 −0 JsonPDemo/ClientWebsite/Scripts/jquery-1.4.1.min.js
  9. +47 −0 JsonPDemo/ClientWebsite/Views/Home/Index.aspx
  10. +35 −0 JsonPDemo/ClientWebsite/Views/Web.config
  11. +30 −0 JsonPDemo/ClientWebsite/Web.Debug.config
  12. +31 −0 JsonPDemo/ClientWebsite/Web.Release.config
  13. +204 −0 JsonPDemo/ClientWebsite/Web.config
  14. +28 −0 JsonPDemo/JsonHostWebsite/Content/Site.css
  15. +44 −0 JsonPDemo/JsonHostWebsite/Controllers/ApiController.cs
  16. +1 −0 JsonPDemo/JsonHostWebsite/Global.asax
  17. +34 −0 JsonPDemo/JsonHostWebsite/Global.asax.cs
  18. +117 −0 JsonPDemo/JsonHostWebsite/JsonHostWebsite.csproj
  19. +100 −0 JsonPDemo/JsonHostWebsite/JsonpResult.cs
  20. +14 −0 JsonPDemo/JsonHostWebsite/Models/CustomObject.cs
  21. +35 −0 JsonPDemo/JsonHostWebsite/Properties/AssemblyInfo.cs
  22. +14 −0 JsonPDemo/JsonHostWebsite/Views/Api/Index.aspx
  23. +35 −0 JsonPDemo/JsonHostWebsite/Views/Web.config
  24. +30 −0 JsonPDemo/JsonHostWebsite/Web.Debug.config
  25. +31 −0 JsonPDemo/JsonHostWebsite/Web.Release.config
  26. +204 −0 JsonPDemo/JsonHostWebsite/Web.config
  27. +26 −0 JsonPDemo/JsonPDemo.sln
  28. BIN SubSonicDemo/lib/SubSonic.Core.pdb
  29. +26 −0 SubSonicDemo/src/SubSonicDemo.V9.sln
  30. +26 −0 SubSonicDemo/src/SubSonicDemo.sln
  31. +58 −0 SubSonicDemo/src/SubSonicDemo/App.config
  32. +14 −0 SubSonicDemo/src/SubSonicDemo/Config.cs
  33. +59 −0 SubSonicDemo/src/SubSonicDemo/DemoController.cs
  34. +30 −0 SubSonicDemo/src/SubSonicDemo/Domain/Category.cs
  35. +20 −0 SubSonicDemo/src/SubSonicDemo/Domain/Product.cs
  36. +65 −0 SubSonicDemo/src/SubSonicDemo/Implementation/LinqAppService.cs
  37. +51 −0 SubSonicDemo/src/SubSonicDemo/Implementation/MockAppService.cs
  38. +59 −0 SubSonicDemo/src/SubSonicDemo/Implementation/MockLinqRepository.cs
  39. +66 −0 SubSonicDemo/src/SubSonicDemo/Implementation/SS3Repository.cs
  40. +19 −0 SubSonicDemo/src/SubSonicDemo/Interfaces/AppService.cs
  41. +19 −0 SubSonicDemo/src/SubSonicDemo/Interfaces/LinqRepository.cs
  42. +35 −0 SubSonicDemo/src/SubSonicDemo/Program.cs
  43. +36 −0 SubSonicDemo/src/SubSonicDemo/Properties/AssemblyInfo.cs
  44. +177 −0 SubSonicDemo/src/SubSonicDemo/SubSonicDemo.csproj
  45. +1 −0 mono-install-scripts/fedora/README
  46. +55 −0 mono-install-scripts/fedora/fedora_mono-trunk.sh
  47. +1 −0 mono-install-scripts/suse/README
  48. +92 −0 mono-install-scripts/ubuntu/install_mono-2-6-4.sh
  49. +57 −0 mono-install-scripts/ubuntu/install_mono-trunk.sh
  50. +57 −0 mono-install-scripts/ubuntu/update_mono.sh
@@ -0,0 +1,2 @@
+*.csproj -crlf
+*.sln -crlf
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>
+ </ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{61551DE3-540D-4F77-B621-BBDD91C8CE7B}</ProjectGuid>
+ <ProjectTypeGuids>{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>ClientWebsite</RootNamespace>
+ <AssemblyName>ClientWebsite</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <MvcBuildViews>false</MvcBuildViews>
+ </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.Data" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.ComponentModel.DataAnnotations">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Web" />
+ <Reference Include="System.Web.Extensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Web.Abstractions" />
+ <Reference Include="System.Web.Routing" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Configuration" />
+ <Reference Include="System.Web.Services" />
+ <Reference Include="System.EnterpriseServices" />
+ <Reference Include="System.Web.Mobile" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Controllers\HomeController.cs" />
+ <Compile Include="Global.asax.cs">
+ <DependentUpon>Global.asax</DependentUpon>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Global.asax" />
+ <Content Include="Content\Site.css" />
+ <Content Include="Views\Home\Index.aspx" />
+ <Content Include="Web.config" />
+ <Content Include="Web.Debug.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </Content>
+ <Content Include="Web.Release.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </Content>
+ <Content Include="Scripts\jquery-1.4.1.min.js" />
+ <Content Include="Views\Web.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Models\" />
+ <Folder Include="Views\Shared\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.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" Condition="'$(MvcBuildViews)'=='true'">
+ <AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)" />
+ </Target>
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <UseIIS>False</UseIIS>
+ <AutoAssignPort>True</AutoAssignPort>
+ <DevelopmentServerPort>50224</DevelopmentServerPort>
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
+ <IISUrl>
+ </IISUrl>
+ <NTLMAuthentication>False</NTLMAuthentication>
+ <UseCustomServer>False</UseCustomServer>
+ <CustomServerUrl>
+ </CustomServerUrl>
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+</Project>
@@ -0,0 +1,28 @@
+/* Styles for validation helpers
+-----------------------------------------------------------*/
+.field-validation-error
+{
+ color: #ff0000;
+}
+
+.field-validation-valid
+{
+ display: none;
+}
+
+.input-validation-error
+{
+ border: 1px solid #ff0000;
+ background-color: #ffeeee;
+}
+
+.validation-summary-errors
+{
+ font-weight: bold;
+ color: #ff0000;
+}
+
+.validation-summary-valid
+{
+ display: none;
+}
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+
+namespace ClientWebsite.Controllers
+{
+ public class HomeController : Controller
+ {
+ //
+ // GET: /Home/
+
+ public ActionResult Index()
+ {
+ return View();
+ }
+
+ }
+}
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="ClientWebsite.MvcApplication" Language="C#" %>
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using System.Web.Routing;
+
+namespace ClientWebsite
+{
+ // Note: For instructions on enabling IIS6 or IIS7 classic mode,
+ // visit http://go.microsoft.com/?LinkId=9394801
+
+ public class MvcApplication : System.Web.HttpApplication
+ {
+ public static void RegisterRoutes(RouteCollection routes)
+ {
+ routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
+
+ routes.MapRoute(
+ "Default", // Route name
+ "{controller}/{action}/{id}", // URL with parameters
+ new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
+ );
+
+ }
+
+ protected void Application_Start()
+ {
+ AreaRegistration.RegisterAllAreas();
+
+ RegisterRoutes(RouteTable.Routes);
+ }
+ }
+}
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("ClientWebsite")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("ClientWebsite")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("0d90b3db-aef5-4040-88b6-78bae8e52dca")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Oops, something went wrong.

0 comments on commit 118eb93

Please sign in to comment.