├── .gitattributes ├── .gitignore ├── Assets ├── Logo.jpg └── red-button.png ├── BlazorCRUD ├── BlazorCrudApp.sln └── BlazorCrudApp │ ├── BlazorCrudApp.csproj │ ├── Components │ ├── App.razor │ ├── Layout │ │ ├── MainLayout.razor │ │ └── NavMenu.razor │ ├── Pages │ │ ├── Counter.razor │ │ ├── CreateEmployee.razor │ │ ├── DeleteConfirmation.razor │ │ ├── EditEmployee.razor │ │ ├── Employees.razor │ │ ├── Error.razor │ │ ├── Home.razor │ │ └── Test.razor │ ├── Routes.razor │ └── _Imports.razor │ ├── Data │ └── AppDbContext.cs │ ├── Domain │ ├── Contracts.cs │ └── Employee.cs │ ├── Migrations │ ├── 20250126104549_InitialCreate.Designer.cs │ ├── 20250126104549_InitialCreate.cs │ └── AppDbContextModelSnapshot.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Service │ ├── EmployeeService.cs │ └── IEmployeeService.cs │ ├── appsettings.Development.json │ ├── appsettings.json │ └── wwwroot │ └── favicon.ico ├── DependencyInjection.API ├── DependencyInjection.API.sln └── DependencyInjection.API │ ├── Controllers │ ├── LifetimeDemoController.cs │ └── WeatherForecastController.cs │ ├── DependencyInjection.API.csproj │ ├── DependencyInjection.API.http │ ├── Interface │ ├── IGuidGeneratorService.cs │ ├── IRandomNumberService.cs │ ├── ITimestampService.cs │ └── IUserSessionService.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Service │ ├── GuidGeneratorService.cs │ ├── RandomNumberService.cs │ ├── TimestampService.cs │ └── UserSessionService.cs │ ├── WeatherForecast.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── DotNetFluentCore9 ├── DotNetFluentCore9.sln └── DotNetFluentCore9 │ ├── Contracts │ ├── AnnotationUserRegistrationRequest.cs │ ├── BusinessRegistrationRequest.cs │ ├── ProductCatalogRequest.cs │ ├── ShippingRequest.cs │ └── UserRegistrationRequest.cs │ ├── Controllers │ └── BaseController.cs │ ├── DotNetFluentCore9.csproj │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Validators │ ├── BusinessRegistrationValidator.cs │ ├── ProductCatalogValidator.cs │ ├── RegistrationValidator.cs │ └── ShippingValidator.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── DotnetAuth ├── DotnetAuth.sln └── DotnetAuth │ ├── Controllers │ ├── AuthController.cs │ └── WeatherForecastController.cs │ ├── Domain │ ├── Contracts │ │ ├── ErrorResponse.cs │ │ ├── JwtSettings.cs │ │ └── UserRequsetandResponse.cs │ └── Entities │ │ └── ApplicationUser.cs │ ├── DotnetAuth.csproj │ ├── DotnetAuth.http │ ├── Exceptions │ └── GlobalExceptionHandler.cs │ ├── Extensions │ └── ApplicatrionService.cs │ ├── Infrastructure │ ├── Context │ │ └── ApplicationDbContext.cs │ └── Mapping │ │ └── MappingProfile.cs │ ├── Migrations │ ├── 20241209000518_InitialCreate.Designer.cs │ ├── 20241209000518_InitialCreate.cs │ └── ApplicationDbContextModelSnapshot.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Service │ ├── CurrentUserService.cs │ ├── ICurrentUserService.cs │ ├── ITokenService.cs │ ├── IUserServices.cs │ ├── ToekenServiceImple.cs │ └── UserServiceImpl.cs │ ├── WeatherForecast.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── DotnetAzureCosmosDb ├── DotnetAzureCosmosDb.sln └── DotnetAzureCosmosDb │ ├── Contracts │ ├── ApiResponse.cs │ ├── IStudentService.cs │ └── StudentDTOs.cs │ ├── Controllers │ └── StudentController.cs │ ├── DotnetAzureCosmosDb.csproj │ ├── DotnetAzureCosmosDb.http │ ├── Extensions │ └── CosmosDbServiceExtensions.cs │ ├── Models │ └── Student.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Services │ └── StudentService.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── DotnetRedisCacheAPI ├── DotnetRedisCacheAPI.sln └── DotnetRedisCacheAPI │ ├── Controllers │ └── JsonPlaceholderController.cs │ ├── DotnetRedisCacheAPI.csproj │ ├── DotnetRedisCacheAPI.http │ ├── Models │ └── JsonPlaceholderDtos.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Service │ ├── IJsonPlaceholderService.cs │ ├── IRedisService.cs │ ├── JsonPlaceholderService.cs │ └── RedisService.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── GgrpcProductService ├── .idea │ └── .idea.GgrpcProductService │ │ └── .idea │ │ ├── .gitignore │ │ ├── encodings.xml │ │ ├── indexLayout.xml │ │ └── vcs.xml ├── GgrpcProductService.sln └── GgrpcProductService │ ├── Data │ └── AppDbContext.cs │ ├── GgrpcProductService.csproj │ ├── GgrpcProductService.db │ ├── Migrations │ ├── 20250621184528_Initial.Designer.cs │ ├── 20250621184528_Initial.cs │ └── AppDbContextModelSnapshot.cs │ ├── Models │ └── Products.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Protos │ ├── greet.proto │ └── product.proto │ ├── Services │ ├── GreeterService.cs │ └── ProductService.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── GlobalExceptions ├── GlobalExceptions.sln └── GlobalExceptions │ ├── GlobalExceptions.csproj │ ├── Migrations │ ├── 20241205220123_InitialCreate.Designer.cs │ ├── 20241205220123_InitialCreate.cs │ ├── 20241205222045_Update.Designer.cs │ ├── 20241205222045_Update.cs │ └── StudentDbContextModelSnapshot.cs │ ├── Properties │ └── launchSettings.json │ ├── appsettings.Development.json │ ├── appsettings.json │ └── src │ ├── Context │ └── StudentDbContext.cs │ ├── Contracts │ ├── ErrorResponse.cs │ └── StudentDto.cs │ ├── Controllers │ └── StudentController.cs │ ├── Exceptions │ └── GlobalExceptionHandler.cs │ ├── Mapping │ └── MappingProfile.cs │ ├── Modles │ └── Student.cs │ ├── Program.cs │ └── Service │ ├── IStudentService.cs │ └── StudentService.cs ├── MongoDb-dotnet-react ├── client-react │ └── MongoDbProductClinet │ │ ├── .gitignore │ │ ├── README.md │ │ ├── eslint.config.js │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── public │ │ └── vite.svg │ │ ├── src │ │ ├── API │ │ │ └── api.ts │ │ ├── App.tsx │ │ ├── Components │ │ │ ├── CreateProduct.tsx │ │ │ ├── EditProduct.tsx │ │ │ ├── Navbar.tsx │ │ │ ├── ProductDetail.tsx │ │ │ └── ProductList.tsx │ │ ├── Interface │ │ │ └── baseInterface.ts │ │ ├── assets │ │ │ └── react.svg │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ │ ├── tailwind.config.js │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts └── server-dotnet │ └── MogoDbProductAPI │ ├── MogoDbProductAPI.sln │ └── MogoDbProductAPI │ ├── Controllers │ ├── ProductController.cs │ └── WeatherForecastController.cs │ ├── Data │ └── AppDbContext.cs │ ├── Domain │ ├── Contracts │ │ ├── MongoDBSettings.cs │ │ └── ProductContract.cs │ └── Model │ │ └── Product.cs │ ├── Extensions │ └── ConfigureApplicationServices.cs │ ├── MogoDbProductAPI.csproj │ ├── MogoDbProductAPI.http │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Service │ ├── IProductService.cs │ └── ProductService.cs │ ├── WeatherForecast.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── QueryableIEnumerableAPI ├── .idea │ └── .idea.QueryableIEnumerableAPI │ │ └── .idea │ │ ├── .gitignore │ │ ├── indexLayout.xml │ │ └── vcs.xml ├── QueryableIEnumerableAPI.sln └── QueryableIEnumerableAPI │ ├── Constract │ ├── EmployeeDTO.cs │ └── IEmployeeService.cs │ ├── Controllers │ └── EmployeesController.cs │ ├── Data │ └── AppDbContext.cs │ ├── Migrations │ ├── 20250615162102_AddMigration.Designer.cs │ ├── 20250615162102_AddMigration.cs │ └── AppDbContextModelSnapshot.cs │ ├── Model │ └── Employee.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── QueryableIEnumerableAPI.csproj │ ├── QueryableIEnumerableAPI.http │ ├── Service │ └── Employee.cs │ ├── appsettings.Development.json │ ├── appsettings.json │ └── employee.db ├── README.md ├── RepositoryPattern.API ├── RepositoryPattern.API.sln └── RepositoryPattern.API │ ├── Controllers │ ├── AuthorController.cs │ └── BookController.cs │ ├── Data │ └── AppDbContext.cs │ ├── Domain │ ├── Contracts │ │ ├── AuthorContract.cs │ │ └── BookContract.cs │ ├── Entities │ │ ├── Author.cs │ │ └── Book.cs │ └── Mapping │ │ └── MappingProfile.cs │ ├── Migrations │ ├── 20250107023515_InitialCreate.Designer.cs │ ├── 20250107023515_InitialCreate.cs │ └── AppDbContextModelSnapshot.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Repositories │ ├── BaseRepository.cs │ └── IBaseRepository.cs │ ├── RepositoryPattern.API.csproj │ ├── RepositoryPattern.API.http │ ├── appsettings.Development.json │ └── appsettings.json ├── ScalarOpenApi ├── ScalarOpenApi.sln └── ScalarOpenApi │ ├── Controllers │ ├── Studentcontroller.cs │ └── WeatherForecastController.cs │ ├── Data │ └── AppDbContext.cs │ ├── Domain │ ├── Contract │ │ ├── ApiRseponse.cs │ │ └── Stuedent.cs │ └── Models │ │ └── Student.cs │ ├── Migrations │ ├── 20250112230140_InitialCreate.Designer.cs │ ├── 20250112230140_InitialCreate.cs │ └── AppDbContextModelSnapshot.cs │ ├── Product.db │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── ScalarOpenApi.csproj │ ├── ScalarOpenApi.http │ ├── Services │ ├── IStudent.cs │ └── StudentService.cs │ ├── WeatherForecast.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── StructuredLoggingNET9 ├── StructuredLoggingNET9.sln └── StructuredLoggingNET9 │ ├── ApplicationService.cs │ ├── Controllers │ └── WeatherForecastController.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── StructuredLoggingNET9.csproj │ ├── StructuredLoggingNET9.http │ ├── WeatherForecast.cs │ ├── appsettings.Development.json │ ├── appsettings.json │ └── log.txt ├── dotnet9-crash-course ├── .vs │ ├── ProjectEvaluation │ │ ├── dotnet9-crash-course.metadata.v9.bin │ │ ├── dotnet9-crash-course.projects.v9.bin │ │ └── dotnet9-crash-course.strings.v9.bin │ └── dotnet9-crash-course │ │ ├── CopilotIndices │ │ └── 17.12.31.40377 │ │ │ ├── CodeChunks.db │ │ │ ├── SemanticSymbols.db │ │ │ ├── SemanticSymbols.db-shm │ │ │ └── SemanticSymbols.db-wal │ │ ├── DesignTimeBuild │ │ └── .dtbcache.v2 │ │ ├── FileContentIndex │ │ └── 61534a57-c1f2-429a-8c63-0f9cb961e9dd.vsidx │ │ ├── config │ │ └── applicationhost.config │ │ ├── copilot-chat │ │ └── e9452068 │ │ │ └── sessions │ │ │ └── 5ecd7b97-6e11-4b9c-a9fc-ff3f4350e71e │ │ └── v17 │ │ ├── .futdcache.v2 │ │ ├── .suo │ │ ├── DocumentLayout.backup.json │ │ └── DocumentLayout.json ├── dotnet9-crash-course.sln └── dotnet9-crash-course │ ├── Controllers │ └── ProductController.cs │ ├── Migrations │ ├── 20241130221518_InitialCreate.Designer.cs │ ├── 20241130221518_InitialCreate.cs │ └── ProductDbContextModelSnapshot.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── appsettings.Development.json │ ├── appsettings.json │ ├── bin │ └── Debug │ │ └── net9.0 │ │ ├── AutoMapper.dll │ │ ├── Azure.Core.dll │ │ ├── Azure.Identity.dll │ │ ├── FluentValidation.dll │ │ ├── Humanizer.dll │ │ ├── Microsoft.AspNetCore.OpenApi.dll │ │ ├── Microsoft.Bcl.AsyncInterfaces.dll │ │ ├── Microsoft.Build.Locator.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.dll │ │ ├── Microsoft.CodeAnalysis.dll │ │ ├── Microsoft.Data.SqlClient.dll │ │ ├── Microsoft.EntityFrameworkCore.Abstractions.dll │ │ ├── Microsoft.EntityFrameworkCore.Design.dll │ │ ├── Microsoft.EntityFrameworkCore.Relational.dll │ │ ├── Microsoft.EntityFrameworkCore.SqlServer.dll │ │ ├── Microsoft.EntityFrameworkCore.dll │ │ ├── Microsoft.Extensions.DependencyModel.dll │ │ ├── Microsoft.Identity.Client.Extensions.Msal.dll │ │ ├── Microsoft.Identity.Client.dll │ │ ├── Microsoft.IdentityModel.Abstractions.dll │ │ ├── Microsoft.IdentityModel.JsonWebTokens.dll │ │ ├── Microsoft.IdentityModel.Logging.dll │ │ ├── Microsoft.IdentityModel.Protocols.OpenIdConnect.dll │ │ ├── Microsoft.IdentityModel.Protocols.dll │ │ ├── Microsoft.IdentityModel.Tokens.dll │ │ ├── Microsoft.OpenApi.dll │ │ ├── Microsoft.SqlServer.Server.dll │ │ ├── Microsoft.Win32.SystemEvents.dll │ │ ├── Mono.TextTemplating.dll │ │ ├── Swashbuckle.AspNetCore.Swagger.dll │ │ ├── Swashbuckle.AspNetCore.SwaggerGen.dll │ │ ├── Swashbuckle.AspNetCore.SwaggerUI.dll │ │ ├── System.ClientModel.dll │ │ ├── System.CodeDom.dll │ │ ├── System.Composition.AttributedModel.dll │ │ ├── System.Composition.Convention.dll │ │ ├── System.Composition.Hosting.dll │ │ ├── System.Composition.Runtime.dll │ │ ├── System.Composition.TypedParts.dll │ │ ├── System.Configuration.ConfigurationManager.dll │ │ ├── System.Drawing.Common.dll │ │ ├── System.IdentityModel.Tokens.Jwt.dll │ │ ├── System.Memory.Data.dll │ │ ├── System.Runtime.Caching.dll │ │ ├── System.Security.Cryptography.ProtectedData.dll │ │ ├── System.Security.Permissions.dll │ │ ├── System.Windows.Extensions.dll │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ ├── cs │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── de │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── dotnet9-crash-course.deps.json │ │ ├── dotnet9-crash-course.dll │ │ ├── dotnet9-crash-course.exe │ │ ├── dotnet9-crash-course.pdb │ │ ├── dotnet9-crash-course.runtimeconfig.json │ │ ├── dotnet9-crash-course.staticwebassets.endpoints.json │ │ ├── es │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── fr │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── it │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── ja │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── ko │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── pl │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── pt-BR │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── ru │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── runtimes │ │ ├── unix │ │ │ └── lib │ │ │ │ └── net6.0 │ │ │ │ ├── Microsoft.Data.SqlClient.dll │ │ │ │ └── System.Drawing.Common.dll │ │ ├── win-arm │ │ │ └── native │ │ │ │ └── Microsoft.Data.SqlClient.SNI.dll │ │ ├── win-arm64 │ │ │ └── native │ │ │ │ └── Microsoft.Data.SqlClient.SNI.dll │ │ ├── win-x64 │ │ │ └── native │ │ │ │ └── Microsoft.Data.SqlClient.SNI.dll │ │ ├── win-x86 │ │ │ └── native │ │ │ │ └── Microsoft.Data.SqlClient.SNI.dll │ │ └── win │ │ │ └── lib │ │ │ └── net6.0 │ │ │ ├── Microsoft.Data.SqlClient.dll │ │ │ ├── Microsoft.Win32.SystemEvents.dll │ │ │ ├── System.Drawing.Common.dll │ │ │ ├── System.Runtime.Caching.dll │ │ │ ├── System.Security.Cryptography.ProtectedData.dll │ │ │ └── System.Windows.Extensions.dll │ │ ├── tr │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ ├── zh-Hans │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ │ └── zh-Hant │ │ ├── Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll │ │ ├── Microsoft.CodeAnalysis.CSharp.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll │ │ ├── Microsoft.CodeAnalysis.Workspaces.resources.dll │ │ └── Microsoft.CodeAnalysis.resources.dll │ ├── dotnet9-crash-course.csproj │ ├── dotnet9-crash-course.csproj.user │ ├── dotnet9-crash-course.http │ ├── obj │ ├── Debug │ │ └── net9.0 │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ ├── ApiEndpoints.json │ │ │ ├── apphost.exe │ │ │ ├── dotnet9-.FD3248D6.Up2Date │ │ │ ├── dotnet9-crash-course.AssemblyInfo.cs │ │ │ ├── dotnet9-crash-course.AssemblyInfoInputs.cache │ │ │ ├── dotnet9-crash-course.GeneratedMSBuildEditorConfig.editorconfig │ │ │ ├── dotnet9-crash-course.GlobalUsings.g.cs │ │ │ ├── dotnet9-crash-course.MvcApplicationPartsAssemblyInfo.cache │ │ │ ├── dotnet9-crash-course.MvcApplicationPartsAssemblyInfo.cs │ │ │ ├── dotnet9-crash-course.assets.cache │ │ │ ├── dotnet9-crash-course.csproj.AssemblyReference.cache │ │ │ ├── dotnet9-crash-course.csproj.BuildWithSkipAnalyzers │ │ │ ├── dotnet9-crash-course.csproj.CoreCompileInputs.cache │ │ │ ├── dotnet9-crash-course.csproj.FileListAbsolute.txt │ │ │ ├── dotnet9-crash-course.dll │ │ │ ├── dotnet9-crash-course.genruntimeconfig.cache │ │ │ ├── dotnet9-crash-course.pdb │ │ │ ├── dotnet9-crash-course.sourcelink.json │ │ │ ├── ref │ │ │ └── dotnet9-crash-course.dll │ │ │ ├── refint │ │ │ └── dotnet9-crash-course.dll │ │ │ ├── staticwebassets.build.endpoints.json │ │ │ ├── staticwebassets.build.json │ │ │ ├── staticwebassets.references.upToDateCheck.txt │ │ │ ├── staticwebassets.removed.txt │ │ │ └── staticwebassets │ │ │ ├── msbuild.build.dotnet9-crash-course.props │ │ │ ├── msbuild.buildMultiTargeting.dotnet9-crash-course.props │ │ │ └── msbuild.buildTransitive.dotnet9-crash-course.props │ ├── dotnet9-crash-course.csproj.EntityFrameworkCore.targets │ ├── dotnet9-crash-course.csproj.nuget.dgspec.json │ ├── dotnet9-crash-course.csproj.nuget.g.props │ ├── dotnet9-crash-course.csproj.nuget.g.targets │ ├── project.assets.json │ └── project.nuget.cache │ └── src │ ├── Domain │ ├── Contract │ │ ├── ErrorResponse.cs │ │ └── ProductsContracts.cs │ ├── Entities │ │ └── Product.cs │ └── Validators │ │ ├── CreateProductRequestValidator.cs │ │ └── UpdateProductRequestValidator.cs │ ├── Infrastructure │ ├── Context │ │ └── ProductDbContext.cs │ ├── Exceptions │ │ └── GlobalExceptionHandler.cs │ └── Mapping │ │ └── MappingProfile.cs │ └── Service │ ├── IProductService.cs │ └── ProductService.cs └── dotnetBlazorFullStuck ├── dotnetBlazorFullStuck.ApiService ├── Controllers │ └── CountryDataController.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── Services │ ├── CountryDataServices.cs │ └── ICountryDataServices.cs ├── appsettings.Development.json ├── appsettings.json └── dotnetBlazorFullStuck.ApiService.csproj ├── dotnetBlazorFullStuck.AppHost ├── Program.cs ├── Properties │ └── launchSettings.json ├── appsettings.Development.json ├── appsettings.json └── dotnetBlazorFullStuck.AppHost.csproj ├── dotnetBlazorFullStuck.ServiceDefaults ├── Extensions.cs └── dotnetBlazorFullStuck.ServiceDefaults.csproj ├── dotnetBlazorFullStuck.Web ├── Components │ ├── App.razor │ ├── Client │ │ └── CountryClient.cs │ ├── Interface │ │ └── Country.cs │ ├── Layout │ │ ├── MainLayout.razor │ │ ├── MainLayout.razor.css │ │ ├── NavMenu.razor │ │ └── NavMenu.razor.css │ ├── Pages │ │ ├── Counter.razor │ │ ├── CurrencyByCountryCode.razor │ │ ├── Error.razor │ │ ├── Home.razor │ │ └── RegionsByCountryCode.razor │ ├── Routes.razor │ └── _Imports.razor ├── Program.cs ├── Properties │ └── launchSettings.json ├── appsettings.Development.json ├── appsettings.json ├── dotnetBlazorFullStuck.Web.csproj └── wwwroot │ ├── app.css │ ├── favicon.png │ └── lib │ └── bootstrap │ └── dist │ ├── css │ ├── bootstrap-grid.css │ ├── bootstrap-grid.css.map │ ├── bootstrap-grid.min.css │ ├── bootstrap-grid.min.css.map │ ├── bootstrap-grid.rtl.css │ ├── bootstrap-grid.rtl.css.map │ ├── bootstrap-grid.rtl.min.css │ ├── bootstrap-grid.rtl.min.css.map │ ├── bootstrap-reboot.css │ ├── bootstrap-reboot.css.map │ ├── bootstrap-reboot.min.css │ ├── bootstrap-reboot.min.css.map │ ├── bootstrap-reboot.rtl.css │ ├── bootstrap-reboot.rtl.css.map │ ├── bootstrap-reboot.rtl.min.css │ ├── bootstrap-reboot.rtl.min.css.map │ ├── bootstrap-utilities.css │ ├── bootstrap-utilities.css.map │ ├── bootstrap-utilities.min.css │ ├── bootstrap-utilities.min.css.map │ ├── bootstrap-utilities.rtl.css │ ├── bootstrap-utilities.rtl.css.map │ ├── bootstrap-utilities.rtl.min.css │ ├── bootstrap-utilities.rtl.min.css.map │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap.min.css │ ├── bootstrap.min.css.map │ ├── bootstrap.rtl.css │ ├── bootstrap.rtl.css.map │ ├── bootstrap.rtl.min.css │ └── bootstrap.rtl.min.css.map │ └── js │ ├── bootstrap.bundle.js │ ├── bootstrap.bundle.js.map │ ├── bootstrap.bundle.min.js │ ├── bootstrap.bundle.min.js.map │ ├── bootstrap.esm.js │ ├── bootstrap.esm.js.map │ ├── bootstrap.esm.min.js │ ├── bootstrap.esm.min.js.map │ ├── bootstrap.js │ ├── bootstrap.js.map │ ├── bootstrap.min.js │ └── bootstrap.min.js.map └── dotnetBlazorFullStuck.sln /Assets/Logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/Assets/Logo.jpg -------------------------------------------------------------------------------- /Assets/red-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/Assets/red-button.png -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorCrudApp", "BlazorCrudApp\BlazorCrudApp.csproj", "{FDA7E2F7-A15D-4464-8171-381DAFFCED43}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {FDA7E2F7-A15D-4464-8171-381DAFFCED43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {FDA7E2F7-A15D-4464-8171-381DAFFCED43}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {FDA7E2F7-A15D-4464-8171-381DAFFCED43}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {FDA7E2F7-A15D-4464-8171-381DAFFCED43}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/BlazorCrudApp.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | all 15 | runtime; build; native; contentfiles; analyzers; buildtransitive 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Components/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Components/Layout/NavMenu.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | Home 4 | Counter 5 | 6 | Weather 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Components/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 | Counter 6 | 7 | Current count: @currentCount 8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Components/Pages/Test.razor: -------------------------------------------------------------------------------- 1 | @page "/test" 2 | 3 | Basic Test Page 4 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Components/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using MudBlazor 10 | @using MudBlazor.Services 11 | @using BlazorCrudApp 12 | @using BlazorCrudApp.Components 13 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Data/AppDbContext.cs: -------------------------------------------------------------------------------- 1 | using BlazorCrudApp.Domain; 2 | using Microsoft.EntityFrameworkCore; 3 | 4 | namespace BlazorCrudApp.Data 5 | { 6 | public class AppDbContext : DbContext 7 | { 8 | public AppDbContext(DbContextOptions options) : base(options) { } 9 | 10 | public DbSet Employees { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Domain/Contracts.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | 3 | namespace BlazorCrudApp.Domain 4 | { 5 | public class CreateEmployeeDto 6 | { 7 | [Required] 8 | public string EmployeName { get; set; } 9 | [Required] 10 | public string Gender { get; set; } 11 | [Required] 12 | public string City { get; set; } 13 | } 14 | 15 | public class UpdateEmployeeDto 16 | { 17 | [Required] 18 | public Guid Id { get; set; } 19 | [Required] 20 | public string EmployeName { get; set; } 21 | [Required] 22 | public string Gender { get; set; } 23 | [Required] 24 | public string City { get; set; } 25 | public DateTime LastUpdatedAt { get; set; } 26 | } 27 | 28 | public class EmployeeDetailsDto 29 | { 30 | public Guid Id { get; set; } 31 | public string EmployeName { get; set; } 32 | public string Gender { get; set; } 33 | public string City { get; set; } 34 | public DateTime CreatedAt { get; set; } 35 | public DateTime LastUpdatedAt { get; set; } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Domain/Employee.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | 3 | namespace BlazorCrudApp.Domain 4 | { 5 | public class Employee 6 | { 7 | [Key] 8 | public Guid Id { get; set; } 9 | public string EmployeName { get; set; } 10 | public string Gender { get; set; } 11 | public string City { get; set; } 12 | public DateTime CreatedAt { get; set; } 13 | public DateTime LastUpdatedAt { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": true, 8 | "applicationUrl": "http://localhost:5079", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": true, 17 | "applicationUrl": "https://localhost:7036;http://localhost:5079", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/Service/IEmployeeService.cs: -------------------------------------------------------------------------------- 1 | using BlazorCrudApp.Domain; 2 | 3 | namespace BlazorCrudApp.Service 4 | { 5 | public interface IEmployeeService 6 | { 7 | Task> GetAllEmployeesAsync(); 8 | Task GetEmployeeByIdAsync(Guid id); 9 | Task CreateEmployeeAsync(CreateEmployeeDto createEmployeeDto); 10 | Task UpdateEmployeeAsync(UpdateEmployeeDto updateEmployeeDto); 11 | Task DeleteEmployeeAsync(Guid id); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "DetailedErrors": true, 9 | "ConnectionStrings": { 10 | "sqlConnection": "Server=localhost;Database=blazor_app_db;Integrated Security=true;TrustServerCertificate=true;" 11 | }, 12 | "AllowedHosts": "*" 13 | } 14 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /BlazorCRUD/BlazorCrudApp/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/BlazorCRUD/BlazorCrudApp/wwwroot/favicon.ico -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35707.178 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DependencyInjection.API", "DependencyInjection.API\DependencyInjection.API.csproj", "{28D4BBDF-9ACB-40C3-8560-0C4230A396C5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {28D4BBDF-9ACB-40C3-8560-0C4230A396C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {28D4BBDF-9ACB-40C3-8560-0C4230A396C5}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {28D4BBDF-9ACB-40C3-8560-0C4230A396C5}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {28D4BBDF-9ACB-40C3-8560-0C4230A396C5}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/DependencyInjection.API.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/DependencyInjection.API.http: -------------------------------------------------------------------------------- 1 | @DependencyInjection.API_HostAddress = http://localhost:5029 2 | 3 | GET {{DependencyInjection.API_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Interface/IGuidGeneratorService.cs: -------------------------------------------------------------------------------- 1 | namespace DependencyInjection.API.Interface 2 | { 3 | public interface IGuidGeneratorService 4 | { 5 | Guid GenerateGuid(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Interface/IRandomNumberService.cs: -------------------------------------------------------------------------------- 1 | namespace DependencyInjection.API.Interface 2 | { 3 | public interface IRandomNumberService 4 | { 5 | int GetRandomNumber(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Interface/ITimestampService.cs: -------------------------------------------------------------------------------- 1 | namespace DependencyInjection.API.Interface 2 | { 3 | public interface ITimestampService 4 | { 5 | DateTime GetTimeStamp(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Interface/IUserSessionService.cs: -------------------------------------------------------------------------------- 1 | namespace DependencyInjection.API.Interface 2 | { 3 | public interface IUserSessionService 4 | { 5 | string GetSessionId(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Program.cs: -------------------------------------------------------------------------------- 1 | using DependencyInjection.API.Interface; 2 | using DependencyInjection.API.Service; 3 | 4 | var builder = WebApplication.CreateBuilder(args); 5 | 6 | // Add services to the container. 7 | 8 | builder.Services.AddControllers(); 9 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 10 | builder.Services.AddOpenApi(); 11 | 12 | builder.Services.AddScoped(); 13 | builder.Services.AddScoped(); 14 | builder.Services.AddTransient(); 15 | builder.Services.AddTransient(); 16 | 17 | 18 | 19 | var app = builder.Build(); 20 | 21 | // Configure the HTTP request pipeline. 22 | if (app.Environment.IsDevelopment()) 23 | { 24 | app.MapOpenApi(); 25 | } 26 | 27 | app.UseHttpsRedirection(); 28 | 29 | app.UseAuthorization(); 30 | 31 | app.MapControllers(); 32 | 33 | app.Run(); 34 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5029", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7029;http://localhost:5029", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Service/GuidGeneratorService.cs: -------------------------------------------------------------------------------- 1 | using DependencyInjection.API.Interface; 2 | 3 | namespace DependencyInjection.API.Service 4 | { 5 | public class GuidGeneratorService : IGuidGeneratorService 6 | { 7 | 8 | public Guid GenerateGuid() => Guid.NewGuid(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Service/RandomNumberService.cs: -------------------------------------------------------------------------------- 1 | using DependencyInjection.API.Interface; 2 | 3 | namespace DependencyInjection.API.Service 4 | { 5 | public class RandomNumberService : IRandomNumberService 6 | { 7 | private int _randomNumber; 8 | 9 | public RandomNumberService() 10 | { 11 | _randomNumber = new Random().Next(1, 200) + 1; 12 | } 13 | public int GetRandomNumber() 14 | { 15 | return _randomNumber; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Service/TimestampService.cs: -------------------------------------------------------------------------------- 1 | using DependencyInjection.API.Interface; 2 | 3 | namespace DependencyInjection.API.Service 4 | { 5 | public class TimestampService : ITimestampService 6 | { 7 | private readonly DateTime _timestamp; 8 | public TimestampService() 9 | { 10 | 11 | _timestamp = DateTime.UtcNow; 12 | 13 | } 14 | 15 | public DateTime GetTimeStamp() => _timestamp; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/Service/UserSessionService.cs: -------------------------------------------------------------------------------- 1 | using DependencyInjection.API.Interface; 2 | 3 | namespace DependencyInjection.API.Service 4 | { 5 | public class UserSessionService : IUserSessionService 6 | { 7 | private readonly string _userId; 8 | 9 | public UserSessionService() 10 | { 11 | _userId = $"Session_{DateTime.UtcNow.Ticks}"; 12 | } 13 | public string GetSessionId() => _userId; 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | namespace DependencyInjection.API 2 | { 3 | public class WeatherForecast 4 | { 5 | public DateOnly Date { get; set; } 6 | 7 | public int TemperatureC { get; set; } 8 | 9 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 10 | 11 | public string? Summary { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /DependencyInjection.API/DependencyInjection.API/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35707.178 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetFluentCore9", "DotNetFluentCore9\DotNetFluentCore9.csproj", "{AFDA33B3-2D7D-4FF6-995F-28E6853F3339}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {AFDA33B3-2D7D-4FF6-995F-28E6853F3339}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {AFDA33B3-2D7D-4FF6-995F-28E6853F3339}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {AFDA33B3-2D7D-4FF6-995F-28E6853F3339}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {AFDA33B3-2D7D-4FF6-995F-28E6853F3339}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Contracts/AnnotationUserRegistrationRequest.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | 3 | namespace DotNetFluentCore9.Contracts 4 | { 5 | public class AnnotationUserRegistrationRequest 6 | { 7 | 8 | [Required(ErrorMessage = "First name is required.")] 9 | public required string FirstName { get; set; } 10 | 11 | [Required(ErrorMessage = "Last name is required.")] 12 | public required string LastName { get; set; } 13 | 14 | [Required(ErrorMessage = "Email is required.")] 15 | [EmailAddress(ErrorMessage = "Invalid email address.")] 16 | public required string Email { get; set; } 17 | 18 | [Required(ErrorMessage = "Password is required.")] 19 | [MinLength(6, ErrorMessage = "Password must be at least 6 characters.")] 20 | public required string Password { get; set; } 21 | 22 | [Required(ErrorMessage = "Please confirm your password.")] 23 | [Compare("Password", ErrorMessage = "Passwords do not match.")] 24 | public required string ConfirmPassword { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Contracts/BusinessRegistrationRequest.cs: -------------------------------------------------------------------------------- 1 | namespace DotNetFluentCore9.Contracts 2 | { 3 | public class BusinessRegistrationRequest 4 | { 5 | 6 | public required string CompanyName { get; set; } 7 | public string? TaxId { get; set; } 8 | public string? BusinessType { get; set; } 9 | public int? YearsInBusiness { get; set; } 10 | public decimal? AnnualRevenue { get; set; } 11 | public bool HasBusinessLicense { get; set; } 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Contracts/ProductCatalogRequest.cs: -------------------------------------------------------------------------------- 1 | namespace DotNetFluentCore9.Contracts 2 | { 3 | public class ProductItem 4 | { 5 | public string? Name { get; set; } 6 | public decimal Price { get; set; } 7 | public int QuantityInStock { get; set; } 8 | } 9 | 10 | public class ProductCatalogRequest 11 | { 12 | public string? StoreName { get; set; } 13 | public List Products { get; set; } = new(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Contracts/ShippingRequest.cs: -------------------------------------------------------------------------------- 1 | namespace DotNetFluentCore9.Contracts 2 | { 3 | public class ShippingRequest 4 | { 5 | public string? RecipientName { get; set; } 6 | public string? Address { get; set; } 7 | public string? City { get; set; } 8 | public string? PostalCode { get; set; } 9 | public string? Country { get; set; } 10 | public decimal PackageWeight { get; set; } 11 | 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Contracts/UserRegistrationRequest.cs: -------------------------------------------------------------------------------- 1 | namespace DotNetFluentCore9.Contracts 2 | { 3 | public class UserRegistrationRequest 4 | { 5 | public string? FirstName { get; set; } 6 | public string? LastName { get; set; } 7 | public string? Email { get; set; } 8 | public string? Password { get; set; } 9 | public string? ConfirmPassword { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/DotNetFluentCore9.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Program.cs: -------------------------------------------------------------------------------- 1 | using DotNetFluentCore9.Contracts; 2 | using DotNetFluentCore9.Validators; 3 | using FluentValidation; 4 | using static DotNetFluentCore9.Validators.ProductItemValidator; 5 | 6 | var builder = WebApplication.CreateBuilder(args); 7 | 8 | // Add services to the container. 9 | 10 | builder.Services.AddControllers(); 11 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 12 | builder.Services.AddOpenApi(); 13 | 14 | builder.Services.AddScoped, RegistrationValidator>(); 15 | 16 | 17 | builder.Services.AddScoped, BusinessRegistrationValidator>(); 18 | builder.Services.AddScoped, ProductCatalogValidator>(); 19 | builder.Services.AddScoped, ShippingValidator>(); 20 | 21 | 22 | var app = builder.Build(); 23 | 24 | // Configure the HTTP request pipeline. 25 | if (app.Environment.IsDevelopment()) 26 | { 27 | app.MapOpenApi(); 28 | 29 | } 30 | 31 | app.UseHttpsRedirection(); 32 | 33 | app.UseAuthorization(); 34 | 35 | app.MapControllers(); 36 | 37 | app.Run(); 38 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5024", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7222;http://localhost:5024", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/Validators/RegistrationValidator.cs: -------------------------------------------------------------------------------- 1 | using DotNetFluentCore9.Contracts; 2 | using FluentValidation; 3 | 4 | namespace DotNetFluentCore9.Validators 5 | { 6 | public class RegistrationValidator : AbstractValidator 7 | { 8 | public RegistrationValidator() 9 | { 10 | RuleFor(x => x.FirstName).NotEmpty().WithMessage("First name is required."); 11 | 12 | RuleFor(x => x.LastName).NotEmpty().WithMessage("Last name is required."); 13 | 14 | RuleFor(x => x.Email) 15 | .NotEmpty().WithMessage("Email is required.") 16 | .EmailAddress().WithMessage("Invalid email address."); 17 | 18 | RuleFor(x => x.Password) 19 | .NotEmpty().WithMessage("Password is required.") 20 | .MinimumLength(6).WithMessage("Password must be at least 6 characters."); 21 | 22 | RuleFor(x => x.ConfirmPassword) 23 | .NotEmpty().WithMessage("Please confirm your password.") 24 | .Equal(x => x.Password).WithMessage("Passwords do not match."); 25 | } 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /DotNetFluentCore9/DotNetFluentCore9/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetAuth", "DotnetAuth\DotnetAuth.csproj", "{0E9423E7-5BC7-4050-A675-B2B9354A7123}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {0E9423E7-5BC7-4050-A675-B2B9354A7123}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {0E9423E7-5BC7-4050-A675-B2B9354A7123}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {0E9423E7-5BC7-4050-A675-B2B9354A7123}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {0E9423E7-5BC7-4050-A675-B2B9354A7123}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Domain/Contracts/ErrorResponse.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetAuth.Domain.Contracts 2 | { 3 | public class ErrorResponse 4 | { 5 | public string Titel { get; set; } 6 | public int StatusCode { get; set; } 7 | public string Message { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Domain/Contracts/JwtSettings.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetAuth.Domain.Contracts 2 | { 3 | public class JwtSettings 4 | { 5 | public string? Key { get; set; } 6 | public string ValidIssuer { get; set; } 7 | public string ValidAudience { get; set; } 8 | public double Expires { get; set; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Domain/Entities/ApplicationUser.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Identity; 2 | 3 | namespace DotnetAuth.Domain.Entities 4 | { 5 | public class ApplicationUser : IdentityUser 6 | { 7 | public string FirstName { get; set; } 8 | public string LastName { get; set; } 9 | public string Gender { get; set; } 10 | public string? RefreshToken { get; set; } 11 | public DateTime? RefreshTokenExpiryTime { get; set; } 12 | public DateTime CreateAt { get; set; } 13 | public DateTime UpdateAt { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/DotnetAuth.http: -------------------------------------------------------------------------------- 1 | @DotnetAuth_HostAddress = http://localhost:5130 2 | 3 | GET {{DotnetAuth_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Infrastructure/Context/ApplicationDbContext.cs: -------------------------------------------------------------------------------- 1 | using DotnetAuth.Domain.Entities; 2 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore; 3 | using Microsoft.EntityFrameworkCore; 4 | 5 | namespace DotnetAuth.Infrastructure.Context 6 | { 7 | public class ApplicationDbContext(DbContextOptions options) 8 | : IdentityDbContext(options) 9 | { 10 | protected override void OnModelCreating(ModelBuilder builder) 11 | { 12 | base.OnModelCreating(builder); 13 | 14 | 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Infrastructure/Mapping/MappingProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | using DotnetAuth.Domain.Contracts; 3 | using DotnetAuth.Domain.Entities; 4 | 5 | namespace DotnetAuth.Infrastructure.Mapping 6 | { 7 | public class MappingProfile : Profile 8 | { 9 | public MappingProfile() 10 | { 11 | CreateMap(); 12 | CreateMap(); 13 | CreateMap(); 14 | 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Service/CurrentUserService.cs: -------------------------------------------------------------------------------- 1 | using System.Security.Claims; 2 | 3 | namespace DotnetAuth.Service 4 | { 5 | public class CurrentUserService : ICurrentUserService 6 | { 7 | private readonly IHttpContextAccessor _httpContextAccessor; 8 | public CurrentUserService() { } 9 | 10 | public CurrentUserService(IHttpContextAccessor httpContextAccessor) 11 | { 12 | _httpContextAccessor = httpContextAccessor; 13 | } 14 | 15 | public string? GetUserId() 16 | { 17 | var userId = _httpContextAccessor.HttpContext?.User?.FindFirstValue(ClaimTypes.NameIdentifier); 18 | return userId; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Service/ICurrentUserService.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetAuth.Service 2 | { 3 | public interface ICurrentUserService 4 | { 5 | public string? GetUserId(); 6 | 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Service/ITokenService.cs: -------------------------------------------------------------------------------- 1 | using DotnetAuth.Domain.Entities; 2 | 3 | namespace DotnetAuth.Service 4 | { 5 | public interface ITokenService 6 | { 7 | Task GenerateToken(ApplicationUser user); 8 | string GenerateRefreshToken(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/Service/IUserServices.cs: -------------------------------------------------------------------------------- 1 | using DotnetAuth.Domain.Contracts; 2 | namespace DotnetAuth.Service 3 | { 4 | public interface IUserServices 5 | { 6 | 7 | 8 | Task RegisterAsync(UserRegisterRequest request); 9 | Task GetCurrentUserAsync(); 10 | Task GetByIdAsync(Guid id); 11 | Task UpdateAsync(Guid id, UpdateUserRequest request); 12 | Task DeleteAsync(Guid id); 13 | Task RevokeRefreshToken(RefreshTokenRequest refreshTokenRemoveRequest); 14 | Task RefreshTokenAsync(RefreshTokenRequest request); 15 | 16 | Task LoginAsync(UserLoginRequest request); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetAuth 2 | { 3 | public class WeatherForecast 4 | { 5 | public DateOnly Date { get; set; } 6 | 7 | public int TemperatureC { get; set; } 8 | 9 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 10 | 11 | public string? Summary { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | 9 | 10 | "ConnectionStrings": { 11 | "sqlConnection": "Server=localhost;Database=auth_db_pro;Integrated Security=true;TrustServerCertificate=true;" 12 | }, 13 | 14 | 15 | "JwtSettings": { 16 | "validIssuer": "RealWordAPI", 17 | "validAudience": "https://localhost:5052", 18 | "expires": 120, 19 | "key": "ThisIsA32CharactersLongSecretKey!" 20 | }, 21 | "AllowedHosts": "*" 22 | } -------------------------------------------------------------------------------- /DotnetAuth/DotnetAuth/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetAzureCosmosDb", "DotnetAzureCosmosDb\DotnetAzureCosmosDb.csproj", "{0B1346AB-9EEA-4A76-B885-6A25EB42C427}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {0B1346AB-9EEA-4A76-B885-6A25EB42C427}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {0B1346AB-9EEA-4A76-B885-6A25EB42C427}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {0B1346AB-9EEA-4A76-B885-6A25EB42C427}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {0B1346AB-9EEA-4A76-B885-6A25EB42C427}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/Contracts/ApiResponse.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetAzureCosmosDb.Contracts 2 | { 3 | public class ApiResponse 4 | { 5 | public string Message { get; set; } 6 | public bool IsSuccess { get; set; } 7 | public object Result { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/Contracts/IStudentService.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetAzureCosmosDb.Contracts 2 | { 3 | public interface IStudentService 4 | { 5 | Task AddStudentAsync(CreateStudentDto student); 6 | Task GetStudentByIdAsync(string id); 7 | Task GetAllStudentsAsync(string qurey); 8 | Task UpdateStudentAsync(string id, UpdateStudentDto student); 9 | Task DeleteStudentAsync(string id); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/Contracts/StudentDTOs.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace DotnetAzureCosmosDb.Contracts 4 | { 5 | 6 | public record CreateStudentDto 7 | { 8 | [JsonProperty(PropertyName = "name")] 9 | public required string Name { get; init; } 10 | 11 | [JsonProperty(PropertyName = "email")] 12 | public required string Email { get; init; } 13 | 14 | [JsonProperty(PropertyName = "age")] 15 | public int Age { get; init; } 16 | } 17 | 18 | 19 | public record UpdateStudentDto 20 | { 21 | 22 | public required string Name { get; init; } 23 | [JsonProperty(PropertyName = "email")] 24 | public required string Email { get; init; } 25 | [JsonProperty(PropertyName = "age")] 26 | public int Age { get; init; } 27 | } 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/DotnetAzureCosmosDb.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/DotnetAzureCosmosDb.http: -------------------------------------------------------------------------------- 1 | @DotnetAzureCosmosDb_HostAddress = http://localhost:5176 2 | 3 | GET {{DotnetAzureCosmosDb_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/Extensions/CosmosDbServiceExtensions.cs: -------------------------------------------------------------------------------- 1 | using DotnetAzureCosmosDb.Services; 2 | 3 | namespace DotnetAzureCosmosDb.Extensions 4 | { 5 | public static class CosmosDbServiceExtensions 6 | { 7 | public static async Task InitializeCosmosClientInstanceAsync(this IConfigurationSection configurationSection) 8 | { 9 | var databaseName = configurationSection["DatabaseName"]; 10 | var containerName = configurationSection["ContainerName"]; 11 | var account = configurationSection["Account"]; 12 | var key = configurationSection["Key"]; 13 | 14 | var client = new Microsoft.Azure.Cosmos.CosmosClient(account, key); 15 | var database = await client.CreateDatabaseIfNotExistsAsync(databaseName); 16 | await database.Database.CreateContainerIfNotExistsAsync(containerName, "/id"); 17 | 18 | return new StudentService(client, databaseName, containerName); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/Models/Student.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace DotnetAzureCosmosDb.Models 4 | { 5 | public class Student 6 | { 7 | [JsonProperty(PropertyName = "id")] 8 | public string Id { get; set; } 9 | 10 | [JsonProperty(PropertyName = "name")] 11 | 12 | public string Name { get; set; } 13 | 14 | 15 | [JsonProperty(PropertyName = "email")] 16 | 17 | public string Email { get; set; } 18 | 19 | 20 | [JsonProperty(PropertyName = "age")] 21 | public int Age { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/Program.cs: -------------------------------------------------------------------------------- 1 | using DotnetAzureCosmosDb.Contracts; 2 | using DotnetAzureCosmosDb.Extensions; 3 | 4 | var builder = WebApplication.CreateBuilder(args); 5 | 6 | // Add services to the container. 7 | 8 | builder.Services.AddControllers(); 9 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 10 | builder.Services.AddOpenApi(); 11 | 12 | 13 | builder.Services.AddSwaggerGen(); 14 | 15 | // Adding services to the container 16 | builder.Services.AddSingleton(builder.Configuration.GetSection("CosmosDb").InitializeCosmosClientInstanceAsync().GetAwaiter().GetResult()); 17 | 18 | 19 | var app = builder.Build(); 20 | 21 | // Configure the HTTP request pipeline. 22 | if (app.Environment.IsDevelopment()) 23 | { 24 | app.MapOpenApi(); 25 | app.UseSwaggerUI(); 26 | app.UseSwagger(); 27 | } 28 | 29 | app.UseHttpsRedirection(); 30 | 31 | app.UseAuthorization(); 32 | 33 | app.MapControllers(); 34 | 35 | app.Run(); 36 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5176", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7279;http://localhost:5176", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /DotnetAzureCosmosDb/DotnetAzureCosmosDb/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*", 10 | "CosmosDb": { 11 | "Account": "your acccount here ", 12 | "Key": "your key here ", 13 | "DatabaseName": "Database name here", 14 | "ContainerName": "Container Name here " 15 | } 16 | } -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotnetRedisCacheAPI", "DotnetRedisCacheAPI\DotnetRedisCacheAPI.csproj", "{FB59AB68-C7C8-4447-859E-3D221834D0CA}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {FB59AB68-C7C8-4447-859E-3D221834D0CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {FB59AB68-C7C8-4447-859E-3D221834D0CA}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {FB59AB68-C7C8-4447-859E-3D221834D0CA}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {FB59AB68-C7C8-4447-859E-3D221834D0CA}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/DotnetRedisCacheAPI.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/DotnetRedisCacheAPI.http: -------------------------------------------------------------------------------- 1 | @DotnetRedisCacheAPI_HostAddress = http://localhost:5127 2 | 3 | GET {{DotnetRedisCacheAPI_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/Models/JsonPlaceholderDtos.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetRedisCacheAPI.Models 2 | { 3 | public class JsonPlaceholderDtos 4 | { 5 | public record PostDto(int Id, int UserId, string Titel, string Body); 6 | public record CommentDto(int Id, int PostId, string Name, string Email, string Body); 7 | 8 | public record AlbumDto(int Id, int UserId, string Title); 9 | public record PhotoDto(int Id, int AlbumId, string Title, string Url, string ThumbnailUrl); 10 | public record TodoDto(int Id, int UserId, string Title, bool Completed); 11 | public record UserDto(int Id, string Name, string Username, string Email); 12 | 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/Program.cs: -------------------------------------------------------------------------------- 1 | using DotnetRedisCacheAPI.Service; 2 | using Scalar.AspNetCore; 3 | 4 | var builder = WebApplication.CreateBuilder(args); 5 | 6 | // Add services to the container. 7 | 8 | builder.Services.AddControllers(); 9 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 10 | builder.Services.AddOpenApi(); 11 | 12 | 13 | builder.Services.AddTransient(); 14 | 15 | builder.Services.AddHttpClient(); 16 | 17 | 18 | builder.Services.AddTransient(); 19 | 20 | var app = builder.Build(); 21 | 22 | // Configure the HTTP request pipeline. 23 | if (app.Environment.IsDevelopment()) 24 | { 25 | app.MapOpenApi(); 26 | app.MapScalarApiReference(); 27 | } 28 | 29 | app.UseHttpsRedirection(); 30 | 31 | app.UseAuthorization(); 32 | 33 | app.MapControllers(); 34 | 35 | app.Run(); 36 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": true, 8 | "launchUrl": "scalar/v1", 9 | "applicationUrl": "http://localhost:5127", 10 | "environmentVariables": { 11 | "ASPNETCORE_ENVIRONMENT": "Development" 12 | } 13 | }, 14 | "https": { 15 | "commandName": "Project", 16 | "dotnetRunMessages": true, 17 | "launchBrowser": true, 18 | "launchUrl": "scalar/v1", 19 | "applicationUrl": "https://localhost:7221;http://localhost:5127", 20 | "environmentVariables": { 21 | "ASPNETCORE_ENVIRONMENT": "Development" 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/Service/IJsonPlaceholderService.cs: -------------------------------------------------------------------------------- 1 | using static DotnetRedisCacheAPI.Models.JsonPlaceholderDtos; 2 | 3 | namespace DotnetRedisCacheAPI.Service 4 | { 5 | public interface IJsonPlaceholderService 6 | { 7 | Task> GetAllPosts(); 8 | Task> GetAllComments(); 9 | Task> GetAllAlbums(); 10 | Task> GetAllPhotos(); 11 | Task> GetAllTodos(); 12 | Task> GetAllUsers(); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/Service/IRedisService.cs: -------------------------------------------------------------------------------- 1 | namespace DotnetRedisCacheAPI.Service 2 | { 3 | public interface IRedisService 4 | { 5 | 6 | Task GetDataAsync(string key); 7 | Task SetDataAsync(string key, T value, DateTime expirationTime); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/Service/RedisService.cs: -------------------------------------------------------------------------------- 1 |  2 | using StackExchange.Redis; 3 | using System.Text.Json; 4 | 5 | namespace DotnetRedisCacheAPI.Service 6 | { 7 | public class RedisService : IRedisService 8 | { 9 | private readonly IDatabase _database; 10 | 11 | public RedisService() 12 | { 13 | var redis = ConnectionMultiplexer.Connect("localhost:6379"); 14 | _database = redis.GetDatabase(); 15 | } 16 | 17 | public async Task GetDataAsync(string key) 18 | { 19 | var value = await _database.StringGetAsync(key); 20 | return value.IsNull ? default : JsonSerializer.Deserialize(value); 21 | } 22 | 23 | public async Task SetDataAsync(string key, T value, DateTime expirationTime) 24 | { 25 | var json = JsonSerializer.Serialize(value); 26 | return await _database.StringSetAsync(key, json, expirationTime - DateTime.Now); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /DotnetRedisCacheAPI/DotnetRedisCacheAPI/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /GgrpcProductService/.idea/.idea.GgrpcProductService/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Rider ignored files 5 | /.idea.GgrpcProductService.iml 6 | /projectSettingsUpdater.xml 7 | /modules.xml 8 | /contentModel.xml 9 | # Editor-based HTTP Client requests 10 | /httpRequests/ 11 | # Datasource local storage ignored files 12 | /dataSources/ 13 | /dataSources.local.xml 14 | -------------------------------------------------------------------------------- /GgrpcProductService/.idea/.idea.GgrpcProductService/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /GgrpcProductService/.idea/.idea.GgrpcProductService/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GgrpcProductService/.idea/.idea.GgrpcProductService/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GgrpcProductService", "GgrpcProductService\GgrpcProductService.csproj", "{457BF2F9-4A3B-4981-9C98-A7B5C06FE925}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {457BF2F9-4A3B-4981-9C98-A7B5C06FE925}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {457BF2F9-4A3B-4981-9C98-A7B5C06FE925}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {457BF2F9-4A3B-4981-9C98-A7B5C06FE925}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {457BF2F9-4A3B-4981-9C98-A7B5C06FE925}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | EndGlobal 17 | -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/Data/AppDbContext.cs: -------------------------------------------------------------------------------- 1 | using GgrpcProductService.Models; 2 | using Microsoft.EntityFrameworkCore; 3 | 4 | namespace GgrpcProductService.Data; 5 | 6 | public class AppDbContext : DbContext 7 | { 8 | public AppDbContext(DbContextOptions options) : base(options) {} 9 | 10 | public DbSet Products => Set(); 11 | } -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/GgrpcProductService.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | all 18 | runtime; build; native; contentfiles; analyzers; buildtransitive 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/GgrpcProductService.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/GgrpcProductService/GgrpcProductService/GgrpcProductService.db -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/Models/Products.cs: -------------------------------------------------------------------------------- 1 | namespace GgrpcProductService.Models; 2 | 3 | public class Products 4 | { 5 | public Guid Id { get; set; } 6 | public required string Name { get; set; } 7 | public required string Description { get; set; } 8 | public decimal Price { get; set; } 9 | public DateTime Created { get; set; } 10 | public DateTime Updated { get; set; } 11 | public string Tags { get; set; } = "Default"; 12 | } -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/Program.cs: -------------------------------------------------------------------------------- 1 | using GgrpcProductService.Data; 2 | using GgrpcProductService.Services; 3 | using Microsoft.EntityFrameworkCore; 4 | 5 | var builder = WebApplication.CreateBuilder(args); 6 | 7 | 8 | builder.Services.AddDbContext(opt=> 9 | opt.UseSqlite("Data Source=GgrpcProductService.db ")); 10 | 11 | // Add services to the container. 12 | builder.Services.AddGrpc(); 13 | 14 | var app = builder.Build(); 15 | 16 | // Configure the HTTP request pipeline. 17 | app.MapGrpcService(); 18 | app.MapGrpcService(); 19 | 20 | app.MapGet("/", 21 | () => 22 | "Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909"); 23 | 24 | app.Run(); -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5104", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7292;http://localhost:5104", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/Protos/greet.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | option csharp_namespace = "GgrpcProductService"; 4 | 5 | package greet; 6 | 7 | // The greeting service definition. 8 | service Greeter { 9 | // Sends a greeting 10 | rpc SayHello (HelloRequest) returns (HelloReply); 11 | } 12 | 13 | // The request message containing the user's name. 14 | message HelloRequest { 15 | string name = 1; 16 | } 17 | 18 | // The response message containing the greetings. 19 | message HelloReply { 20 | string message = 1; 21 | } 22 | -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/Services/GreeterService.cs: -------------------------------------------------------------------------------- 1 | using Grpc.Core; 2 | using GgrpcProductService; 3 | 4 | namespace GgrpcProductService.Services; 5 | 6 | public class GreeterService : Greeter.GreeterBase 7 | { 8 | private readonly ILogger _logger; 9 | 10 | public GreeterService(ILogger logger) 11 | { 12 | _logger = logger; 13 | } 14 | 15 | public override Task SayHello(HelloRequest request, ServerCallContext context) 16 | { 17 | return Task.FromResult(new HelloReply 18 | { 19 | Message = "Hello " + request.Name 20 | }); 21 | } 22 | } -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /GgrpcProductService/GgrpcProductService/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*", 9 | "Kestrel": { 10 | "EndpointDefaults": { 11 | "Protocols": "Http2" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GlobalExceptions", "GlobalExceptions\GlobalExceptions.csproj", "{DACC5DD3-A363-4A33-B169-DAF873F7ADC4}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {DACC5DD3-A363-4A33-B169-DAF873F7ADC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {DACC5DD3-A363-4A33-B169-DAF873F7ADC4}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {DACC5DD3-A363-4A33-B169-DAF873F7ADC4}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {DACC5DD3-A363-4A33-B169-DAF873F7ADC4}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/GlobalExceptions.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | all 17 | runtime; build; native; contentfiles; analyzers; buildtransitive 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/Migrations/20241205222045_Update.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.EntityFrameworkCore.Migrations; 2 | 3 | #nullable disable 4 | 5 | namespace GlobalExceptions.Migrations 6 | { 7 | /// 8 | public partial class Update : Migration 9 | { 10 | /// 11 | protected override void Up(MigrationBuilder migrationBuilder) 12 | { 13 | 14 | } 15 | 16 | /// 17 | protected override void Down(MigrationBuilder migrationBuilder) 18 | { 19 | 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5083", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7236;http://localhost:5083", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | 9 | "ConnectionStrings": { 10 | "sqlConnection": "Server=localhost;Database=studentDb;Integrated Security=true;TrustServerCertificate=true;" 11 | }, 12 | 13 | "AllowedHosts": "*" 14 | } -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/src/Context/StudentDbContext.cs: -------------------------------------------------------------------------------- 1 | using GlobalExceptions.src.Modles; 2 | using Microsoft.EntityFrameworkCore; 3 | 4 | namespace GlobalExceptions.src.Context 5 | { 6 | public class StudentDbContext : DbContext 7 | { 8 | public StudentDbContext(DbContextOptions options) : base(options) 9 | { 10 | } 11 | public DbSet Students { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/src/Contracts/ErrorResponse.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalExceptions.src.Contracts 2 | { 3 | public class ErrorResponse 4 | { 5 | public string Title { get; set; } 6 | public int StatusCode { get; set; } 7 | public string Message { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/src/Contracts/StudentDto.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalExceptions.src.Contracts 2 | { 3 | public record CreateStudent(string Name, string Biography); 4 | public record UpdateStudent(int Id, string Name, string Biography); 5 | public record StudentDto(int Id, string Name, string Biography); 6 | } 7 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/src/Mapping/MappingProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | using GlobalExceptions.src.Contracts; 3 | using GlobalExceptions.src.Modles; 4 | 5 | namespace GlobalExceptions.src.Mapping 6 | { 7 | public class MappingProfile : Profile 8 | { 9 | public MappingProfile() 10 | { 11 | CreateMap(); 12 | CreateMap(); 13 | CreateMap(); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/src/Modles/Student.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalExceptions.src.Modles 2 | { 3 | public class Student 4 | { 5 | public int Id { get; set; } 6 | public string Name { get; set; } 7 | public string Biography { get; set; } 8 | 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /GlobalExceptions/GlobalExceptions/src/Service/IStudentService.cs: -------------------------------------------------------------------------------- 1 | using GlobalExceptions.src.Contracts; 2 | 3 | namespace GlobalExceptions.src.Service 4 | { 5 | public interface IStudentService 6 | { 7 | public Task> GetStudents(); 8 | public Task GetStudent(int id); 9 | public Task CreateStudent(CreateStudent createStudent); 10 | public Task UpdateStudent(UpdateStudent updateStudent); 11 | public Task DeleteStudent(int id); 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/eslint.config.js: -------------------------------------------------------------------------------- 1 | import js from '@eslint/js' 2 | import globals from 'globals' 3 | import reactHooks from 'eslint-plugin-react-hooks' 4 | import reactRefresh from 'eslint-plugin-react-refresh' 5 | import tseslint from 'typescript-eslint' 6 | 7 | export default tseslint.config( 8 | { ignores: ['dist'] }, 9 | { 10 | extends: [js.configs.recommended, ...tseslint.configs.recommended], 11 | files: ['**/*.{ts,tsx}'], 12 | languageOptions: { 13 | ecmaVersion: 2020, 14 | globals: globals.browser, 15 | }, 16 | plugins: { 17 | 'react-hooks': reactHooks, 18 | 'react-refresh': reactRefresh, 19 | }, 20 | rules: { 21 | ...reactHooks.configs.recommended.rules, 22 | 'react-refresh/only-export-components': [ 23 | 'warn', 24 | { allowConstantExport: true }, 25 | ], 26 | }, 27 | }, 28 | ) 29 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite + React + TS 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "y", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "tsc -b && vite build", 9 | "lint": "eslint .", 10 | "preview": "vite preview" 11 | }, 12 | "dependencies": { 13 | "axios": "^1.7.9", 14 | "react": "^18.3.1", 15 | "react-dom": "^18.3.1", 16 | "react-router-dom": "^7.1.3" 17 | }, 18 | "devDependencies": { 19 | "@eslint/js": "^9.17.0", 20 | "@types/react": "^18.3.18", 21 | "@types/react-dom": "^18.3.5", 22 | "@vitejs/plugin-react": "^4.3.4", 23 | "autoprefixer": "^10.4.20", 24 | "eslint": "^9.17.0", 25 | "eslint-plugin-react-hooks": "^5.0.0", 26 | "eslint-plugin-react-refresh": "^0.4.16", 27 | "globals": "^15.14.0", 28 | "postcss": "^8.5.1", 29 | "tailwindcss": "^3.4.17", 30 | "typescript": "~5.6.2", 31 | "typescript-eslint": "^8.18.2", 32 | "vite": "^6.0.5" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/src/API/api.ts: -------------------------------------------------------------------------------- 1 | import axios from "axios"; 2 | 3 | const API = axios.create({ 4 | baseURL: "https://localhost:7212/api", 5 | headers: { 6 | "Content-Type": "application/json", 7 | Accept: "application/json", 8 | }, 9 | }); 10 | 11 | 12 | export default API; -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/src/App.tsx: -------------------------------------------------------------------------------- 1 | import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; 2 | import Navbar from "./Components/Navbar" 3 | 4 | import ProductDetail from "./Components/ProductDetail" 5 | import { CreateProduct } from "./Components/CreateProduct" 6 | import { EditProduct } from "./Components/EditProduct" 7 | import { ProductList } from './Components/ProductList'; 8 | 9 | 10 | 11 | function App() { 12 | return ( 13 | 14 |
15 | 16 | 17 | } /> 18 | } /> 19 | } /> 20 | } /> 21 | 22 |
23 |
24 | ); 25 | } 26 | 27 | export default App; 28 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/src/Components/Navbar.tsx: -------------------------------------------------------------------------------- 1 | 2 | import { Link } from 'react-router-dom' 3 | 4 | const Navbar = () => { 5 | return ( 6 | 25 | ) 26 | } 27 | 28 | export default Navbar -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/src/Interface/baseInterface.ts: -------------------------------------------------------------------------------- 1 | export interface Product { 2 | id: string; 3 | name: string; 4 | description : string; 5 | price: number; 6 | } -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/src/main.tsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import './index.css' 4 | import App from './App.tsx' 5 | 6 | createRoot(document.getElementById('root')!).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,ts,jsx,tsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", 4 | "target": "ES2020", 5 | "useDefineForClassFields": true, 6 | "lib": ["ES2020", "DOM", "DOM.Iterable"], 7 | "module": "ESNext", 8 | "skipLibCheck": true, 9 | 10 | /* Bundler mode */ 11 | "moduleResolution": "bundler", 12 | "allowImportingTsExtensions": true, 13 | "isolatedModules": true, 14 | "moduleDetection": "force", 15 | "noEmit": true, 16 | "jsx": "react-jsx", 17 | 18 | /* Linting */ 19 | "strict": true, 20 | "noUnusedLocals": true, 21 | "noUnusedParameters": true, 22 | "noFallthroughCasesInSwitch": true, 23 | "noUncheckedSideEffectImports": true 24 | }, 25 | "include": ["src"] 26 | } 27 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": [], 3 | "references": [ 4 | { "path": "./tsconfig.app.json" }, 5 | { "path": "./tsconfig.node.json" } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", 4 | "target": "ES2022", 5 | "lib": ["ES2023"], 6 | "module": "ESNext", 7 | "skipLibCheck": true, 8 | 9 | /* Bundler mode */ 10 | "moduleResolution": "bundler", 11 | "allowImportingTsExtensions": true, 12 | "isolatedModules": true, 13 | "moduleDetection": "force", 14 | "noEmit": true, 15 | 16 | /* Linting */ 17 | "strict": true, 18 | "noUnusedLocals": true, 19 | "noUnusedParameters": true, 20 | "noFallthroughCasesInSwitch": true, 21 | "noUncheckedSideEffectImports": true 22 | }, 23 | "include": ["vite.config.ts"] 24 | } 25 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/client-react/MongoDbProductClinet/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vite.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MogoDbProductAPI", "MogoDbProductAPI\MogoDbProductAPI.csproj", "{578CDDB4-2421-44BE-82C7-3B5FABD6F8CB}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {578CDDB4-2421-44BE-82C7-3B5FABD6F8CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {578CDDB4-2421-44BE-82C7-3B5FABD6F8CB}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {578CDDB4-2421-44BE-82C7-3B5FABD6F8CB}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {578CDDB4-2421-44BE-82C7-3B5FABD6F8CB}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/Data/AppDbContext.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Options; 2 | using MogoDbProductAPI.Domain.Contracts; 3 | using MogoDbProductAPI.Domain.Model; 4 | using MongoDB.Driver; 5 | 6 | namespace MogoDbProductAPI.Data 7 | { 8 | public class AppDbContext 9 | { 10 | public IMongoCollection ProductCollection { get; } 11 | 12 | 13 | public AppDbContext(IOptions settings) 14 | { 15 | // This is given us connection string 16 | MongoClient client = new MongoClient(settings.Value.ConnectionURI); 17 | 18 | // Connecting to the database name 19 | IMongoDatabase database = client.GetDatabase(settings.Value.DatabaseName); 20 | 21 | 22 | // Connecting to the collection name 23 | ProductCollection = database.GetCollection(settings.Value.CollectionName); 24 | 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/Domain/Contracts/MongoDBSettings.cs: -------------------------------------------------------------------------------- 1 | namespace MogoDbProductAPI.Domain.Contracts 2 | { 3 | public class MongoDBSettings 4 | { 5 | public string ConnectionURI { get; set; } = null!; 6 | public string DatabaseName { get; set; } = null!; 7 | 8 | public string CollectionName { get; set; } = null!; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/Domain/Model/Product.cs: -------------------------------------------------------------------------------- 1 | using MongoDB.Bson; 2 | using MongoDB.Bson.Serialization.Attributes; 3 | 4 | namespace MogoDbProductAPI.Domain.Model 5 | { 6 | public class Product 7 | { 8 | [BsonId] 9 | [BsonRepresentation(BsonType.ObjectId)] 10 | public string Id { get; set; } 11 | 12 | [BsonElement("Name")] 13 | public string Name { get; set; } 14 | 15 | [BsonElement("Description")] 16 | public string Description { get; set; } 17 | 18 | [BsonElement("Price")] 19 | 20 | public Double? Price { get; set; } 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/Extensions/ConfigureApplicationServices.cs: -------------------------------------------------------------------------------- 1 | namespace MogoDbProductAPI.Extensions 2 | { 3 | public static partial class ConfigureApplicationServices 4 | { 5 | public static void ConfigureCors(this IServiceCollection services, IConfiguration configuration) 6 | { 7 | services.AddCors(options => options.AddPolicy("CorsPolicy", policy => policy 8 | .AllowAnyOrigin() 9 | .AllowAnyMethod() 10 | .AllowAnyHeader())); 11 | } 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/MogoDbProductAPI.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/MogoDbProductAPI.http: -------------------------------------------------------------------------------- 1 | @MogoDbProductAPI_HostAddress = http://localhost:5244 2 | 3 | GET {{MogoDbProductAPI_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/Program.cs: -------------------------------------------------------------------------------- 1 | using MogoDbProductAPI.Data; 2 | using MogoDbProductAPI.Domain.Contracts; 3 | using MogoDbProductAPI.Extensions; 4 | using MogoDbProductAPI.Service; 5 | using Scalar.AspNetCore; 6 | 7 | var builder = WebApplication.CreateBuilder(args); 8 | builder.Services.ConfigureCors(builder.Configuration); 9 | 10 | // Add services to the container. 11 | 12 | builder.Services.AddControllers(); 13 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 14 | builder.Services.AddOpenApi(); 15 | 16 | 17 | 18 | builder.Services.AddSingleton(); 19 | builder.Services.Configure(builder.Configuration.GetSection("MongoDB")); 20 | builder.Services.AddScoped(); 21 | 22 | var app = builder.Build(); 23 | app.UseCors("CorsPolicy"); 24 | 25 | 26 | // Configure the HTTP request pipeline. 27 | if (app.Environment.IsDevelopment()) 28 | { 29 | app.MapOpenApi(); 30 | app.MapScalarApiReference(); 31 | } 32 | 33 | app.UseHttpsRedirection(); 34 | 35 | app.UseAuthorization(); 36 | 37 | app.MapControllers(); 38 | 39 | app.Run(); 40 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": true, 8 | "launchUrl": "scalar/v1", 9 | "applicationUrl": "http://localhost:5244", 10 | "environmentVariables": { 11 | "ASPNETCORE_ENVIRONMENT": "Development" 12 | } 13 | }, 14 | "https": { 15 | "commandName": "Project", 16 | "dotnetRunMessages": true, 17 | "launchBrowser": true, 18 | "launchUrl": "scalar/v1", 19 | "applicationUrl": "https://localhost:7212;http://localhost:5244", 20 | "environmentVariables": { 21 | "ASPNETCORE_ENVIRONMENT": "Development" 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/Service/IProductService.cs: -------------------------------------------------------------------------------- 1 | using MogoDbProductAPI.Domain.Contracts; 2 | 3 | namespace MogoDbProductAPI.Service 4 | { 5 | public interface IProductService 6 | { 7 | Task GetProductByIdAsync(string id); 8 | Task> GetAllProductsAsync(); 9 | Task CreateProductAsync(CreateProductDto createProductDto); 10 | 11 | Task UpdateProductAsync(string id, UpdateProductDto updateProductDto); 12 | 13 | Task DeleteProductAsync(string id); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | namespace MogoDbProductAPI 2 | { 3 | public class WeatherForecast 4 | { 5 | public DateOnly Date { get; set; } 6 | 7 | public int TemperatureC { get; set; } 8 | 9 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 10 | 11 | public string? Summary { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /MongoDb-dotnet-react/server-dotnet/MogoDbProductAPI/MogoDbProductAPI/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*", 9 | "MongoDB": { 10 | "ConnectionURI": "MongoDB-uri", 11 | "DatabaseName": "Your database name here", 12 | "CollectionName": "Place Collection name here" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/.idea/.idea.QueryableIEnumerableAPI/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Rider ignored files 5 | /contentModel.xml 6 | /modules.xml 7 | /projectSettingsUpdater.xml 8 | /.idea.QueryableIEnumerableAPI.iml 9 | # Editor-based HTTP Client requests 10 | /httpRequests/ 11 | # Datasource local storage ignored files 12 | /dataSources/ 13 | /dataSources.local.xml 14 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/.idea/.idea.QueryableIEnumerableAPI/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/.idea/.idea.QueryableIEnumerableAPI/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryableIEnumerableAPI", "QueryableIEnumerableAPI\QueryableIEnumerableAPI.csproj", "{F61C8B32-4338-47AE-8AF5-DAFB95037AB6}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {F61C8B32-4338-47AE-8AF5-DAFB95037AB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {F61C8B32-4338-47AE-8AF5-DAFB95037AB6}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {F61C8B32-4338-47AE-8AF5-DAFB95037AB6}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {F61C8B32-4338-47AE-8AF5-DAFB95037AB6}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | EndGlobal 17 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/Constract/EmployeeDTO.cs: -------------------------------------------------------------------------------- 1 | namespace QueryableIEnumerableAPI.Constract; 2 | 3 | 4 | public record CreateRequsetEmployeeDTO 5 | { 6 | public string Name { get; set; } 7 | public string Email { get; set; } 8 | public double Salary { get; set; } 9 | 10 | }; 11 | 12 | 13 | public record EmployeeResponseDTO 14 | { 15 | public Guid Id { get; set; } 16 | public string Name { get; set; } 17 | public string Email { get; set; } 18 | public double Salary { get; set; } 19 | } -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/Constract/IEmployeeService.cs: -------------------------------------------------------------------------------- 1 | using QueryableIEnumerableAPI.Model; 2 | 3 | namespace QueryableIEnumerableAPI.Constract; 4 | 5 | public interface IEmployeeService 6 | { 7 | Task< EmployeeResponseDTO> CreateEmployee(CreateRequsetEmployeeDTO employee); 8 | Task> GetHighPaidEmployeesUsingIEnumerable(double salaryThreshold); 9 | Task> GetEmployeesUsingIQueryable(); 10 | Task> GetEmployeesUsingIEnumerable(); 11 | 12 | Task> GetHighPaidEmployeesUsingIQueryable(double salaryThreshold); 13 | 14 | Task> SearchEmployeesByNameUsingIEnumerable(string searchTerm); 15 | Task> SearchEmployeesByNameUsingIQueryable(string searchTerm); 16 | } -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/Data/AppDbContext.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.EntityFrameworkCore; 2 | using QueryableIEnumerableAPI.Model; 3 | 4 | namespace QueryableIEnumerableAPI.Data; 5 | 6 | public class AppDbContext :DbContext 7 | { 8 | 9 | public AppDbContext(DbContextOptions options) : base(options) {} 10 | 11 | public DbSet Employees => Set(); 12 | 13 | 14 | } -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/Model/Employee.cs: -------------------------------------------------------------------------------- 1 | namespace QueryableIEnumerableAPI.Model; 2 | 3 | public class Employee 4 | { 5 | public Guid Id { get; set; } 6 | public required string Name { get; set; } 7 | public string? Email { get; set; } 8 | public double Salary { get; set; } 9 | } -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/Program.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.EntityFrameworkCore; 2 | using QueryableIEnumerableAPI.Constract; 3 | using QueryableIEnumerableAPI.Data; 4 | using QueryableIEnumerableAPI.Service; 5 | 6 | var builder = WebApplication.CreateBuilder(args); 7 | 8 | // Add services to the container. 9 | 10 | builder.Services.AddControllers(); 11 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 12 | 13 | builder.Services.AddScoped(); 14 | 15 | builder.Services.AddDbContext(opt => opt.UseSqlite("Data Source=employee.db")); 16 | 17 | builder.Services.AddOpenApi(); 18 | 19 | var app = builder.Build(); 20 | 21 | // Configure the HTTP request pipeline. 22 | if (app.Environment.IsDevelopment()) 23 | { 24 | app.MapOpenApi(); 25 | } 26 | 27 | app.UseHttpsRedirection(); 28 | 29 | app.UseAuthorization(); 30 | 31 | app.MapControllers(); 32 | 33 | app.Run(); -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5275", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7043;http://localhost:5275", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/QueryableIEnumerableAPI.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | all 13 | runtime; build; native; contentfiles; analyzers; buildtransitive 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/QueryableIEnumerableAPI.http: -------------------------------------------------------------------------------- 1 | @QueryableIEnumerableAPI_HostAddress = http://localhost:5275 2 | 3 | GET {{QueryableIEnumerableAPI_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /QueryableIEnumerableAPI/QueryableIEnumerableAPI/employee.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/QueryableIEnumerableAPI/QueryableIEnumerableAPI/employee.db -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RepositoryPattern.API", "RepositoryPattern.API\RepositoryPattern.API.csproj", "{B3EA3231-ED52-431E-96B6-DAFA3173E1B4}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {B3EA3231-ED52-431E-96B6-DAFA3173E1B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {B3EA3231-ED52-431E-96B6-DAFA3173E1B4}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {B3EA3231-ED52-431E-96B6-DAFA3173E1B4}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {B3EA3231-ED52-431E-96B6-DAFA3173E1B4}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Data/AppDbContext.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.EntityFrameworkCore; 2 | using RepositoryPattern.API.Domain.Entities; 3 | 4 | namespace RepositoryPattern.API.Data 5 | { 6 | public class AppDbContext : DbContext 7 | { 8 | public AppDbContext(DbContextOptions options) : base(options) 9 | { 10 | } 11 | 12 | public DbSet Authors { get; set; } 13 | public DbSet Books { get; set; } 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Domain/Contracts/AuthorContract.cs: -------------------------------------------------------------------------------- 1 | namespace RepositoryPattern.API.Domain.Contracts 2 | { 3 | public record CreateAuthor 4 | { 5 | public string Name { get; init; } 6 | public string Bio { get; init; } 7 | } 8 | 9 | public record UpdateAuthor 10 | { 11 | public string Name { get; init; } 12 | public string Bio { get; init; } 13 | } 14 | 15 | 16 | public record DeleteAuthor 17 | { 18 | public Guid Id { get; init; } 19 | 20 | 21 | } 22 | 23 | public record GetAuthor 24 | { 25 | public Guid Id { get; init; } 26 | } 27 | 28 | 29 | public class GetAuthorDto 30 | { 31 | public Guid Id { get; set; } 32 | public string Name { get; set; } 33 | public string Bio { get; set; } 34 | public ICollection Books { get; set; } 35 | } 36 | 37 | 38 | } -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Domain/Contracts/BookContract.cs: -------------------------------------------------------------------------------- 1 | namespace RepositoryPattern.API.Domain.Contracts 2 | { 3 | public record CreateBook 4 | { 5 | public string Title { get; init; } 6 | public double Price { get; init; } 7 | public string Description { get; init; } 8 | public Guid AuthorId { get; init; } 9 | } 10 | 11 | 12 | public record UpdateBook 13 | { 14 | public string Title { get; init; } 15 | public double Price { get; init; } 16 | public string Description { get; init; } 17 | public Guid AuthorId { get; init; } 18 | } 19 | 20 | 21 | public record DeleteBook 22 | { 23 | public Guid Id { get; init; } 24 | } 25 | 26 | 27 | public record GetBook 28 | { 29 | public Guid Id { get; init; } 30 | } 31 | 32 | 33 | public class GetBookDto 34 | { 35 | public Guid Id { get; set; } 36 | public string Title { get; set; } 37 | public double Price { get; set; } 38 | public string Description { get; set; } 39 | public Guid AuthorId { get; set; } 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Domain/Entities/Author.cs: -------------------------------------------------------------------------------- 1 | namespace RepositoryPattern.API.Domain.Entities 2 | { 3 | public class Author 4 | { 5 | public Guid Id { get; set; } 6 | public string Name { get; set; } 7 | public string Bio { get; set; } 8 | 9 | public ICollection Books { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Domain/Entities/Book.cs: -------------------------------------------------------------------------------- 1 | namespace RepositoryPattern.API.Domain.Entities 2 | { 3 | public class Book 4 | { 5 | public Guid Id { get; set; } 6 | public string Title { get; set; } 7 | public double Price { get; set; } 8 | public string Description { get; set; } 9 | public Guid AuthorId { get; set; } 10 | public Author Author { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Domain/Mapping/MappingProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | using RepositoryPattern.API.Domain.Contracts; 3 | using RepositoryPattern.API.Domain.Entities; 4 | 5 | namespace RepositoryPattern.API.Domain.Mapping 6 | { 7 | public class MappingProfile : Profile 8 | { 9 | public MappingProfile() 10 | { 11 | CreateMap() 12 | .ForMember(dest => dest.Books, opt => opt.MapFrom(src => src.Books)); 13 | CreateMap(); 14 | CreateMap(); 15 | CreateMap(); 16 | CreateMap(); 17 | 18 | 19 | // Mapping for Book 20 | 21 | CreateMap(); 22 | CreateMap(); 23 | CreateMap(); 24 | CreateMap(); 25 | CreateMap(); 26 | 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5016", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7160;http://localhost:5016", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/Repositories/IBaseRepository.cs: -------------------------------------------------------------------------------- 1 | using System.Linq.Expressions; 2 | 3 | namespace RepositoryPattern.API.Repositories 4 | { 5 | public interface IBaseRepository 6 | { 7 | Task> GetAll(params Expression>[] includes); 8 | Task Get(Guid id, params Expression>[] includes); 9 | Task Add(T entity); 10 | Task Update(T entity); 11 | Task Delete(Guid id); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/RepositoryPattern.API.http: -------------------------------------------------------------------------------- 1 | @RepositoryPattern.API_HostAddress = http://localhost:5016 2 | 3 | GET {{RepositoryPattern.API_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | 9 | "ConnectionStrings": { 10 | "sqlConnection": "Server=localhost;Database=repository_parttern_db_pro;Integrated Security=true;TrustServerCertificate=true;" 11 | }, 12 | 13 | "AllowedHosts": "*" 14 | } -------------------------------------------------------------------------------- /RepositoryPattern.API/RepositoryPattern.API/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Data/AppDbContext.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.EntityFrameworkCore; 2 | using ScalarOpenApi.Domain.Models; 3 | 4 | namespace ScalarOpenApi.Data 5 | { 6 | public class AppDbContext : DbContext 7 | 8 | { 9 | public AppDbContext(DbContextOptions options) : base(options) 10 | { 11 | } 12 | public DbSet Students { get; set; } 13 | 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Domain/Contract/ApiRseponse.cs: -------------------------------------------------------------------------------- 1 | namespace ScalarOpenApi.Domain.Contract 2 | { 3 | 4 | public class ApiResponse 5 | { 6 | public T Data { get; set; } 7 | public bool IsSuccess { get; set; } 8 | public string Message { get; set; } 9 | 10 | public ApiResponse(T data) 11 | { 12 | Data = data; 13 | IsSuccess = true; 14 | Message = string.Empty; 15 | } 16 | 17 | public ApiResponse(string message) 18 | { 19 | Data = default; 20 | IsSuccess = false; 21 | Message = message; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Domain/Contract/Stuedent.cs: -------------------------------------------------------------------------------- 1 | namespace ScalarOpenApi.Domain.Contract 2 | { 3 | 4 | public record CreateStudent(string Name, string Email, string Phone, double IndexNumber); 5 | public record UpdateStudent(Guid Id, string Name, string Email, string Phone, double IndexNumber); 6 | 7 | public record StudentRespond(Guid Id, string Name, string Email, string Phone, double IndexNumber, DateTime CreatedAt, DateTime LastUpdatedAt); 8 | public record DeleteStudent(Guid Id); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Domain/Models/Student.cs: -------------------------------------------------------------------------------- 1 | namespace ScalarOpenApi.Domain.Models 2 | { 3 | public class Student 4 | { 5 | public Guid Id { get; set; } 6 | public string Name { get; set; } 7 | public string Email { get; set; } 8 | public string Phone { get; set; } 9 | public double IndexNumber { get; set; } 10 | 11 | public DateTime CreatedAt { get; set; } 12 | public DateTime LastUpdatedAt 13 | { 14 | get; set; 15 | 16 | } 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Product.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/ScalarOpenApi/ScalarOpenApi/Product.db -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Program.cs: -------------------------------------------------------------------------------- 1 | 2 | using Microsoft.EntityFrameworkCore; 3 | using Scalar.AspNetCore; 4 | using ScalarOpenApi.Data; 5 | using ScalarOpenApi.Services; 6 | 7 | var builder = WebApplication.CreateBuilder(args); 8 | 9 | // Add services to the container. 10 | 11 | builder.Services.AddControllers(); 12 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 13 | builder.Services.AddOpenApi(); 14 | 15 | 16 | builder.Services.AddProblemDetails(); 17 | 18 | builder.Services.AddScoped(); 19 | 20 | builder.Services.AddDbContext(option => 21 | { 22 | option.UseSqlite(builder.Configuration.GetConnectionString("DbConnection")); 23 | }); 24 | 25 | var app = builder.Build(); 26 | 27 | // Configure the HTTP request pipeline. 28 | if (app.Environment.IsDevelopment()) 29 | { 30 | app.MapOpenApi(); 31 | app.MapScalarApiReference(); 32 | 33 | 34 | } 35 | 36 | app.UseHttpsRedirection(); 37 | 38 | app.UseAuthorization(); 39 | 40 | app.MapControllers(); 41 | 42 | app.Run(); 43 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "http": { 4 | "commandName": "Project", 5 | "launchBrowser": true, 6 | "environmentVariables": { 7 | "ASPNETCORE_ENVIRONMENT": "Development" 8 | }, 9 | "dotnetRunMessages": true, 10 | "applicationUrl": "http://localhost:5084" 11 | }, 12 | "https": { 13 | "commandName": "Project", 14 | "launchBrowser": true, 15 | "launchUrl": "scalar/v1", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | }, 19 | "dotnetRunMessages": true, 20 | "applicationUrl": "https://localhost:7108;http://localhost:5084" 21 | } 22 | }, 23 | "$schema": "https://json.schemastore.org/launchsettings.json" 24 | } -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/ScalarOpenApi.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | all 15 | runtime; build; native; contentfiles; analyzers; buildtransitive 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/ScalarOpenApi.http: -------------------------------------------------------------------------------- 1 | @ScalarOpenApi_HostAddress = http://localhost:5084 2 | 3 | GET {{ScalarOpenApi_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/Services/IStudent.cs: -------------------------------------------------------------------------------- 1 | using ScalarOpenApi.Domain.Contract; 2 | 3 | namespace ScalarOpenApi.Services 4 | { 5 | public interface IStudent 6 | { 7 | Task>> GetStudents(); 8 | Task> GetStudentById(Guid id); 9 | Task> CreateStudent(CreateStudent createStudent); 10 | Task> UpdateStudent(UpdateStudent updateStudent); 11 | Task> DeleteStudent(Guid id); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | namespace ScalarOpenApi 2 | { 3 | public class WeatherForecast 4 | { 5 | public DateOnly Date { get; set; } 6 | 7 | public int TemperatureC { get; set; } 8 | 9 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 10 | 11 | public string? Summary { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*", 9 | "ConnectionStrings": { 10 | "DbConnection" : "Data Source=Product.db" 11 | } 12 | } -------------------------------------------------------------------------------- /ScalarOpenApi/ScalarOpenApi/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StructuredLoggingNET9", "StructuredLoggingNET9\StructuredLoggingNET9.csproj", "{1FCAD008-CF67-4760-B278-CA3F4E34D428}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {1FCAD008-CF67-4760-B278-CA3F4E34D428}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {1FCAD008-CF67-4760-B278-CA3F4E34D428}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {1FCAD008-CF67-4760-B278-CA3F4E34D428}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {1FCAD008-CF67-4760-B278-CA3F4E34D428}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/ApplicationService.cs: -------------------------------------------------------------------------------- 1 | using Serilog; 2 | using Serilog.Formatting.Json; 3 | 4 | namespace StructuredLoggingNET9 5 | { 6 | public static class ApplicationService 7 | { 8 | public static void ConfigureLogging(this IHostBuilder host) 9 | { 10 | host.UseSerilog((ctx, lc) => 11 | { 12 | lc.WriteTo.Console(); 13 | lc.WriteTo.Seq("http://localhost:5341"); 14 | lc.WriteTo.File(new JsonFormatter(), "log.txt"); 15 | 16 | }); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/Program.cs: -------------------------------------------------------------------------------- 1 | using Serilog; 2 | using StructuredLoggingNET9; 3 | 4 | Log.Logger = new LoggerConfiguration() 5 | .WriteTo.Console() 6 | .CreateLogger(); 7 | 8 | try 9 | { 10 | 11 | Log.Information("Starting up the application"); 12 | var builder = WebApplication.CreateBuilder(args); 13 | 14 | 15 | 16 | builder.Host.ConfigureLogging(); 17 | 18 | // Add services to the container. 19 | 20 | builder.Services.AddControllers(); 21 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi 22 | builder.Services.AddOpenApi(); 23 | 24 | var app = builder.Build(); 25 | 26 | // Configure the HTTP request pipeline. 27 | if (app.Environment.IsDevelopment()) 28 | { 29 | app.MapOpenApi(); 30 | } 31 | 32 | app.UseHttpsRedirection(); 33 | 34 | app.UseAuthorization(); 35 | 36 | app.MapControllers(); 37 | 38 | app.Run(); 39 | 40 | 41 | } 42 | catch (Exception ex) 43 | { 44 | Log.Fatal(ex, "The application failed to start correctly"); 45 | } 46 | finally 47 | { 48 | Log.CloseAndFlush(); 49 | } -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5005", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7202;http://localhost:5005", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/StructuredLoggingNET9.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/StructuredLoggingNET9.http: -------------------------------------------------------------------------------- 1 | @StructuredLoggingDotnet9_HostAddress = http://localhost:5005 2 | 3 | ### Get Weather Forecasts 4 | GET {{StructuredLoggingDotnet9_HostAddress}}/weatherforecast/ 5 | Accept: application/json 6 | 7 | 8 | ### Get Weather Forecast by Date 9 | GET {{StructuredLoggingDotnet9_HostAddress}}/weatherforecast/date/2023-10-10 10 | Accept: application/json 11 | 12 | ### Add New Weather Forecast 13 | POST {{StructuredLoggingDotnet9_HostAddress}}/weatherforecast/add 14 | Accept: application/json 15 | Content-Type: application/json 16 | 17 | { 18 | "date": "2023-10-10", 19 | "temperatureC": 25, 20 | "summary": "Warm" 21 | } 22 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | namespace StructuredLoggingNET9 2 | { 3 | public class WeatherForecast 4 | { 5 | public DateOnly Date { get; set; } 6 | 7 | public int TemperatureC { get; set; } 8 | 9 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 10 | 11 | public string? Summary { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /StructuredLoggingNET9/StructuredLoggingNET9/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/ProjectEvaluation/dotnet9-crash-course.metadata.v9.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/ProjectEvaluation/dotnet9-crash-course.metadata.v9.bin -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/ProjectEvaluation/dotnet9-crash-course.projects.v9.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/ProjectEvaluation/dotnet9-crash-course.projects.v9.bin -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/ProjectEvaluation/dotnet9-crash-course.strings.v9.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/ProjectEvaluation/dotnet9-crash-course.strings.v9.bin -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/CodeChunks.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/CodeChunks.db -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/SemanticSymbols.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/SemanticSymbols.db -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/SemanticSymbols.db-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/SemanticSymbols.db-shm -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/SemanticSymbols.db-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/CopilotIndices/17.12.31.40377/SemanticSymbols.db-wal -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/DesignTimeBuild/.dtbcache.v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/DesignTimeBuild/.dtbcache.v2 -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/FileContentIndex/61534a57-c1f2-429a-8c63-0f9cb961e9dd.vsidx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/FileContentIndex/61534a57-c1f2-429a-8c63-0f9cb961e9dd.vsidx -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/copilot-chat/e9452068/sessions/5ecd7b97-6e11-4b9c-a9fc-ff3f4350e71e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/copilot-chat/e9452068/sessions/5ecd7b97-6e11-4b9c-a9fc-ff3f4350e71e -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/v17/.futdcache.v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/v17/.futdcache.v2 -------------------------------------------------------------------------------- /dotnet9-crash-course/.vs/dotnet9-crash-course/v17/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/.vs/dotnet9-crash-course/v17/.suo -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.12.35506.116 d17.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dotnet9-crash-course", "dotnet9-crash-course\dotnet9-crash-course.csproj", "{5DE802E3-7D15-481C-B4A5-22A65793D9CA}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {5DE802E3-7D15-481C-B4A5-22A65793D9CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {5DE802E3-7D15-481C-B4A5-22A65793D9CA}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {5DE802E3-7D15-481C-B4A5-22A65793D9CA}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {5DE802E3-7D15-481C-B4A5-22A65793D9CA}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5261", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7045;http://localhost:5261", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "ConnectionStrings": { 9 | "sqlConnection": "Server=localhost\\SQLEXPRESS02;Database=Products_test_db;Integrated Security=true;TrustServerCertificate=true;" 10 | }, 11 | "AllowedHosts": "*" 12 | } -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/AutoMapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/AutoMapper.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Azure.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Azure.Core.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Azure.Identity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Azure.Identity.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/FluentValidation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/FluentValidation.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Humanizer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Humanizer.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.AspNetCore.OpenApi.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.AspNetCore.OpenApi.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Bcl.AsyncInterfaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Bcl.AsyncInterfaces.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Build.Locator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Build.Locator.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.CSharp.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.Workspaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.Workspaces.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.CodeAnalysis.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Data.SqlClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Data.SqlClient.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.Abstractions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.Abstractions.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.Design.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.Design.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.Relational.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.Relational.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.SqlServer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.SqlServer.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.EntityFrameworkCore.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Extensions.DependencyModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Extensions.DependencyModel.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Identity.Client.Extensions.Msal.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Identity.Client.Extensions.Msal.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Identity.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Identity.Client.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Abstractions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Abstractions.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.JsonWebTokens.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.JsonWebTokens.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Logging.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Protocols.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Protocols.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Tokens.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.IdentityModel.Tokens.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.OpenApi.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.OpenApi.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.SqlServer.Server.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.SqlServer.Server.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Win32.SystemEvents.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Microsoft.Win32.SystemEvents.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Mono.TextTemplating.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Mono.TextTemplating.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Swashbuckle.AspNetCore.Swagger.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Swashbuckle.AspNetCore.Swagger.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Swashbuckle.AspNetCore.SwaggerGen.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Swashbuckle.AspNetCore.SwaggerGen.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Swashbuckle.AspNetCore.SwaggerUI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/Swashbuckle.AspNetCore.SwaggerUI.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.ClientModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.ClientModel.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.CodeDom.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.CodeDom.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.AttributedModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.AttributedModel.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.Convention.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.Convention.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.Hosting.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.Hosting.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.Runtime.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.TypedParts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Composition.TypedParts.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Configuration.ConfigurationManager.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Configuration.ConfigurationManager.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Drawing.Common.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Drawing.Common.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.IdentityModel.Tokens.Jwt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.IdentityModel.Tokens.Jwt.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Memory.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Memory.Data.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Runtime.Caching.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Runtime.Caching.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Security.Cryptography.ProtectedData.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Security.Cryptography.ProtectedData.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Security.Permissions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Security.Permissions.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Windows.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/System.Windows.Extensions.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "ConnectionStrings": { 9 | "sqlConnection": "Server=localhost\\SQLEXPRESS02;Database=Products_test_db;Integrated Security=true;TrustServerCertificate=true;" 10 | }, 11 | "AllowedHosts": "*" 12 | } -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/cs/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/de/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.exe -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.pdb -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net9.0", 4 | "frameworks": [ 5 | { 6 | "name": "Microsoft.NETCore.App", 7 | "version": "9.0.0" 8 | }, 9 | { 10 | "name": "Microsoft.AspNetCore.App", 11 | "version": "9.0.0" 12 | } 13 | ], 14 | "configProperties": { 15 | "System.GC.Server": true, 16 | "System.Reflection.NullabilityInfoContext.IsSupported": true, 17 | "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/dotnet9-crash-course.staticwebassets.endpoints.json: -------------------------------------------------------------------------------- 1 | { 2 | "Version": 1, 3 | "ManifestType": "Build", 4 | "Endpoints": [] 5 | } -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/es/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/fr/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/it/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ja/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ko/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pl/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/pt-BR/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/ru/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/unix/lib/net6.0/Microsoft.Data.SqlClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/unix/lib/net6.0/Microsoft.Data.SqlClient.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/unix/lib/net6.0/System.Drawing.Common.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/unix/lib/net6.0/System.Drawing.Common.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/Microsoft.Data.SqlClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/Microsoft.Data.SqlClient.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Drawing.Common.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Drawing.Common.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Runtime.Caching.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Runtime.Caching.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Security.Cryptography.ProtectedData.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Security.Cryptography.ProtectedData.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Windows.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/runtimes/win/lib/net6.0/System.Windows.Extensions.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/tr/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/bin/Debug/net9.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/dotnet9-crash-course.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | https 5 | 6 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/dotnet9-crash-course.http: -------------------------------------------------------------------------------- 1 | @dotnet9_crash_course_HostAddress = http://localhost:5261 2 | 3 | GET {{dotnet9_crash_course_HostAddress}}/weatherforecast/ 4 | Accept: application/json 5 | 6 | ### 7 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] 5 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/apphost.exe -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-.FD3248D6.Up2Date: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-.FD3248D6.Up2Date -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 8c02b8144d78d6bdb4e126dd1af9370eada6155fe8258b1e60539c10eb2eae1c 2 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.GlobalUsings.g.cs: -------------------------------------------------------------------------------- 1 | // 2 | global using global::Microsoft.AspNetCore.Builder; 3 | global using global::Microsoft.AspNetCore.Hosting; 4 | global using global::Microsoft.AspNetCore.Http; 5 | global using global::Microsoft.AspNetCore.Routing; 6 | global using global::Microsoft.Extensions.Configuration; 7 | global using global::Microsoft.Extensions.DependencyInjection; 8 | global using global::Microsoft.Extensions.Hosting; 9 | global using global::Microsoft.Extensions.Logging; 10 | global using global::System; 11 | global using global::System.Collections.Generic; 12 | global using global::System.IO; 13 | global using global::System.Linq; 14 | global using global::System.Net.Http; 15 | global using global::System.Net.Http.Json; 16 | global using global::System.Threading; 17 | global using global::System.Threading.Tasks; 18 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.MvcApplicationPartsAssemblyInfo.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.MvcApplicationPartsAssemblyInfo.cache -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.MvcApplicationPartsAssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.AspNetCore.OpenApi")] 14 | [assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")] 15 | 16 | // Generated by the MSBuild WriteCodeFragment class. 17 | 18 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.assets.cache -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.csproj.AssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.csproj.AssemblyReference.cache -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.csproj.BuildWithSkipAnalyzers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.csproj.BuildWithSkipAnalyzers -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | dd34f958b7f7dde34e6330c4e2c8c2a9b9e32cfb10c70fd78f52d5ae6d27dd61 2 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | 60f02fe2b060a137f9dc514e32d30627904bccbabf6b42832c70f64201a63982 2 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.pdb -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/dotnet9-crash-course.sourcelink.json: -------------------------------------------------------------------------------- 1 | {"documents":{"D:\\YouTube_blog_Codes\\CliffTechYouTube\\*":"https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/7da3890b85e78ec7fed99b1b12a8e7c0cc739385/*"}} -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/ref/dotnet9-crash-course.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/ref/dotnet9-crash-course.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/refint/dotnet9-crash-course.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/refint/dotnet9-crash-course.dll -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets.build.endpoints.json: -------------------------------------------------------------------------------- 1 | { 2 | "Version": 1, 3 | "ManifestType": "Build", 4 | "Endpoints": [] 5 | } -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "Version": 1, 3 | "Hash": "T3QjftYgigcrnMFZ+RsalDTjL1TSxalSA686QfKgv2I=", 4 | "Source": "dotnet9-crash-course", 5 | "BasePath": "_content/dotnet9-crash-course", 6 | "Mode": "Default", 7 | "ManifestType": "Build", 8 | "ReferencedProjectsConfiguration": [], 9 | "DiscoveryPatterns": [], 10 | "Assets": [], 11 | "Endpoints": [] 12 | } -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets.references.upToDateCheck.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets.references.upToDateCheck.txt -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets.removed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets.removed.txt -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets/msbuild.build.dotnet9-crash-course.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets/msbuild.buildMultiTargeting.dotnet9-crash-course.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/obj/Debug/net9.0/staticwebassets/msbuild.buildTransitive.dotnet9-crash-course.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/src/Domain/Contract/ErrorResponse.cs: -------------------------------------------------------------------------------- 1 | namespace dotnet9_crash_course.src.Domain.Contract 2 | { 3 | public class ErrorResponse 4 | { 5 | public string Title { get; set; } 6 | public int StatusCode { get; set; } 7 | public string Message { get; set; } 8 | 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/src/Domain/Entities/Product.cs: -------------------------------------------------------------------------------- 1 | namespace dotnet9_crash_course.src.Domain.Entities 2 | { 3 | public class Product 4 | { 5 | public Guid Id { get; set; } 6 | public string Name { get; set; } 7 | public decimal Price { get; set; } 8 | public string Description { get; set; } 9 | public DateTime CreatedAt { get; set; } 10 | public DateTime UpdatedAt { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/src/Domain/Validators/CreateProductRequestValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | using static dotnet9_crash_course.src.Domain.Contract.ProductsContracts; 3 | 4 | namespace dotnet9_crash_course.src.Domain.Validators 5 | { 6 | public class CreateProductRequestValidator : AbstractValidator 7 | { 8 | public CreateProductRequestValidator() 9 | { 10 | RuleFor(x => x.Name).NotEmpty().WithMessage("Name is required"); 11 | RuleFor(x => x.Price).NotEmpty().WithMessage("Price is required"); 12 | RuleFor(x => x.Description).NotEmpty().WithMessage("Description is required"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/src/Domain/Validators/UpdateProductRequestValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | using static dotnet9_crash_course.src.Domain.Contract.ProductsContracts; 3 | 4 | namespace dotnet9_crash_course.src.Domain.Validators 5 | { 6 | public class UpdateProductRequestValidator : AbstractValidator 7 | { 8 | public UpdateProductRequestValidator() 9 | { 10 | RuleFor(x => x.Name).NotEmpty().WithMessage("Name is required"); 11 | RuleFor(x => x.Description).NotEmpty().WithMessage("Description is required"); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/src/Infrastructure/Context/ProductDbContext.cs: -------------------------------------------------------------------------------- 1 | using dotnet9_crash_course.src.Domain.Entities; 2 | using Microsoft.EntityFrameworkCore; 3 | 4 | namespace dotnet9_crash_course.src.Infrastructure.Context 5 | { 6 | public class ProductDbContext : DbContext 7 | { 8 | public ProductDbContext(DbContextOptions options) : base(options) 9 | { 10 | } 11 | public DbSet Products { get; set; } 12 | 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/src/Infrastructure/Mapping/MappingProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | using dotnet9_crash_course.src.Domain.Entities; 3 | using static dotnet9_crash_course.src.Domain.Contract.ProductsContracts; 4 | 5 | 6 | 7 | namespace dotnet9_crash_course.src.Infrastructure.Mapping 8 | { 9 | public class MappingProfile : Profile 10 | { 11 | public MappingProfile() 12 | { 13 | CreateMap(); 14 | CreateMap(); 15 | CreateMap(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /dotnet9-crash-course/dotnet9-crash-course/src/Service/IProductService.cs: -------------------------------------------------------------------------------- 1 | using dotnet9_crash_course.src.Domain.Contract; 2 | using static dotnet9_crash_course.src.Domain.Contract.ProductsContracts; 3 | 4 | namespace dotnet9_crash_course.src.Service 5 | { 6 | public interface IProductService 7 | { 8 | Task> GetProduct(Guid id); 9 | Task>> GetProducts(); 10 | Task> CreateProduct(CreateProductRequest request); 11 | Task> UpdateProduct(Guid id, UpdateProductRequest request); 12 | Task> DeleteProduct(Guid id); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.ApiService/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": false, 8 | "applicationUrl": "http://localhost:5418", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": false, 17 | "applicationUrl": "https://localhost:7569;http://localhost:5418", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.ApiService/Services/ICountryDataServices.cs: -------------------------------------------------------------------------------- 1 | using CountryData.Standard; 2 | 3 | namespace dotnetBlazorFullStuck.ApiService.Services 4 | { 5 | public interface ICountryDataServices 6 | { 7 | Task GetCountryByCodeAsync(string code); 8 | Task GetCountryByPhoneCodeAsync(string phoneCode); 9 | Task GetCountryDataAsync(int offset = 1, int limit = 20, string? serchQuery = null); 10 | Task GetCountryFlagAsync(string countrycode); 11 | Task> GetRegionsByCountryCodeAsync(string code); 12 | 13 | Task> GetCurrencyAsync(string code); 14 | 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.ApiService/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.ApiService/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.ApiService/dotnetBlazorFullStuck.ApiService.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.AppHost/Program.cs: -------------------------------------------------------------------------------- 1 | var builder = DistributedApplication.CreateBuilder(args); 2 | 3 | var apiService = builder.AddProject("apiservice"); 4 | 5 | builder.AddProject("webfrontend") 6 | .WithExternalHttpEndpoints() 7 | .WithReference(apiService) 8 | .WaitFor(apiService); 9 | 10 | builder.Build().Run(); 11 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.AppHost/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.AppHost/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Aspire.Hosting.Dcp": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.AppHost/dotnetBlazorFullStuck.AppHost.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Exe 7 | net9.0 8 | enable 9 | enable 10 | true 11 | 6be278e0-6fab-47d8-857a-ab5c1d9ab9f8 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.ServiceDefaults/dotnetBlazorFullStuck.ServiceDefaults.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | true 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/Components/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/Components/Interface/Country.cs: -------------------------------------------------------------------------------- 1 | namespace dotnetBlazorFullStuck.Web.Components.Interface 2 | { 3 | public class Country 4 | { 5 | public string CountryName { get; set; } 6 | public string CountryFlag { get; set; } 7 | public string PhoneCode { get; set; } 8 | public string CountryShortCode { get; set; } 9 | } 10 | 11 | public class Regions 12 | { 13 | public string name { get; set; } 14 | public string shortCode { get; set; } 15 | } 16 | 17 | 18 | public class Currency 19 | { 20 | public string name { get; set; } 21 | public string code { get; set; } 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |
4 | 7 | 8 |
9 |
10 | About 11 |
12 | 13 |
14 | @Body 15 |
16 |
17 |
18 | 19 |
20 | An unhandled error has occurred. 21 | Reload 22 | 🗙 23 |
24 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/Components/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | @rendermode InteractiveServer 3 | 4 | Counter 5 | 6 |

Counter

7 | 8 |

Current count: @currentCount

9 | 10 | 11 | 12 | @code { 13 | private int currentCount = 0; 14 | 15 | private void IncrementCount() 16 | { 17 | currentCount++; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/Components/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/Components/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.AspNetCore.OutputCaching 9 | @using Microsoft.JSInterop 10 | @using dotnetBlazorFullStuck.Web 11 | @using dotnetBlazorFullStuck.Web.Components 12 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "http": { 5 | "commandName": "Project", 6 | "dotnetRunMessages": true, 7 | "launchBrowser": true, 8 | "applicationUrl": "http://localhost:5212", 9 | "environmentVariables": { 10 | "ASPNETCORE_ENVIRONMENT": "Development" 11 | } 12 | }, 13 | "https": { 14 | "commandName": "Project", 15 | "dotnetRunMessages": true, 16 | "launchBrowser": true, 17 | "applicationUrl": "https://localhost:7247;http://localhost:5212", 18 | "environmentVariables": { 19 | "ASPNETCORE_ENVIRONMENT": "Development" 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/dotnetBlazorFullStuck.Web.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/CliffTechYouTube/88ebd34cd7259cf7ab41dfac2fcfa659a76d0c83/dotnetBlazorFullStuck/dotnetBlazorFullStuck.Web/wwwroot/favicon.png --------------------------------------------------------------------------------