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

Dependency injection (DI) software design pattern is one of the most used ones and requires no introduction, but if you need any check out MDNS article about this topic. To achieve Inversion of Control we can use DI Containers, in which we define services and the abstractions that they fulfill so that they can be injected (created) at runtime. .NET Core and .NET5+ has a simple container built-in that allows registering dependencies one by one, but the application can quickly outgrow this approach, plus ...

Źródło: www.hmijalski.com
Dziel się z innymi:
Auto Registering dependencies with Scrutor · Hubert Mijalski

Inne 638 dni, 2 godziny, 27 minut temu Piotr Stapp 42 źrodło rozwiń

michielpost.nl Personal blog of Michiel PostcategoriesblockchainblazorauthorMichielpublishedcategoriesblazor Blazor WebAssembly apps can become pretty large (10+ MB), every Blazor app includes the dotnet runtime compatible with WebAssembly, and of course all of your app's dependencies. Microsoft is working on getting the download size as small as possible, with techniques like tree shaking. This means that unused code won't be included in the Release build. But there are also some things we can do ou...

Tagi: Blazor
Dziel się z innymi:
Reducing Blazor WebAssembly download size | michielpost.nl

Inne 638 dni, 2 godziny, 27 minut temu Piotr Stapp 29 źrodło rozwiń

Systemy są coraz większe, rozproszone i skomplikowane. W tym wpisie poruszona jest kwestia monitoringu. Dlaczego jest ważny i co możemy monitorować.

Źródło: wiadrodanych.pl
Dziel się z innymi:
Ogarnij monitoring (serio) - Wiadro Danych

Inne 639 dni, 2 godziny, 13 minut temu mszymczyk 97 źrodło rozwiń

.NET C# Gunnar Peipman2 Views 0 Comments Hopefully the era of leprosy and corona is over for this time and it’s time to get back to blogging. Exceptions are powerful feature of object-oriented languages as far as they are used like they are thought to use – throw exception only when something really unexpected happens. This advice should be taken seriously – here’s why. Back in days when I was young and beautyful (now I’m only beautyful) I found utility application to get documents and their metadata...

Źródło: gunnarpeipman.com
Dziel się z innymi:
Cost of exceptions

Sztuka programowania 639 dni, 2 godziny, 13 minut temu Piotr Stapp 56 źrodło rozwiń

Get startedOpen in appAntão Almada574 FollowersAbout Sign inGet started574 FollowersAboutGet startedOpen in app Antão Almada 2 days ago·3 min read In my previous post I left out ArraySegment

Tagi: performance
Dziel się z innymi:
Array iteration performance in C# — ArraySegment | by Antão Almada | Jun, 2021 | Medium

Sztuka programowania 639 dni, 2 godziny, 13 minut temu Piotr Stapp 41 źrodło rozwiń

EnglishDeutsch Blog Back Homepage About us Services Expertise Career Contact Back Startseite Über uns Leistungen Expertise Karriere Kontakt EnglishHomepageAbout usServicesExpertiseCareerContactDeut...

Tagi: F#
Dziel się z innymi:
Introduction to Functional Programming in F# - Table of Contents — Softwarepark

Sztuka programowania 639 dni, 2 godziny, 13 minut temu Piotr Stapp 11 źrodło rozwiń

W 76. odcinku z naszymi gośćmi rozmawiamy o technologii Blazor. Zastanawiamy się czy nowa technologia Microsoftu nie powtórzy ubitego już Silverlighta, czy oparcie jej na otartych standardach uchroni przez powtórką z historii. A prócz tego czy warto iść w Blazora jako główna technologia i jak wygląda rynek pracy. Miłego słuchania. Gość odcinka:Konrad Kokosa – https://twitter.com/konradkokosaKonrad Bartecki – https://bartecki.me/

Źródło: ostrapila.pl
Dziel się z innymi:
Blazor – Ostra Piła

Inne 639 dni, 2 godziny, 13 minut temu macabre13 29 źrodło rozwiń

Learn how to build APIs in .NET with our Ultimate ASP.NET Core Web API! BIG SUMMER SALE IS ON!🔥Check out our video course about BLAZOR WEBASSEMBLY! BIG SUMMER SALE IS ON! 🔥HomeBook 📙 (SALE)Blazor WASM 🔥 (SALE)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 Princip...

Tagi: DAPPER
Źródło: code-maze.com
Dziel się z innymi:
Using Dapper with ASP.NET Core Web API - Code Maze

Bazy danych i XML 640 dni, 2 godziny, 45 minut temu Piotr Stapp 77 źrodło rozwiń

With each new release of C#, pattern matching improves for C# developers. While developers do not widely use pattern matching today, we’ll likely see its adoption grow as more teams and applications move from the Full Framework (.NET 4.8) to the runtime’s newer variants (.NET 5+). Like most unique features to the language, there’s always an initial knee-jerk reaction to either embrace it, use it everywhere, or outright hate it. Regardless of what camp we fall under, we must understand some everyday use c...

Dziel się z innymi:
C# Pattern Matching Quick Guide And Examples  |      Khalid Abuhakmeh

Sztuka programowania 640 dni, 2 godziny, 45 minut temu Piotr Stapp 59 źrodło rozwiń

In this blog post I will do a deep dive into record struct being introduced in the upcoming C# 10 and look at the performance implications of this in a specific context. I will cover:Code generated for record structImportance of the generated codePerformance implications of default struct equality in C#Setup project to use preview compiler via Microsoft.Net.Compilers.Toolset nuget packageTypes and implementations covering different possibilities and common pitfallsBenchmarks showing record struct can be ...

Tagi: performance
Źródło: nietras.com
Dziel się z innymi:
C# 10 - `record struct` Deep Dive & Performance Implications – nietras – Programming, mechanical sympathy, machine learning and .NET ❤.

Sztuka programowania 640 dni, 2 godziny, 45 minut temu Piotr Stapp 48 źrodło rozwiń

I hear the question "When not to use Event Sourcing?" a lot. Event Sourcing is an extremely useful pattern, but not a silver bullet. I decided to share my thoughts on when you ain't gonna need it.

Źródło: event-driven.io
Dziel się z innymi:
When not to use Event Sourcing? - Oskar Dudycz

Architektura 643 dni, 2 godziny, 50 minut temu oskar-at-net 70 źrodło rozwiń

Skip to main contentSkip to main contentMicrosoftWindows BlogsWindows Blogs Windows Blogs Home Windows ExperienceDevicesWindows DeveloperMicrosoft EdgeWindows InsiderMicrosoft 365MoreAll MicrosoftMicrosoft 365OfficeWindowsSurfaceXboxDealsSupportSoftwareSoftwareWindows AppsOneDriveOutlookSkypeOneNoteMicrosoft TeamsMicrosoft EdgePCs & Devices PCs & Devices ComputersShop XboxAccessoriesVR & mixed realityPhonesEntertainmentEntertainmentXbox G...

Tagi: Windows 11
Źródło: blogs.windows.com
Dziel się z innymi:
What Windows 11 Means for Developers - Windows Developer Blog

Windows 643 dni, 2 godziny, 50 minut temu Piotr Stapp 66 źrodło rozwiń

In Microsoft.Data.SqlClient v3.0.0, a new authentication mode Active Directory Default has been released. Let's see what this means when querying an Azure SQL Database from some C# code. 🗨 If you do not have heard about Microsoft.Data.SqlClient, it is the new data provider for Microsoft SQL Server and Azure SQL Database which supports both .NET Framework and .NET Core and replace the old System.Data.SqlClient components. But first let's talk about how we used to do that before. The tradidional way to...

Tagi: Azure
Dziel się z innymi:
How to connect to an Azure SQL Database from C# using Azure AD

Web 644 dni, 2 godziny, 24 minuty temu Piotr Stapp 36 źrodło rozwiń

TL;DR: Another Serilog Expressions by example post, showing how to produce newline-delimited JSON logs from Serilog events. Newline-delimited JSON is a useful format for structured logs that will be read by other applications. Serilog’s built-in JsonFormatter implements this, but to my eyes, its output is awkward and verbose. The newer CompactJsonFormatter and RenderedCompactJsonFormatter in Serilog.Formatting.Compact produce cleaner JSON, and that format is supported by other tools in the Serilog ecos...

Tagi: serilog
Źródło: nblumhardt.com
Dziel się z innymi:
Customized JSON formatting with Serilog

Narzędzia 644 dni, 2 godziny, 24 minuty temu Piotr Stapp 47 źrodło rozwiń

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 644 dni, 2 godziny, 24 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 644 dni, 2 godziny, 24 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 645 dni, 3 godziny, 11 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 645 dni, 3 godziny, 11 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 645 dni, 3 godziny, 11 minut temu Piotr Stapp 56 źrodło rozwiń

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

Najaktywniejsi w tym miesiącu