Najlepsze praktyki z Entity Framework Core w C#
Sztuka programowania 317 dni, 3 godziny, 8 minut temu 192 ź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 323 dni, 3 godziny, 14 minut temu 60 ź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 323 dni, 3 godziny, 14 minut temu 66 źrodło rozwiń
Wprowadzenie do EF Core
Sztuka programowania 331 dni, 2 godziny, 59 minut temu 121 ź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 335 dni, 2 godziny, 54 minuty temu 129 ź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 335 dni, 2 godziny, 54 minuty temu 83 ź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 336 dni, 2 godziny, 40 minut temu 95 ź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 336 dni, 2 godziny, 40 minut temu 23 źrodło rozwiń
Znasz różnicę pomiędzy throw, a throw ex ? Jeżeli nie to zapraszam
Sztuka programowania 342 dni, 3 godziny, 6 minut temu 118 źrodło rozwiń
Jak przekazać kontekst? I co w ogóle oznacza kontekst? I dlaczego Dependency Injection nie zawsze jest odpowiedzą. Zapraszam.
Sztuka programowania 344 dni, 3 godziny, 2 minuty temu 163 ź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 344 dni, 3 godziny, 2 minuty temu 55 ź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 348 dni, 4 godziny, 2 minuty temu 71 ź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 349 dni, 2 godziny, 49 minut temu 75 źrodło rozwiń
Czy programista musi ukończyć studia?
Sztuka programowania 350 dni, 3 godziny, 44 minuty temu 70 źrodło rozwiń
Learn how to build APIs in .NET with our Ultimate ASP.NET Core Web API! 🔥Check out our video course about BLAZOR WEBASSEMBLY! 🔥HomeWeb API Book 📙Blazor WASM Video Course 🔥GuidesASP.NET CoreASP.NET Core SeriesGraphQL ASP.NET CoreASP.NET Core MVC SeriesASP.NET Core MVC TestingEF Core SeriesHttpClient with ASP.NET CoreSecurityASP.NET Core Identity SeriesIdentityServer4, OAuth, OIDC SeriesAngular with ASP.NET Core IdentityBlazor WebAssemblyBest PracticesSOLID PrinciplesASP.NET Core Web API Best Practice...
Sztuka programowania 350 dni, 3 godziny, 44 minuty temu 91 źrodło rozwiń
8th July 20218th July 2021Steve Gordon.NETPart Two: Understanding the Overhead of a StringBuilder To continue exploring how the StringBuilder works, we’ll shift focus and study its logical design. Today, we’ll start by looking at how the type is designed and the overhead involved with creating and using StringBuilder instances. If you missed part one of this series, I explained why you may decide to use StringBuilders in your application code for more efficient string manipulation. Don’t worry if you mi...
Sztuka programowania 352 dni, 3 godziny, 46 minut temu 48 źrodło rozwiń
Hey Developers! I'll tell you a secret. You don't have to break each other work. Breaking changes are overrated. Read more about how to live without them!
Sztuka programowania 352 dni, 3 godziny, 46 minut temu 12 źrodło rozwiń
On this page: If you've been following this blog and my Twitter feed, you know I've been going through a lengthy process of updating the Markdown Monster WPF desktop application from using an WebBrowser control based editor and preview interface to using the new WebView2 control. This new control provides a modern browser that use the Chromium engine which provides much better compatibility with modern Web Standards than the old Internet Explorer based WebBrowser control. The new control has strict r...
Sztuka programowania 352 dni, 3 godziny, 46 minut temu 30 źrodło rozwiń
Dlaczego używamy Entity Framework? Czy jest szybki, czy wystarczy do wszyskiego? Czy warto rozumieć co sie dzieje pod spodem? Zapraszam na podcast z moim udziałem, prowadzony przez Kajetana ze Szkoły Dotneta. Rewelacja :)
Sztuka programowania 356 dni, 2 godziny, 53 minuty temu 83 źrodło rozwiń
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 358 dni, 3 minuty temu 63 źrodło rozwiń