Skip to content

Commit 86d5a60

Browse files
author
Leonard Breitkopf
committed
Initial Commit
1 parent d6d1260 commit 86d5a60

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+14274
-0
lines changed

ArkData.Server.sln

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArkData.Server", "ArkData.Server\ArkData.Server.csproj", "{F0912299-BC7D-431F-A045-6B416E335294}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArkData", "..\..\..\Git\ArkData\ArkData\ArkData.csproj", "{D2EE1483-021F-4900-BBE8-88338D1386F4}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{F0912299-BC7D-431F-A045-6B416E335294}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{F0912299-BC7D-431F-A045-6B416E335294}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{F0912299-BC7D-431F-A045-6B416E335294}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{F0912299-BC7D-431F-A045-6B416E335294}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{D2EE1483-021F-4900-BBE8-88338D1386F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{D2EE1483-021F-4900-BBE8-88338D1386F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{D2EE1483-021F-4900-BBE8-88338D1386F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{D2EE1483-021F-4900-BBE8-88338D1386F4}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal

ArkData.Server/App.config

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<configSections>
4+
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
5+
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6+
</configSections>
7+
<startup>
8+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
9+
</startup>
10+
<entityFramework>
11+
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
12+
<parameters>
13+
<parameter value="mssqllocaldb" />
14+
</parameters>
15+
</defaultConnectionFactory>
16+
<providers>
17+
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
18+
</providers>
19+
</entityFramework>
20+
<connectionStrings>
21+
<add name="DataContext" connectionString="metadata=res://*/Data.DataModel.csdl|res://*/Data.DataModel.ssdl|res://*/Data.DataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=(LocalDB)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\Data.mdf;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
22+
</connectionStrings>
23+
</configuration>

ArkData.Server/ArkData.Server.csproj

+257
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{F0912299-BC7D-431F-A045-6B416E335294}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ArkData.Server</RootNamespace>
11+
<AssemblyName>ArkData.Server</AssemblyName>
12+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15+
<PublishUrl>publish\</PublishUrl>
16+
<Install>true</Install>
17+
<InstallFrom>Disk</InstallFrom>
18+
<UpdateEnabled>false</UpdateEnabled>
19+
<UpdateMode>Foreground</UpdateMode>
20+
<UpdateInterval>7</UpdateInterval>
21+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
22+
<UpdatePeriodically>false</UpdatePeriodically>
23+
<UpdateRequired>false</UpdateRequired>
24+
<MapFileExtensions>true</MapFileExtensions>
25+
<ApplicationRevision>0</ApplicationRevision>
26+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
27+
<IsWebBootstrapper>false</IsWebBootstrapper>
28+
<UseApplicationTrust>false</UseApplicationTrust>
29+
<BootstrapperEnabled>true</BootstrapperEnabled>
30+
</PropertyGroup>
31+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
32+
<PlatformTarget>AnyCPU</PlatformTarget>
33+
<DebugSymbols>true</DebugSymbols>
34+
<DebugType>full</DebugType>
35+
<Optimize>false</Optimize>
36+
<OutputPath>bin\Debug\</OutputPath>
37+
<DefineConstants>DEBUG;TRACE</DefineConstants>
38+
<ErrorReport>prompt</ErrorReport>
39+
<WarningLevel>4</WarningLevel>
40+
</PropertyGroup>
41+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
42+
<PlatformTarget>AnyCPU</PlatformTarget>
43+
<DebugType>pdbonly</DebugType>
44+
<Optimize>true</Optimize>
45+
<OutputPath>bin\Release\</OutputPath>
46+
<DefineConstants>TRACE</DefineConstants>
47+
<ErrorReport>prompt</ErrorReport>
48+
<WarningLevel>4</WarningLevel>
49+
</PropertyGroup>
50+
<PropertyGroup>
51+
<ApplicationIcon>server_icon.ico</ApplicationIcon>
52+
</PropertyGroup>
53+
<PropertyGroup />
54+
<PropertyGroup>
55+
<ApplicationManifest>app.manifest</ApplicationManifest>
56+
</PropertyGroup>
57+
<ItemGroup>
58+
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
59+
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath>
60+
<Private>True</Private>
61+
</Reference>
62+
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
63+
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath>
64+
<Private>True</Private>
65+
</Reference>
66+
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
67+
<SpecificVersion>False</SpecificVersion>
68+
<HintPath>..\..\..\..\Git\ArkData\ArkData\bin\Release\Newtonsoft.Json.dll</HintPath>
69+
</Reference>
70+
<Reference Include="System" />
71+
<Reference Include="System.ComponentModel.DataAnnotations" />
72+
<Reference Include="System.Core" />
73+
<Reference Include="System.Runtime.Serialization" />
74+
<Reference Include="System.Security" />
75+
<Reference Include="System.Xml.Linq" />
76+
<Reference Include="System.Data.DataSetExtensions" />
77+
<Reference Include="Microsoft.CSharp" />
78+
<Reference Include="System.Data" />
79+
<Reference Include="System.Deployment" />
80+
<Reference Include="System.Drawing" />
81+
<Reference Include="System.Net.Http" />
82+
<Reference Include="System.Windows.Forms" />
83+
<Reference Include="System.Xml" />
84+
</ItemGroup>
85+
<ItemGroup>
86+
<Compile Include="Data\DataModel.Context.cs">
87+
<AutoGen>True</AutoGen>
88+
<DesignTime>True</DesignTime>
89+
<DependentUpon>DataModel.Context.tt</DependentUpon>
90+
</Compile>
91+
<Compile Include="Data\DataModel.cs">
92+
<AutoGen>True</AutoGen>
93+
<DesignTime>True</DesignTime>
94+
<DependentUpon>DataModel.tt</DependentUpon>
95+
</Compile>
96+
<Compile Include="Data\DataModel.Designer.cs">
97+
<AutoGen>True</AutoGen>
98+
<DesignTime>True</DesignTime>
99+
<DependentUpon>DataModel.edmx</DependentUpon>
100+
</Compile>
101+
<Compile Include="Data\OSecret.cs">
102+
<DependentUpon>DataModel.tt</DependentUpon>
103+
</Compile>
104+
<Compile Include="Data\OToken.cs">
105+
<DependentUpon>DataModel.tt</DependentUpon>
106+
</Compile>
107+
<Compile Include="Data\Setting.cs">
108+
<DependentUpon>DataModel.tt</DependentUpon>
109+
</Compile>
110+
<Compile Include="Data\XToken.cs">
111+
<DependentUpon>DataModel.tt</DependentUpon>
112+
</Compile>
113+
<Compile Include="Data\XUser.cs">
114+
<DependentUpon>DataModel.tt</DependentUpon>
115+
</Compile>
116+
<Compile Include="frmAddUser.cs">
117+
<SubType>Form</SubType>
118+
</Compile>
119+
<Compile Include="frmAddUser.Designer.cs">
120+
<DependentUpon>frmAddUser.cs</DependentUpon>
121+
</Compile>
122+
<Compile Include="frmConfig.cs">
123+
<SubType>Form</SubType>
124+
</Compile>
125+
<Compile Include="frmConfig.Designer.cs">
126+
<DependentUpon>frmConfig.cs</DependentUpon>
127+
</Compile>
128+
<Compile Include="frmReset.cs">
129+
<SubType>Form</SubType>
130+
</Compile>
131+
<Compile Include="frmReset.Designer.cs">
132+
<DependentUpon>frmReset.cs</DependentUpon>
133+
</Compile>
134+
<Compile Include="frmUsers.cs">
135+
<SubType>Form</SubType>
136+
</Compile>
137+
<Compile Include="frmUsers.Designer.cs">
138+
<DependentUpon>frmUsers.cs</DependentUpon>
139+
</Compile>
140+
<Compile Include="frmXTokens.cs">
141+
<SubType>Form</SubType>
142+
</Compile>
143+
<Compile Include="frmXTokens.Designer.cs">
144+
<DependentUpon>frmXTokens.cs</DependentUpon>
145+
</Compile>
146+
<Compile Include="Models\Player.cs" />
147+
<Compile Include="Models\SimplePlayer.cs" />
148+
<Compile Include="Models\SimpleTribe.cs" />
149+
<Compile Include="Models\TokenRequest.cs" />
150+
<Compile Include="Models\Tribe.cs" />
151+
<Compile Include="Program.cs" />
152+
<Compile Include="Properties\AssemblyInfo.cs" />
153+
<Compile Include="Request.cs" />
154+
<Compile Include="Server.cs" />
155+
<EmbeddedResource Include="frmAddUser.resx">
156+
<DependentUpon>frmAddUser.cs</DependentUpon>
157+
</EmbeddedResource>
158+
<EmbeddedResource Include="frmConfig.resx">
159+
<DependentUpon>frmConfig.cs</DependentUpon>
160+
</EmbeddedResource>
161+
<EmbeddedResource Include="frmReset.resx">
162+
<DependentUpon>frmReset.cs</DependentUpon>
163+
</EmbeddedResource>
164+
<EmbeddedResource Include="frmUsers.resx">
165+
<DependentUpon>frmUsers.cs</DependentUpon>
166+
</EmbeddedResource>
167+
<EmbeddedResource Include="frmXTokens.resx">
168+
<DependentUpon>frmXTokens.cs</DependentUpon>
169+
</EmbeddedResource>
170+
<EmbeddedResource Include="Properties\Resources.resx">
171+
<Generator>ResXFileCodeGenerator</Generator>
172+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
173+
<SubType>Designer</SubType>
174+
</EmbeddedResource>
175+
<Compile Include="Properties\Resources.Designer.cs">
176+
<AutoGen>True</AutoGen>
177+
<DependentUpon>Resources.resx</DependentUpon>
178+
<DesignTime>True</DesignTime>
179+
</Compile>
180+
<EntityDeploy Include="Data\DataModel.edmx">
181+
<Generator>EntityModelCodeGenerator</Generator>
182+
<LastGenOutput>DataModel.Designer.cs</LastGenOutput>
183+
</EntityDeploy>
184+
<None Include="app.manifest">
185+
<SubType>Designer</SubType>
186+
</None>
187+
<None Include="Data\DataModel.edmx.diagram">
188+
<DependentUpon>DataModel.edmx</DependentUpon>
189+
</None>
190+
<None Include="packages.config" />
191+
<None Include="Properties\Settings.settings">
192+
<Generator>SettingsSingleFileGenerator</Generator>
193+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
194+
</None>
195+
<Compile Include="Properties\Settings.Designer.cs">
196+
<AutoGen>True</AutoGen>
197+
<DependentUpon>Settings.settings</DependentUpon>
198+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
199+
</Compile>
200+
</ItemGroup>
201+
<ItemGroup>
202+
<None Include="App.config" />
203+
</ItemGroup>
204+
<ItemGroup>
205+
<None Include="Resources\security.png" />
206+
<None Include="Resources\tokens1.png" />
207+
<None Include="Resources\tokens.png" />
208+
<None Include="Resources\users.png" />
209+
<Content Include="Data.mdf">
210+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
211+
</Content>
212+
<Content Include="Data\DataModel.Context.tt">
213+
<Generator>TextTemplatingFileGenerator</Generator>
214+
<DependentUpon>DataModel.edmx</DependentUpon>
215+
<LastGenOutput>DataModel.Context.cs</LastGenOutput>
216+
</Content>
217+
<Content Include="Data\DataModel.tt">
218+
<Generator>TextTemplatingFileGenerator</Generator>
219+
<DependentUpon>DataModel.edmx</DependentUpon>
220+
<LastGenOutput>DataModel.cs</LastGenOutput>
221+
</Content>
222+
<Content Include="Data_log.ldf">
223+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
224+
<DependentUpon>Data.mdf</DependentUpon>
225+
</Content>
226+
<Content Include="server_icon.ico" />
227+
</ItemGroup>
228+
<ItemGroup>
229+
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
230+
<Visible>False</Visible>
231+
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
232+
<Install>true</Install>
233+
</BootstrapperPackage>
234+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
235+
<Visible>False</Visible>
236+
<ProductName>.NET Framework 3.5 SP1</ProductName>
237+
<Install>false</Install>
238+
</BootstrapperPackage>
239+
</ItemGroup>
240+
<ItemGroup>
241+
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
242+
</ItemGroup>
243+
<ItemGroup>
244+
<ProjectReference Include="..\..\..\..\Git\ArkData\ArkData\ArkData.csproj">
245+
<Project>{d2ee1483-021f-4900-bbe8-88338d1386f4}</Project>
246+
<Name>ArkData</Name>
247+
</ProjectReference>
248+
</ItemGroup>
249+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
250+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
251+
Other similar extension points exist, see Microsoft.Common.targets.
252+
<Target Name="BeforeBuild">
253+
</Target>
254+
<Target Name="AfterBuild">
255+
</Target>
256+
-->
257+
</Project>
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated from a template.
4+
//
5+
// Manual changes to this file may cause unexpected behavior in your application.
6+
// Manual changes to this file will be overwritten if the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
namespace ArkData.Server.Data
11+
{
12+
using System;
13+
using System.Data.Entity;
14+
using System.Data.Entity.Infrastructure;
15+
16+
public partial class DataContext : DbContext
17+
{
18+
public DataContext()
19+
: base("name=DataContext")
20+
{
21+
}
22+
23+
protected override void OnModelCreating(DbModelBuilder modelBuilder)
24+
{
25+
throw new UnintentionalCodeFirstException();
26+
}
27+
28+
public virtual DbSet<OSecret> OSecrets { get; set; }
29+
public virtual DbSet<OToken> OTokens { get; set; }
30+
public virtual DbSet<XToken> XTokens { get; set; }
31+
public virtual DbSet<XUser> XUsers { get; set; }
32+
public virtual DbSet<Setting> Settings { get; set; }
33+
}
34+
}

0 commit comments

Comments
 (0)