Lee P RichardsonRate me: Please Sign up or sign in to vote. 5.00/5 (7 votes)CPOL7 min readIn this post I'll quickly explain what asynchronous streams are, describe what real world problem they helped me solve, and show some common pitfalls just in case you're in a similar situation. My journey to solve a hard performance problem with a newish language feature: asynchronous streams. Explains what asynchrnous streams are, and shows a real world prob...
Sztuka programowania 1269 dni, 4 godziny, 39 minut temu 66 źrodło rozwiń
C sharp or B flat? Experiments in self-contained native executables in .NET - Scott Hanselman's Blog
aboutblogpodcastyoutubespeaking browse by category or dateC sharp or B flat? Experiments in self-contained native executables in .NETComment on this post [3]Posted in Open Source Sponsored By One of the best parts of the .NET ecosystem is the excitement around experimentation. Someone is always taking .NET to the next level, trying new things, pushing the envelope. Michal Strehovsky has an interesting experiment on his GitHub called "bflat." This is not a produc...
Sztuka programowania 1269 dni, 4 godziny, 39 minut temu 33 źrodło rozwiń
July 04, 2021 (~10 Minute Read) IDEMPOTENCYFAULT TOLERANCEDISTRIBUTED SYSTEMSAPI DESIGNASP.NET COREOPEN-SOURCE Contents IntroductionIdempotency in HTTP (Web)The IdempotentAPI LibraryHow IdempotentAPI WorksThe Source CodeIdempotentAPI NuGet packageStep 1: Register the Distributed Cache (as Persistent Storage)Step 2: Decorate Response Classes as SerializableStep 3: Set Controller Operations as IdempotentUsing the Idempotent Attribute on a Controller’s ClassUsing the Idempotent Attribute on a Controller’s...
Sztuka programowania 1269 dni, 4 godziny, 39 minut temu 36 źrodło rozwiń
Nik June 30th, 2021 With the release of Visual Studio 16.10 comes a new analysis engine for the Performance Profiler, with the .NET Object Allocation Tool being the first tool to be onboarded. This provides the tool with some new features and a significant perf boost. Give it a shot with your C# app and see what spurious allocations you can remove to speed up your app! The .NET Object Allocation Tool now has support for Source Link which lets the tool pull down source files when going to source. This ...
...korporacyjne proxy, antywirusy i innego rodzaju oprogramowanie monitorujące jest w stanie ograniczyć wydajność programisty – moim zdaniem – nawet o połowę. Coś co w normalnych warunkach zajmuje 2 minuty może w takim środowisku zająć minut 10, a to już wystarczająco, by deweloper się zirytował i rozproszył. 2 minuty pozwolą pozostać we flow, a 10 minut frustracji przerodzi się w wizytę w kuchni albo chill-roomie, a następnie w kolejne kwadranse spędzone na powrocie do skupienia.
Bardzo często myśląc o efektywności mówimy o realizacji jak największej liczby zadań w określonym czasie (ang. output). Często nasuwają nam się również miary pokroju Velocity czy Capacity. O ile nie ma nic złego w mierzeniu prędkości zespołu, o tyle mówimy tutaj bardziej o wydajności, a nie efektywności. Prawdziwą efektywność należy utożsamiać z efektem naszej pracy jakim jest produkt. Powinniśmy więc mówić o wartości jaką dostarczamy końcowemu użytkownikowi (ang. outcome), czy też ujmując inaczej z mie...
Laurent April 15th, 2021 Hi! I’m Laurent Ellerbach. I’m a Principal Software Engineer Manager at Microsoft working for the Commercial Software Engineering team. My team and I are doing co-engineering with our largest customers helping them in their digital transformation and focussing on Azure. I’m more focussing on Manufacturing industry and I’ve been involved in IoT for a very long time. I’ve been a contributor to .NET IoT and quickly became one of the main contributors which drove me to work very cl...
Recently, I had to convert an SVG file to PNG. I tried a few free online converters, but none of them were able to convert the image correctly. Indeed, they don't support custom fonts… Instead of wasting more time at searching for an existing tool, I opened Visual Studio and I made a quick application to convert my images!
In .NET there are multiple ways to check if a value is null. But all of them are not equivalent. Let's look at the different ways to check if an object is null:
Sztuka programowania 1273 dni, 7 godzin, 40 minut temu 99 źrodło rozwiń
content Videos Content Index Board Games Photography
This week I decided to back to the basics of Event Sourcing. I explained how to build the current state from events in: - object-oriented style in C# - functional style in TypeScript. This is an essential part of treating events as the source of truth.
Architektura 1274 dni, 7 godzin, 12 minut temu 44 źrodło rozwiń
The other day at work I ran into an attribute I hadn't heard about, the [Conditional] attribute. In this post I start by describing conditional compilation using pre-processor directives like #if, and then introduce the [Conditional] attribute, and describe how it differs to using #if.Conditional compilation with #if With the release of .NET Core 5 years ago (has it really been that long?!) the need to multi-target .NET libraries and applications became more prominent. As the early versions of .NET...
Tworzenie logiki aplikacji mobilnej w xamarin.
Sztuka programowania 1274 dni, 7 godzin, 12 minut temu 44 źrodło rozwiń
Dependency injection (DI) software design pattern is one of the most used ones and requires no introduction, but if you need any check out MDNS article about this topic. To achieve Inversion of Control we can use DI Containers, in which we define services and the abstractions that they fulfill so that they can be injected (created) at runtime. .NET Core and .NET5+ has a simple container built-in that allows registering dependencies one by one, but the application can quickly outgrow this approach, plus ...
michielpost.nl Personal blog of Michiel PostcategoriesblockchainblazorauthorMichielpublishedcategoriesblazor Blazor WebAssembly apps can become pretty large (10+ MB), every Blazor app includes the dotnet runtime compatible with WebAssembly, and of course all of your app's dependencies. Microsoft is working on getting the download size as small as possible, with techniques like tree shaking. This means that unused code won't be included in the Release build. But there are also some things we can do ou...
Systemy są coraz większe, rozproszone i skomplikowane. W tym wpisie poruszona jest kwestia monitoringu. Dlaczego jest ważny i co możemy monitorować.
.NET C# Gunnar Peipman2 Views 0 Comments Hopefully the era of leprosy and corona is over for this time and it’s time to get back to blogging. Exceptions are powerful feature of object-oriented languages as far as they are used like they are thought to use – throw exception only when something really unexpected happens. This advice should be taken seriously – here’s why. Back in days when I was young and beautyful (now I’m only beautyful) I found utility application to get documents and their metadata...
Sztuka programowania 1276 dni, 6 godzin, 56 minut temu 61 źrodło rozwiń
Get startedOpen in appAntão Almada574 FollowersAbout Sign inGet started574 FollowersAboutGet startedOpen in app Antão Almada 2 days ago·3 min read In my previous post I left out ArraySegment
Sztuka programowania 1276 dni, 6 godzin, 56 minut temu 46 źrodło rozwiń
EnglishDeutsch Blog Back Homepage About us Services Expertise Career Contact Back Startseite Über uns Leistungen Expertise Karriere Kontakt EnglishHomepageAbout usServicesExpertiseCareerContactDeut...
Sztuka programowania 1276 dni, 6 godzin, 56 minut temu 18 źrodło rozwiń
W 76. odcinku z naszymi gośćmi rozmawiamy o technologii Blazor. Zastanawiamy się czy nowa technologia Microsoftu nie powtórzy ubitego już Silverlighta, czy oparcie jej na otartych standardach uchroni przez powtórką z historii. A prócz tego czy warto iść w Blazora jako główna technologia i jak wygląda rynek pracy. Miłego słuchania. Gość odcinka:Konrad Kokosa – https://twitter.com/konradkokosaKonrad Bartecki – https://bartecki.me/