Kayıtlar

wifi şifreniz windowsta

 C:\Windows\System>netsh wlan show profile "wifiname" key=clear

24.12.2023 izlediklerim

Resim
 Dapper ile yardımcı queryler yazmak CORS içinde querylere behaviour yoluyla cache dekorasyonu yapmak         _logger.LogInformation("Event Created {@Date}", context.Message.Created);        string resizeMeta = "640x480,800x600,1280x940";        MagickImageInfo imageInfo = new MagickImageInfo(context.Message.ImageFile);        List<string> resizeList = resizeMeta.Split(',').ToList();        string fileName = $"{imageInfo.Width}x{imageInfo.Height}";        resizeList.Add(fileName);        List<TestCreatedIntegrationEventWrapper> resizedImageList = new();        foreach (var resize in resizeList)        {            var width = resize.Split("x").First();            var height = resize.Split("x").Last();            using var image = new MagickImage(context.Message.ImageFile);            var size = new MagickGeometry(int.Parse(width), int.Parse(height));            // This will resize the image to a fixed size without ma

Dotnet dünyasında izlediklerim

 .NET 🚀🔥 : API Security: A Comprehensive Guide to Safeguarding Your APIs with API Keys https://www.youtube.com/watch?v=XabkK84CKI8 The New Blazor in .NET 8 🔥 Render Modes, Architecture & Authentication with Identity https://www.youtube.com/watch?v=NKcyzsWmURA&t=233s Unit Testing in C# 2022: 4. Mocking EXPLAINED SIMPLY [FakeItEasy] https://www.youtube.com/watch?v=GMYCNfDXQIk .NET 6 Blazor 🔥 Authentication & Role-Based Authorization (using JWT & AuthenticationStateProvider) https://www.youtube.com/watch?v=Yh16E2u2pio Coding Tutorials Authentication Part 1 - Individual User Accounts https://www.youtube.com/watch?v=ZubGYVHTI3Q&list=PLQB-TSatJvw6xVARAVsMfwphotktIqIWb&index=3 https://github.com/JasperKent/Blazor-Wasm-Authentication https://github.com/JasperKent/WebApi-Authentication/tree/master/WebApiAuthentication ASP.NET Integration Testing https://www.youtube.com/watch?v=Hmp2ctGacIo Blazor and JWT Refresh Tokens https://www.youtube.com/watch?v=0iJqh2lzEXo htt

faydalı kütüphaneler

Csv okumak için kütüphane C# link   One of kütüphanesi C# link Litedb link https://medium.com/@boucekdev/build-microservices-with-net-core-and-rabbitmq-step-by-step-bfbc30c73304 https://marcospereirajr.com.br/using-nginx-as-api-gateway-7bebb3614e48 https://blog.stackademic.com/10-complex-c-code-snippets-for-various-scenarios-f70f92278eb6 dotnet apps için önerilen performans pratikleri https://medium.com/agoda-engineering/asp-net-core-performance-optimization-how-to-maximize-performance-and-scalability-of-your-app-d676668aebea

09.04.2023 notlar

Resim
 Docker dotnet core projesinde iki apinin konuşmasını sağlamak için aşağıdaki ayarı yapmanız gerekiyor. System.Net.Http.HttpRequestException: Cannot assign requested address - error while communicating between 2 .net core web apps in localhost Docker compose ile 2 adet mongodb çalıştırmak istiyorsanız bu ayarı yapmanız gerekmekte, aslında aşağıdaki hata mesajı konuya uygun bir hata mesajı değil ama bu şekilde diğer hatayı keşfediyorsunuz asp.net mongo db 'System.TimeoutException: A timeout occurred after 30000ms' in docker compose https://devpress.csdn.net/cloudnative/630558bcc67703293080f5a3.html

31-03-2023 işler

Resim
Docker compose mongodb ile bağlantıda bu şekilde bir sorun yaşıyorsanız  C# | Mongo Error | System.TimeoutException: A timeout occurred after 30000ms | Solved   Örnek unit test paketleri dotnet core için Link Mediatr pattern unit testler https://codeburst.io/get-started-with-rabbitmq-3-multi-container-app-361a12028c87 Running in "No report files specified" when trying to generate test coverage in docker pipeline https://stackoverflow.com/questions/54784587/running-in-no-report-files-specified-when-trying-to-generate-test-coverage-in Unit test code coverage https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-code-coverage?tabs=windows Gereken kaynaklar https://github.com/danielpalme/ReportGenerator Kullanım şekli https://reportgenerator.io/usage Validatorlar için unit test bilgisi https://thecodeblogger.com/2022/11/25/fluent-validation-unit-testing-the-validators/ dotnet test --collect:"XPlat Code Coverage" https://www.nuget.org/packages/ReportGenerato