19 февраля
Просмотров: 699
Introduction Website downtime can be a critical issue for companies in industries such as Insurance, Healthcare, Finance, and Banking, especially for applications that are mission critical. It can lead to inconvenience for users and potentially result in significant financial losses. To proactively address this challenge, Azure Application Insights offers a...
далее...
19 февраля
Просмотров: 330
Sometimes you need to run scheduled tasks for your .NET web app. Automated report creation, status checks, routine admin tasks, that sort of thing. I spent the last few weeks migrating Practical ASP.NET to .NET 8 (static SSR). One requirement involved sending data to an external service. For this I...
далее...
15 февраля
Просмотров: 358
Performance comparison between LinkedList and ToArray Some weeks ago I created an article comparing the performance of ToList versus ToArray when creating short lived collections that won’t be mutated, usually used to prevent multiple enumerations when iterating over a temporary LINQ transformation or to ensure mapping exceptions will be thrown...
далее...
15 февраля
Просмотров: 403
Performance comparison between ToList and ToArray Ever since Microsoft introduced Language Integrated Query to the .NET framework (also known as LINQ) developers have been using it extensively to work with collections. From a simple filter, to an aggregation, to a transformation, LINQ is the technology of choice to keep code...
далее...
15 февраля
Просмотров: 511
Scenario: You are the web administrator for User Illusions, a virtual reality gaming company based in Hollywood, CA. You must ensure that your company website is up and running at all times. If an outage is detected, you must be notified so that you can take action quickly. You will...
далее...
13 февраля
Просмотров: 323
Fluent validation is a third party library for validating your models in .NET. It is totally free. Why fluent validation? If you already have used data annotation for validation, then you must be aware of validation in .NET. So you might be thinking why do we need fluent validation. Fluent...
далее...
12 февраля
Просмотров: 1270
gRPC is a powerful framework for working with Remote Procedure Calls. RPCs allow you to write code as though it will be run on a local computer, even though it may be executed on another computer. One of the key advantages of gRPC is its use of HTTP/2, which...
далее...
12 февраля
Просмотров: 819
Application Insights - Telemetry 1. How do I instrument (monitor/record/enabling to capture telemetry) an application? Autoinstrumentation - if you don’t have access to source code You only need to install the Application Insights SDK if: You require custom events and metrics. You require control over the flow of telemetry....
далее...
9 февраля
Просмотров: 602
Pagination allows you to retrieve a large number of records split into pages, instead of returning all the results at once. This is especially useful in scenarios where you need to retrieve a large number of records. In this article, I present how to implement OffSet and Keyset pagination...
далее...
8 февраля
Просмотров: 501
Remote work has come a very long way. In previous years, remote work was widely seen as ‘not real work’. Then Covid-19 happened, and… well, you know the rest. Even since the pandemic, our understanding of the positive impacts of remote work — both for tech professionals and companies—has evolved...
далее...
8 февраля
Просмотров: 512
.NET 8 introduced a powerful API in system diagnostics, making it seamless for developers to add custom application metrics adhering to the open telemetry standard. In this post, we’ll explore this new feature, demonstrating how it can be leveraged to publish metrics from a minimal API. Additionally, we’ll cover...
далее...
6 февраля
Просмотров: 277
In a Microservices Architecture, services typically collaborate with each other to serve business use cases. These services may have their own software characteristics in terms of Availability, Scalability, Elasticity, etc. but there will always be a situation when the downstream service you are trying to communicate with is either not...
далее...
5 февраля
Просмотров: 376
Lesser-known techniques for optimizing SQL queries in a high-traffic application, especially when dealing with complex joins and indexing challenges The success of high-traffic applications hinges on the efficient performance of their underlying databases. As the complexity of SQL queries grows, especially those involving intricate joins and indexing challenges, query optimization...
далее...
4 февраля
Просмотров: 333
Introduction A common table expression (CTE) is a temporary named result set that you can reference within a SELECT, INSERT, UPDATE, or DELETE statement in SQL Server. CTEs were introduced in SQL Server 2005 and are similar to derived tables and views. CTEs are defined by specifying a CTE name...
далее...
2 февраля
Просмотров: 519
If you are embarking on the journey to become a .NET Framework developer in 2024, you’re in for an exciting ride! The .NET ecosystem is vast and constantly evolving. To help you navigate this landscape effectively, we’ve compiled a comprehensive roadmap that outlines the essential skills and technologies you...
далее...
2 февраля
Просмотров: 80
With the release of C# 10 in November 2021 developers were introduced to a new concept called records, in this post I’ll outline some of the key differences between records and classes. For this comparison I’ll only consider the default/common approach for creating class’ and records’, since a record is...
далее...
2 февраля
Просмотров: 417
Introduction LINQ (Language Integrated Query) is a powerful feature in C# that allows developers to perform complex queries on collections and databases using a syntax that is both expressive and readable. However, writing LINQ queries efficiently is essential to ensure that your application performs well. In this article, we will...
далее...
1 февраля
Просмотров: 684
Introduction Welcome to the world of C#! Whether you’re a seasoned developer or just starting your programming journey, the power and versatility of C# can elevate your coding experience. In this article, we’ll explore a curated collection of tips and tricks to enhance your proficiency in C#. From optimizing...
далее...
31 января
Просмотров: 331
This is a creational pattern that provides a way to create an object without exposing the creation logic for the users of it. There are two well-known approaches that I will explain and show how and when you should use them. Abstract Factory This type of factory creates families of...
далее...
29 января
Просмотров: 558
Performance tricks & best practices, beginner friendly Hey there! Today, I’m sharing some straightforward ways to speed up your .NET Core apps. No fancy words, just simple stuff that works. Let’s dive in! • • • 1. Asynchronous programming Asynchronous programming in .NET Core is a powerful way to enhance...
далее...