- Najnowsze artykuły o .NET w dziale Sztuka programowania - Strona 5

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

Tagi: .Net, C#, csharp, dotnet
Dziel się z innymi:
Foreach, IEnumerable and IEnumerator in C# - Yumasoft

Sztuka programowania 452 dni, 22 godziny, 42 minuty temu dsibinski 112 ź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 ...

Tagi: .Net, C#, TypeScript
Dziel się z innymi:
Why and how generate models from C# to Typescript | | Jerzy Wickowski

Sztuka programowania 458 dni, 22 godziny, 17 minut temu tazos333 66 ź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...

Tagi: dotnet6
Dziel się z innymi:
New .NET 6 APIs driven by the developer community | .NET Blog

Sztuka programowania 458 dni, 22 godziny, 17 minut temu Piotr Stapp 48 ź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!

Dziel się z innymi:
How I introduced code with one small mistake that confused other devs – Krystian Czaplicki

Sztuka programowania 463 dni, 21 godzin, 45 minut temu krystian_czaplicki 91 źrodło rozwiń

Najlepsze praktyki z Entity Framework Core w C#

Najlepsze praktyki z Entity Framework Core - Modest Programmer

Sztuka programowania 474 dni, 22 godziny, 34 minuty temu modestprogrammer 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...

Tagi: testing
Dziel się z innymi:
Readable and clear tests for ASP.NET Core services · Cezary Piątek Blog

Sztuka programowania 480 dni, 22 godziny, 41 minut temu cezarypiatek 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!

Tagi: unit tests
Dziel się z innymi:
Unit tests fundamental topics part 1 – Krystian Czaplicki

Sztuka programowania 480 dni, 22 godziny, 41 minut temu krystian_czaplicki 66 źrodło rozwiń

Wprowadzenie do EF Core

Dziel się z innymi:
Entity Framework Core

Sztuka programowania 488 dni, 22 godziny, 26 minut temu modestprogrammer 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!

Dziel się z innymi:
Roadmap for unit tests – Krystian Czaplicki

Sztuka programowania 492 dni, 22 godziny, 21 minut temu krystian_czaplicki 130 ź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.

Dziel się z innymi:
Notes about C# records and Nullable Reference Types - Oskar Dudycz

Sztuka programowania 492 dni, 22 godziny, 21 minut temu oskar-at-net 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...

Tagi: performance
Dziel się z innymi:
Enums in C#: Hidden Pitfalls

Sztuka programowania 493 dni, 22 godziny, 6 minut temu Piotr Stapp 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 ...

Tagi: string
Dziel się z innymi:
Converting chunks to a string with ToString(): A deep dive on StringBuilder - Part 3

Sztuka programowania 493 dni, 22 godziny, 6 minut temu Piotr Stapp 23 źrodło rozwiń

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

Tagi: C#, Exception, throw
Dziel się z innymi:
To throw or to throw ew. How to rethrow exceptions in C# |

Sztuka programowania 499 dni, 22 godziny, 32 minuty temu tazos333 118 ź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 501 dni, 22 godziny, 29 minut temu Scooletz 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...

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 501 dni, 22 godziny, 29 minut temu Piotr Stapp 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...

Tagi: Security
Dziel się z innymi:
Form a wall! And other concerns about security - Oskar Dudycz

Sztuka programowania 505 dni, 23 godziny, 29 minut temu oskar-at-net 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 ...

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

Sztuka programowania 506 dni, 22 godziny, 15 minut temu Piotr Stapp 75 źrodło rozwiń

Czy programista musi ukończyć studia?

Dziel się z innymi:
Czy Programista .NET Potrzebuje Studiów? - Modest Programmer

Sztuka programowania 507 dni, 23 godziny, 11 minut temu modestprogrammer 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...

Dziel się z innymi:
C# Tips to Improve Code Quality and Performance - Code Maze

Sztuka programowania 507 dni, 23 godziny, 11 minut temu Piotr Stapp 91 źrodło rozwiń

1 2 3 4 5 6 7 8... 73 74

Najaktywniejsi w tym miesiącu