dotnet

CodeBehind 2.8 Released, Cache the Pages and the Controller

CodeBehind 2.8 Released, Cache the Pages and the Controller

What is CodeBehind? CodeBehind is a back-end framework on .NET Core, the first version of which is released in 2023. CodeBehind is a competitor to the default back-end frameworks in ASP.NET Core (ASP.NET Core MVC and Razor Pages). CodeBehind inherits all the benefits of .NET Core, giving it more flexibility and power than Microsoft's default frameworks. CodeBehind Framework 2.8 Version 2.8 of the CodeBehind framework was released with the addition of the cache feature. It took a long time to add cache support to the CodeBehind framework; The reason for the prolongation of this process was our attention to design…
Read More
Introduction to Computer Vision in .NET

Introduction to Computer Vision in .NET

Introduction Computer vision is a transformative technology that enables machines to interpret and understand the visual world. By utilizing the OpenCV library through OpenCvSharp in .NET, developers can perform various image processing and computer vision tasks effectively. This guide will introduce essential image operations, providing a strong foundation for more advanced applications. OpenCV (Open Source Computer Vision Library) is a comprehensive library for computer vision tasks that supports many popular programming languages, including Python, C++, and Java. In this article, we will focus on using the .NET wrapper, OpenCvSharp, to bring the power of OpenCV to the .NET ecosystem. OpenCV…
Read More
Implementing the Cached Repository Pattern in C#

Implementing the Cached Repository Pattern in C#

This article will guide you through the detailed implementation of the Cached Repository Pattern in C#. The Cached Repository Pattern combines the proven principles of the Repository Pattern with the performance enhancements of the Cache Pattern. The goal is to efficiently organize data access and improve application performance by caching frequently retrieved data. Introduction to the Cached Repository Pattern The Cached Repository Pattern combines the Repository Pattern with the Cache Pattern to structure data access and enhance performance. The Repository Pattern centralizes data access logic in separate classes, while the Cache Pattern stores frequently accessed data in memory to reduce…
Read More
Elanat CMS 2.2 Released – Under .NET Core

Elanat CMS 2.2 Released – Under .NET Core

Elanat CMS is one of the best systems on the web. There is also a built-in CMS in Elanat core. Elanat uses an CodeBehind infrastructure MVC architecture that is not related to Microsoft ASP.NET Core. This system is very powerful and very large and it benefits from a very modern structure that allows you to create several new add-ons for Elanat CMS every day. The wonderful structure of Elanat is in a way that it interacts with 8 types of add-ons, all of which are components, and the component itself is also a component. In the admin section, all component…
Read More
How to properly measure code speed in .NET

How to properly measure code speed in .NET

Imagine you have a solution to a problem or a task, and now you need to evaluate the optimality of this solution from a performance perspective. The most obvious way is to use StopWatch like this: However, there are several issues with this method: It is quite an inaccurate method, since the code being evaluated is executed only once, and the execution time can be affected by various side effects  such as hard disk performance, not warmed-up cache, processor context switching, and other applications. It does  allow you to test the application in Production mode. During compilation, a significant part…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.