dotnetomaniak.pl - Najnowsze artykuły o .NET w dziale Narzędzia - Strona 7

I need to migrate a lot of repositories from one Azure DevOps to another. Migration! Don't ask why, please. Let's assume it was much more simple than other options.

Tagi: Azure DevOps
Źródło: stapp.space
Dziel się z innymi:
Azure DevOps CLI to the rescue in Stapp.space

Narzędzia 1456 dni, 14 godzin, 56 minut temu Piotr Stapp 18 źrodło rozwiń

Nowadays with Kubernetes being so popular, building a Docker image is a must thing for CI/CD pipeline. For this kind of pipelines, an artifact is not a simple zip file wich compiled application, but a Docker image pushed to container registry. There is plenty of benefits of this approach but there is also price for this. We need to handle this in our pipelines. Hopefully, this price is not high. And we will explore today how we can build a Docker image for our dotnet core web app on Azure DevOps.DOCKERFI...

Źródło: thecodemanual.pl
Dziel się z innymi:
How to build docker image on Azure DevOps? · The Code Manual

Narzędzia 1459 dni, 14 godzin, 34 minuty temu Krzysztof-M 24 źrodło rozwiń

Gdy tworzymy jakieś API dobrze jest sprawdzić, czy ono działa. Po każdej zmianie albo dodaniu nowego punktu wejścia (endpoint) powinniśmy przetestować, czy wszystko jest ok. Możemy to zrobić uruchamiając aplikację i ręcznie wszystko sprawdzając, jednakże na dłuższą metę jest to bardzo czasochłonne. Dlatego warto utworzyć osobny projekt, w którym stworzymy testy sprawdzające czy nasze API działa poprawnie. W kilku punktach postaram się opisać jak u mnie z reguły wygląda taki projekt z testami API.

Źródło: www.admu.pl
Dziel się z innymi:
Testy API w C# – ADMU Blog

Narzędzia 1465 dni, 14 godzin, 42 minuty temu Admu 138 źrodło rozwiń

Od dłuższego czasu obowiązuje praca zdalna, a część osób próbuje się odnaleźć wśród różnych produktów ułatwiających zdalną komunikację. Postanowiłam więc zrobić kilka wpisów na temat narzędzia Microsoft Teams, z którego korzystam na co dzień. Ostatnio pisałam o czatach, kanałach i zespołach. Dzisiaj napiszę o części związanej z rozmowami i nagraniami.

Dziel się z innymi:
Microsoft Teams – rozmowy i nagrania – programmer-girl

Narzędzia 1466 dni, 14 godzin, 46 minut temu Weronika Mularczyk 56 źrodło rozwiń

EventPipeProfiler is a new cross-platform profiler that I’ve implemented in the BenchmarkDotNet library. It allows profile .NET code on every platform - Windows, Linux, macOS. Collected data are exported to trace files (.speedscope.json and .nettrace) which can be analyzed using SpeedScope, PerfView, and Visual Studio Profiler. This new profiler will be available from the 0.12.1 version.

Dziel się z innymi:
Cross-platform profiling .NET code with BenchmarkDotNet

Narzędzia 1471 dni, 14 godzin, 49 minut temu gorallo 47 źrodło rozwiń

Kolejne test różnych runtime .NET. Tym razem doszedł .NET 5, plus nowe benchamarki pod regexy.

Źródło: github.com
Dziel się z innymi:
Kolejne porównanie wydajności: .NET Framework (4.8), .NET Core (3.1.x) i .NET 5 (preview 2)

Narzędzia 1474 dni, 15 godzin, 7 minut temu djfoxer 186 źrodło rozwiń

Last time we created a gated check-in build for .NET Core app. It works very well, but we did there one thing which is in general a bad practice in our proficiency. We duplicated build steps for building and testing .NET Core app. We can do better than that, we can use templates. Following the documentation: Templates let you define reusable content, logic, and parameters. Templates function in two ways. You can insert reusable content with a template or you can use a template to control what is allowed...

Źródło: thecodemanual.pl
Dziel się z innymi:
Build templates on Azure DevOps · The Code Manual

Narzędzia 1477 dni, 1 godzinę, 16 minut temu Krzysztof-M 22 źrodło rozwiń

Na jakie środowiska będziemy mogli wdrażać aplikację, jeżeli skonfigurujemy procesy CI/CD?

Źródło: jerzywickowski.pl
Dziel się z innymi:
Środowiska przy Continuous Delivery | Jerzy Wickowski

Narzędzia 1481 dni, 14 godzin, 56 minut temu tazos333 71 źrodło rozwiń

Standard CI build checks integrity of committed code after merge. This approach can lead to a state when code is not deployable due to failing tests or even failing compilation. Gated check-in helps to protect the integrity by verifying state before the merge. In that way, you can protect your master branch and avoid build breaks. In that way, you can ensure that your master branch is always deployable (what is crucial in GitHub flow) and you will not interrupt your colleagues with your obvious mistakes....

Źródło: thecodemanual.pl
Dziel się z innymi:
Gated check-in build on Azure DevOps for .NET Core app · The Code Manual

Narzędzia 1484 dni, 14 godzin, 29 minut temu Krzysztof-M 36 źrodło rozwiń

Docker has built in great cache mechanism, but to be able to use it, you have to understand how it works.

Dziel się z innymi:
Optimize Docker .NET Core project and docker-compose solution to reduce build image time

Narzędzia 1488 dni, 13 godzin, 39 minut temu Tometchy 56 źrodło rozwiń

You may not know this, but there is a part of Allegro codebase which we started developing in C# due to some special requirements. This implies new programming opportunities and challenges — one of these is creating a completely new .NET Core starter project. Let’s explore one potential solution: dotnet new templates.

Tagi: dotnet
Źródło: allegro.tech
Dziel się z innymi:
Using dotnet new templates to streamline microservices development · allegro.tech

Narzędzia 1498 dni, 14 godzin, 6 minut temu Piotr Stapp 104 źrodło rozwiń

The goal of Cache@2 task is improving build performance by caching files between pipeline runs. It supports multiple types of packages likeBundler gemsnpm packagesYarn packagesNuGet packagesMaven artifactsGradle artifactsccache artifacts Further, we will focus on caching NuGet packages however in a similar manner we can configure this task for other types.Locking dependencies Before we configure cache task we need to lock dependencies to create packages.lock.json file as we need that file to set a prop...

Źródło: thecodemanual.pl
Dziel się z innymi:
Caching (not only) NuGet packages on Azure DevOps · The Code Manual

Narzędzia 1499 dni, 14 godzin, 5 minut temu Krzysztof-M 36 źrodło rozwiń

Azure DevOps can do many marvelous things. It gives you process transparency and automation and so much more with logging and simply more control of the CI/CD processes. Here is a story on how to manage and automatically control you deployment process using enterprise tools.

Źródło: mszynka.pl
Dziel się z innymi:
[Azure DevOps] Post-gate deployment control

Narzędzia 1501 dni, 13 godzin, 57 minut temu mszynka 28 źrodło rozwiń

W poprzednim poście pisałem o bibliotece FluentValidation i jak ją dodać do naszego projektu. W tym poście skupimy się na bardziej zaawansowanych funkcjonalnościach, jakie nam ta biblioteka udostępnia: - Walidacja złożonych właściwości (manualna i automatyczna) - Wspólny walidator właściwości - Walidacja listy - Własny komunikat błędu walidacji - Wspólne walidatory - Warunki walidacji - Reguły zależne od siebie - Wywołanie zwrotne - Asynchroniczna walidacja

Źródło: www.admu.pl
Dziel się z innymi:
Zaawansowana walidacja danych z FluentValidation – ADMU Blog

Narzędzia 1528 dni, 15 godzin, 5 minut temu Admu 135 źrodło rozwiń

W prawie każdym projekcie jest potrzebna jakaś walidacja danych. Klasy służące do walidacji można napisać samemu, ale można również skorzystać z gotowych bibliotek. Najbardziej lubię FluentValidation. Jest to biblioteka, która ułatwia tworzenie „walidatorów” – klas zawierających reguły walidacji.

Źródło: www.admu.pl
Dziel się z innymi:
Walidacja danych z FluentValidation – ADMU Blog

Narzędzia 1535 dni, 13 godzin, 57 minut temu Admu 139 źrodło rozwiń

Ngrok to mała aplikacja, która umożliwia tunelowanie ruchu. Przydatne wtedy, kiedy istnieje potrzeba wystawienia “czegoś” publicznie na świat. Tym “czymś” może być strona www, aplikacja, serwer. Działa to w następujący sposób: uruchomiona aplikacja ngrok.exe łączy się z chmurą ngrok, która akceptuje ruch na publicznym adresie. Otrzymany ruch z publicznego adresu przekazuje do procesu ngrok.exe uruchomionego na naszym komputerze, który dalej przekazuje owy ruch do lokalnej aplikacji/serwera.

Tagi: API, tunel, WebHooks
Źródło: kurzyniec.pl
Dziel się z innymi:
ngrok, czyli tunelowanie ruchu | Łukasz Kurzyniec

Narzędzia 1536 dni, 15 godzin, 15 minut temu lkurzyniec 84 źrodło rozwiń

Niedawno postawiłem świeży stos ELK (Elastic Search, Logstash, Kibana). Wszystko fajnie śmigało przez trochę ponad 2 tygodnie aż przestało.

Tagi: logs, logstash
Źródło: szogun1987.pl
Dziel się z innymi:
Gdy Logstash przestaje działać po dwóch tygodniach. – Strona Szoguna

Narzędzia 1551 dni, 14 godzin, 20 minut temu szogun1987 110 źrodło rozwiń

In my previous post, I presented how we can deploy multiple visual studio database projects using Fake build tool. Here, I will present another option which is possible with version 5.19.0. This version has a new module called Fake.Sql.SqlPackage, which is a redesign of previous Fake.Sql.DacPac module. The reason, why the previous module needed redesign, it was a missing option (from my point of view crucial option) - publish profiles. I raised that point on GitHub here and solved it with this pull requ...

Źródło: thecodemanual.pl
Dziel się z innymi:
DB deployments with Fake.Sql.SqlPackage

Narzędzia 1575 dni, 13 godzin, 56 minut temu Krzysztof-M 44 źrodło rozwiń

This story has begun quite long ago. I got a chance to work on projects without the automatic deployment process. It was strange a bit because we had deployments process for both front-end and back-end projects, but not for databases. For databases, we were generating SQL scripts from Visual Studio, and then we executed them in our Test environment. This was a perfect place to save our time and FAKE did the right job here. We use Visual Studio SQL Server DB projects to handle SQL scripts. And exactly th...

Źródło: thecodemanual.pl
Dziel się z innymi:
DB deployments with FAKE tool · The Code Manual

Narzędzia 1586 dni, 14 godzin temu Krzysztof-M 80 źrodło rozwiń

The BenchmarkDotNet library is great for creating benchmarks that can be run on a local machine in a very simple way. In this post, you will learn how to run them in a Docker container with a different operating system or using a different .Net Core version.

How to run BenchmarkDotNet in a Docker container

Narzędzia 1589 dni, 14 godzin, 48 minut temu gorallo 93 źrodło rozwiń

1 2... 5 6 7 8 9 10... 59 60

Najaktywniejsi w tym miesiącu