-
[NuGet]: Transplator
This is a Nuget that it is what Razor should have been. It is a Roslyn Source Code Generator that transforms template into code. Link: https://www.nuget.org/packages/Transplator Site: https://github.com/atifaziz/Transplator What it does: Takes a template and generates source code for outputting anything inside. Usage: Somewhere in the csproj: <ItemGroup> <CompilerVisibleProperty Include=”DebugTransplator” /> <CompilerVisibleItemMetadata Include=”AdditionalFiles” MetadataName=”SourceItemType” /> …
-
Friday links 469
KirillOsenkov/SourceBrowser: Source browser website generator that powers http://referencesource.microsoft.com and http://sourceroslyn.io sergiisyrovatchenko/SQLIndexManager: Free GUI Tool for Index Maintenance on SQL Server and Azure microsoft/charticulator: Interactive Layout-Aware Construction of Bespoke Charts Fix spaghetti code and other pasta-theory antipatterns Why is your ASP.NET server so slow? 10 performance problems and solutions – Michael’s Coding Spot Using the ProblemDetails…
-
[RSCG]–About My Software
I have made a new improvement to my Roslyn Source Code Generator,AMS . Until now it just said the time and the commit date in a CI scenario ( Git ( GitLab,GitHub),Azure …) Now – what if it can list all the merge requests between 2 dates ,so you can see what is new ? Now…
-
EventId in logging
Finally I have realized why it is necessary to have EventId logged and it is not the same life without him – especially in the microservices context. So why it is not enough public static void LogError (this Microsoft.Extensions.Logging.ILogger logger,Exception? exception,string? message,params object?[] args); and I strongly recommend public static void LogError (this Microsoft.Extensions.Logging.ILogger logger,Microsoft.Extensions.Logging.EventId…
-
Friday links 468
20 Hilarious Tweets Only Software Developers Will Understand | by Josef Cruz | JavaScript in Plain English OneTab .NET R&D Digest (April,2021) – Oleg Karasik’s blog Viewing app configuration using Oakton’s Describe command and Spectre.Console Make microservices fun again with Dapr | Dave Brock Angular — Four practical use cases of NgTemplateOutlet | by Liu…
-
Friday links 467
warrenfalk/rocksdb-sharp: .net bindings for the rocksdb by facebook Hello! | party.js Cloud design patterns – Azure Architecture Center | Microsoft Docs I don’t want to learn your garbage query language · Erik Bernhardsson TreeSelect – Ant Design Fun with the HttpClient pipeline – Thomas Levesque’s .NET Blog Hold my Beer: We Are Going Scrumban! My…
-
[NuGet]: HealthCheck
This is a Nuget that I use in all projects when I am making any ASP.NET Core prohect Link: https://www.nuget.org/packages/AspNetCore.HealthChecks.UI/ Site: https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks What it does: Implements health checks for your site and/or dependencies Usage: public void ConfigureServices(IServiceCollection services) { //code services.AddHealthChecks() .AddSqlServer(myConnectionString) }
-
Friday links 466
IT Jobs Explained With A Broken Lightbulb – Toggl Blog REST APIs for Microservices? Beware! – CodeOpinion Announcing OpenXML Package Explorer for VS Code – Sergey Tihon’s Blog My Mental Model on Choosing a Database for a Particular Problem | Tugberk @ the Heart of Software AsyncLocal Class (System.Threading) | Microsoft Docs How to migrate…
-
[ADCES]Work flow core VS Elsa in a real life orchestration scenario & RSCG -examples
Presentation 1: Work flow core VS Elsa in a real life orchestration scenarioPresenter : Radu Iovescu,https://www.linkedin.com/in/riovescu/Description : TBD Presentation 2: Roslyn Source Code Generators with examplesPresenter: Ignat Andrei,http://msprogrammer.serviciipeweb.ro/Description: Roslyn Source Code Generators is a way to write programs that write programs at compile time Andrei will show you how to write one . Also,he will…
-
[NuGet]: Polly
This is a Nuget that I use in all projects when I am making HTTP calls.. Link: https://www.nuget.org/packages/polly Site: https://github.com/App-vNext/Polly What it does: Implements all kind of policies for retrying – see https://github.com/App-vNext/Polly/wiki/Transient-fault-handling-and-proactive-resilience-engineering Usage: – copied from https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly static IAsyncPolicy<HttpResponseMessage> GetRetryPolicy() { return HttpPolicyExtensions .HandleTransientHttpError() .OrResult(msg => msg.StatusCode == System.Net.HttpStatusCode.NotFound) .WaitAndRetryAsync(6,retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt))); }
I am ok , you are ok