Related resources for -sharp
  • .NET 9 CountBy: A New LINQ Powerhouse11/20/2024 7:19:31 AM. .NET 9 introduces the CountBy method, a powerful addition to LINQ that enhances querying capabilities. This feature allows developers to count elements based on specified conditions efficiently.
  • What's New in C# 13?11/19/2024 10:08:54 AM. C# 13 introduces versatile features like enhanced `params` collections, scoped locking, and partial properties, boosting code flexibility, performance, and developer productivity for high-quality appl
  • What's New in ASP.NET Core 9?11/19/2024 10:07:33 AM. C# 13 enhances developer productivity with features like flexible params collections, scoped locks, and partial properties, allowing for streamlined coding, improved performance, and robust thread saf
  • Use of ItemsControl in WPF C# for Flexible UI Design11/19/2024 4:38:09 AM. This guide explores data binding, templates, and customization techniques for crafting sophisticated layouts. Enhance your WPF skills and unlock the full potential of ItemsControl for efficient UI dev
  • Explaining Dutch National Flag problem11/19/2024 3:59:58 AM. The problem involves sorting an array containing three distinct values, typically represented as 0s, 1s, and 2s, in a single pass.
  • .NET 9 : Task.WhenEach11/18/2024 11:56:11 AM. In .NET 9, the new Task.WhenEach method enhances asynchronous programming by processing tasks as they complete, allowing for more efficient handling of varying completion times. Happy coding!
  • How to Read and Write JSON Files in C#11/17/2024 10:49:03 AM. JSON is a common data format used in APIs, configuration files, and data exchange. Learn to handle JSON in C# using `System.Text.Json`. This article covers creating data models, writing to and readin
  • Repository Pattern in .NET Core for Clean Data Access11/15/2024 11:24:56 AM. Learn how to separate business logic from data logic, enhance testability, and reduce code duplication. By following these best practices, you’ll achieve modular, scalable applications in .NET Core.
  • .NET 9 : Params Collections11/15/2024 10:41:05 AM. In .NET 9 the params keyword has been extended to support not only arrays but also other collection types like ReadOnlySpan<T> and IEnumerable<T>. This enhancement offers greater flexibili
  • .NET 9 is Out Now11/15/2024 8:47:33 AM. This article explains in detail the latest release of .NET. The latest .NET ecosystem updates improve performance, security, and productivity across C# 13, ASP.NET Core, EF Core, .NET Runtime, Librari
  • Sorting with IComparable in C#11/14/2024 11:00:04 AM. Learn how to implement the IComparable interface in C# to customize sorting behavior for objects. Explore sorting techniques, comparisons, and examples to efficiently order data in collections like li
  • Testing API Endpoints Using C# and Swagger11/14/2024 6:02:21 AM. Learn how to test API endpoints effectively using C# and Swagger. This guide covers setting up Swagger for API documentation, configuring C# for testing endpoints, and automating tests to ensure relia
  • Understanding IEnumerable In C#11/14/2024 5:49:01 AM. IEnumerable in C# is an interface that defines a standard way to iterate over a collection of objects. The IEnumerable interface in C# provides a standard, efficient way to iterate over collections us
  • Visual Studio Builds and Key Features11/14/2024 5:13:31 AM. Visual Studio Builds Since 2005 and main key features. Explore the growth of Visual Studio, Microsoft's premier Integrated Development Environment, from its inception in 1997 to the latest feature
  • Converting HTML to PDF or Image in C# Using wkhtmltopdf Part 2 - Header & Footer11/13/2024 9:32:17 AM. In this tutorial, learn how to convert HTML to PDF or image in C# using wkhtmltopdf. This part covers adding and customizing headers and footers in your generated PDFs, enhancing document structure an
  • Types of Error Handling in Web API .NET 8 with Example11/13/2024 6:37:48 AM. Error handling is a mechanism to take control of unexpected situations that occur in the system during processing and return any helpful error response from a NET 8 Web API. That said, here are some d
  • Build an Azure Blob Trigger Function to Compress Images with Sharp11/12/2024 5:17:35 AM. This guide walks through creating an Azure Blob Trigger Function that compresses images uploaded to Azure Storage using the Sharp image processing library. It covers setting up Azure Blob Storage, co
  • KISS - Keep It Simple Stupid11/8/2024 11:39:50 AM. In this video, you will learn how to create scalable, maintainable, and on-budget software while explaining application rewrite - a piece of software with a C# .NET backend and a React front end.
  • Dev Tunnel in Visual Studio Simplifies Local Development11/5/2024 3:40:41 AM. Explore the Dev Tunnel feature in Visual Studio 2022, designed to streamline local development and debugging. This powerful tool allows developers to create a secure connection to their remote environ
  • Explaning IExceptionFilter in .NET Core11/4/2024 4:16:41 AM. This article explores ASP.NET Core's `IExceptionFilter`, which enables centralized exception handling. It highlights its advantages, such as separation of concerns, consistent error responses, and
  • Git GUI Clients (2), VS Code11/1/2024 8:25:54 PM. This series explores various Git GUI clients like Visual Studio, VS Code, GitHub Desktop, TortoiseGit, and SmartGit, focusing on their features for repos management, interaction between local and remo
  • Understanding API Gateways in Microservices11/1/2024 5:34:50 AM. The API Gateway pattern centralizes client requests, managing authentication, logging, rate limiting, and load balancing, optimizing resilience and scalability in complex microservice architectures th
  • Skip loops, use Virtualization in Blazor11/1/2024 4:30:17 AM. Let me teach you faster way of loading the list.
  • Explaining 3SUM Problem10/31/2024 4:38:50 AM. 3SUM Problem a classic problem in computer science and is often used in coding interviews to test problem-solving skills and understanding of algorithms.
  • How to Store Temporary Information in Table Like Format in C#?10/28/2024 8:56:49 AM. In this article, we will learn how to manipulate and manage in-memory data effectively, allowing for quick access and modifications while maintaining a structured format for your applications.
  • Create a Model with Database Table in .NET 8 using EF Core10/28/2024 7:16:12 AM. This article guides you through creating a data-driven application using .NET 8 and Entity Framework Core. You'll learn to define a model, configure a DbContext, set up a SQL Server connection str
  • DDoS Attacks and Prevention using .NET Core10/28/2024 6:30:12 AM. This article covers the basics of DDoS (Distributed Denial of Service) attacks and prevention methods in .NET Core. It explains how to identify DDoS symptoms and apply preventive techniques, including
  • How to Download Data as CSV in C# Blazor App10/25/2024 5:46:03 AM. In this article, we will explore the process of downloading data as a CSV (Comma-Separated Values) file in C#. CSV files are widely used for data interchange due to their simplicity and ease of use.
  • Mastering API Testing with Api.http Files in .NET Projects10/23/2024 6:06:57 AM. The Api.http file in a .NET project is a text file containing one or more HTTP requests that can be executed directly from the development environment, such as Visual Studio or Visual Studio Code. Thi
  • Example of Aspect Oriented Paradigm with DispatchProxy Class 10/23/2024 5:25:01 AM. This article explores how to implement cross-cutting concerns in .NET using the DispatchProxy class. It demonstrates dynamic proxy creation for logging and other concerns, highlighting the benefits of
  • Array to Text File: Detailed Overview of ArrayIOExtensionsLib Class10/22/2024 10:04:42 AM. This article provides a comprehensive overview of the ArrayIOExtensionsLib class, detailing its functionality for converting arrays to text files in C#. We explore its key features, methods, and pract
  • An in-depth Look at Advanced Pattern Matching in C# 1210/22/2024 5:27:09 AM. With Ziggy Rafiq, learn how to leverage advanced pattern matching features in C# 12, including the new let pattern and enhanced recursive patterns.
  • Vertical Slice Architecture with Code Examples in C# 1210/22/2024 5:02:12 AM. Get an overview of vertical slice architecture in C# 12 with Ziggy Rafiq. Build maintainable, scalable applications using feature-based organization with code examples, MediatR, and record types.
  • Encapsulation vs Abstraction in C#10/21/2024 9:52:41 AM. Encapsulation and abstraction are fundamental concepts in C# and object-oriented programming. Encapsulation refers to the bundling of data and methods that operate on that data within a class, promoti
  • Explaning Bucket Sort Algorithm10/21/2024 5:57:49 AM. The `BucketSort` class implements the bucket sort algorithm, which distributes elements into buckets, sorts them, and merges the sorted buckets. It's efficient for uniformly distributed data, with
  • Using Attributes and Metadata in C# 1210/21/2024 5:38:45 AM. Ziggy Rafiq demonstrates how to use attributes and metadata in C# 12 including improvements in parameter types, reflection capabilities, and best practices for maintaining self-documenting code.
  • Boyer-Moore Majority Vote Algorithm10/21/2024 4:08:19 AM. The Boyer-Moore Majority Vote Algorithm efficiently finds elements appearing more than a fraction of the time in linear time and constant space, using two candidates and counters to track occurrences.
  • Training on using WebForms Core Technology to Upload Images10/19/2024 2:52:21 PM. In this article, using WebForms Core technology, we will teach you how to send images to the server and display the images sent in the client.
  • Implementing an LRU Cache in C#10/15/2024 8:37:55 AM. This article explores the concept of caching, outlines the algorithm's mechanics, and provides step-by-step guidance on building an efficient LRU Cache using C# collections.
  • Explaining IResultFilter in ASP.NET Core10/14/2024 6:03:23 AM. This article explores the ASP.NET Core `IResultFilter`, which allows custom logic execution before and after an action result. It discusses advantages and disadvantages and includes an implementation
  • Calling Web API to Web API without User Interaction by using Azure Managed Identity10/14/2024 5:59:13 AM. This article will walk you through connecting two web APIs without any login or user interaction. It is referred to as "Server-to-Server" or "Service-to-Service" communication. You
  • How To Read CSV File Using C#10/14/2024 4:03:46 AM. This article demonstrates how to read Excel files using Microsoft's Interop Excel library in a C# Windows application. It covers adding references, handling file extensions, and displaying Excel d
  • Get All Instances of SQL Server in C#10/11/2024 12:29:27 PM. If you're writing a Database Manager application or simply want to retrieve all the instances,this trick might come in handy.
  • What is JSON and Why Is It So Important?10/10/2024 9:39:39 AM. JSON (JavaScript Object Notation) is a lightweight, language-independent data format that represents key-value pairs, supporting strings, numbers, arrays, objects, and complex structures widely used f
  • Simple Load Balancer in .NET Core with YARP10/8/2024 3:40:14 AM. Load balancing ensures efficient traffic distribution in distributed systems. YARP enables load balancing with sticky sessions for consistent routing, improving scalability, performance, and availabil
  • What is Inline Arrays in C# 1210/7/2024 6:44:43 AM. C# 12 unveils a hidden gem - inline arrays. This article delves into these performance powerhouses, showcasing how they boost speed, simplify memory management, and enhance type safety. Discover their
  • Real-World Expression Trees: Dynamic Filtering in C# with Minimal API10/6/2024 7:51:48 AM. This article explores the practical use of expression trees in C# by building an ASP.NET Core web API with dynamic filtering functionality. It demonstrates how to construct flexible queries using expr
  • A Virtual Photo Album in C# and .NET10/3/2024 11:33:00 AM. This album allows you to drag your images directly from Windows Explorer into the spot you want your picture to occupy. You can also edit the captions by clicking on the labels under the pictures.
  • How to Compare Two Objects in C#10/3/2024 7:08:40 AM. In this article, we’ll walk through how to create a generic method that can compare the objects of any class, even those with nested collections. We’ll break it down step by step so you can implement
  • Delete the Element from the Binary Tree Using C#10/3/2024 5:04:27 AM. Learn how to efficiently delete an element from a binary tree using C#. This guide covers the complete process of node deletion, including leaf nodes, nodes with one or two children, and root node rem
  • Find And Replace Text In Word Document Using C#10/1/2024 9:09:25 AM. Learn how to efficiently find and replace text in a Word document using C#. This guide covers essential concepts such as Microsoft Word automation, leveraging the Word Interop library, and implementin
  • Collections in C#10/1/2024 9:06:58 AM. This article describes Collections in C#. A collection is a way to create and manage groups of related objects. The group of objects can grow and shrink dynamically depending on the requirements in th
  • Understanding the Working of Garbage Collector in .NET 99/30/2024 10:27:30 AM. The .NET 9 Garbage Collector enhances memory management through dynamic tuning, improved generation collections, and a refined compaction algorithm, ensuring efficient, automated memory handling while
  • Palindrome Check: Normalize Strings in C#9/30/2024 4:32:32 AM. Learn essential string manipulation techniques, including whitespace removal, case insensitivity, and character comparison. We’ll provide clear code examples and algorithms to efficiently determine if
  • Understanding the Concept of Rule Engine through Shopping Cart Discount feature9/29/2024 4:59:27 AM. This article explores how a rule engine can be used to implement a shopping cart discount feature, automating discount logic based on conditions such as cart value, product category, and promotions.
  • Inserting Form Data Into DataBase Using Stored Procedure In ASP.NET C#9/27/2024 10:10:24 AM. Learn how to insert form data into a database using stored procedures in ASP.NET with C#. This guide covers setting up a form, handling user input, creating a stored procedure, and securely inserting
  • REPR Pattern - For C# Developers9/27/2024 8:14:53 AM. Discover the REPR Pattern, a powerful design technique tailored for C# developers. Learn how this pattern can simplify code structure, improve maintainability, and optimize performance in C# applicati
  • How Func Delegates Work in LINQ9/27/2024 4:31:27 AM. In this article, we explore how Func delegates operate within LINQ (Language Integrated Query) in C#. Func delegates enable concise and powerful data manipulation by allowing developers to pass method
  • QUIZ Application With ASP.NET MVC 59/26/2024 8:45:26 AM. Create a dynamic Quiz Application using ASP.NET MVC 5, showcasing the power of the Model-View-Controller architecture. This project involves user authentication, database integration for question mana
  • Solid Introduction to Expression Trees in C#9/26/2024 4:50:55 AM. This article provides a comprehensive introduction to Expression Trees in C#. You'll learn about their structure, how they represent code as data, and their applications in LINQ queries.
  • Understanding Callbacks with Func and Action Delegates9/26/2024 4:11:38 AM. This article explains how to use Func and Action delegates in C# to implement callbacks, providing flexible and reusable code. It includes practical examples for both returning and non-returning metho
  • Sitecore Experience Editor Tips for Content Author Instructions9/26/2024 3:38:16 AM. This article demonstrates how to use a helper method in Sitecore to display informative or warning messages within the Experience Editor, aiding Content Authors in managing components effectively.
  • How C# Generics is different from Java Generics9/24/2024 11:29:42 AM. In this article, we explore the distinctive features of C# generics and how they enhance programming efficiency. We compare generics with non-generic types, focusing on benefits like type safety, code
  • Using C# 12 with Clean Code Practices9/21/2024 3:37:12 PM. Learn how to write cleaner, more maintainable code with C# 12 features such as primary constructors and improved pattern matching. This article explores practical examples and tips for applying clean
  • With code examples, learn how to develop ASP.NET Core C# 12 using domain-driven design9/21/2024 4:15:04 AM. In this guide, you will learn how to develop applications using ASP.NET Core with C# 12, applying domain-driven design principles. Through clear code examples, we’ll explore how to create effective do
  • A Comprehensive Guide to Migrating Azure Functions C# to C# 12 with .NET 8 Isolated9/21/2024 4:12:20 AM. Ziggy Rafiq shows how to leverage modern C# features, and how to optimize the performance and scalability of Azure Functions by migrating them to .NET 8 Isolated Processes.
  • C# Code To Overcome "The Process Cannot Access The File XYZ Because It Is Being Used By Another Process" Error9/20/2024 6:27:51 AM. This guide provides practical C# code solutions for handling file access issues, including techniques for managing file locks and ensuring smooth file operations without interruptions.
  • Design Principle (2): Inversion of Control (IoC) Principle9/19/2024 3:44:37 PM. This series delves into Software Design Principles, with a focus on the Inversion of Control (IoC) Principle in this article. It covers Dependency Inversion, Dependency Injection, IoC Containers, and
  • Ignoring Merge Conflicts for Files in Git, Visual Studio9/18/2024 12:55:54 PM. This article is to discuss Git Merge with ignoring some conflict files. This article addresses resolving merge conflicts in Git when multiple users modify the same file. It covers project setup, confl
  • An overview of the Task Parallel Library (TPL) in C#9/17/2024 5:07:16 AM. The Task Parallel Library (TPL) is a collection of public types and APIs within the .NET framework that facilitates the integration of parallelism and concurrency into applications.
  • A New Era of .NET Development with MongoDB - Software Architecture Conference9/16/2024 11:10:36 AM. In this video, you'll learn how MongoDB is improving the .NET/C# developer experience with the MongoDB Provider for Entity Framework Core (EFCore), alongside other integrations like Microsoft Sema
  • Explaning IActionFilter in ASP.NET Core9/16/2024 10:52:30 AM. This article explains ASP.NET Core's `IActionFilter`, highlighting its use in handling cross-cutting concerns like logging, validation, and authentication while outlining its advantages and potent
  • POCO to Dictionary Conversion Techniques in C#9/16/2024 5:02:08 AM. This article explores five methods for converting a C# POCO to a dictionary using reflection, LINQ, JSON libraries, and ExpandoObject, comparing their performance through Benchmark.NET to find the bes
  • What is Indexer in C#?9/13/2024 5:39:00 AM. An indexer in C# allows objects to be indexed like arrays, enabling access to elements using an index. It’s defined with this keyword and can be used to encapsulate data access in a class or struct. I
  • Create A Simple Web Service In ASP.NET Using C#9/12/2024 6:14:14 AM. This guide covers building a REST API, handling HTTP requests, and integrating with JSON/XML data formats. Ideal for beginners, it provides step-by-step instructions using Visual Studio, focusing on p
  • Explain Switch Case Uses in C#9/11/2024 6:46:10 AM. In C#, the switch statement serves as a control structure that enables the execution of distinct code blocks based on the value of a variable. It is frequently utilized when there is a need to compare
  • Entity Framework Core Code-First Approach with Seed Data9/9/2024 7:11:51 AM. It will be beneficial to beginners who are struggling with Entity Framework Core and Creating Code-First Approach. The EF-Core Code-First approach involves creating domain classes first and then gener
  • Lazy Loading (3): JavaScript9/5/2024 7:46:58 PM. This article will discuss Lazy Loading for JavaScript. This article on Lazy Loading for JavaScript demonstrates techniques to dynamically load images as users scroll, reducing page load time and enhan
  • Working With FTP Using C#9/5/2024 11:26:20 AM. Learn how to work with FTP (File Transfer Protocol) using C# in this comprehensive guide. Explore how to connect to FTP servers, upload and download files, and manage file transfers programmatically.
  • Export Large Data from GridView to Excel File using C#9/5/2024 11:00:25 AM. Learn how to export large data from a GridView to an Excel file in C#. This guide covers the steps to efficiently handle and export substantial datasets, ensuring smooth data transfer to a spreadsheet
  • Serialization And Deserialization In C# Using Protobuf-net.dll9/4/2024 6:53:55 AM. This article describes how to implement serialization and deserialization using Protobuf-net.dll. This article explores Protobuf-net, a .NET library for efficient serialization and deserialization usi
  • Explain Primary Constructor in C# 129/4/2024 6:23:27 AM. The primary constructor in C# 12 introduces a new way to define and initialize properties directly within the class declaration, simplifying object creation and reducing boilerplate code.
  • A Guide to Using the Decorator Pattern in Your C# Code9/4/2024 5:40:43 AM. In this article, we will learn how to implement this pattern in your C# code, improve code reusability, and follow best practices for more maintainable and flexible software design.
  • Web API in Azure (2), Set a Client Credential Secret9/2/2024 10:31:29 PM. This article will discuss how to Set a Client Credential Secret for Azure Web API. This series of articles guides users through setting up and consuming a Web API registered on the Azure Identity Plat
  • Advance Chat Application with .NET and SignalR9/2/2024 8:30:14 PM. Build an advanced real-time chat app with .NET 8, SignalR, and MS-SQL. This guide covers creating a chat app with one-to-one and group messaging, utilizing ASP.NET Identity for user roles and permissi
  • Using Factory Patterns in C# 12 to simplify A/B testing8/31/2024 4:40:36 AM. Find out how Ziggy Rafiq simplifies A/B testing with feature toggles in C# 12 by using Factory and Abstract Factory design patterns.
  • Dynamic LINQ with Gridify in .NET8/30/2024 6:07:05 AM. Learn how to leverage Gridify to simplify complex filtering, sorting, and pagination tasks. Perfect for developers seeking to optimize and extend their use of LINQ in C# applications.
  • C# 12 Design Patterns: Factory and Abstract Factory8/29/2024 2:29:42 PM. By Ziggy Rafiq, discover how Factory and Abstract Factory design patterns simplify the creation of complex objects in C# 12.
  • Ethical AI Development in C#: Ensuring Fairness and Transparency8/29/2024 8:30:10 AM. It covers strategies for identifying and mitigating bias, implementing transparent algorithms, and adhering to responsible AI practices to build trustworthy systems.
  • Interface Re-implementation in C#8/29/2024 6:04:07 AM. This guide covers the principles of object-oriented programming, including inheritance and polymorphism, and demonstrates practical techniques for effective interface re-implementation and code refac
  • RESTful API Design with .NET8/29/2024 5:49:32 AM. Explore the principles of RESTful design and learn how to implement robust, scalable, and maintainable web APIs in a .NET environment. This guide covers key REST concepts like statelessness, client-se
  • Abstract Factory Design Pattern in .NET Core C# 128/29/2024 4:29:33 AM. In this detailed article by Ziggy Rafiq, you will learn how to implement key components like AbstractFactory, ConcreteFactory, AbstractProduct, and ConcreteProduct in .NET Core with C# 12. By leveragi
  • Default Implementation in C# Interfaces8/28/2024 9:00:12 AM. This article details creating a `StringUtils` utility class in Java to centralize common string operations. It covers methods for checking if a string is alphanumeric with underscores or consists sole
  • Understanding CQRS Design Pattern8/28/2024 5:57:21 AM. CQRS (Command Query Responsibility Segregation) is a pattern that separates the responsibilities of reading and writing data into distinct models. This separation can help optimize both aspects indepe
  • Understanding Dependency Inversion Principle (DIP) with C#8/27/2024 9:40:32 AM. This guide explains how DIP enhances software design by decoupling high-level and low-level modules, promoting flexibility and maintainability. Understand its implementation using Dependency Injection
  • Building a Container Image for Your .NET Microservice8/27/2024 6:51:27 AM. Building a Container Image for Your .NET Microservice
  • Integrating AI into C# Applications8/26/2024 4:07:23 AM. It covers essential concepts, tools, and techniques, helping developers enhance their C# projects with powerful AI capabilities, from machine learning algorithms to real-world applications.
  • Singleton Pattern Caching in .NET C#8/26/2024 4:05:29 AM. Learn how to implement caching using this pattern to enhance memory management, ensure thread safety, and optimize performance in your applications.
  • Understanding of Code Coverage Analysis in C#8/23/2024 7:43:58 AM. In my previous article, I explained about Unit testing in C# and in this article, we will take a look at code coverage.
  • Middleware in ASP.NET Core8/23/2024 5:00:15 AM. This content explains sharing data between Angular components via a service. It covers steps such as service creation, data sharing via click, and retrieval using data services.