-
[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))); }
-
Friday links 465
oskardudycz/EventSourcing.NetCore: Examples and Tutorials of Event Sourcing in .NET Core Hosting Two ASP.NET Core Apps In One Host | Khalid Abuhakmeh The Big Little Guide to Message Queues Performance testing and antipatterns – Azure Architecture Center | Microsoft Docs Cloud design patterns – Azure Architecture Center | Microsoft Docs Using Apache Kafka with .NET –…
-
Dependent Framework Versioning
There are multiple ways to version a software . I have used SemanticVersioning ( https://semver.org/ ) and Calendar Versioning ( https://calver.org/ ) Of course,there are others – please read https://en.wikipedia.org/wiki/Software_versioning – interesting versioning based on e or PI . However,I want to propose a new standard : Dependent Framework Versioning The major version of a …
-
Friday links 464
Building blocks | Dapr Docs 10 Reasons Why You Should Write Tests – NDepend Giorgi/EntityFramework.Exceptions: Handle database errors easily when working with Entity Framework Core. Supports SQLServer,PostgreSQL,SQLite,Oracle and MySql Being Glue — No Idea Blog Trevor McKendrick pe Twitter: „ [new thing] – What gets a tweet get retweeted? I love studying narrative & storytelling…
-
[Nuget]:NPOI
This is a Nuget that I use in almost every .NET Core project to export files in an Excel format without excel on the PC. Link: https://www.nuget.org/packages/npoi Site: https://github.com/nissl-lab/npoi What it does: Create real Excel files – not just CSV Usage: var wb = new XSSFWorkbook(); var sheet = wb.CreateSheet(“Contractors”); for (int i = 0;…
-
Friday links 463
domesticmouse/vscode-typer: Adding automagic typing to VSCode How to Balance Hard Work and Pleasure for Happiness – The Atlantic An Experiment With Making Integration Tests Easier to Write – Part One Stairway to Columnstore Indexes Level 1: A First Look At Columnstore Indexes – SQLServerCentral Tailwind CSS Components. Examples and templates 7.css – A CSS framework…
-
[NuGet]:Scriban
This is a Nuget that I use in almost every .NET Core project to get the error details ( 500) Link: https://www.nuget.org/packages/Scriban/ Site: https://github.com/scriban/scriban What it does: Like Razor – a template intepreter Usage: var template = Template.Parse(@” <ul id=’products’> {{ for product in products }} <li> <h2>{{ product.name }}</h2> Price: {{ product.price }} {{…
I am ok , you are ok