Skip to content

Commit

Permalink
Merge pull request #3 from TeamBuilderApp/Feature/EntityFrameworkData…
Browse files Browse the repository at this point in the history
…baseSetup

Feature/entity framework database setup
  • Loading branch information
TeamBuilderApp committed May 11, 2024
2 parents 8834388 + 5408c68 commit 3ce6186
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
14 changes: 14 additions & 0 deletions TeamBuilder/Models/TeamBuilderContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

namespace TeamBuilder.Models
{
/*
Todo - Design a way for locally stored rosters AKA where a roster comes from does not need to be known. Form a common roster language for any Team Builder to POST.
Ideas JSON or YAML or even XML.
This Team Builder can utilize an Entity Framework POCO database.
As any Team Builder app posts to our Team Builder API using the common roster language, a bulk operations Entity can certainly be copied...
on all rosters being POSTED by any app that calls this API.
Feature 1) Common roster language to POST.
Feature 2) A local storage for rosters that connect to this API to POST.
Feature 3) A central or local Entity Framework to store rosters per app. Could even be a local text file per app...
As long as this API is connected to, it will accept POST using common roster language.
Feature 4) An external centralized Entity Framework Service that uses Bulk Operations async to read in all POSTS from any app connected to this API...
Which can be the center of operations.
*/
public class TeamBuilderContext : DbContext
{
public TeamBuilderContext(DbContextOptions<TeamBuilderContext> options)
Expand Down
6 changes: 3 additions & 3 deletions TeamBuilder/TeamBuilder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.11.2" />
<PackageReference Include="Azure.Identity" Version="1.11.3" />
<PackageReference Include="Microsoft.AspNet.WebApi" Version="5.3.0" />
<PackageReference Include="AspNetCore.HealthChecks" Version="1.0.0" />
<PackageReference Include="AWSSDK.Core" Version="3.7.303.22" />
<PackageReference Include="AWSSDK.Core" Version="3.7.303.29" />
<PackageReference Include="Azure.Core" Version="1.39.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="8.0.4" />
Expand All @@ -30,7 +30,7 @@
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.60.3" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.61.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
Expand Down
7 changes: 7 additions & 0 deletions TeamBuilder/nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="teambuilderapp" value="https://pkgs.dev.azure.com/teambuilderapp/_packaging/teambuilderapp/nuget/v3/index.json" />
</packageSources>
</configuration>

0 comments on commit 3ce6186

Please sign in to comment.