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

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 981 dni, 2 godziny, 56 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
Źródło: kczaplicki.com
Dziel się z innymi:
Unit tests fundamental topics part 1 – Krystian Czaplicki

Sztuka programowania 981 dni, 2 godziny, 56 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 986 dni, 2 godziny, 27 minut temu oskar-at-net 102 źrodło rozwiń

Wprowadzenie do EF Core

Dziel się z innymi:
Entity Framework Core

Sztuka programowania 989 dni, 2 godziny, 41 minut 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 992 dni, 2 godziny, 17 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 993 dni, 2 godziny, 36 minut temu krystian_czaplicki 130 ź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 993 dni, 2 godziny, 36 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 993 dni, 2 godziny, 36 minut temu oskar-at-net 83 ź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 994 dni, 2 godziny, 21 minut temu Piotr Stapp 95 ź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 994 dni, 2 godziny, 21 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 994 dni, 2 godziny, 21 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 994 dni, 2 godziny, 21 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

Sztuka programowania 1000 dni, 2 godziny, 47 minut temu tazos333 119 źrodło rozwiń

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 1000 dni, 2 godziny, 47 minut temu wildcat89 131 ź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 1002 dni, 2 godziny, 44 minuty 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 1002 dni, 2 godziny, 44 minuty 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 1006 dni, 3 godziny, 44 minuty temu oskar-at-net 71 ź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 1006 dni, 3 godziny, 44 minuty temu Piotr Stapp 73 źrodło rozwiń

AboutPAC-MAN12 min read. What happens when you build a .NET app? What happens the instant you run it? The last time I studied this was when .NET Framework was in its infancy. That was nearly 20 years ago! Things have changed in those two decades: apps are now cross-platform; .NET has lost its "Framework" moniker; and I've lost my hair! This post looks at:what's in a modern .NET 5 (C#) projectwhat's generated when you buildwhat happens when you run it We won't go into a massive amount of detail, but ...

Tagi: csproj
Źródło: dunnhq.com
Dziel się z innymi:
Anatomy of a .NET app

Inne 1006 dni, 3 godziny, 44 minuty temu Piotr Stapp 81 źrodło rozwiń

Recurso 2 Home Clients Case Events Event Expertise Expertise Accelerators Accelerator Blog Blog Post Campaign Workshop Jobs Job Contact About Query I'm looking for something digital transformation digital transformation Revolutionize your back-end systems by harnessing the powers of integration. With our unrivaled expertise, Codit is the ideal partner for your digital transformation. Brussels AirlinesBrussels Airli...

Tagi: SignalR
Źródło: www.codit.eu
Dziel się z innymi:
Messaging with Azure SignalR & ASP.NET 5 | Codit

Cloud 1007 dni, 2 godziny, 31 minut temu Piotr Stapp 77 źrodło rozwiń

1 2... 13 14 15 16 17 18... 464 465

Najaktywniejsi w tym miesiącu