Related resources for Single
  • Understanding Keyed Services in .NET 811/13/2024 9:12:24 AM. Keyed Services in .NET 8 enhance dependency injection by allowing multiple implementations of an interface to be registered with unique keys. This enables flexible dependency resolution, ideal for tai
  • Object Oriented Design Balancing with Anti-Single Responsibility11/5/2024 4:18:47 AM. This article will change your perspective on working with the Single Responsibility Principle (SRP). The main point is to focus on finding balance when designing object-oriented systems and applying S
  • Learn AngularJS From Beginning: Service - Part Three10/21/2024 9:48:47 AM. This article explores AngularJS services, emphasizing their role in organizing and sharing code through dependency injection. It covers creating custom services using the factory, service, and provide
  • Why In ASP.NET Core logging is often implemented as a singleton10/20/2024 9:31:50 AM. In ASP.NET Core, logging is often implemented as a singleton to ensure efficient resource usage, centralized management, and thread-safe logging across the application.
  • Understanding Service, Factory, And Provider10/3/2024 11:38:34 AM. AngularJS provides three methods for creating reusable utilities: Service, Factory, and Provider. All serve the same purpose but differ in implementation. Services are singletons, Factories return new
  • How to Use Scoped Service from Singelton Service in .NET Core9/30/2024 5:43:28 AM. This guide explains how to resolve scoped services from a singleton service, highlighting best practices to avoid common pitfalls and ensure proper resource management in your application.
  • Understanding AddTransient Vs AddScoped Vs AddSingleton In ASP.NET Core9/24/2024 7:13:08 AM. In this article, you will learn about AddTransient Vs AddScoped Vs AddSingleton In ASP.NET Core. Dependency Injection (DI) in ASP.NET Core, focusing on service lifetimes: Transient, Scoped, and Single
  • Integrate Azure AD OAuth2 SSO Authentication and RBAC for Kafka-UI9/23/2024 7:29:57 AM. This article explores the integration of Azure Active Directory (AD), OAuth2, and Single Sign-On (SSO) for secure authentication and Role-Based Access Control (RBAC) for authorization within the Prove
  • Single Page Application Using ASP.NET MVC And jQuery With CRUD methods9/18/2024 12:19:17 PM. In this guide, learn how to create a Single Page Application (SPA) using ASP.NET MVC and jQuery without relying on frameworks like Angular or React. We'll focus on routing and UI-level interaction
  • How To Use Ngx-slider With A Different Type Of Style In Angular9/17/2024 11:02:12 AM. Learn how to integrate ngx-slider in Angular to create versatile sliders. This guide covers installing the package, configuring single, range, tick-marked, customized, and vertical sliders. You'll
  • Singleton Pattern: Ensuring a Single Instance in .NET Core9/17/2024 7:19:37 AM. In this article, we learn about Singleton Pattern: Ensuring a Single Instance in .NET Core. The Singleton Pattern ensures a class has only one instance, providing global access. It's commonly used
  • Design Pattern (3), Singleton9/5/2024 12:49:09 PM. This article will discuss the Singleton pattern.
  • Understanding HttpClient Best Practice9/2/2024 7:56:51 AM. Creating a new HttpClient instance frequently can lead to performance issues like socket exhaustion due to open sockets lingering in the TIME_WAIT state. Instead, reuse a singleton HttpClient instance
  • Advanced Dependency Injection in .NET Core8/27/2024 9:38:20 AM. This guide explores advanced Dependency Injection (DI) in .NET Core through an e-commerce application example. It covers custom service lifetimes, scopes, and managing complex dependency graphs, demon
  • 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.
  • Implementing Dependency Injection In .NET Core Console Applications7/31/2024 3:56:07 AM. Learn how to implement Dependency Injection (DI) in .NET Core Console applications. Start by adding the Microsoft.Extensions.DependencyInjection package, then register services using ServiceCollection
  • Design Pattern (3-1), Differences between Singleton & Static Class7/29/2024 2:24:17 AM. This article will discuss the Differences between Singleton and Static Class. This series explores Design Patterns, starting with MVC. The article discusses differences between Singleton and Static cl
  • Understanding and Using Scope in .NET Core7/26/2024 5:48:49 AM. In .NET Core, dependency injection (DI) manages service lifetimes with three scopes: Transient (new instance per request), Scoped (one instance per request), and Singleton (one instance shared across
  • Singleton Design Pattern in .NET Core7/26/2024 5:01:10 AM. The Singleton Design Pattern ensures a class has only one instance and provides a global access point to it. In .NET Core, this involves a private constructor, a static instance variable, and a static
  • Singleton Design Pattern: Detailed Explanation and Practical Examples7/24/2024 6:52:58 AM. The Singleton Design Pattern ensures a class has only one instance and provides global access to it. Implementations include Basic Singleton, Thread-Safe Singleton with synchronization, Double-Checked
  • Register Multiple Services with a Single Interface in .NET Core7/23/2024 9:17:19 AM. Registering multiple services with a single interface in .NET Core enhances flexibility and testability, allowing different implementations for various concerns, runtime configuration, and easy unit t
  • Singleton Design Pattern7/19/2024 9:55:57 AM. Learn about the Singleton design pattern, which ensures a single instance of a class in Java. Explore eager and lazy loading techniques, including thread-safe solutions like double-check locking and e
  • Dependency Injection in ASP.NET Core7/16/2024 5:41:43 AM. Dependency Injection (DI) in ASP.NET Core enhances modularity, testability, and maintainability by providing class dependencies externally via the built-in Inversion of Control (IoC) container. Config
  • Single Sign-On (SSO) in ASP.NET Core Applications7/15/2024 6:53:24 PM. Implementing Single Sign-On (SSO) with IdentityServer4 in ASP.NET Core simplifies user authentication across applications, enhancing security and user experience. Centralized authentication and token-
  • Angular vs. AngularJS: Key Differences and Syntax Changes7/15/2024 5:02:27 AM. AngularJS revolutionized web development with two-way data binding and a modular approach. Angular (2+) addresses performance issues, offering a modern framework with enhanced features like robust dep
  • Injecting Dependencies of Different Lifetimes in .NET Applications7/9/2024 7:19:26 AM. Understanding dependency lifetimes in .NET is crucial for effective dependency injection. Singleton instances persist throughout the application's lifespan, scoped instances are tied to specific r
  • Services Lifetime Management in .NET Console Applications7/8/2024 7:43:11 PM. Learn efficient service lifetime management in .NET Console Applications using Dependency Injection (DI) with Microsoft.Extensions.DependencyInjection. Explore scoped, transient, and singleton lifetim
  • Beginner's Guide to useNavigate() Hook in ReactJS6/28/2024 8:47:03 AM. Discover how to use the useNavigate hook in ReactJS with this beginner's guide. Learn to navigate programmatically within your React application using the useNavigate hook, part of React Router v6
  • Learn ASP.NET MVC Using Angular 56/20/2024 10:11:53 AM. Discover the synergy of ASP.NET MVC and Angular 5 in this comprehensive guide to modern web development. Learn how to seamlessly integrate back-end logic with responsive front-end interfaces using MVC
  • Add Multiple WebParts To Single SPFx Solution Using Yeoman6/20/2024 6:55:49 AM. Learn how to leverage SharePoint Framework (SPFx) to develop multiple web parts within a single solution using Yeoman, Node JS, and Gulp. This approach saves time by avoiding redundant scaffolding and
  • Design Patterns with C# Examples6/19/2024 11:57:56 AM. This article explains design patterns, providing standard solutions for software design problems. It covers Creational, Structural, and Behavioral patterns with C# examples, including Singleton, Facto
  • Different Types Of Constructor In C#6/13/2024 10:35:41 AM. Constructors in C# initialize objects upon creation. They ensure objects start in a defined state by setting initial values or performing necessary setup. Types include default (without parameters), p
  • Dependency Injection - Service Lifetimes6/12/2024 10:16:38 AM. Learn how to manage service lifetimes in Dependency Injection (DI) frameworks. Understand the differences between scoped, transient, and singleton services, and how they impact the lifespan and behavi
  • Understanding Single, SingleOrDefault, First, and FirstOrDefault in LINQ .NET C#6/7/2024 5:30:25 AM. LINQ (Language Integrated Query) provides powerful querying capabilities in C# to manipulate data collections. Among its arsenal of operators, Single, SingleOrDefault, First, and FirstOrDefault are fr
  • What is Single Sign-On (SSO) in VMware and How Does It Work?6/4/2024 7:18:02 AM. Discover the importance of Single Sign-On (SSO) in VMware, how it simplifies user authentication, enhances security, and streamlines management.
  • Arrow Function Variants in JavaScript6/3/2024 8:14:29 AM. Arrow functions in JavaScript offer concise syntax for writing functions. They simplify coding with features like no parameter handling, optional parentheses for single parameters, and streamlined fun
  • Understanding SOLID Principles in .NET Core6/2/2024 10:05:10 AM. SOLID principles are a set of five design principles in object-oriented programming that aim to make software designs more understandable, flexible, and maintainable. In this blog post, we’ll explore
  • Understanding Single Sign-On with Gmail for Third-Party Sites5/31/2024 6:32:39 AM. Single Sign-On (SSO) with Gmail allows users to access third-party sites using their Google credentials. Implemented via OAuth 2.0 and OpenID Connect, it simplifies the login process, enhances securit
  • Merge Multiple Pdfs Into A Single Pdf Using ItextSharp5/30/2024 11:23:24 AM. Merge multiple PDFs into one using iTextSharp in C#. Utilize PdfReader to read input PDFs, PdfWriter to write merged PDF, and MemoryStream for efficient processing. Ensure proper error handling for ro
  • Understanding Threads and Processes: A Guide to Multiprocessing5/28/2024 12:03:34 PM. Multiprocessing revolutionizes computing by allowing CPUs to handle multiple tasks concurrently. Explore process-based and thread-based multiprocessing, their characteristics, key differences, and pra
  • Understanding the Singleton Pattern in C#5/27/2024 5:31:05 AM. The Singleton pattern is one of the most commonly used design patterns in software engineering. It falls under the category of creational patterns and ensures that a class has only one instance while
  • RESTful Day #3: Resolve Dependency of Dependencies Using Inversion of Control & Dependency Injection in ASP.Net Web APIs with Unity Container and Managed Extensibility Framework (MEF)5/24/2024 8:58:56 AM. Day 3 of RESTful learning dives into resolving dependencies of dependencies using IoC & DI in ASP.NET Web APIs. Employ Unity Container & MEF for seamless extension and management of components
  • Insert, Update, Delete In GridView Using ASP.Net C#5/24/2024 8:57:34 AM. ASP.NET C# enables seamless data manipulation in GridView with Insert, Update, and Delete operations. Utilize events like RowEditing, RowUpdating, and RowDeleting along with DataSource controls like S
  • Apply Single JavaScript Function to Multiple Textboxes For Validation5/8/2024 10:17:45 AM. Validate multiple textboxes efficiently in JavaScript using a single function. Employ event listeners for input events, utilize DOM manipulation to access textbox values, and apply validation rules su
  • Execute Multiple SQL Files On Single Go in SQL Server5/3/2024 4:52:45 AM. Are you utilizing SQL Server? Are deployments still handled manually by certain teams or DBAs? Is there no intention to incorporate CI/CD tools due to project or budget limitations. Nonetheless, there
  • CRUD Operation Using Single Stored Procedure In ASP.NET MVC Of Real-Time Project5/2/2024 10:03:03 AM. Explore ASP.NET MVC's streamlined CRUD operations using a single stored procedure in a real-time project. Leverage Entity Framework, SQL Server, and ViewModel mapping for efficient database intera
  • Singleton Design Pattern in .NET C#5/2/2024 7:00:10 AM. A design approach known as the singleton pattern limits a class's instantiation to a single object while still allowing access to the object. When precisely one item is required to coordinate acti
  • Understanding the Single Responsibility Principle (SRP) using C#5/2/2024 5:03:22 AM. The article delves into the Single Responsibility Principle (SRP) in C#, emphasizing its importance in object-oriented programming. It illustrates SRP violations and provides improved code examples fo
  • Single, SingleOrDefault, First, and FirstOrDefault in Linq .NET C#4/30/2024 9:02:07 AM. LINQ's element operators like Single, SingleOrDefault, First, FirstOrDefault, Last, and LastOrDefault provide specific functionalities for retrieving elements from collections in C#. Here's ho
  • S.O.L.I.D Principles - A Primer4/29/2024 5:51:10 AM. Explore the essential S.O.L.I.D principles in software development for robust, maintainable code. Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Invers
  • Clean Code - Single Level Of Abstraction4/25/2024 8:50:29 AM. Discover the essence of clean code with Single Level of Abstraction. Elevate readability and maintainability by adhering to this principle, ensuring each function or method performs a single task at a
  • Convert A Single PDF Into Number Of Pages As PDF Using iTextSharp4/25/2024 8:01:32 AM. In this article, we will learn how to efficiently convert a single PDF document into multiple PDF files, each representing a single page, using iTextSharp.
  • Angular JS Overview: Benefits, Basics, & Simple Examples4/19/2024 11:03:08 AM. Angular JS is a powerful JavaScript framework for building web applications. It offers benefits like dependency injection, two-way data binding, testing ease, and MVC architecture. Using directives li
  • Angular Services: Implementation, Examples & Best Practices4/19/2024 10:53:23 AM. AngularJS services facilitate modularization and reusability by providing a way to share logic and data across components. They employ dependency injection for seamless integration, enabling efficient
  • Angular Services: Data Sharing & Logic Across Components4/17/2024 9:32:58 AM. In this article, we are going to utilize the Angular Services. Service is nothing but the class having certain operations for a specific purpose. We use Services in Angular to share data among the com
  • Singleton vs. Static Class in C# - Choosing the Right Approach4/17/2024 4:54:57 AM. Singleton and Static classes can only have one instance available in memory, and both classes can be used to maintain the global state of an application, however, there are many differences between th
  • Singleton Vs Static Classes in C#4/17/2024 4:49:59 AM. Why do you use a Singleton class if a Static class serves the purpose What is the difference between Singleton and Static classes and when do you use each one in your program?
  • Single Page Application with AngularJS in .NET4/16/2024 10:09:26 AM. Build responsive single-page applications (SPAs) efficiently with AngularJS in the .NET environment. Utilize AngularJS for frontend development, seamlessly integrated with .NET for robust backend supp
  • Single Page Applications with AngularJS in .NET: Part 24/16/2024 6:33:03 AM. Part 2 of Single Page Applications with AngularJS in .NET delves deeper into building dynamic web experiences. Explore advanced AngularJS concepts like routing, components, and data binding, integrati
  • Create A Blazor App With Google ☁️Cloud SQL Using MySQL Engine4/16/2024 5:36:00 AM. Learn how to integrate cloud-based databases seamlessly into your web application, harnessing the power of Blazor's dynamic UI and Google Cloud's robust infrastructure for efficient data manag
  • Create a Single Page App with Blazor Server and Entity Framework Core 3.0 4/16/2024 5:34:48 AM. Create dynamic web applications efficiently using Blazor Server, a .NET Core framework, coupled with Entity Framework Core 3.0 for seamless data integration. Leverage C# to build interactive, single-p
  • Create A Blazor Server SPA With Dapper 4/15/2024 11:13:00 AM. In this post, we will see how to create a single page application in Blazor Server with Dapper ORM. We will see all the CRUD operations with Dapper using native SQL commands and stored procedures.
  • Create a Single Page App in SPFx using React Router Dom4/11/2024 10:29:04 AM. Create a Single Page App in SPFx using React Router Dom, Learn to develop dynamic and responsive web applications in SharePoint Framework (SPFx) using React Router Dom for client-side navigation.
  • Sign-In Page Customization for Specific Branding in Azure4/11/2024 6:12:27 AM. Customize sign-in pages in Azure to reflect your brand identity. Tailor visual elements, like logos and colors, for a seamless user experience. Enhance security and brand consistency while ensuring a
  • Blazor Project Templates Explained4/9/2024 9:25:47 AM. Blazor, a web framework by Microsoft, empowers developers to build SPAs with C# and HTML. Hosted server-side via ASP.NET Core or client-side with web assembly, Blazor offers project templates in Visu
  • Singleton Design Pattern With C# Sample4/8/2024 9:13:27 AM. In this article, we will Explore the Singleton Design Pattern in C# with a concise sample code demonstrating its implementation. Learn how to ensure a class has only one instance, providing global acc
  • Simple Image or File Import Using T-SQL for SQL Server4/3/2024 8:47:23 AM. The article demonstrates importing image files into SQL Server using T-SQL's OPENROWSET, BULK, and SINGLE_BLOB. It covers basic examples and prerequisites, allowing dynamic file paths and names fo
  • ASP.NET 8 – Multilingual Application with single Resx file - Part 4 - Resource Manager4/2/2024 10:26:25 AM. ASP.NET 8's Part 4 tutorial explores building multilingual applications using a single Resx file and Resource Manager. This feature facilitates easy localization and globalization, enabling develo
  • Multilingual Application with single Resx file - Forms Validation Strings4/1/2024 9:37:01 AM. Learn how to create multilingual applications using ASP.NET 8 in this third part of our series. Explore efficient techniques for managing form validation strings using a single Resx file, ensuring sea
  • ASP.NET 8 - Multilingual Application with Single Resx File - Part 2 - Alternative Approach4/1/2024 7:24:18 AM. Explore an alternative approach in ASP.NET 8 for building multilingual applications using a single Resx file in Part 2 of this series. Discover how to efficiently manage localization and globalization
  • Single Responsibility Principle (SRP)3/30/2024 8:40:56 AM. This article explores the Single Responsibility Principle (SRP), emphasizing the importance of class cohesion and minimizing reasons for modification. It provides examples of code violating and adheri
  • ASP.NET 8 - Multilingual Application with Single Resx File3/27/2024 8:37:08 AM. Discover how to create a multilingual web application in ASP.NET 8 using a single Resx file. This tutorial explores efficient localization techniques, enabling your site to support multiple languages
  • Single-Dimensional, Two-Dimensional, and Multidimensional Arrays in C#3/26/2024 4:50:51 AM. Arrays are fundamental data structures in programming languages, including C#. In this article, we'll explore single-dimensional, two-dimensional, and multidimensional arrays in C#, understand the
  • Singleton Design Pattern In Flutter3/21/2024 9:25:49 AM. Learn how and when to use Singletons, implement them effectively, and explore their advantages and limitations. This article also includes a sample implementation using the shared_preferences package
  • Dynamic Redirect URL/ Wildcard URL in Azure App Registration3/15/2024 8:28:39 AM. Learn how to configure dynamic redirect URLs or wildcard URLs in Azure App Registration for enhanced flexibility and scalability. By leveraging this feature, you can dynamically handle various callbac
  • Inserting List of Records into Single SQL Column As XML File In ASP.NET MVC3/13/2024 8:39:38 AM. This tutorial guides you through the process of converting a list of records into XML and inserting it into a single SQL column, streamlining data storage and retrieval in your application.
  • Misconceptions About the Four LINQ methods3/9/2024 5:22:36 AM. Misconceptions about the four LINQ methods. Single(), SingleOrDefault(), First(), and FirstOrDefault(). This article addresses misconceptions surrounding four LINQ methods—Single(), SingleOrDefault()
  • MSAL for Vanilla JS SPA: Get JWT Access & ID Tokens3/1/2024 9:53:46 AM. This document provides an overview of Microsoft Authentication Library (MSAL) and its role in implementing secure authentication in Vanilla JavaScript Single Page Applications (SPAs). It discusses the
  • How to Enable Single Click to Open an Item in Windows 82/28/2024 7:09:50 AM. In this article, we will learn how to enable a single click to open an item in Windows 8 for faster navigation. Customize your mouse settings to streamline your workflow and improve efficiency.
  • Better Implementation Of Singleton Pattern in .NET2/28/2024 4:09:40 AM. This article explains the mistakes made in writing Singleton Pattern in the multithreaded environment create a bug and how to bring a solution to it.
  • What Are Single File Components in Vue.js2/22/2024 6:48:29 AM. Single File Components (SFCs) in Vue.js consolidate templates, scripts, and styles in one file, enhancing organization. The example demonstrates creating and using a TodoItem component for a clear str
  • How To Create To-Do CRUD Operation With ASP.NET MVC Core, Angular 4.02/21/2024 10:21:43 AM. This training session covers how to utilize the Todo in-memory database via the TodoRepository and create a custom ASP.NET MVC API controller with CRUD (Create, Read, Update, Delete) operations.
  • Blazor - Create SPA With Azure Database For MariaDB Server2/21/2024 8:27:24 AM. We will create a MariaDB database service in Azure and connect MariaDB in a Single Page Blazor application. Azure Database for MariaDB is a relational database service in the Microsoft cloud. Azure Da
  • Single Page Application With Blazor And CosmosDB2/20/2024 3:11:16 PM. We will create one single page application with default Blazor (ASP. Net Core Hosted) template. We will manage a Book entry in this project and save data to CosmosDB. We will use “Microsoft.Azure.Docu
  • Single Page Application Using Server-Side Blazor2/20/2024 7:24:40 AM. This comprehensive tutorial guides you through creating a Single Page Application (SPA) using server-side Blazor with Entity Framework Core. It covers CRUD operations, modal popups for user input, dro
  • Blazor - CRUD Using MongoDB2/18/2024 5:39:30 AM. This article guides you through the process of creating a Blazor application that utilizes MongoDB as its database provider. It covers setting up MongoDB, creating the necessary models and database co
  • Open Closed Principle in SOLID2/15/2024 6:51:23 AM. In this article, we will learn about the Open Closed Principle. The Open Closed Principle (OCP) in SOLID, coined by Robert C. Martin, asserts that software entities should be open for extension but cl
  • What is Single Responsibility Principle2/15/2024 5:57:43 AM. In this article, you will learn about the Single Responsibility Principle. The Single Responsibility Principle (SRP) in SOLID, emphasized by Robert C. Martin, asserts that a class or function should h
  • CRUD With Blazor Using Google Cloud Firestore2/8/2024 10:30:26 AM. We will create a Single Page Application (SPA) using Blazor and Google cloud Firestore. We will perform CRUD operations on it to understand the data manipulation by Firestore.
  • Integrating Google Single Sign-On with Angular1/17/2024 5:22:11 AM. Angular with Google SSO refers to the integration of Google Single Sign-On (SSO) authentication within an Angular web application. Single Sign-On is a method that allows users to log in to multiple ap
  • Single Responsibility Principle1/10/2024 6:21:17 AM. The Single Responsibility Principle emphasizes that a class should have a single reason to change, focusing on one task. This ensures cleaner, smaller classes with well-defined responsibilities and im
  • Design Patterns in C#12/27/2023 7:42:38 AM. Design Patterns in the object-oriented world are a reusable solution to common software design problems that repeatedly occur in real-world application development. It is a template or description of
  • Blazor and .NET 8 QuickGrid Implementation with CSV Data Export12/22/2023 6:10:59 AM. Article for using QuickGrid in Blazor and .NET 8 and exporting data using CSV Helper as a supporting library. the simplicity and efficiency of QuickGrid, a razor component for displaying tabular data
  • .NET Core: Detail of Lifetime Management11/21/2023 8:40:20 AM. In .NET Core, lifetime management refers to how objects are created, used, and eventually disposed of within an application. It ensures efficient resource utilization and prevents memory leaks.
  • Design Patterns and Steps to Implement Singleton Class in C#11/13/2023 6:56:50 AM. Design patterns is the important features of object oriented programming. We need to ensure that only one object of a particular class is instantiated in Singleton design pattern in C#.
  • Comments in C#11/6/2023 9:39:15 AM. In this article I will explain about comments and there usage in code.
  • Different Types of Comments in C# and Their Usages11/6/2023 9:21:50 AM. This article will explain the different types of comments in C# and why should we use comments.
  • OpenID Connect and OAuth 2.0 Cognizance11/1/2023 7:37:02 AM. An overview of OpenConnect and OAuth and its usage in the digital world. It introduces a standardized method for verifying user identities, allowing users to authenticate across different sites or app
  • Single Responsibility Principle (SRP) in .NET Core10/23/2023 8:19:29 AM. As a developer with one year of experience, you've likely come across the SOLID principles, a set of five principles that promote clean, maintainable, and scalable code. Among these principles, th
  • Checking Previous Instance (Single Instance) Of An C# Windows Application, Also Setting MDI Child Form To A MDI Parent10/18/2023 4:42:04 AM. In this article I will describe how to check previous instance (single instance) of an C# windows application and also whether a MDI child is set to a MDI parent