@linkedin @Link @Link2
  • The latest news about ASP.NET Core has been released, and it brings exciting new features and updates aimed at enhancing the development experience. The ASP.NET Core development team has been working hard to introduce these features in the latest Preview. Let’s delve into the details of the new features and updates. Blazor: Streamlining SSR with Blazor Components: With the release of .NET 8, it is now possible to stream content updates to client-side using Server-Side Rendering (SSR).
    ASP.NET Core .NET 8 Preview 4 Created Mon, 05 Jun 2023 10:47:49 +0000
  • Performance optimization is a critical aspect of developing robust and efficient applications, especially when working with a data access framework like Entity Framework Core (EF Core) in conjunction with the powerful .NET 7 platform. In this article, we will explore some performance optimization tricks and tips with EF Core and demonstrate their application in a real-time example using an accounting application scenario. Before diving into the optimization techniques, let’s briefly understand EF Core and its relevance in the .
    Created Tue, 23 May 2023 20:57:19 +0300
  • Pros and Cons of Entity Framework’s Compiled Query Entity Framework (EF) is an object-relational mapper (ORM) that allows developers to interact with databases using objects. EF provides a number of features that make it a powerful tool for data access, including compiled queries. Compiled queries are pre-processed by EF and stored in memory. This can improve performance by reducing the amount of time that EF needs to spend parsing and executing the query each time it is used.
    Entity Framework C# .NET Performance Created Wed, 17 May 2023 15:59:38 +0300
  • In Entity Framework Core, there are two main ways to retrieve data from a database: using a List or using a Queryable. A List represents a collection of objects that have already been retrieved from the database. Once the data is in a List, any further operations on it are performed on the data in memory rather than on the database. This means that any filtering, sorting, or paging operations are performed on the client-side, which can be less efficient than performing them on the server-side.
    Created Thu, 11 May 2023 09:45:29 +0000
  • C# and .NET Framework (4.5 & Core) supports asynchronous programming using some native functions, classes, and reserved keywords. Before we see what is asynchronous programming, let’s understand what is synchronous programming using the following console example. static void Main(string[] args) { LongProcess(); ShortProcess(); } static void LongProcess() { Console.WriteLine("LongProcess Started"); //some code that takes long execution time System.Threading.Thread.Sleep(4000); // hold execution for 4 seconds Console.WriteLine("LongProcess Completed"); } static void ShortProcess() { Console.
    csharp async await task Created Wed, 03 May 2023 19:14:52 +0300
  • Csharp Dictionaries and Hashmaps Dictionary A dictionary is a collection of key-value pairs. It is a data structure that is used to store data in the form of key-value pairs. The key-value pair is also referred to as an entry. The key is used to retrieve the data associated with it. The key must be unique and immutable. The value can be changed. The value can be of any type. The key and value can be of the same type or of different types.
    csharp dictionaries hashmaps Created Mon, 01 May 2023 22:19:17 +0300
  • Introduction In this article, we will learn how to test .NET applications with Xunit. We will learn how to write unit tests and integration tests. We will also learn how to mock dependencies and how to use the Moq library to create mocks. Prerequisites To follow along with this article, you will need the following: .NET 6 SDK or later Visual Studio 2022 or JetBrains Rider Basic knowledge of C# Basic knowledge of .
    xunit testing c# .net Created Sun, 30 Apr 2023 21:24:30 +0300
  • Caching is a crucial aspect of web application development. It can help reduce the load on the database, speed up application performance, and improve scalability. Redis is a popular in-memory data store that can be used for caching in ASP.NET Core applications. In this article, we will go through the steps involved in using Redis caching with ASP.NET Core and .NET 7. Prerequisites To follow along with this article, you should have the following:
    Created Sun, 30 Apr 2023 10:21:08 +0000
  • Python is a highly popular high-level dynamic language. There are several advantages to using Python: It is easy to learn and use: Python has a simple and straightforward syntax, making it a great language for beginners. It also has a large and active community, which provides a wealth of resources and support for learners. Python is versatile: Python can be used for a wide range of tasks, including web development, scientific computing, data analysis, and machine learning.
    python .net c# ironpython pythonnet Created Sun, 30 Apr 2023 06:50:59 +0000
  • The Sidecar pattern is a software architecture pattern that involves splitting an application into two separate processes: a primary application and a “sidecar” process. The sidecar process runs alongside the main application and provides additional functionality, such as caching, logging, monitoring, or authentication. In ASP.NET Core, the Sidecar pattern can be implemented using middleware. Middleware is software that sits between the web server and the application, intercepting requests and responses to perform additional processing.
    Sidecar Asp.NET Core Created Sat, 29 Apr 2023 23:46:56 +0300