W tym artykule pokażę jak zaimplementować przechowywanie plików w Azure Blob Storage oraz w jaki sposób aplikacja Blazor (WebAssmebly) oraz WebApi stworzone w ASP.NET Core może uzyskać do nich dostęp.
Sztuka programowania 742 dni, 7 godzin, 8 minut temu 33 źrodło rozwiń
W artykule przedstawiam plusy i minusy wykorzystania ORM NHibernate (NH) w aplikacji SaaS. Jest to spojrzenie z perspektywy SoloProgramisty,
Sztuka programowania 754 dni, 5 godzin, 12 minut temu 30 źrodło rozwiń
Narzędzia ORM są szeroko stosowane do wykonywania operacji na bazie danych. W tym artykule opiszę jak w prosty sposób użyć narzędzia NHibernate w projekcie ASP.NET Core.
In one of our projects, we recently started using Cypress for end-to-end testing. Cypress executes tests written in JavaScript or TypeScript. However, we wanted to first perform some data-preparation operations using C#. In fact, we needed to run Cypress tests from NUnit C# tests. In this article, I’m sharing how this can be done 🙂 It will also be useful if you use another testing framework than NUnit, but the examples are based on it. Table of...
Sztuka programowania 791 dni, 8 godzin, 44 minuty temu 36 źrodło rozwiń
Jak przekazać kontekst? I co w ogóle oznacza kontekst? I dlaczego Dependency Injection nie zawsze jest odpowiedzą. Zapraszam.
Sztuka programowania 861 dni, 9 godzin, 40 minut temu 163 źrodło rozwiń
Projekty Open Source to nie tylko frajda i zabawa, ale też masa materiału do nauki. I nie chodzi tylko o programowanie, ale także o... no właśnie. I dlatego spisałem ten post.
Sztuka programowania 995 dni, 8 godzin, 17 minut temu 96 źrodło rozwiń
In this video, we're going to learn about a few C# and JIT decompilation tips using WinDBG.
Sztuka programowania 1142 dni, 9 godzin, 32 minuty temu 17 źrodło rozwiń
This video talks about the "Skip" method, and differences in implementation between dotnet frameworks. Also, we will try to implement a less flexible but faster version of the "Skip" method. Enjoy. 🙂
Sztuka programowania 1191 dni, 9 godzin, 47 minut temu 30 źrodło rozwiń
This video will show you some of the performance and allocation problems that you might encounter when writing LINQ expressions we will also see that an expression you see is not necessarily, what you get. LINQ is not all bad and we will show you an example where LINQ absolutely rocks! This video mentions examples found in my previous video: https://youtu.be/ahnaIdQMoYw Enjoy.
Sztuka programowania 1202 dni, 10 godzin, 18 minut temu 95 źrodło rozwiń
This video is an introduction to bit hacks; we're going to visualize bit hack expressions and learn how to construct and apply them. This video is a direct response to a previous video about bit hacks (https://youtu.be/OPFJUpdCq0I) that was too complicated to an introduction, so this video is here to fill this need. I also have an article about the same topic that goes into more detail about the examples presented here, plus it contains a more bit hacks. https://leveluppp.ghost.io/bit-hacks-in-c/ Enj...
Sztuka programowania 1247 dni, 9 godzin, 48 minut temu 22 źrodło rozwiń
CQRS - jakie przynosi korzyści oraz jakie problemy rozwiązuje. Praktyczne podejście na przykładzie rzeczywistego systemu.
Sztuka programowania 1307 dni, 10 godzin, 4 minuty temu 180 źrodło rozwiń
Today I'm trying to give you some tips on approaching an unknown codebase. How do you manage to quickly find yourself in new code you don't know? How do you manage to join a new project?
Sztuka programowania 1517 dni, 10 godzin, 15 minut temu 116 źrodło rozwiń
Today I will write about the way variance influences type checking in C#. Yes, the fact that one type can be passed to a generic method that requires another type, depends on these 2 small keywords we write before ‘T’ (or whatever 😉) in interface header.
Sztuka programowania 1638 dni, 10 godzin, 33 minuty temu 96 źrodło rozwiń
Typy takie jak List<T> czy Dictionary<T,K> wydają się niewinne. Ostatecznie, pochodzą przecież z biblioteki standardowej (BCL) samego frameworka. Czy warto używać ich w API Twojej biblioteki? Czy są jakieś zagrożenia związane z ich użyciem? Zapraszam do lektury
Sztuka programowania 1903 dni, 8 godzin, 43 minuty temu 74 źrodło rozwiń
Lubimy kategorie. Podobnie w historii, epoki ułatwiają zrozumienie i przypisanie poszczególnych zdarzeń do okresów. Co z epokami w programowaniu? Czy mają jakieś znaczenie? Czy mogą się do czegoś przydać? Zapraszam do epokowego artykułu.
Sztuka programowania 1905 dni, 9 godzin, 14 minut temu 59 źrodło rozwiń
Reading application’s logs is not a big fun but let’s be honest – it is part of our job and we will not avoid it. So why don’t we make it slightly more pleasant? Stack traces explorers to the rescue! In fact, I didn’t know about the existence of stack trace explorers till the day I copied a part of app’s log to my clipboard with the plan to send it to the colleague. But when I opened Visual Studio a magic happened, fairytales flew on my desk and opened a new tab in my IDE.
New post in .NET Internals series - this time about Garbage Collection and memory allocation in .NET. Let's start GC topics! :)
Sztuka programowania 1930 dni, 6 godzin, 32 minuty temu 74 źrodło rozwiń
2nd post form my ".NET Internals" series. Today you'll see how stack and heap data structures are organized and used. You'll also get to know where value and reference types are stored in memory. Come and enjoy! :)
Sztuka programowania 1944 dni, 9 godzin, 13 minut temu 92 źrodło rozwiń
First, introductory post to my new ".NET Internals" series. Next posts will be published each Wednesday from today, so I invite you all to follow the series :) First post is the introduction to basic concepts of memory structure.
Sztuka programowania 1951 dni, 9 godzin, 11 minut temu 115 źrodło rozwiń
Have you ever wondered why blue screens of death happen so rarely, nowadays? Of course, we can thank Microsoft for this but the way they fixed this problem is not so obvious! According to Marino Posadas (and his book Mastering C# and .Net Framework) back in 2010, Microsoft made an analysis of this topic and they came to the conclusion that the 90% (wow!) of the blue screens were caused by drivers! So, Microsoft made manufacturers to follow the Hardware Compatibility List. That somehow solved most of...
Sztuka programowania 2086 dni, 6 godzin, 56 minut temu 186 źrodło rozwiń