Skip to content

fix docker compose to microservice#43

Merged
codedesignplus merged 2 commits intodevfrom
feature/fix-duplicate-key
Nov 6, 2024
Merged

fix docker compose to microservice#43
codedesignplus merged 2 commits intodevfrom
feature/fix-duplicate-key

Conversation

@codedesignplus
Copy link
Collaborator

This pull request includes significant updates to the CodeDesignPlus.Net.EFCore.Sample project, focusing on restructuring the project, adding new functionality, and setting up a basic application structure with Entity Framework Core. The most important changes include the addition of new project files, implementation of the OrderAggregate entity, configuration of the OrderContext, and setup of dependency injection and basic CRUD operations.

Project Setup and Configuration:

  • Added a new docker-compose.yaml file to set up a SQL Server container for the project.
  • Introduced appsettings.json for configuration settings, including connection strings and EF Core settings.

Dependency Injection and Services:

  • Set up dependency injection in Program.cs to configure services, including EF Core context and repositories. [1] [2]
  • Added a UserContext class to provide user information, which is used for testing purposes.

Project Restructuring:

  • Removed the old project file CodeDesignPlus.Net.EFCore.Sample.csproj and added new project files for OperationBase and RepositoryBase. [1] [2]
  • Created a new solution file CodeDesignPlus.Net.EFCore.Sample.sln to organize the projects.

These changes lay the foundation for a robust, scalable application using .NET and EF Core, with a clear structure and configuration for future development.

@codedesignplus codedesignplus merged commit aea021d into dev Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant