dotnetomaniak.pl - Najnowsze artykuły o .NET w dziale Sztuka programowania

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!

Źródło: kczaplicki.com
Dziel się z innymi:
Roadmap for unit tests – Krystian Czaplicki

Sztuka programowania 1 dzień, 7 godzin, 29 minut temu krystian_czaplicki 45 ź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.

Źródło: event-driven.io
Dziel się z innymi:
Notes about C# records and Nullable Reference Types - Oskar Dudycz

Sztuka programowania 1 dzień, 7 godzin, 29 minut temu oskar-at-net 31 ź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...

Tagi: performance
Źródło: pvs-studio.com
Dziel się z innymi:
Enums in C#: Hidden Pitfalls

Sztuka programowania 2 dni, 7 godzin, 14 minut temu Piotr Stapp 48 ź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 ...

Tagi: string
Źródło: andrewlock.net
Dziel się z innymi:
Converting chunks to a string with ToString(): A deep dive on StringBuilder - Part 3

Sztuka programowania 2 dni, 7 godzin, 14 minut temu Piotr Stapp 12 źrodło rozwiń

Znasz różnicę pomiędzy throw, a throw ex ? Jeżeli nie to zapraszam

Tagi: C#, Exception, throw
Źródło: codepruner.com
Dziel się z innymi:
To throw or to throw ew. How to rethrow exceptions in C# | CodePruner.com

Sztuka programowania 8 dni, 7 godzin, 40 minut temu tazos333 104 źrodło rozwiń

Jak przekazać kontekst? I co w ogóle oznacza kontekst? I dlaczego Dependency Injection nie zawsze jest odpowiedzą. Zapraszam.

Context passing patterns - Szymon Kulec @Scooletz

Sztuka programowania 10 dni, 7 godzin, 36 minut temu Scooletz 141 ź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...

Tagi: OpenAPI
Dziel się z innymi:
Jaliya's Blog: .NET 6 Preview 6: Introducing OpenAPI Support in Minimal APIs in ASP.NET Core

Sztuka programowania 10 dni, 7 godzin, 36 minut temu Piotr Stapp 39 ź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...

Tagi: Security
Źródło: event-driven.io
Dziel się z innymi:
Form a wall! And other concerns about security - Oskar Dudycz

Sztuka programowania 14 dni, 8 godzin, 36 minut temu oskar-at-net 65 ź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 ...

Tagi: graphql
Dziel się z innymi:
GraphQL for .NET Developers | Developer for Life

Sztuka programowania 15 dni, 7 godzin, 23 minuty temu Piotr Stapp 59 ź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...

Źródło: code-maze.com
Dziel się z innymi:
C# Tips to Improve Code Quality and Performance - Code Maze

Sztuka programowania 16 dni, 8 godzin, 18 minut temu Piotr Stapp 77 ź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...

Tagi: string
Dziel się z innymi:
How Does the StringBuilder Work in .NET? (Part 2) - Steve Gordon - Code with Steve

Sztuka programowania 18 dni, 8 godzin, 20 minut temu Piotr Stapp 45 ź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!

Źródło: event-driven.io
Dziel się z innymi:
Let's take care of ourselves! Thoughts on compatibility - Event-Driven.io

Sztuka programowania 18 dni, 8 godzin, 20 minut temu oskar-at-net 10 ź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...

Tagi: async/await
Dziel się z innymi:
Thoughts on Async/Await Conversion in a Desktop App - Rick Strahl's Web Log

Sztuka programowania 18 dni, 8 godzin, 20 minut temu Piotr Stapp 26 ź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 :)

Źródło: www.youtube.com
Dziel się z innymi:
BNF odc. 6 Dlaczego używamy Entity Framework? - YouTube

Sztuka programowania 22 dni, 7 godzin, 27 minut temu michal-bialecki 80 ź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...

Tagi: FileStream
Dziel się z innymi:
Stop Saving to Disk with C# Asynchronous Streams - CodeProject

Sztuka programowania 24 dni, 4 godziny, 37 minut temu Piotr Stapp 58 źrodło rozwiń

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...

Tagi: natywne
Źródło: www.hanselman.com
Dziel się z innymi:
C sharp or B flat? Experiments in self-contained native executables in .NET - Scott Hanselman's Blog

Sztuka programowania 24 dni, 4 godziny, 37 minut temu Piotr Stapp 30 ź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...

Tagi: WebAPI
Dziel się z innymi:
.NET Nakama | Idempotency for Fault-Tolerant Web APIs

Sztuka programowania 24 dni, 4 godziny, 37 minut temu Piotr Stapp 32 źrodło rozwiń

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:

Tagi: null-check
Źródło: www.meziantou.net
Dziel się z innymi:
Different ways to check if a value is null in C# - Meziantou's blog

Sztuka programowania 28 dni, 7 godzin, 38 minut temu Piotr Stapp 95 źrodło rozwiń

1 2 3 4 5... 68 69

sierpień

27.
dynamIT 2021
Kraków, Browar Lubicz, ul. Lubicz 17J

październik

Najaktywniejsi

1
(32 895,6)
2
(32 816,53)
3
(27 178,29)
4
(21 178,88)
5
(20 336,33)
6
(13 018,14)
7
(10 531,65)
8
(9 790,28)
9
(8 866,31)
10
(6 837,96)
11
(6 214,22)
12
(5 393,84)
13
(4 157,41)
14
(4 026,73)
15
(3 908,07)
16
(3 599,64)
17
(3 448,35)
18
(3 318,39)
19
(3 224,66)
20
(3 221,45)