[Redirect Magazine] #26 - Web performance, constructor over-injection and the Elastic stack

Have at it! Articles “I Wanna Go Fast: Why Searching Through 500M Pwned Passwords Is So Quick” Really cool post on web performance by Troy Hunt on hist Have I Been Pwned project. “On Constructor Over-injection” Can’t add much on this article, the title is self explanatory and the article is short and to the point. Videos “Data magic with the Elastic stack! - Aleksander Stensby” Cool talk on some interesting capabilities of Elastic Search and Kibana....

September 2, 2018 · 1 min · 78 words · João Antunes

[Redirect Magazine] #15 - Performance with strings in .NET, cryptography, Node.js issues, microservices and clean architecture

Today, besides the usual articles and videos, I added a podcast into the mix. Articles “Strings Are Evil” Very cool article on massively improving the performance of a document parsing application, mainly in regard to memory allocations, and the issues working with strings carelessly in .NET can cause. “Timing vulnerabilities with CBC-mode symmetric decryption using padding” Using cryptography correctly ain’t a walk in a park. I don’t usually read much about this topic, but it’s important to at least be alert to some things, so we’re able to talk to someone who really understands the topic and we can be confident our code isn’t vulnerability ridden....

June 17, 2018 · 1 min · 142 words · João Antunes

[Redirect Magazine] #9 - GraphQL vs REST, multi-targeting .NET libraries, analyzers and designing APIs

Slower week, a few more links anyways! Articles “REST vs GraphQL APIs, the Good, the Bad, the Ugly “ Interesting comparison between REST and GraphQL APIs. “Targeting builds for multiple frameworks and machines” Nice read on a use case for multi targeting a .NET project across frameworks and operating systems, for a complete multi platform experience. “Avoiding struct and readonly reference performance pitfalls with ErrorProne.NET” Introduction to a set of analyzers to help with some of the latest C# performance oriented features regarding structs....

May 6, 2018 · 1 min · 112 words · João Antunes

[Redirect Magazine] #8 - HttpClient, the actor model, saga pattern, ASP.NET Core issues and some more perf stuff

Here comes some more link goodness! Articles “HttpClientFactory for typed HttpClient instances in ASP.NET Core 2.1” Using the new HttpClientFactory with ASP.NET Core 2.1. “HttpClientFactory in ASP.NET Core 2.1 (Part 1)” Some more info on HttpClientFactory with ASP.NET Core 2.1. This is a much more detail set of articles then the one by Scott Hanselman. The link is for part one but you can then follow through the others, 3 in total at this moment....

April 29, 2018 · 1 min · 210 words · João Antunes

[Redirect Magazine] #7 - Using Firefox, .NET Core 2.1 performance improvements, learning new skills and new C# features

“Another day, another carrot”… I mean, another redirect magazine! Articles “It’s time to give Firefox a fresh chance” While not directly code related, I think this is an important topic. As developers we, better than anyone else, should know that having an application only work well on one browser is terrible. We haven’t even got rid of those horrible sites that require us to fire up Internet Explorer (and Java applets for that matter) and are slipping into a similar scenario with Chrome....

April 22, 2018 · 2 min · 225 words · João Antunes

[Redirect Magazine] #6 - Code reviews, side projects, functions as dependencies and performance profiling

This week has been a little slower, but I still have some nice stuff to share while I’m finishing up a post on a little PoC I did with gRPC (code here). Articles “Why junior devs should review seniors’ commits” Some good reasons for all developers to be involved in the code review process, not just the senior ones. “What does a good side project look like?” While I disagree that one must have side projects, if there’s interest in having one, these article talks about some of the possible benefits of it....

April 15, 2018 · 1 min · 143 words · João Antunes

[Redirect Magazine] #5 - Repository pattern diverging opinion, .NET and Go concurrency, JS Event Loop and Zones

Some more reading/watching material. A bit more Go this week, as I would love to use it to build something but haven’t got around to do it - my attention span in pet projects is terrible, I start one thing then get another idea and forget the previous :) Articles “Is the repository pattern useful with Entity Framework Core?” An alternative point of view on the much used repository pattern. “Go vs C#, part 1: goroutines vs async-await” An interesting read, not really for the performance tests, but mostly because of the pretty significant differences in working with async code between C# and Go....

April 8, 2018 · 1 min · 196 words · João Antunes

[Redirect Magazine] #4 - CLI tools, coding ASP.NET Core on Linux, actors and some more perf stuff

Here comes another round of interesting reads/watches. Articles “Command line “tab” completion for .NET Core CLI in PowerShell or bash” Something I had no clue that existed:.NET command line autocomplete and static file server. “Diving deep into JavaScript array – evolution & performance “ Some insights on the array performance in JavaScript. “Dataflow (Task Parallel Library)” I had no clue there was an actor model like API tied into the TPL....

April 1, 2018 · 1 min · 147 words · João Antunes

[Redirect Magazine] #3 - DDD with EF Core, ASP.NET Core, JS and .NET perf and some logging bits

Articles “Creating Domain-Driven Design entity classes with Entity Framework Core” Nice approach to implement domain driven design entity classes using EF Core. Some prior ideas on DDD might help in better understanding the article, but at very least it might pique your interest in learning more about it. “Exploring the Microsoft.AspNetCore.App shared framework in ASP.NET Core 2.1 (preview 1)” Overview of the way an ASP.NET Core application dependencies are handled, and the changes introduced from 2....

March 25, 2018 · 1 min · 164 words · João Antunes

[Video] .NET performance curiosities

I added a new video, just talking about very simple stuff we do all the time that can have some impact on our applications performance, and the just as simple ways we can avoid these situations. The source code for the sample is here at GitHub Cyaz

September 11, 2017 · 1 min · 47 words · João Antunes