-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lukas Gerbenis
committed
Sep 14, 2015
1 parent
67dea3a
commit d467a0c
Showing
114 changed files
with
5,491 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
[Dd]ebugPublic/ | ||
[Rr]elease/ | ||
[Rr]eleases/ | ||
x64/ | ||
x86/ | ||
build/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
||
# Roslyn cache directories | ||
*.ide/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
#NUNIT | ||
*.VisualState.xml | ||
TestResult.xml | ||
|
||
# Build Results of an ATL Project | ||
[Dd]ebugPS/ | ||
[Rr]eleasePS/ | ||
dlldata.c | ||
|
||
*_i.c | ||
*_p.c | ||
*_i.h | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.svclog | ||
*.scc | ||
|
||
# Chutzpah Test files | ||
_Chutzpah* | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
# TFS 2012 Local Workspace | ||
$tf/ | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
*.DotSettings.user | ||
|
||
# JustCode is a .NET coding addin-in | ||
.JustCode | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
_NCrunch_* | ||
.*crunch*.local.xml | ||
|
||
# MightyMoose | ||
*.mm.* | ||
AutoTest.Net/ | ||
|
||
# Web workbench (sass) | ||
.sass-cache/ | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.[Pp]ublish.xml | ||
*.azurePubxml | ||
# TODO: Comment the next line if you want to checkin your web deploy settings | ||
# but database connection strings (with potential passwords) will be unencrypted | ||
*.pubxml | ||
*.publishproj | ||
|
||
|
||
# Windows Azure Build Output | ||
csx/ | ||
*.build.csdef | ||
|
||
# Windows Store app package directory | ||
AppPackages/ | ||
|
||
# Others | ||
sql/ | ||
*.Cache | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.dbproj.schemaview | ||
*.pfx | ||
*.publishsettings | ||
node_modules/ | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Backup & report files from converting an old project file | ||
# to a newer Visual Studio version. Backup files are not needed, | ||
# because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# Business Intelligence projects | ||
*.rdl.data | ||
*.bim.layout | ||
*.bim_*.settings | ||
|
||
# Microsoft Fakes | ||
FakesAssemblies/ | ||
|
||
# Custom | ||
packages/** | ||
!packages/repositories.config | ||
!packages.config | ||
|
||
#Test databases | ||
BetterModules.Core.Tests/App_Data/Temp/*.mdf | ||
BetterModules.Core.Tests/App_Data/Temp/*.ldf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.23107.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{2A67FEF9-6A8E-42D4-95D7-E2DC166C32DF}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3E752E57-C27F-4A6D-8F02-12226E643F76}" | ||
ProjectSection(SolutionItems) = preProject | ||
global.json = global.json | ||
EndProjectSection | ||
EndProject | ||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BetterModules.Core", "src\BetterModules.Core\BetterModules.Core.xproj", "{A7D843AE-B3B1-4929-9D1E-EFC78D02A4CD}" | ||
EndProject | ||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BetterModules.Core.Web", "src\BetterModules.Core.Web\BetterModules.Core.Web.xproj", "{D5DD9647-F622-4899-B6C6-3210EC7AC86B}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{E97ED681-48EA-4EF1-97F2-EE7E1EEC516B}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sandbox", "Sandbox", "{1E51A74B-E932-4933-AA00-AAF788D2A2DC}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{DFE453A6-3825-4769-ADF3-E5FA08086BFE}" | ||
ProjectSection(SolutionItems) = preProject | ||
src\LICENSE = src\LICENSE | ||
src\logo.png = src\logo.png | ||
src\README.md = src\README.md | ||
src\SharedAssemblyInfo.cs = src\SharedAssemblyInfo.cs | ||
EndProjectSection | ||
EndProject | ||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BetterModules.Mvc6.Sandbox", "src\BetterModules.Mvc6.Sandbox\BetterModules.Mvc6.Sandbox.xproj", "{39A05B8E-5254-4E78-A03B-2014CDAA29A3}" | ||
EndProject | ||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BetterModules.Sample.Module", "src\BetterModules.Sample.Module\BetterModules.Sample.Module.xproj", "{431BEF5E-502D-4B21-B13C-6E917EACC532}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{46ED6C76-1BCC-4177-9A67-492424080985}" | ||
EndProject | ||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BetterModules.Core.Tests", "test\BetterModules.Core.Tests\BetterModules.Core.Tests.xproj", "{00B11517-DAEB-43AA-B826-B2AA545AE166}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A7D843AE-B3B1-4929-9D1E-EFC78D02A4CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A7D843AE-B3B1-4929-9D1E-EFC78D02A4CD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A7D843AE-B3B1-4929-9D1E-EFC78D02A4CD}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A7D843AE-B3B1-4929-9D1E-EFC78D02A4CD}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{D5DD9647-F622-4899-B6C6-3210EC7AC86B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{D5DD9647-F622-4899-B6C6-3210EC7AC86B}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{D5DD9647-F622-4899-B6C6-3210EC7AC86B}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{D5DD9647-F622-4899-B6C6-3210EC7AC86B}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{39A05B8E-5254-4E78-A03B-2014CDAA29A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{39A05B8E-5254-4E78-A03B-2014CDAA29A3}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{39A05B8E-5254-4E78-A03B-2014CDAA29A3}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{39A05B8E-5254-4E78-A03B-2014CDAA29A3}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{431BEF5E-502D-4B21-B13C-6E917EACC532}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{431BEF5E-502D-4B21-B13C-6E917EACC532}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{431BEF5E-502D-4B21-B13C-6E917EACC532}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{431BEF5E-502D-4B21-B13C-6E917EACC532}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{00B11517-DAEB-43AA-B826-B2AA545AE166}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{00B11517-DAEB-43AA-B826-B2AA545AE166}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{00B11517-DAEB-43AA-B826-B2AA545AE166}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{00B11517-DAEB-43AA-B826-B2AA545AE166}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{A7D843AE-B3B1-4929-9D1E-EFC78D02A4CD} = {2A67FEF9-6A8E-42D4-95D7-E2DC166C32DF} | ||
{D5DD9647-F622-4899-B6C6-3210EC7AC86B} = {2A67FEF9-6A8E-42D4-95D7-E2DC166C32DF} | ||
{E97ED681-48EA-4EF1-97F2-EE7E1EEC516B} = {2A67FEF9-6A8E-42D4-95D7-E2DC166C32DF} | ||
{1E51A74B-E932-4933-AA00-AAF788D2A2DC} = {2A67FEF9-6A8E-42D4-95D7-E2DC166C32DF} | ||
{DFE453A6-3825-4769-ADF3-E5FA08086BFE} = {2A67FEF9-6A8E-42D4-95D7-E2DC166C32DF} | ||
{39A05B8E-5254-4E78-A03B-2014CDAA29A3} = {1E51A74B-E932-4933-AA00-AAF788D2A2DC} | ||
{431BEF5E-502D-4B21-B13C-6E917EACC532} = {E97ED681-48EA-4EF1-97F2-EE7E1EEC516B} | ||
{00B11517-DAEB-43AA-B826-B2AA545AE166} = {46ED6C76-1BCC-4177-9A67-492424080985} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"projects": [ "src", "test", "." ], | ||
"sdk": { | ||
"version": "1.0.0-beta7" | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
vNext/src/BetterModules.Core.Web/BetterModules.Core.Web.xproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> | ||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>d5dd9647-f622-4899-b6c6-3210ec7ac86b</ProjectGuid> | ||
<RootNamespace>BetterModules.Core.Web</RootNamespace> | ||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> | ||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
</PropertyGroup> | ||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"version": "1.0.0-*", | ||
"description": "", | ||
"authors": [ "Devbridge" ], | ||
"tags": [ "" ], | ||
"projectUrl": "", | ||
"licenseUrl": "", | ||
|
||
"dependencies": { | ||
}, | ||
|
||
"frameworks" : { | ||
"dnx451": { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> | ||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | ||
</PropertyGroup> | ||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>a7d843ae-b3b1-4929-9d1e-efc78d02a4cd</ProjectGuid> | ||
<RootNamespace>BetterModules.Core</RootNamespace> | ||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> | ||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<ProduceOutputsOnBuild>False</ProduceOutputsOnBuild> | ||
</PropertyGroup> | ||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" /> | ||
</Project> |
15 changes: 15 additions & 0 deletions
15
vNext/src/BetterModules.Core/Configuration/DatabaseConfigurationElement.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace BetterModules.Core.Configuration | ||
{ | ||
public class DatabaseConfigurationElement: IDatabaseConfiguration | ||
{ | ||
public string SchemaName { get; set; } | ||
|
||
public string ConnectionString { get; set; } | ||
|
||
public string ConnectionStringName { get; set; } | ||
|
||
public string ConnectionProvider { get; set; } | ||
|
||
public DatabaseType DatabaseType { get; set; } | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
vNext/src/BetterModules.Core/Configuration/DatabaseType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace BetterModules.Core.Configuration | ||
{ | ||
public enum DatabaseType | ||
{ | ||
MsSql2000 = 1, | ||
|
||
MsSql2005 = 2, | ||
|
||
MsSql2008 = 3, | ||
|
||
Oracle10 = 11, | ||
|
||
Oracle9 = 12, | ||
|
||
PostgreSQL81 = 21, | ||
|
||
PostgreSQL82 = 22, | ||
|
||
PostgreSQLStandard = 23 | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
vNext/src/BetterModules.Core/Configuration/DefaultConfigurationSection.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace BetterModules.Core.Configuration | ||
{ | ||
public class DefaultConfigurationSection: IConfiguration | ||
{ | ||
public DatabaseConfigurationElement Database { get; set; } | ||
|
||
IDatabaseConfiguration IConfiguration.Database => Database; | ||
} | ||
} |
Oops, something went wrong.