customer-registration

所属分类:collect
开发工具:C#
文件大小:0KB
下载次数:0
上传日期:2023-09-16 15:46:35
上 传 者sh-1993
说明:  Rest API(Rest API)
(Rest API)

文件列表:
.DS_Store (8196, 2023-09-19)
CustomerRegistration.API/ (0, 2023-09-19)
CustomerRegistration.API/Configurations/ (0, 2023-09-19)
CustomerRegistration.API/Configurations/ExceptionHandler.cs (1496, 2023-09-19)
CustomerRegistration.API/Configurations/ExceptionMiddleware.cs (1135, 2023-09-19)
CustomerRegistration.API/Configurations/SwaggerConfiguration.cs (949, 2023-09-19)
CustomerRegistration.API/Controllers/ (0, 2023-09-19)
CustomerRegistration.API/Controllers/CustomerController.cs (3462, 2023-09-19)
CustomerRegistration.API/CustomerRegistration.API.csproj (1572, 2023-09-19)
CustomerRegistration.API/Models/ (0, 2023-09-19)
CustomerRegistration.API/Models/ErrorResponse.cs (659, 2023-09-19)
CustomerRegistration.API/Program.cs (641, 2023-09-19)
CustomerRegistration.API/Properties/ (0, 2023-09-19)
CustomerRegistration.API/Properties/launchSettings.json (1126, 2023-09-19)
CustomerRegistration.API/appsettings.Development.json (127, 2023-09-19)
CustomerRegistration.API/appsettings.json (313, 2023-09-19)
CustomerRegistration.Application/ (0, 2023-09-19)
CustomerRegistration.Application/ApplicationModule.cs (980, 2023-09-19)
CustomerRegistration.Application/Commands/ (0, 2023-09-19)
CustomerRegistration.Application/Commands/.DS_Store (6148, 2023-09-19)
CustomerRegistration.Application/Commands/Abstracts/ (0, 2023-09-19)
CustomerRegistration.Application/Commands/Abstracts/Command.cs (388, 2023-09-19)
CustomerRegistration.Application/Commands/Abstracts/CommandHandler.cs (716, 2023-09-19)
CustomerRegistration.Application/Commands/AddClassifiedAddress/ (0, 2023-09-19)
CustomerRegistration.Application/Commands/AddClassifiedAddress/AddClassifiedAddressCommand.cs (2233, 2023-09-19)
CustomerRegistration.Application/Commands/AddClassifiedAddress/AddClassifiedAddressCommandHandler.cs (2436, 2023-09-19)
CustomerRegistration.Application/Commands/AddRecoveryEmail/ (0, 2023-09-19)
CustomerRegistration.Application/Commands/AddRecoveryEmail/AddRecoveryEmailCommand.cs (880, 2023-09-19)
CustomerRegistration.Application/Commands/AddRecoveryEmail/AddRecoveryEmailCommandHandler.cs (1797, 2023-09-19)
CustomerRegistration.Application/Commands/RegisterCustomer/ (0, 2023-09-19)
CustomerRegistration.Application/Commands/RegisterCustomer/RegisterCustomerCommand.cs (1202, 2023-09-19)
CustomerRegistration.Application/Commands/RegisterCustomer/RegisterCustomerCommandHandler.cs (1824, 2023-09-19)
CustomerRegistration.Application/CustomerRegistration.Application.csproj (764, 2023-09-19)
CustomerRegistration.Application/Queries/ (0, 2023-09-19)
CustomerRegistration.Application/Queries/.DS_Store (6148, 2023-09-19)
CustomerRegistration.Application/Queries/GetAllCustomers/ (0, 2023-09-19)
CustomerRegistration.Application/Queries/GetAllCustomers/GetAllCustomersQuery.cs (229, 2023-09-19)
CustomerRegistration.Application/Queries/GetAllCustomers/GetAllCustomersQueryHandler.cs (981, 2023-09-19)
CustomerRegistration.Application/Queries/GetCustomersById/ (0, 2023-09-19)
... ...

# Customer registration ### Database: - To install the database image and build the SQL Server container. 1. $ docker-compose up 2. dotnet ef --startup-project ../CustomerRegistration.API/ database update ### New Migration: - To create a new migration run the command below in the terminal in the path "src/CustomerRegistration.Infrastructure". 1. dotnet ef --startup-project ../CustomerRegistration.API/ migrations add initial -c CustomerRegistrationContext --msbuildprojectextensionspath local/obj -v 2. dotnet ef --startup-project ../CustomerRegistration.API/ database update ### Swagger - https://localhost:7014/swagger/index.html #### Some usage examples:


近期下载者

相关文件


收藏者