Repository navigation
Lecture 6: client-server, distributed risks, .NET choices; secrets, lock files, Dependabot - #20
Merged
Merged
Conversation
…crets, lock files, Dependabot - docs/architecture.md §8-§11: client-server schema (LB, cache, SMTP, protocols, sync/async), CAP choice + timeout/retry/idempotency for booking and reminders, .NET technology comparison with five criteria and rendering per page, configuration/dependencies - Idempotent booking: repeating the same request returns the existing booking (unit + API tests) - EF Core SQL Server: EnableRetryOnFailure(3) + CommandTimeout(15) - No secrets in the repo: appsettings.Example.json template, dotnet user-secrets (UserSecretsId), docker-compose reads .env (.env.example), fail fast on empty connection string - .gitignore from dotnet new gitignore + project rules - Directory.Build.props: RestorePackagesWithLockFile, locked mode in CI - .github/dependabot.yml: nuget (weekly, grouped) + github-actions (monthly)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ლექცია 6: კლიენტ-სერვერი, განაწილებული რისკები, .NET ტექნოლოგიები + სახლის დავალება
სავარჯიშოები (docs/architecture.md)
კოდი
Book_SameStudentRepeatsSameRequest_IsIdempotent(unit),CreateBooking_RepeatedSameRequest_IsIdempotent(API), TS-23.EnableRetryOnFailure(3)დაCommandTimeout(15).სახლის დავალება
.csproj+packages.lock.json—Directory.Build.props(RestorePackagesWithLockFile, CI-ში locked mode); lock ფაილები შექმნაlockfiles.ymlworkflow-მappsettings.Example.json; პაროლებიdotnet user-secrets-ში; Docker —.env.example; ცარიელ connection string-ზე fail fast.gitignore—dotnet new gitignore+ პროექტის წესები.github/dependabot.yml(nuget ყოველ კვირა, github-actions თვეში ერთხელ)ლოკალურად გაშვებამდე
ადმინისტრატორის/მენეჯერის ანგარიშები ახლა user-secrets-ით იქმნება (იხ. README → „გაშვება“). არსებულ ლოკალურ ბაზაში ანგარიშები უცვლელად რჩება.