Dyskusje o tym jak strukturyzować nasz kod potrafią się szybko zrobić gorące. Dorzućmy więc nieco ognia do pieca! Opisałem swoje podejście do cięcia kodu, oraz opisałem dlaczego pozwala mi ono lepiej się skupić i pracować efektywnie.
Sztuka programowania 1181 dni, 2 godziny, 41 minut temu 126 źrodło rozwiń
10 Pomysłów Na Aplikację Do CV
Sztuka programowania 1181 dni, 2 godziny, 41 minut temu 177 źrodło rozwiń
Home » Foreach, IEnumerable and IEnumerator in C#Programming Today, we’re taking a deeper look at foreach loop in C#. What does a collection need to be able to use it in a foreach loop? Does it have to implement IEnumerable interface? These questions are often asked during interviews, so it’s worth knowing the answers 😃 We will go through a step-by-step example in building our own custom collection to see how all that works. Let’s dive in! 😎 Throughout this article, I’m working with a Unit Tests pro...
Sztuka programowania 1184 dni, 2 godziny, 43 minuty temu 118 źrodło rozwiń
CodePruner.comPostsPOSTS I don’t understand why developers doesn’t automate their job. They can save a huge amount of time with very low effort. How? For example, by generating models from backend to frontend. We will talk about it today. The main idea is to keep backend and frontend models synchronized automatically. In most cases frontend asks backend about data, so the main source of truth should be the backend site. I see it in that way. When model is changed on backend then frontend models should ...
Sztuka programowania 1190 dni, 2 godziny, 18 minut temu 71 źrodło rozwiń
David August 23rd, 2021 .NET 6 is on the way, and I wanted to share some of my favorite new APIs in .NET and ASP.NET Core that you are going to love. Why are you going to love them? Well because they were directly driven by our fantastic .NET developer community! Let’s get started!Reading & Writing Files In .NET 6, there’s a new low-level API to enable reading/writing of files without using a FileStream. It also supports scatter/gather IO (multiple buffers) and overlapping reads and writes at a given...
Sztuka programowania 1190 dni, 2 godziny, 18 minut temu 53 źrodło rozwiń
5 Najczęstszych Błędów w Entity Framework Core
Sztuka programowania 1191 dni, 2 godziny, 40 minut temu 253 źrodło rozwiń
This time I'd like to share my story about a simple bug that has grown to a serious size and what I should do to avoid it. Feel free to read!
Sztuka programowania 1195 dni, 1 godzinę, 46 minut temu 93 źrodło rozwiń
Najlepsze praktyki z Entity Framework Core w C#
Sztuka programowania 1206 dni, 2 godziny, 35 minut temu 195 źrodło rozwiń
In the “classical unit tests” developers quite often use Arrange/Act/Assert comments to annotate the main parts of the test method script. However, the test case scenarios in component tests tend to be more complex and those simple notations don’t fit anymore. Here's my proposition on how to deal with that problem...
Sztuka programowania 1212 dni, 2 godziny, 42 minuty temu 64 źrodło rozwiń
It's time for the first post describing points from the Roadmap for unit tests. This time I will introduce you to theoretical topics in the world of unit testing. I encourage you to read!
Sztuka programowania 1212 dni, 2 godziny, 42 minuty temu 67 źrodło rozwiń
Wprowadzenie do EF Core
Sztuka programowania 1220 dni, 2 godziny, 27 minut temu 124 źrodło rozwiń
I've been in love with roadmaps for technologies and frameworks since I saw the first one. So, I was very surprised that there is no roadmap for unit testing with c#! That is why I have prepared my own and I encourage you to read it!
Sztuka programowania 1224 dni, 2 godziny, 22 minuty temu 131 źrodło rozwiń
I gathered my notes from playing with C# records and Nullable Reference Types. Read more if you want to learn if you can use them e.g. for Value Objects or want to do Type-Driven Development.
Sztuka programowania 1224 dni, 2 godziny, 22 minuty temu 85 źrodło rozwiń
Sergey VasilievTags:#CSharp#KnowledgeAuthor: Sergey VasilievUnexpected GC PressureEnum.EqualsEnum.GetHashCode.NET VS .NET Framework in Considered ExamplesEquals GetHashCodePerformanceEqualsGetHashCodeConclusion C# has low barriers to entry and forgives a lot. Seriously, you may not understand how things work under the hood but still write code and remain easy-going about this. Though you still have to deal with different nuances over time. Today, we'll look at one of suc...
Sztuka programowania 1225 dni, 2 godziny, 7 minut temu 98 źrodło rozwiń
In the previous posts in this series, I took a first look at the internal design of StringBuilder class as a linked list, and then looked at the source code behind the constructors and Append methods. In this post I look at (arguably) the most important method on StingBuilder, ToString(), and show how the final string is created from multiple chunks. I also looks at the overload ToString(startIndex, count), and show how recent implementations differ from that used in .NET Framework.Terminology recap In ...
Sztuka programowania 1225 dni, 2 godziny, 7 minut temu 25 źrodło rozwiń
Znasz różnicę pomiędzy throw, a throw ex ? Jeżeli nie to zapraszam
Sztuka programowania 1231 dni, 2 godziny, 33 minuty temu 121 źrodło rozwiń
Jak przekazać kontekst? I co w ogóle oznacza kontekst? I dlaczego Dependency Injection nie zawsze jest odpowiedzą. Zapraszam.
Sztuka programowania 1233 dni, 2 godziny, 30 minut temu 168 źrodło rozwiń
We are getting closer to .NET 6 final release and this week .NET 6 Preview 6 was released. .NET 6 Preview 4 has introduced Minimal APIs in ASP.NET Core. With .NET 6 Preview 6, we now have OpenAPI support for Minimal APIs. In this post, let's see how we can set up Swagger for a project that uses the Minimal API approach. If you are new to Minimal APIs in ASP.NET Core or need to refresh your memories, you can read this post I have written a couple of months back: .NET 6 Preview 4: Introducin...
Sztuka programowania 1233 dni, 2 godziny, 30 minut temu 57 źrodło rozwiń
When I started my career, SQL Injection and Cross-Site Scripting were perceived as sophisticated attacks. Mature admins installed MSSQL servers with the Internet turned off, because by default, open to the world was a potential source of the attack. Setting up the firewall wasn’t even a standard. Today we have easier. By using the cloud, many things are warranted. Suppliers protect us from basic break-ins. For instance, they’re blocking DDoS attacks and many other attacks that we don’t even know existed...
Sztuka programowania 1237 dni, 3 godziny, 30 minut temu 73 źrodło rozwiń
@JeremyLikness🏠 Home🔍 Search📃 Blog📆 Upcoming Talks🗣 Past Presentations▶ Videosℹ AboutPrivacy Notice× This website uses cookies to create the best experience for you. Learn more: Privacy Policy. This site requires your consent to acknowledge and accept the use of cookies. ⚠ Note: some features such as interactive comments and discussions require cookies. Choosing not to consent will disable those features. You can return to the Privacy Policy at any time to opt in.I Do Not ConsentI Consent Code ...
Sztuka programowania 1238 dni, 2 godziny, 16 minut temu 77 źrodło rozwiń