Skip to content

Commit

Permalink
first code push
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallioch committed Jan 21, 2011
1 parent e762686 commit a205e3c
Show file tree
Hide file tree
Showing 35 changed files with 14,667 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
*bin/
*obj/
*.suo
*.user
26 changes: 26 additions & 0 deletions Mvc3StructureMapIoc.sln
@@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mvc3StructureMapIoc", "Mvc3StructureMapIoc\Mvc3StructureMapIoc.csproj", "{9F779913-FAAA-444F-8038-A847F01FF4F0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleWebsite", "SampleWebsite\SampleWebsite.csproj", "{F08EA4F9-B913-437B-BC4A-2438FA2FCF12}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9F779913-FAAA-444F-8038-A847F01FF4F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9F779913-FAAA-444F-8038-A847F01FF4F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9F779913-FAAA-444F-8038-A847F01FF4F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9F779913-FAAA-444F-8038-A847F01FF4F0}.Release|Any CPU.Build.0 = Release|Any CPU
{F08EA4F9-B913-437B-BC4A-2438FA2FCF12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F08EA4F9-B913-437B-BC4A-2438FA2FCF12}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F08EA4F9-B913-437B-BC4A-2438FA2FCF12}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F08EA4F9-B913-437B-BC4A-2438FA2FCF12}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
63 changes: 63 additions & 0 deletions Mvc3StructureMapIoc/Mvc3StructureMapIoc.csproj
@@ -0,0 +1,63 @@
<?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>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9F779913-FAAA-444F-8038-A847F01FF4F0}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Mvc3StructureMapIoc</RootNamespace>
<AssemblyName>Mvc3StructureMapIoc</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</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\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="StructureMap">
<HintPath>..\packages\structuremap.2.6.1.0\lib\StructureMap.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\mvc3\System.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="StructureMapDependencyResolver.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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>
-->
</Project>
36 changes: 36 additions & 0 deletions Mvc3StructureMapIoc/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
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("Mvc3StructureMapIoc")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Mvc3StructureMapIoc")]
[assembly: AssemblyCopyright("Copyright © 2011")]
[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("f2654283-c41a-495b-aea0-0fe5ff427dbe")]

// 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 Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
27 changes: 27 additions & 0 deletions Mvc3StructureMapIoc/StructureMapDependencyResolver.cs
@@ -0,0 +1,27 @@
using System;
using System.Web.Mvc;
using System.Collections.Generic;
using StructureMap;

namespace Mvc3StructureMapIoc
{
public class StructureMapDependencyResolver : IDependencyResolver
{
public StructureMapDependencyResolver(IContainer container)
{
_container = container;
}

private IContainer _container;

public object GetService(Type serviceType)
{
throw new NotImplementedException();
}

public IEnumerable<object> GetServices(Type serviceType)
{
throw new NotImplementedException();
}
}
}
4 changes: 4 additions & 0 deletions Mvc3StructureMapIoc/packages.config
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="structuremap" version="2.6.1.0" />
</packages>

0 comments on commit a205e3c

Please sign in to comment.