Permalink
Browse files

profiles module added

  • Loading branch information...
1 parent 62cfd39 commit f3d4e8597929099c06d6c180c5a8adecb2aa41dc unknown committed Nov 30, 2011
Showing with 69,877 additions and 0 deletions.
  1. +1 −0 Source/Core.Forms/Core.Forms.csproj
  2. +72 −0 Source/Core.Profiles.Migrations/Core.Profiles.Migrations.csproj
  3. +36 −0 Source/Core.Profiles.Migrations/Properties/AssemblyInfo.cs
  4. BIN Source/Core.Profiles.Migrations/bin/Debug/Core.Profiles.Migrations.dll
  5. BIN Source/Core.Profiles.Migrations/bin/Debug/Core.Profiles.Migrations.pdb
  6. +5 −0 Source/Core.Profiles.Migrations/obj/Debug/Core.Profiles.Migrations.csproj.FileListAbsolute.txt
  7. BIN Source/Core.Profiles.Migrations/obj/Debug/Core.Profiles.Migrations.dll
  8. BIN Source/Core.Profiles.Migrations/obj/Debug/Core.Profiles.Migrations.pdb
  9. BIN Source/Core.Profiles.Migrations/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  10. BIN Source/Core.Profiles.Migrations/obj/Debug/ResolveAssemblyReference.cache
  11. +100 −0 Source/Core.Profiles.NHibernate/Core.Profiles.NHibernate.csproj
  12. +16 −0 Source/Core.Profiles.NHibernate/CoreProfilesNHibernateModule.cs
  13. +36 −0 Source/Core.Profiles.NHibernate/Properties/AssemblyInfo.cs
  14. BIN Source/Core.Profiles.NHibernate/bin/Debug/Core.Profiles.NHibernate.dll
  15. BIN Source/Core.Profiles.NHibernate/bin/Debug/Core.Profiles.NHibernate.pdb
  16. +5 −0 Source/Core.Profiles.NHibernate/obj/Debug/Core.Profiles.NHibernate.csproj.FileListAbsolute.txt
  17. BIN Source/Core.Profiles.NHibernate/obj/Debug/Core.Profiles.NHibernate.dll
  18. BIN Source/Core.Profiles.NHibernate/obj/Debug/Core.Profiles.NHibernate.pdb
  19. BIN Source/Core.Profiles.NHibernate/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  20. +25 −0 Source/Core.Profiles/Config/PluginConfig.xml
  21. +3 −0 Source/Core.Profiles/Config/asset_packages.yml
  22. +1 −0 Source/Core.Profiles/Content/Css/profiles.css
  23. +36 −0 Source/Core.Profiles/Controllers/LoginWidgetController.cs
  24. +257 −0 Source/Core.Profiles/Core.Profiles.csproj
  25. +28 −0 Source/Core.Profiles/Core.Profiles.csproj.user
  26. +82 −0 Source/Core.Profiles/LoginWidgetController.generated.cs
  27. +11 −0 Source/Core.Profiles/Models/LoginWidgetViewModel.cs
  28. +22 −0 Source/Core.Profiles/ModuleAreaRegistration.cs
  29. +12 −0 Source/Core.Profiles/Permissions/Operations/ProfilesPluginOperations.cs
  30. +91 −0 Source/Core.Profiles/ProfilesPlugin.cs
  31. +35 −0 Source/Core.Profiles/Properties/AssemblyInfo.cs
  32. 0 Source/Core.Profiles/Resources/Admin/common.yml
  33. +1 −0 Source/Core.Profiles/Resources/Admin/controllers.ru.yml
  34. 0 Source/Core.Profiles/Resources/Admin/controllers.yml
  35. +1 −0 Source/Core.Profiles/Resources/Admin/views.ru.yml
  36. 0 Source/Core.Profiles/Resources/Admin/views.yml
  37. 0 Source/Core.Profiles/Resources/Models/models.yml
  38. +1 −0 Source/Core.Profiles/Resources/verbs.ru.yml
  39. 0 Source/Core.Profiles/Resources/verbs.yml
  40. 0 Source/Core.Profiles/Resources/views.yml
  41. +134 −0 Source/Core.Profiles/T4MVC.cs
  42. +96 −0 Source/Core.Profiles/T4MVC.settings.t4
  43. +1,296 −0 Source/Core.Profiles/T4MVC.tt
  44. +46 −0 Source/Core.Profiles/Verbs/Widgets/LoginWidgetViewerVerb.cs
  45. +5 −0 Source/Core.Profiles/Views/LoginWidget/ViewWidget.ascx
  46. +36 −0 Source/Core.Profiles/Views/Web.config
  47. +30 −0 Source/Core.Profiles/Web.Debug.config
  48. +31 −0 Source/Core.Profiles/Web.Release.config
  49. +36 −0 Source/Core.Profiles/Web.config
  50. +68 −0 Source/Core.Profiles/Widgets/LoginWidget.cs
  51. BIN Source/Core.Profiles/bin/Antlr3.Runtime.dll
  52. BIN Source/Core.Profiles/bin/Castle.Core.dll
  53. +3,455 −0 Source/Core.Profiles/bin/Castle.Core.xml
  54. BIN Source/Core.Profiles/bin/Castle.DynamicProxy2.dll
  55. +1,471 −0 Source/Core.Profiles/bin/Castle.DynamicProxy2.xml
  56. BIN Source/Core.Profiles/bin/Castle.Facilities.NHibernateIntegration.dll
  57. BIN Source/Core.Profiles/bin/Castle.MicroKernel.dll
  58. +5,672 −0 Source/Core.Profiles/bin/Castle.MicroKernel.xml
  59. BIN Source/Core.Profiles/bin/Castle.Services.Transaction.dll
  60. BIN Source/Core.Profiles/bin/Castle.Windsor.dll
  61. +1,571 −0 Source/Core.Profiles/bin/Castle.Windsor.xml
  62. BIN Source/Core.Profiles/bin/CommonServiceLocator.WindsorAdapter.dll
  63. BIN Source/Core.Profiles/bin/Core.Framework.MEF.Contracts.dll
  64. BIN Source/Core.Profiles/bin/Core.Framework.MEF.Contracts.pdb
  65. BIN Source/Core.Profiles/bin/Core.Framework.MEF.dll
  66. BIN Source/Core.Profiles/bin/Core.Framework.MEF.pdb
  67. BIN Source/Core.Profiles/bin/Core.Framework.Permissions.dll
  68. BIN Source/Core.Profiles/bin/Core.Framework.Permissions.pdb
  69. BIN Source/Core.Profiles/bin/Core.Framework.Plugins.dll
  70. BIN Source/Core.Profiles/bin/Core.Framework.Plugins.pdb
  71. BIN Source/Core.Profiles/bin/Core.Profiles.Migrations.dll
  72. BIN Source/Core.Profiles/bin/Core.Profiles.Migrations.pdb
  73. BIN Source/Core.Profiles/bin/Core.Profiles.NHibernate.dll
  74. BIN Source/Core.Profiles/bin/Core.Profiles.NHibernate.pdb
  75. BIN Source/Core.Profiles/bin/EcmaScript.NET.modified.dll
  76. BIN Source/Core.Profiles/bin/FluentNHibernate.dll
  77. BIN Source/Core.Profiles/bin/FluentNHibernate.pdb
  78. +2,922 −0 Source/Core.Profiles/bin/FluentNHibernate.xml
  79. BIN Source/Core.Profiles/bin/Framework.Core.dll
  80. BIN Source/Core.Profiles/bin/Framework.Core.pdb
  81. +1,593 −0 Source/Core.Profiles/bin/Framework.Core.xml
  82. BIN Source/Core.Profiles/bin/Framework.Facilities.NHibernate.dll
  83. BIN Source/Core.Profiles/bin/Framework.Facilities.NHibernate.pdb
  84. +290 −0 Source/Core.Profiles/bin/Framework.Facilities.NHibernate.xml
  85. BIN Source/Core.Profiles/bin/Framework.Mvc.dll
  86. BIN Source/Core.Profiles/bin/Framework.Mvc.pdb
  87. +2,555 −0 Source/Core.Profiles/bin/Framework.Mvc.xml
  88. BIN Source/Core.Profiles/bin/Iesi.Collections.dll
  89. +1,903 −0 Source/Core.Profiles/bin/Iesi.Collections.xml
  90. BIN Source/Core.Profiles/bin/Microsoft.Practices.ServiceLocation.dll
  91. BIN Source/Core.Profiles/bin/Microsoft.Practices.ServiceLocation.pdb
  92. +280 −0 Source/Core.Profiles/bin/Microsoft.Practices.ServiceLocation.xml
  93. BIN Source/Core.Profiles/bin/NHibernate.ByteCode.Castle.dll
  94. +40 −0 Source/Core.Profiles/bin/NHibernate.ByteCode.Castle.xml
  95. BIN Source/Core.Profiles/bin/NHibernate.Caches.SysCache.dll
  96. BIN Source/Core.Profiles/bin/NHibernate.Linq.dll
  97. +725 −0 Source/Core.Profiles/bin/NHibernate.Linq.xml
  98. BIN Source/Core.Profiles/bin/NHibernate.dll
  99. +40,555 −0 Source/Core.Profiles/bin/NHibernate.xml
  100. BIN Source/Core.Profiles/bin/Omu.ValueInjecter.dll
  101. BIN Source/Core.Profiles/bin/Yahoo.Yui.Compressor.dll
  102. BIN Source/Core.Profiles/bin/Yaml.dll
  103. BIN Source/Core.Profiles/bin/log4net.dll
  104. +18 −0 Source/Core.Profiles/obj/Debug/Core.Profiles.csproj.FileListAbsolute.txt
  105. BIN Source/Core.Profiles/obj/Debug/Core.Profiles.dll
  106. BIN Source/Core.Profiles/obj/Debug/Core.Profiles.pdb
  107. BIN Source/Core.Profiles/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  108. BIN Source/Core.Profiles/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  109. BIN Source/Core.Profiles/obj/Debug/ResolveAssemblyReference.cache
  110. BIN Source/Core.Profiles/obj/Debug/TempPE/T4MVC.cs.dll
  111. BIN Source/Core.Web/Areas/Profiles/Antlr3.Runtime.dll
  112. BIN Source/Core.Web/Areas/Profiles/Castle.DynamicProxy2.dll
  113. +1,471 −0 Source/Core.Web/Areas/Profiles/Castle.DynamicProxy2.xml
  114. BIN Source/Core.Web/Areas/Profiles/Castle.Facilities.NHibernateIntegration.dll
  115. BIN Source/Core.Web/Areas/Profiles/Castle.Services.Transaction.dll
  116. BIN Source/Core.Web/Areas/Profiles/CommonServiceLocator.WindsorAdapter.dll
  117. +25 −0 Source/Core.Web/Areas/Profiles/Config/PluginConfig.xml
  118. +3 −0 Source/Core.Web/Areas/Profiles/Config/asset_packages.yml
  119. 0 Source/Core.Web/Areas/Profiles/Content/Css/plugin_package.css
  120. +1 −0 Source/Core.Web/Areas/Profiles/Content/Css/profiles.css
  121. BIN Source/Core.Web/Areas/Profiles/Core.Profiles.Migrations.dll
  122. BIN Source/Core.Web/Areas/Profiles/Core.Profiles.Migrations.pdb
  123. BIN Source/Core.Web/Areas/Profiles/Core.Profiles.NHibernate.dll
  124. BIN Source/Core.Web/Areas/Profiles/Core.Profiles.NHibernate.pdb
  125. BIN Source/Core.Web/Areas/Profiles/Core.Profiles.dll
  126. BIN Source/Core.Web/Areas/Profiles/Core.Profiles.pdb
  127. BIN Source/Core.Web/Areas/Profiles/Iesi.Collections.dll
  128. +1,903 −0 Source/Core.Web/Areas/Profiles/Iesi.Collections.xml
  129. BIN Source/Core.Web/Areas/Profiles/NHibernate.Linq.dll
  130. +725 −0 Source/Core.Web/Areas/Profiles/NHibernate.Linq.xml
  131. 0 Source/Core.Web/Areas/Profiles/Resources/Admin/common.yml
  132. +1 −0 Source/Core.Web/Areas/Profiles/Resources/Admin/controllers.ru.yml
  133. 0 Source/Core.Web/Areas/Profiles/Resources/Admin/controllers.yml
  134. +1 −0 Source/Core.Web/Areas/Profiles/Resources/Admin/views.ru.yml
  135. 0 Source/Core.Web/Areas/Profiles/Resources/Admin/views.yml
  136. 0 Source/Core.Web/Areas/Profiles/Resources/Models/models.yml
  137. +1 −0 Source/Core.Web/Areas/Profiles/Resources/verbs.ru.yml
  138. 0 Source/Core.Web/Areas/Profiles/Resources/verbs.yml
  139. 0 Source/Core.Web/Areas/Profiles/Resources/views.yml
  140. +5 −0 Source/Core.Web/Areas/Profiles/Views/LoginWidget/ViewWidget.ascx
  141. BIN Source/Core.Web/Areas/Profiles/Yaml.dll
  142. +36 −0 Source/Core.sln
@@ -18,6 +18,7 @@
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>4.0</OldToolsVersion>
+ <UseIISExpress>false</UseIISExpress>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -0,0 +1,72 @@
+<?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>{20A9617D-9993-41B3-94F7-1D1A62A1DE74}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Core.Profiles.Migrations</RootNamespace>
+ <AssemblyName>Core.Profiles.Migrations</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="ECM7.Common">
+ <HintPath>..\..\Libs\ECM7.Migrator\ECM7.Common.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="ECM7.Migrator">
+ <HintPath>..\..\Libs\ECM7.Migrator\ECM7.Migrator.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="ECM7.Migrator.Framework">
+ <HintPath>..\..\Libs\ECM7.Migrator\ECM7.Migrator.Framework.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <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" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Framework.Migrator\Framework.Migrator.csproj">
+ <Project>{06ADA971-CAD6-42DC-8E42-AD242B594784}</Project>
+ <Name>Framework.Migrator</Name>
+ <Private>False</Private>
+ </ProjectReference>
+ </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>
@@ -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("Core.Profiles.Migrations")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("OM-3")]
+[assembly: AssemblyProduct("Core.Profiles.Migrations")]
+[assembly: AssemblyCopyright("Copyright © OM-3 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("25b878a3-7ee2-4848-8c8f-5ca07908ee6c")]
+
+// 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")]
@@ -0,0 +1,5 @@
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.Migrations\bin\Debug\Core.Profiles.Migrations.dll
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.Migrations\bin\Debug\Core.Profiles.Migrations.pdb
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.Migrations\obj\Debug\ResolveAssemblyReference.cache
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.Migrations\obj\Debug\Core.Profiles.Migrations.dll
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.Migrations\obj\Debug\Core.Profiles.Migrations.pdb
@@ -0,0 +1,100 @@
+<?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>{AB78CAB5-6FB2-4068-B145-CC72DA88F984}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Core.Profiles.NHibernate</RootNamespace>
+ <AssemblyName>Core.Profiles.NHibernate</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="Castle.Core">
+ <HintPath>..\..\Libs\Castle\Castle.Core.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="Castle.Facilities.NHibernateIntegration">
+ <HintPath>..\..\Libs\Castle\Castle.Facilities.NHibernateIntegration.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="Castle.MicroKernel">
+ <HintPath>..\..\Libs\Castle\Castle.MicroKernel.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="Castle.Windsor">
+ <HintPath>..\..\Libs\Castle\Castle.Windsor.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="FluentNHibernate">
+ <HintPath>..\..\Libs\NHibernate\FluentNHibernate\FluentNHibernate.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="Microsoft.Practices.ServiceLocation">
+ <HintPath>..\..\Libs\CommonServiceLocator\Microsoft.Practices.ServiceLocation.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="NHibernate">
+ <HintPath>..\..\Libs\NHibernate\NHibernate.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.ComponentModel.Composition" />
+ <Reference Include="System.Core" />
+ <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="CoreProfilesNHibernateModule.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Core.Framework.Permissions\Core.Framework.Permissions.csproj">
+ <Project>{1E3A569C-E5B6-475D-9341-54C0933AFB9D}</Project>
+ <Name>Core.Framework.Permissions</Name>
+ <Private>False</Private>
+ </ProjectReference>
+ <ProjectReference Include="..\Framework.Core\Framework.Core.csproj">
+ <Project>{8548D8D8-F616-42B6-9271-DB8E600CF652}</Project>
+ <Name>Framework.Core</Name>
+ <Private>False</Private>
+ </ProjectReference>
+ <ProjectReference Include="..\Framework.Facilities.NHibernate\Framework.Facilities.NHibernate.csproj">
+ <Project>{832BAE45-2032-40A6-B889-1FF854885536}</Project>
+ <Name>Framework.Facilities.NHibernate</Name>
+ <Private>False</Private>
+ </ProjectReference>
+ </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>
@@ -0,0 +1,16 @@
+using System.Reflection;
+using Castle.Windsor;
+using Framework.Facilities.NHibernate.Castle;
+using Castle.MicroKernel.Registration;
+
+namespace Core.Profiles.NHibernate
+{
+ public static class CoreProfilesNHibernateModule
+ {
+ public static void Install(IWindsorContainer container)
+ {
+ // Register nhibernate fluent mapper.
+ container.Register(Component.For<INHibernateMapper>().Instance(new StandardFluentMapper(Assembly.GetExecutingAssembly())).Named("profiles_mapper").LifeStyle.Transient);
+ }
+ }
+}
@@ -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("Core.Profiles.NHibernate")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("OM-3")]
+[assembly: AssemblyProduct("Core.Profiles.NHibernate")]
+[assembly: AssemblyCopyright("Copyright © OM-3 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("384d7489-f602-4c2d-92a0-5bcd24e89d25")]
+
+// 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")]
@@ -0,0 +1,5 @@
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.NHibernate\bin\Debug\Core.Profiles.NHibernate.dll
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.NHibernate\bin\Debug\Core.Profiles.NHibernate.pdb
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.NHibernate\obj\Debug\ResolveAssemblyReference.cache
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.NHibernate\obj\Debug\Core.Profiles.NHibernate.dll
+F:\Work\Projects\Core-Framework\Core-Framework\Source\Core.Profiles.NHibernate\obj\Debug\Core.Profiles.NHibernate.pdb
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<PluginSetting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <Identifier>Core.Profiles</Identifier>
+ <Title>Profiles</Title>
+ <ResourcesDirectory>Resources</ResourcesDirectory>
+ <Description>Allow managing profiles.</Description>
+ <CssJsConfigPath>Config\asset_packages.yml</CssJsConfigPath>
+ <CssPath>Content\Css\</CssPath>
+ <ImagesPath>Content\</ImagesPath>
+ <CssPack>base</CssPack>
+ <JsPath></JsPath>
+ <JsPack>base</JsPack>
+ <WidgetSettings>
+ <WidgetSetting>
+ <Key>Core.Profiles.Widgets.LoginWidget</Key>
+ <Identifier>Core.Profiles.Widgets.LoginWidget</Identifier>
+ <Title>Login</Title>
+ </WidgetSetting>
+<!-- <WidgetSetting>-->
+<!-- <Key>Core.WebContent.Widgets.ContentDetailsWidget</Key>-->
+<!-- <Identifier>Core.WebContent.Widgets.ContentDetailsWidget</Identifier>-->
+<!-- <Title>Web Content Details</Title>-->
+<!-- </WidgetSetting>-->
+ </WidgetSettings>
+</PluginSetting>
@@ -0,0 +1,3 @@
+stylesheets:
+ base:
+ - profiles.css
@@ -0,0 +1 @@
+
@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.Composition;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using Core.Framework.MEF.Web;
+using Core.Framework.Plugins.Web;
+using Core.Profiles.Models;
+using Core.Profiles.Widgets;
+
+namespace Core.Profiles.Controllers
+{
+ [Export(typeof(IController)), ExportMetadata("Name", "LoginWidget")]
+ public partial class LoginWidgetController : CoreWidgetController
+ {
+ #region Properties
+
+ public override String ControllerWidgetIdentifier
+ {
+ get
+ {
+ return LoginWidget.Instance.Identifier;
+ }
+ }
+
+ #endregion
+
+ [ChildActionOnly]
+ public virtual ActionResult ViewWidget(ICoreWidgetInstance instance)
+ {
+ return PartialView(new LoginWidgetViewModel());
+ }
+
+ }
+}
Oops, something went wrong.

0 comments on commit f3d4e85

Please sign in to comment.