Skip to content

Commit 78c3fe3

Browse files
committed
Refactor project structure and update configurations
- Corrected Dockerfile path in `docker-release.yml`. - Updated `.gitignore` to include Visual Studio cache. - Changed project name to `GitcgNetCord` in relevant files. - Modified `workspace.xml` for new project configurations. - Added `Microsoft.VisualStudio.Azure.Containers.Tools.Targets` to `Directory.Packages.props`. - Updated `Gitcg.NetCord.slnx` to reflect new project structure. - Created new tables in `script.sql` for user accounts. - Refactored `AppHost.cs` and `AppHost.csproj` for new naming conventions. - Enhanced `Dockerfile` with comments and corrected paths. - Added methods in `Extensions.cs` for Discord bot modules. - Updated `launchSettings.json` for Docker profile. - Modified `appsettings.Development.json` for new configuration. - Updated `app.css` for error handling styles. - Refactored `Program.cs` for new service registrations. - Added `SharedConstants.cs` for sharing code length constant. - Created `SharedUtils.csproj` for shared utilities. - Various other files updated for naming conventions and structure.
1 parent a98c223 commit 78c3fe3

79 files changed

Lines changed: 3057 additions & 353 deletions

File tree

Some content is hidden

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

.github/workflows/docker-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Build Docker image with both tags
3232
run: |
3333
docker build \
34-
-f src/Gitcg.NetCord.MainApp/Dockerfile \
34+
-f src/GitcgNetCord.MainApp/Dockerfile \
3535
-t ghcr.io/${{ github.repository }}:${{ env.TAG }} \
3636
-t ghcr.io/${{ github.repository }}:latest \
3737
.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@ CodeCoverage/
5151
# NUnit
5252
*.VisualState.xml
5353
TestResult.xml
54-
nunit-*.xml
54+
nunit-*.xml
55+
56+
# Visual Studio 2015/2017 cache/options directory
57+
.vs/

.idea/.idea.Gitcg.NetCord/.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

.idea/.idea.Gitcg.NetCord/.idea/workspace.xml

Lines changed: 297 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

.idea/.idea.GitcgNetCord/.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

Directory.Packages.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageVersion Include="Microsoft.Extensions.Caching.Hybrid" Version="9.7.0" />
1111
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="9.7.0" />
1212
<PackageVersion Include="Microsoft.Extensions.ServiceDiscovery" Version="9.4.0" />
13-
<PackageVersion Include="NetCord.Hosting.Services" Version="1.0.0-alpha.410" />
13+
<PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.22.1" />
1414
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.12.0" />
1515
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.12.0" />
1616
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0" />
@@ -21,5 +21,6 @@
2121
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.8" />
2222
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.8" />
2323
<PackageVersion Include="Microsoft.AspNetCore.WebUtilities" Version="9.0.8" />
24+
<PackageVersion Include="NetCord.Hosting.Services" Version="1.0.0-alpha.410" />
2425
</ItemGroup>
2526
</Project>

0 commit comments

Comments
 (0)