dotnetomaniak.pl - Najnowsze artykuły o .NET - Strona 9

(This article will be split into multiple parts since it would be too long) Writing correct benchmarks is hard, and it's a craft. Benchmarks try to test a piece of code running in isolation which is very hard, and the results will be mainly in milliseconds or even in smaller units of time. Consider how hard it is to measure such timings correctly and filter out the noise and other system components running at the time that might contribute to the benchmark result. Performance Testing APIs or Large s...

Tagi: benchmark
Dziel się z innymi:
How to lie with Benchmarks

Inne 169 dni, 16 godzin, 9 minut temu Piotr Stapp 38 źrodło rozwiń

Bez zbędnego owijania w bawełnę oto 77. odcinek podcastu w a nim z naszym gościem rozmawiamy o projektach po godzinach, zajawkach i Open source. Miłego słuchania. Gość odcinka: Cezary Piątek – https://cezarypiatek.github.io/

Źródło: ostrapila.pl
Dziel się z innymi:
Projekty po godzinach, zajawki i Open-source – Ostra Piła

Inne 169 dni, 16 godzin, 9 minut temu macabre13 62 ź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 169 dni, 16 godzin, 9 minut temu cezarypiatek 59 ź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
Źródło: kczaplicki.com
Dziel się z innymi:
Unit tests fundamental topics part 1 – Krystian Czaplicki

Sztuka programowania 169 dni, 16 godzin, 9 minut temu krystian_czaplicki 66 źrodło rozwiń

With the simple tricks, you can make your Docker image less cluttered and build faster. In my recent article, I explained practical patterns on how to do that. I showed real-world samples with .NET and NodeJS applications.

Tagi: devops, docker
Źródło: event-driven.io
Dziel się z innymi:
How to build an optimal Docker image for your application? - Oskar Dudycz

Narzędzia 174 dni, 15 godzin, 40 minut temu oskar-at-net 102 źrodło rozwiń

Wprowadzenie do EF Core

Dziel się z innymi:
Entity Framework Core

Sztuka programowania 177 dni, 15 godzin, 54 minuty temu modestprogrammer 121 źrodło rozwiń

Richard July 28th, 2021 Open source was an attractive and exciting idea when we first considered sharing .NET Core on GitHub. At the same time, GitHub was a largely unknown platform for many of us and we had a lot of questions about how everything would work. “What if someone forks the runtime on the first day? Is the project over?”. We knew enough that we should take the time to learn the patterns that developers had already established and also what they expected of us. That said, we also had to host...

Tagi: open source
Dziel się z innymi:
Conversation about the .NET open source project | .NET Blog

Inne 180 dni, 15 godzin, 30 minut temu Piotr Stapp 51 ź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!

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

Sztuka programowania 181 dni, 15 godzin, 49 minut temu krystian_czaplicki 127 źrodło rozwiń

Cake allows to write C# scripts for compiling code, running unit tests, copying files/folders, etc. There is built-in support for many tools and many more via addins. In these post series I will show how to create Cake script that can: run unit tests, build Xamarin app, deploy app to App Center, deploy app to Google Play Internal, deploy app to Test Flight, run UI tests. The script can be used in every Xamarin app. I will also show how to create Azure Pipeline that use Cake script.

Dziel się z innymi:
Creating Cake script for building and deploying Xamarin app: Part 1 running unit tests | Damian Antonowicz

Mobile development 181 dni, 15 godzin, 49 minut temu Damian 16 ź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 181 dni, 15 godzin, 49 minut temu oskar-at-net 80 źrodło rozwiń

Skip to contentAboutWho we areMembersTechnical oversight committeeGoverning boardAmbassadorsStaffAnnual report 2020FAQContactProjectsContributeServices for CNCF projectsGraduated & incubating projectsSandbox projectsArchived projectsCloud Native trail mapCloud Native landscapeEnd user tech radarProject journey reportsProject toolsContinuous integrationGraduation criteriaWebsite guidelinesCommunity infrastructure labCopyright noticesCertificationSoftware conformance (Certified Kubernetes)TrainingCerti...

Tagi: gRPC
Źródło: www.cncf.io
Dziel się z innymi:
Think gRPC, when you are architecting modern microservices! | Cloud Native Computing Foundation

Inne 182 dni, 15 godzin, 35 minut temu Piotr Stapp 93 źrodło rozwiń

Skip to main contentContentsExit focus modeTable of contentsStart Module 10 Units Beginner Developer Student .NET Take your first steps with F# - Set up your development environment, write your first line of code, and build your first application Learning objectives...

Tagi: fsharp
Dziel się z innymi:
Write your first F# code - Learn | Microsoft Docs

Inne 182 dni, 15 godzin, 35 minut temu Piotr Stapp 32 ź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 182 dni, 15 godzin, 35 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
Ź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 182 dni, 15 godzin, 35 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
Źródło: codepruner.com
Dziel się z innymi:
To throw or to throw ew. How to rethrow exceptions in C# | CodePruner.com

Minimal API 🤏 Świetna nowość, która ukaże się w .NET 6 dzięki, której będziemy mogli stworzyć pełnoprawne API za pomocą dosłownie kilku linii kodu. Zobacz, w jaki sposób to zrobić i do czego może przydać się nam takie narzędzie!!!

Tagi: .net 6, API
Źródło: youtu.be
Dziel się z innymi:
Minimal API w .NET 6 - pełnoprawne API w kilka minut - YouTube

Web 188 dni, 16 godzin temu wildcat89 129 ź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 190 dni, 15 godzin, 57 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 190 dni, 15 godzin, 57 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
Źródło: event-driven.io
Dziel się z innymi:
Form a wall! And other concerns about security - Oskar Dudycz

Sztuka programowania 194 dni, 16 godzin, 57 minut temu oskar-at-net 70 źrodło rozwiń

Hardening an ASP.NET container running on Kubernetes

Dziel się z innymi:
Hardening an ASP.NET container running on Kubernetes - Microsoft Tech Community

Inne 194 dni, 16 godzin, 57 minut temu Piotr Stapp 73 źrodło rozwiń

1 2... 7 8 9 10 11 12... 458 459
dotnetmemoryexpert

Najaktywniejsi w tym miesiącu