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

Introduction Today I would like to suggest a less-common but in my opinion a much better way to organize our codebase. Meet the Feature Folders.Problem For ages we have been (at least in the .NET environment) used to thinking about our code structure taking into account the technical aspects. For example MVC application project templates assume the division our objects into separate directories – Controllers, Views, Scripts and so on. We can see the same in many tutorials. If we need add new feature, f...

Dziel się z innymi:
Feature Folders - Kamil Grzybek

Architektura 703 dni, 18 godzin, 23 minuty temu Piotr Stapp 69 źrodło rozwiń

Fuzzy search allows finding strings that match the pattern approximately. It is a feature needed in almost every app, but it can be a little problematic to implement. We will focus on EFCore PostgreSql provider as it is free and seems to be the most popular choice nowadays (for me at least). First, our EFCore project needs this package: Npgsql.EntityFrameworkCore.PostgreSQL.FuzzyStringMatch Then, we need to register it with our DbContext, so let’s navigate to Startup.cs and edit our registration like s...

Tagi: ef core
Źródło: www.hmijalski.com
Dziel się z innymi:
EF Core Implementing Fuzzy Search · Hubert Mijalski

Bazy danych i XML 703 dni, 18 godzin, 23 minuty temu Piotr Stapp 50 źrodło rozwiń

byAnkit VijayonJun20,2021Background Azure Cosmos DB SDK 3+ for SQL API replaced Azure DocumentDB SDK a couple of years back. DocumentDB used Newtonsoft Json.NET for its serialization. However, with the growth of .NET Core and the introduction of shiny new System.Text.Json, the team wanted to reduce exposure to Newtonsoft. So the idea was in future, with CosmosDB SDK 4, System.Text.Json would replace Json.NET. The unfortunate side-effect of this was that we do not have an easy way to supply custom JSON...

Tagi: JSON
Źródło: ankitvijay.net
Dziel się z innymi:
Custom JSON serialization with Azure Cosmos DB SDK

Cloud 704 dni, 19 godzin, 9 minut temu Piotr Stapp 14 źrodło rozwiń

Let's install Kafka in your forest! # clone the repository git clone \ https://github.com/round-robin-books/gently-kafka.git # start kafka docker-compose up Please take a minute to provide feedback. There's a bonus drawing at the end of the survey :)Start Please support us by Picking up some Kafka or Round Robin swag ...

Tagi: kafka
Dziel się z innymi:
Jak działa Kafka w postaci komiksu - Gently Down the Stream

Inne 704 dni, 19 godzin, 9 minut temu Piotr Stapp 66 źrodło rozwiń

Tim DeschryverBlogSnippets NewsletterAccent colorBackground colorThemeCustomNight OwlAtom [email protected]_deschryverAll postsJust the code👀 Just show me the code already The next project I'm setting up will use AutoFixture from the start to set up the "arrange" part of a test and here is why. When a new project is in the start-up phase all models are relatively small, simple, and do not have a lot of relations. This makes the tests easy to arrange and also easy to read. Because the team ...

Tagi: Test
Źródło: timdeschryver.dev
Dziel się z innymi:
Why I stopped worrying about test setups by using AutoFixture

Narzędzia 704 dni, 19 godzin, 9 minut temu Piotr Stapp 56 źrodło rozwiń

Converting an enum value to a string using the ToString() method is expensive. In general, the performance impact is negligible. But when you call the ToString method thousands of times per second, saving a few milliseconds is important.

Tagi: performance
Źródło: www.meziantou.net
Dziel się z innymi:
Caching Enum.ToString to improve performance - Meziantou's blog

Inne 705 dni, 18 godzin, 29 minut temu Piotr Stapp 63 źrodło rozwiń

Sign inAbout ITNEXTWrite for ITNEXTEvents & VideosSUMMITVacancies @ LINKITRun multiple DBMS and C# Containers Behind an HAProxy Load Balancer with Docker Compose. Test Scaling with Different Number of InstancesChristian ZinkFollow·7 min read In the previous article, you created a microservice architecture and manually implemented application-layer database sharding. Now, you will scale the application and run multiple container instances of the microservice and databases. You will use Docker Compose ...

Źródło: itnext.io
Dziel się z innymi:
Scale&load test a .NET Core Microservice&Sharded DB | ITNEXT

Inne 705 dni, 18 godzin, 29 minut temu Piotr Stapp 28 źrodło rozwiń

While this post is addressed to F# .NET developers, it introduces much wider concepts starting from hardware architecture to overall .NET runtime and JIT compiler optimizations. It shouldn't be a surprise - optimizing the application performance requires us to understand the relationships between our high level code and what actually happens on the hardware. There's a popular opinion that F# code must be slower than equivalent C# code. This opinion is mostly false, however it comes with some rationale. ...

Tagi: fsharp
Dziel się z innymi:
Writing high performance F# code

Inne 705 dni, 18 godzin, 29 minut temu Piotr Stapp 18 źrodło rozwiń

June 17th, 2021 We’re excited to announce that the first preview release of Visual Studio 2022 is ready to install! This is the first release of a 64-bit Visual Studio and we’d love for you to download it, try it out, and join us in shaping the next major release of Visual Studio with your feedback. Download Visual Studio 2022 Preview Our key goal with this preview is to test and tune the scalability of the new 64-bit platform! With the new 64-bit platform Visual Studio is now capable of scaling to ma...

Dziel się z innymi:
Visual Studio 2022 Preview 1 now available! | Visual Studio Blog

Narzędzia 709 dni, 18 godzin, 40 minut temu Piotr Stapp 93 źrodło rozwiń

aboutblogpodcastyoutubespeaking browse by category or datedotnet replComment on this post [6]Posted in Learning .NET Sponsored By Go get .NET 5 for Windows, Mac, or Linux, over at https://dotnet.microsoft.com/ Then install Jon Sequeria's "dotnet repl" with this one line global tool install:dotnet tool install --global dotnet-repl Then just type dotnet repl at the command line. Use the Windows Terminal ideally. That will drop you here! With .NET Interactive/.NE...

Tagi: REPL
Źródło: www.hanselman.com
Dziel się z innymi:
dotnet repl - Scott Hanselman's Blog

Narzędzia 710 dni, 17 godzin, 47 minut temu Piotr Stapp 70 źrodło rozwiń

🚨 Quite often, to make our code simpler, we're trying to make our code more reusable and generic. I wrote an article with a warning that "generic" does not mean "simple". I did that on the example of #CQRS code evolution. Beware and have a read!

Źródło: event-driven.io
Dziel się z innymi:
Generic does not mean Simple - Oskar Dudycz

Architektura 710 dni, 17 godzin, 47 minut temu oskar-at-net 62 źrodło rozwiń

Ben June 15th, 2021 Bing runs one of the world’s largest, most complex, highly performant, and reliable .NET applications. This post discusses the journey and the work required to upgrade to .NET 5, including the significant performance gains we achieved. This application sits in the middle of the Bing architecture stack and is responsible for much of the coordination among thousands of other components that provide results for all queries. It is also at the heart of many other services outside of Bin...

Tagi: dotnet5
Dziel się z innymi:
Migration of Bing’s Workflow Engine to .NET 5 | .NET Blog

Inne 710 dni, 17 godzin, 47 minut temu Piotr Stapp 27 źrodło rozwiń

Tym razem pokaże CI jak stworzyć kompletną aplikację mobilną w xamarinie.

Dziel się z innymi:
Pierwsza Aplikacja Mobilna Xamarin w C# – UI w XAML

Sztuka programowania 711 dni, 18 godzin, 40 minut temu modestprogrammer 48 źrodło rozwiń

W 75. odcinku poruszamy programowanie funkcyjne i z naszym gościem omawiamy najczęściej pojawiające się w tym paradygmacie terminy takie jak, operator punktu stałego, katamorfizm oraz cebula. A na zakończenie o tym czy programowanie funkcyjne ma jakieś minusy. Miłego słuchania. Gość odcinka:Artur Tadrała Chrzestni:Konrad Kokosa Dla przypomnienia: 📨 Nasze poczynania możesz także śledzić innych stronach: ostrapila.pl/subskrybuj

Źródło: ostrapila.pl
Dziel się z innymi:
Funkcyjnie czy obiektowo? – Ostra Piła

Inne 712 dni, 18 godzin, 27 minut temu macabre13 34 źrodło rozwiń

Sign inAbout ITNEXTWrite for ITNEXTEvents & VideosSUMMITVacancies @ LINKITLoad Balance a C# ASP.NET Core Service and Use MySql App-Layer Sharding. Shows the Concepts, Which Also Apply to MongoDB, etc.Christian ZinkFollow·4 min read One of the big advantages of microservices is, that they can be scaled independently. This article shows the benefits and challenges of scaling one microservice and its database. You will create a working example application and manually implement application-layer shardin...

Źródło: itnext.io
Dziel się z innymi:
DB Sharding & Scaling a NET Core Microservice Arch | ITNEXT

Bazy danych i XML 712 dni, 18 godzin, 27 minut temu Piotr Stapp 47 źrodło rozwiń

Building modern APIs require a lot of things to make them reliable, observable, and scalable. In no particular order, here are some of them that help you build better APIs:1. Healthchecks Healthchecks are important in making sure that we know when anything happens to our APIs. We can setup dashboards to monitor them and setup alerting to let us know when one of the APIs is unhealthy. They are also important when deploying your apps to kubernetes. Kubernetes can monitor healthchecks of your APIs and auto...

Tagi: API
Źródło: mazeez.dev
Dziel się z innymi:
Muhammad Azeez - ASP.NET Core API Checklist

Web 712 dni, 18 godzin, 27 minut temu Piotr Stapp 57 źrodło rozwiń

Laurent June 10th, 2021 Today, I’d like to show dotnet how to run your own .NET application on a Micro Controller Unit (MCU) on a simple battery for multiple years. I’ll build an application that will read the temperature and pressure on a BMP280 sensor connected to an ESP32. The core idea is to be run on a small solar panel charging a LiPo battery. I will as well present two real case scenarios, both running .NET nanoFramework, one on STM32F7 processor and the other one on a TI CC1352R. I’m Laurent E...

Tagi: nano
Dziel się z innymi:
Show dotnet: Running my .NET nanoFramework for 8 years on a battery | .NET Blog

Inne 712 dni, 18 godzin, 27 minut temu Piotr Stapp 36 źrodło rozwiń

Czyli wróżby o tym co się wydarzy w technologii w najbliższym czasie.

Źródło: blog.scooletz.com
Dziel się z innymi:
[EN] Betting for the Future - Szymon Kulec @Scooletz

Architektura 716 dni, 18 godzin, 42 minuty temu Scooletz 78 źrodło rozwiń

Things Of Interest Blog It's probably time to stop recommending Clean Code 2020-06-28 by qntm It may not be possible for us to ever reach empirical definitions of "good code" or "clean code", which means that any one person's opinions about another person's opinions about "clean code" are necessarily highly subjective. I cannot review Robert C. Martin's 2008 book Clean...

Tagi: clean code
Źródło: qntm.org
Dziel się z innymi:
It's probably time to stop recommending Clean Code @ Things Of Interest

Inne 716 dni, 18 godzin, 42 minuty temu Piotr Stapp 118 źrodło rozwiń

Welcome the summer with the release of the early preview of the Telerik UI for MAUI suite!All Products Product BundlesDevCraft All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:Conversational UIOnline TrainingDocument Processing LibraryEmbedded Reporting for web and desktopWebKendo UIUI for jQueryUI for AngularUI for ReactUI for VueUI for ASP.NET AJAXUI for ASP.NET MVCUI for ASP.NET CoreUI for BlazorUI for SilverlightUI for PHPUI for JSPMobileUI for MAUIUI for X...

Tagi: dotnet6
Źródło: www.telerik.com
Dziel się z innymi:
Low Ceremony, High Value: A Tour of Minimal APIs in .NET 6

Web 716 dni, 18 godzin, 42 minuty temu Piotr Stapp 74 źrodło rozwiń

1 2... 16 17 18 19 20 21... 464 465

Najaktywniejsi w tym miesiącu