├── Code
├── Sample Application
│ ├── Client
│ │ ├── src
│ │ │ ├── assets
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── 1.jpg
│ │ │ │ ├── 2.jpg
│ │ │ │ ├── 3.jpg
│ │ │ │ ├── M8.jpg
│ │ │ │ ├── RS7.jpg
│ │ │ │ └── S63.jpg
│ │ │ ├── app
│ │ │ │ ├── app.component.css
│ │ │ │ ├── cars
│ │ │ │ │ ├── create
│ │ │ │ │ │ └── create.component.css
│ │ │ │ │ ├── edit
│ │ │ │ │ │ └── edit.component.css
│ │ │ │ │ ├── list
│ │ │ │ │ │ ├── list.component.css
│ │ │ │ │ │ ├── list.component.ts
│ │ │ │ │ │ └── list.component.html
│ │ │ │ │ ├── sort
│ │ │ │ │ │ ├── sort.model.ts
│ │ │ │ │ │ ├── sort.component.css
│ │ │ │ │ │ └── sort.component.html
│ │ │ │ │ ├── category.model.ts
│ │ │ │ │ ├── search
│ │ │ │ │ │ ├── search.model.ts
│ │ │ │ │ │ └── search.component.css
│ │ │ │ │ ├── view
│ │ │ │ │ │ ├── view.component.css
│ │ │ │ │ │ ├── view.component.ts
│ │ │ │ │ │ └── view.component.html
│ │ │ │ │ ├── cars.model.ts
│ │ │ │ │ ├── dealer-cars
│ │ │ │ │ │ └── dealer-cars.component.css
│ │ │ │ │ ├── cars-routing.module.ts
│ │ │ │ │ └── cars.module.ts
│ │ │ │ ├── dealers
│ │ │ │ │ ├── profile
│ │ │ │ │ │ ├── profile.component.css
│ │ │ │ │ │ ├── password.model.ts
│ │ │ │ │ │ ├── profile.model.ts
│ │ │ │ │ │ └── profile.service.ts
│ │ │ │ │ ├── dealers-routing.module.ts
│ │ │ │ │ └── dealers.module.ts
│ │ │ │ ├── authentication
│ │ │ │ │ ├── login
│ │ │ │ │ │ ├── login.component.css
│ │ │ │ │ │ ├── login.model.ts
│ │ │ │ │ │ └── login.component.html
│ │ │ │ │ ├── register
│ │ │ │ │ │ ├── register.component.css
│ │ │ │ │ │ └── register.model.ts
│ │ │ │ │ ├── authentication-routing.module.ts
│ │ │ │ │ └── authentication.module.ts
│ │ │ │ ├── app.component.html
│ │ │ │ ├── shared
│ │ │ │ │ ├── pagination
│ │ │ │ │ │ ├── pagination.component.css
│ │ │ │ │ │ ├── pagination.component.html
│ │ │ │ │ │ └── pagination.component.ts
│ │ │ │ │ ├── statistics
│ │ │ │ │ │ ├── statistics.model.ts
│ │ │ │ │ │ └── statistics.service.ts
│ │ │ │ │ ├── navbar
│ │ │ │ │ │ ├── navbar.component.css
│ │ │ │ │ │ └── navbar.component.ts
│ │ │ │ │ ├── pop-up
│ │ │ │ │ │ ├── pop-up.component.html
│ │ │ │ │ │ ├── pop-up.component.css
│ │ │ │ │ │ ├── pop-up.component.ts
│ │ │ │ │ │ ├── pop-up.component.spec.ts
│ │ │ │ │ │ └── animations.ts
│ │ │ │ │ ├── shared-routing.module.ts
│ │ │ │ │ ├── home
│ │ │ │ │ │ ├── home.component.css
│ │ │ │ │ │ └── home.component.ts
│ │ │ │ │ ├── auth-guard.service.ts
│ │ │ │ │ ├── interceptor.service.ts
│ │ │ │ │ └── rouer-ext.service.ts
│ │ │ │ ├── app.component.ts
│ │ │ │ ├── app.module.ts
│ │ │ │ └── app-routing.module.ts
│ │ │ ├── favicon.ico
│ │ │ ├── environments
│ │ │ │ ├── environment.prod.ts
│ │ │ │ └── environment.ts
│ │ │ ├── main.ts
│ │ │ ├── styles.css
│ │ │ ├── test.ts
│ │ │ └── index.html
│ │ ├── e2e
│ │ │ ├── tsconfig.json
│ │ │ ├── src
│ │ │ │ ├── app.po.ts
│ │ │ │ └── app.e2e-spec.ts
│ │ │ └── protractor.conf.js
│ │ ├── tsconfig.app.json
│ │ ├── .editorconfig
│ │ ├── tsconfig.spec.json
│ │ ├── .dockerignore
│ │ ├── browserslist
│ │ ├── tsconfig.json
│ │ ├── nginx.conf
│ │ ├── .gitignore
│ │ ├── Dockerfile
│ │ └── karma.conf.js
│ ├── Server
│ │ ├── CarRentalSystem.Admin
│ │ │ ├── Views
│ │ │ │ ├── _ViewStart.cshtml
│ │ │ │ ├── Home
│ │ │ │ │ └── Privacy.cshtml
│ │ │ │ ├── Statistics
│ │ │ │ │ └── Index.cshtml
│ │ │ │ ├── Shared
│ │ │ │ │ ├── _ValidationScriptsPartial.cshtml
│ │ │ │ │ └── Error.cshtml
│ │ │ │ └── _ViewImports.cshtml
│ │ │ ├── appsettings.json
│ │ │ ├── wwwroot
│ │ │ │ ├── favicon.ico
│ │ │ │ ├── js
│ │ │ │ │ └── site.js
│ │ │ │ └── lib
│ │ │ │ │ ├── jquery-validation-unobtrusive
│ │ │ │ │ └── LICENSE.txt
│ │ │ │ │ └── jquery-validation
│ │ │ │ │ └── LICENSE.md
│ │ │ ├── appsettings.Development.json
│ │ │ ├── Models
│ │ │ │ ├── ErrorViewModel.cs
│ │ │ │ ├── Statistics
│ │ │ │ │ └── StatisticsOutputModel.cs
│ │ │ │ ├── Identity
│ │ │ │ │ ├── UserOutputModel.cs
│ │ │ │ │ ├── UserInputModel.cs
│ │ │ │ │ └── LoginFormModel.cs
│ │ │ │ └── Dealers
│ │ │ │ │ ├── DealerInputModel.cs
│ │ │ │ │ ├── DealerDetailsOutputModel.cs
│ │ │ │ │ └── DealerFormModel.cs
│ │ │ ├── Services
│ │ │ │ ├── Statistics
│ │ │ │ │ └── IStatisticsService.cs
│ │ │ │ ├── Identity
│ │ │ │ │ └── IIdentityService.cs
│ │ │ │ ├── Dealers
│ │ │ │ │ └── IDealersService.cs
│ │ │ │ └── ServiceEndpoints.cs
│ │ │ ├── Program.cs
│ │ │ ├── Controllers
│ │ │ │ ├── StatisticsController.cs
│ │ │ │ └── HomeController.cs
│ │ │ ├── Properties
│ │ │ │ └── launchSettings.json
│ │ │ ├── CarRentalSystem.Admin.csproj
│ │ │ └── Dockerfile
│ │ ├── CarRentalSystem.Dealers
│ │ │ ├── appsettings.json
│ │ │ ├── Data
│ │ │ │ ├── Models
│ │ │ │ │ ├── TransmissionType.cs
│ │ │ │ │ ├── Options.cs
│ │ │ │ │ ├── Manufacturer.cs
│ │ │ │ │ ├── Category.cs
│ │ │ │ │ ├── Dealer.cs
│ │ │ │ │ └── CarAd.cs
│ │ │ │ ├── Migrations
│ │ │ │ │ ├── 20200618110013_LocationColumn.cs
│ │ │ │ │ └── 20200710164708_MessagesTable.cs
│ │ │ │ ├── Configurations
│ │ │ │ │ ├── ManufacturerConfiguration.cs
│ │ │ │ │ └── CategoryConfiguration.cs
│ │ │ │ ├── DealersDbContext.cs
│ │ │ │ └── DataConstants.cs
│ │ │ ├── appsettings.Development.json
│ │ │ ├── Models
│ │ │ │ ├── CarAds
│ │ │ │ │ ├── CreateCarAdOutputModel.cs
│ │ │ │ │ ├── MineCarAdsOutputModel.cs
│ │ │ │ │ ├── SearchCarAdsOutputModel.cs
│ │ │ │ │ ├── MineCarAdOutputModel.cs
│ │ │ │ │ ├── CarAdsQuery.cs
│ │ │ │ │ ├── CarAdsOutputModel.cs
│ │ │ │ │ └── CarAdOutputModel.cs
│ │ │ │ ├── Dealers
│ │ │ │ │ ├── DealerOutputModel.cs
│ │ │ │ │ ├── DealerDetailsOutputModel.cs
│ │ │ │ │ ├── EditDealerInputModel.cs
│ │ │ │ │ └── CreateDealerInputModel.cs
│ │ │ │ └── Categories
│ │ │ │ │ └── CategoryOutputModel.cs
│ │ │ ├── Services
│ │ │ │ ├── Manufacturers
│ │ │ │ │ ├── IManufacturerService.cs
│ │ │ │ │ └── ManufacturerService.cs
│ │ │ │ ├── Categories
│ │ │ │ │ ├── ICategoryService.cs
│ │ │ │ │ └── CategoryService.cs
│ │ │ │ ├── CarAds
│ │ │ │ │ └── ICarAdService.cs
│ │ │ │ └── Dealers
│ │ │ │ │ └── IDealerService.cs
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ └── launchSettings.json
│ │ │ ├── Dockerfile
│ │ │ └── CarRentalSystem.Dealers.csproj
│ │ ├── CarRentalSystem.Identity
│ │ │ ├── appsettings.json
│ │ │ ├── IdentitySettings.cs
│ │ │ ├── Data
│ │ │ │ ├── Models
│ │ │ │ │ └── User.cs
│ │ │ │ ├── DataConstants.cs
│ │ │ │ └── IdentityDbContext.cs
│ │ │ ├── appsettings.Development.json
│ │ │ ├── Models
│ │ │ │ └── Identity
│ │ │ │ │ ├── ChangePasswordInputModel.cs
│ │ │ │ │ ├── UserOutputModel.cs
│ │ │ │ │ └── UserInputModel.cs
│ │ │ ├── Services
│ │ │ │ └── Identity
│ │ │ │ │ ├── ITokenGeneratorService.cs
│ │ │ │ │ └── IIdentityService.cs
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ └── launchSettings.json
│ │ │ ├── Dockerfile
│ │ │ ├── CarRentalSystem.Identity.csproj
│ │ │ └── Infrastructure
│ │ │ │ └── ServiceCollectionExtensions.cs
│ │ ├── CarRentalSystem.Statistics
│ │ │ ├── appsettings.json
│ │ │ ├── appsettings.Development.json
│ │ │ ├── Models
│ │ │ │ ├── CarAdViews
│ │ │ │ │ └── CarAdViewOutputModel.cs
│ │ │ │ └── Statistics
│ │ │ │ │ └── StatisticsOutputModel.cs
│ │ │ ├── Data
│ │ │ │ ├── Models
│ │ │ │ │ ├── CarAdView.cs
│ │ │ │ │ └── Statistics.cs
│ │ │ │ ├── StatisticsDbContext.cs
│ │ │ │ ├── Configurations
│ │ │ │ │ └── CarAdViewConfiguration.cs
│ │ │ │ └── Migrations
│ │ │ │ │ ├── 20200618130926_CarAdViewIndex.cs
│ │ │ │ │ └── 20200917165120_MessagesTable.cs
│ │ │ ├── Services
│ │ │ │ ├── Statistics
│ │ │ │ │ ├── IStatisticsService.cs
│ │ │ │ │ └── StatisticsService.cs
│ │ │ │ └── CarAdViews
│ │ │ │ │ └── ICarAdViewService.cs
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ └── launchSettings.json
│ │ │ ├── Messages
│ │ │ │ └── CarAdCreatedConsumer.cs
│ │ │ ├── Controllers
│ │ │ │ ├── StatisticsController.cs
│ │ │ │ └── CarAdViewsController.cs
│ │ │ ├── Dockerfile
│ │ │ └── CarRentalSystem.Statistics.csproj
│ │ ├── CarRentalSystem.Notifications
│ │ │ ├── appsettings.json
│ │ │ ├── NotificationSettings.cs
│ │ │ ├── appsettings.Development.json
│ │ │ ├── Constants.cs
│ │ │ ├── CarRentalSystem.Notifications.csproj
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ └── launchSettings.json
│ │ │ ├── Messages
│ │ │ │ └── CarAdCreatedConsumer.cs
│ │ │ ├── Dockerfile
│ │ │ ├── Infrastructure
│ │ │ │ └── JwtConfiguration.cs
│ │ │ └── Hub
│ │ │ │ └── NotificationsHub.cs
│ │ ├── CarRentalSystem.Watchdog
│ │ │ ├── appsettings.json
│ │ │ ├── appsettings.Development.json
│ │ │ ├── CarRentalSystem.Watchdog.csproj
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ └── launchSettings.json
│ │ │ ├── Startup.cs
│ │ │ └── Dockerfile
│ │ ├── CarRentalSystem
│ │ │ ├── Common.env
│ │ │ ├── Services
│ │ │ │ ├── IDataSeeder.cs
│ │ │ │ ├── Identity
│ │ │ │ │ ├── ICurrentTokenService.cs
│ │ │ │ │ ├── ICurrentUserService.cs
│ │ │ │ │ ├── CurrentTokenService.cs
│ │ │ │ │ └── CurrentUserService.cs
│ │ │ │ ├── IDataService.cs
│ │ │ │ └── DataService.cs
│ │ │ ├── Constants.cs
│ │ │ ├── Models
│ │ │ │ └── IMapFrom.cs
│ │ │ ├── ApplicationSettings.cs
│ │ │ ├── Data
│ │ │ │ ├── DataSeederConstants.cs
│ │ │ │ ├── DataConstants.cs
│ │ │ │ ├── MessageDbContext.cs
│ │ │ │ └── Configuration
│ │ │ │ │ └── MessageConfiguration.cs
│ │ │ ├── Messages
│ │ │ │ └── Dealers
│ │ │ │ │ ├── CarAdUpdatedMessage.cs
│ │ │ │ │ └── CarAdCreatedMessage.cs
│ │ │ ├── Controllers
│ │ │ │ └── ApiController.cs
│ │ │ ├── Infrastructure
│ │ │ │ ├── AuthorizeAdministratorAttribute.cs
│ │ │ │ ├── ClaimsPrincipalExtensions.cs
│ │ │ │ ├── InfrastructureConstants.cs
│ │ │ │ ├── EnumerableExtensions.cs
│ │ │ │ ├── ConfigurationExtensions.cs
│ │ │ │ └── EndpointRouteBuilderExtensions.cs
│ │ │ └── MessageQueueSettings.cs
│ │ ├── CarRentalSystem.Schedule
│ │ │ ├── appsettings.Development.json
│ │ │ ├── Services
│ │ │ │ ├── IRentedCarService.cs
│ │ │ │ └── RentedCarService.cs
│ │ │ ├── Data
│ │ │ │ ├── Models
│ │ │ │ │ ├── Feedback.cs
│ │ │ │ │ ├── Driver.cs
│ │ │ │ │ ├── Reservation.cs
│ │ │ │ │ └── RentedCar.cs
│ │ │ │ ├── Configurations
│ │ │ │ │ ├── RentedCarConfiguration.cs
│ │ │ │ │ ├── DriverConfiguration.cs
│ │ │ │ │ ├── FeedbackConfiguration.cs
│ │ │ │ │ └── ReservationConfiguration.cs
│ │ │ │ └── ScheduleDbContext.cs
│ │ │ ├── Properties
│ │ │ │ └── launchSettings.json
│ │ │ ├── appsettings.json
│ │ │ ├── Program.cs
│ │ │ ├── CarRentalSystem.Schedule.csproj
│ │ │ ├── Messages
│ │ │ │ └── CarAdUpdatedConsumer.cs
│ │ │ └── Startup.cs
│ │ └── .dockerignore
│ ├── README.md
│ └── .aspnet
│ │ ├── admin
│ │ └── DataProtection-Keys
│ │ │ ├── key-678ef51e-9fc4-4a0e-83fe-76723c365c3e.xml
│ │ │ └── key-923f9357-f2a4-427c-af4b-84d001cfafef.xml
│ │ ├── dealers
│ │ └── DataProtection-Keys
│ │ │ ├── key-2e349f1f-21c0-4eee-9c75-c5f92b871a70.xml
│ │ │ └── key-9dbe0cd4-9f93-44db-b979-5592c45b0483.xml
│ │ ├── identity
│ │ └── DataProtection-Keys
│ │ │ ├── key-3647e96a-6cfd-4ef6-af49-ae765593c45c.xml
│ │ │ └── key-d899448a-f876-4b56-b8f0-1684a22c8d0d.xml
│ │ ├── notifications
│ │ └── DataProtection-Keys
│ │ │ ├── key-611864fb-7266-443f-be99-6a690691950f.xml
│ │ │ └── key-385a953d-da17-4db5-b920-687d8ca92b40.xml
│ │ └── statistics
│ │ └── DataProtection-Keys
│ │ ├── key-44362846-b760-4ba1-8d84-10c9834fe0f1.xml
│ │ └── key-a3e6a739-995a-4fd0-9a56-f4bb9134b168.xml
├── OData
│ ├── README.md
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ ├── OData.csproj
│ ├── WeatherForecast.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ └── OData.sln
├── GraphQL
│ ├── GraphQL
│ │ ├── Platforms
│ │ │ ├── AddPlatformInput.cs
│ │ │ ├── AddPlatformPayload.cs
│ │ │ ├── AddPlatformInputType.cs
│ │ │ └── AddPlatformPayloadType.cs
│ │ ├── Commands
│ │ │ ├── AddCommandInput.cs
│ │ │ ├── AddCommandPayload.cs
│ │ │ ├── AddCommandPayloadType.cs
│ │ │ └── AddCommandInputType.cs
│ │ └── Subscription.cs
│ ├── README.md
│ ├── appsettings.json
│ ├── appsettings.Development.json
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ ├── CommanderGQL.csproj
│ ├── Data
│ │ └── AppDbContext.cs
│ ├── Models
│ │ ├── Platform.cs
│ │ └── Command.cs
│ ├── Migrations
│ │ └── 20210120093548_AddPlatformToDb.cs
│ └── CommanderGQL.sln
├── REST
│ ├── RESTCommon
│ │ ├── RESTCommon.csproj
│ │ └── WeatherForecast.cs
│ ├── RESTServer
│ │ ├── appsettings.Development.json
│ │ ├── appsettings.json
│ │ ├── RESTServer.csproj
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── launchSettings.json
│ │ └── Controllers
│ │ │ └── WeatherForecastController.cs
│ └── RESTClient
│ │ └── RESTClient.csproj
├── Refit
│ ├── RefitCommon
│ │ ├── RefitCommon.csproj
│ │ └── WeatherForecast.cs
│ ├── RefitServer
│ │ ├── appsettings.Development.json
│ │ ├── appsettings.json
│ │ ├── RefitServer.csproj
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── launchSettings.json
│ │ └── Controllers
│ │ │ └── WeatherForecastController.cs
│ └── RefitClient
│ │ ├── IWeatherForecastService.cs
│ │ ├── RefitClient.csproj
│ │ └── Program.cs
└── gRPC
│ ├── gRPCServer
│ ├── appsettings.Development.json
│ ├── Properties
│ │ └── launchSettings.json
│ ├── appsettings.json
│ ├── gRPCServer.csproj
│ ├── Protos
│ │ └── weather.proto
│ ├── Program.cs
│ └── Services
│ │ └── WeatherService.cs
│ └── gRPCClient
│ ├── gRPCClient.csproj
│ └── Program.cs
└── Presentation.pptx
/Code/Sample Application/Client/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Code/Sample Application/Client/src/app/app.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Code/Sample Application/Client/src/app/cars/create/create.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Code/OData/README.md:
--------------------------------------------------------------------------------
1 | Addapted from: https://github.com/OData/AspNetCoreOData
--------------------------------------------------------------------------------
/Code/Sample Application/Client/src/app/dealers/profile/profile.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Code/Sample Application/Client/src/app/authentication/login/login.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Code/Sample Application/Client/src/app/cars/edit/edit.component.css:
--------------------------------------------------------------------------------
1 | img {
2 | width: 100%;
3 | }
--------------------------------------------------------------------------------
/Code/Sample Application/Server/CarRentalSystem.Admin/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "_Layout";
3 | }
4 |
--------------------------------------------------------------------------------
/Code/Sample Application/Client/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /Code/Sample Application/Client/src/app/cars/search/search.model.ts: -------------------------------------------------------------------------------- 1 | export interface Search { 2 | manufacturer: string; 3 | dealer: string; 4 | category: number; 5 | minPricePerDay: number; 6 | maxPricePerDay: number; 7 | } -------------------------------------------------------------------------------- /Code/OData/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Code/Sample Application/Server/CarRentalSystem.Identity/IdentitySettings.cs: -------------------------------------------------------------------------------- 1 | namespace CarRentalSystem.Identity 2 | { 3 | public class IdentitySettings 4 | { 5 | public string AdminPassword { get; private set; } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Code/Sample Application/Server/CarRentalSystem.Identity/Data/Models/User.cs: -------------------------------------------------------------------------------- 1 | namespace CarRentalSystem.Identity.Data.Models 2 | { 3 | using Microsoft.AspNetCore.Identity; 4 | 5 | public class User : IdentityUser 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Code/REST/RESTServer/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Code/Refit/RefitServer/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Code/Sample Application/Server/CarRentalSystem.Dealers/Data/Models/TransmissionType.cs: -------------------------------------------------------------------------------- 1 | namespace CarRentalSystem.Dealers.Data.Models 2 | { 3 | public enum TransmissionType 4 | { 5 | Manual = 1, 6 | Automatic = 2 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Code/GraphQL/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /Code/OData/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /Code/Sample Application/Client/src/app/shared/pop-up/pop-up.component.html: -------------------------------------------------------------------------------- 1 |
12 | Request ID: @Model.RequestId
13 |
18 | Swapping to Development environment will display more detailed information about the error that occurred. 19 |
20 |21 | The Development environment shouldn't be enabled for deployed applications. 22 | It can result in displaying sensitive information from exceptions to end users. 23 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 24 | and restarting the app. 25 |
26 | -------------------------------------------------------------------------------- /Code/Sample Application/Server/CarRentalSystem.Dealers/Models/CarAds/CarAdOutputModel.cs: -------------------------------------------------------------------------------- 1 | namespace CarRentalSystem.Dealers.Models.CarAds 2 | { 3 | using AutoMapper; 4 | using CarRentalSystem.Models; 5 | using Data.Models; 6 | 7 | public class CarAdOutputModel : IMapFrom