C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Sardar Mudassar Ali Khan (18)
Mahesh Chand(7)
Dashrath Hapani(6)
John Godel(4)
Bhuvanesh Mohankumar(3)
Velladurai (3)
Manoj Kalla(3)
George (3)
Vishal Yelve(3)
Jaimin Shethiya(3)
Micheal Xavier A (2)
Aarav Patel(2)
Pankajkumar Patel(2)
Ayush Gupta(2)
Lokendra Singh(2)
Waqas Anwar(2)
Mark Pelf(2)
Jochen Bartlau(2)
Sandhiya Priya(1)
Dinesh Gabhane(1)
Saurav Kumar(1)
Shivam Vaghela(1)
Niharika Gupta(1)
Harshit Pandey(1)
Pasang Tamang(1)
Ananya Desai(1)
Deepak Pippal(1)
Kiran Kumar(1)
Rinki (1)
Vaishali Vishwakarma(1)
Kishor Kadam(1)
Kripanshu Kumar(1)
Cynthia Sathuragiri(1)
Abhishek Yadav(1)
Atharva Urade(1)
Sangeetha S(1)
Bhawna Vishwakarma (1)
Vijay Pratap Singh(1)
Shafaet Hossain(1)
Harsh Sharma(1)
Varun Setia(1)
Gowtham K(1)
Kirtesh Shah(1)
Mohammad Rabie(1)
Rajiv Singh(1)
Prakashkumar Sahoo(1)
Oleg Litvinov(1)
Aman Gupta(1)
Uday Dodiya(1)
Resources
No resource found
Difference between ASP.NET MVC, C#, and ASP.NET Core
Oct 13, 2025.
Understand the key differences between C#, ASP.NET MVC, and ASP.NET Core. This guide clarifies their roles in web development, highlighting C# as a programming language, ASP.NET MVC as a legacy Windows-only framework, and ASP.NET Core as a modern, cross-platform solution. Learn about their architecture, performance, and suitability for different project types, from existing systems to cutting-edge cloud applications. Choose the right tool for your next .NET project!
LLMs: From Tokens to Dollars: Cost Engineering for LLM Apps
Oct 12, 2025.
Optimize LLM application costs by treating tokens as a design constraint, not an afterthought. This playbook details strategies like token budgeting, caching, compression, and intelligent model mixing to minimize expenses while maximizing value. Focus on outcomes, not just usage, to transform LLMs into a predictable, compounding advantage. Track cost per task, accuracy, and latency to ensure efficiency.
High Performance and Scalability in ASP.NET Core
Oct 09, 2025.
This article provides actionable strategies for building blazing-fast web applications. Learn how to optimize asynchronous programming, middleware, caching, EF Core, and Kestrel configuration. Discover techniques for load balancing, Redis integration, and minimizing startup time. Master the art of building robust, high-throughput APIs and microservices that can handle massive workloads with ease.
How to Implement an LRU Cache with O(1) Operations
Oct 01, 2025.
Learn how to implement an LRU (Least Recently Used) cache with O(1) time complexity for get and put operations. This guide provides a clear explanation of the theory, data structures (HashMap and Doubly Linked List), and a step-by-step Python implementation with diagrams. Discover real-world applications in operating systems, web browsers, and databases, boosting your system design knowledge.
Real-Time Cache Monitoring and Alerting with NCache in .NET
Sep 30, 2025.
This article guides you through setting up event notifications, subscribing to cache events in C#, and integrating custom alerts for email, logging, and dashboards. Learn to proactively detect failures, optimize cache configurations, and maintain high availability using NCache Manager and PerfMon counters.
Enhancing SharePoint Performance Using PnPjs Caching
Sep 25, 2025.
Boost SharePoint performance with PnPjs caching! Learn how to minimize redundant API calls and improve application speed. This article explores SP-PnP caching techniques, including unique cache key generation and expiration strategies. Discover best practices for efficient data handling and a smoother user experience. See practical examples demonstrating the dramatic speed improvements achieved through caching.
How to Connect ASP.NET Core MVC with Database using EF Core (DB-First)
Sep 11, 2025.
Unlock the power of database connectivity in ASP.NET Core MVC with EF Core's DB-First approach! This article simplifies connecting your application to SQL Server, offering a step-by-step walkthrough from project setup to data retrieval. Learn to scaffold models, register DbContext, and leverage LINQ for efficient database interactions, avoiding raw SQL.
Content Security Policy (CSP) for Razor Pages and MVC
Sep 10, 2025.
Protect your ASP.NET Core Razor Pages and MVC applications from XSS attacks with Content Security Policy (CSP). This guide explains how CSP works, why it's crucial for security, and provides practical examples for implementation using middleware and the NWebsec library. Learn how to configure CSP headers, handle inline scripts with nonces, report violations, and establish best practices for a robust security posture.
Model Binding and Model Validation in ASP.NET Core MVC?
Sep 09, 2025.
Unlock the power of ASP.NET Core MVC with Model Binding and Model Validation! Learn how to automatically map HTTP request data to your models and ensure data integrity. Discover how data annotations and custom validation logic streamline development, reduce boilerplate code, and enhance user experience. Master form handling and data validation in ASP.NET Core MVC.
Implementing Role-Based Authorization in ASP.NET Core MVC
Sep 09, 2025.
Secure your ASP.NET Core MVC applications with role-based authorization! This guide provides a step-by-step walkthrough, complete with code examples, on implementing roles (Admin, Manager, User) using ASP.NET Core Identity. Learn to configure Identity, seed roles, assign roles to users, and restrict access at the controller, action, and view levels. Explore policy-based authorization for cleaner role management and best practices for robust security. Master role-based access control today!
Secure File Upload Handling in ASP.NET Core MVC
Sep 08, 2025.
Learn how to implement secure file upload handling in ASP.NET Core MVC applications. This article covers essential security best practices, including limiting file size, restricting file types, using safe filenames, and storing files outside the webroot to prevent direct access.
How does caching improve website performance?
Sep 08, 2025.
Caching is a vital technique for boosting website performance. By storing frequently accessed data in a temporary location, it reduces server load, speeds up load times, and improves user experience. This article explores backend, web server, CDN, and client-side caching, highlighting benefits like lower costs, better scalability, and increased reliability. Learn how to implement effective caching strategies for a faster, more efficient website.
What Is MVC in Web Development
Sep 04, 2025.
Unlock the power of MVC (Model-View-Controller) in web development! This guide breaks down the MVC architecture, explaining how it separates data (Model), presentation (View), and control (Controller) for cleaner, more maintainable, and scalable applications. Discover the benefits, limitations, and real-world examples of MVC frameworks like ASP.NET MVC, Spring MVC, and more. Master this essential pattern for building robust web applications.
Secure Coding Guidelines for ASP.NET Core MVC & Web API
Sep 04, 2025.
Fortify your ASP.NET Core MVC & Web API applications with these essential secure coding guidelines. Learn practical techniques to prevent common vulnerabilities like XSS, CSRF, and SQL injection. Implement robust authentication, input validation, and API security measures. Protect sensitive data, manage dependencies securely, and enhance performance to defend against DoS attacks. Build resilient and secure applications today!
Partial View vs ViewComponent in ASP.NET MVC/Core – A Complete Guide
Sep 02, 2025.
Unlock the secrets of Partial Views and ViewComponents in ASP.NET MVC/Core! This guide dives deep into their differences, exploring usage, performance, and best-use cases. Learn when to use each for optimal code reusability and maintainability. Discover how Partial Views excel at static content while ViewComponents shine with dynamic, data-driven widgets. Elevate your ASP.NET development skills today!
File and Input Security in ASP.NET Core MVC and Web API Applications Introduction
Sep 02, 2025.
Protect your ASP.NET Core MVC and Web API applications from critical vulnerabilities! This article provides essential best practices for securing file uploads and user inputs. Learn how to prevent SQL injection, XSS, path traversal, malware uploads, and DoS attacks through robust validation, secure file handling, and API security measures.
Preventing SQL Injection in ASP.NET MVC, ASP.NET Core MVC, and Web API Applications
Aug 29, 2025.
Protect your ASP.NET MVC, ASP.NET Core, and Web API apps from SQL Injection! Learn practical C# strategies, parameterized queries, and secure coding practices to prevent data breaches and ensure robust security. Master best practices for a secure application!
Data Security in ASP.NET Core MVC Applications
Aug 28, 2025.
Learn essential ASP.NET Core MVC data security practices, including HTTPS enforcement and authentication, encryption, XSS/CSRF prevention, and secure storage, to ensure safe and reliable web applications.
Prompt LLMs to Extract Data from Documents
Aug 27, 2025.
Learn how to use prompt engineering to extract structured data from unstructured documents like PDFs, contracts, invoices, and reports. Discover techniques, examples, and best practices for accurate AI-driven data extraction.
Get Structured JSON Output from a Prompt
Aug 20, 2025.
Want AI to return clean JSON instead of messy text? Learn prompt engineering techniques to get structured JSON outputs from LLMs, with examples and best practices for developers.
PDF Generation in ASP.NET Core MVC using Puppeteer Sharp
Aug 20, 2025.
Puppeteer Sharp enables .NET apps to generate browser-quality PDFs from HTML, supporting modern CSS, JavaScript, and dynamic content. Automate the creation of PDFs for invoices, tickets, or web pages with ease and accuracy.
Smart Query Caching in C#: Auto-Invalidate on Database Changes
Aug 20, 2025.
Learn how to keep your cache fresh using SqlDependency, version-stamps, event-driven invalidation, and Redis Pub/Sub in C#, ensuring high performance, consistency, and scalability across applications.
Should You Become a Prompt Engineer? A Guide for 2025 and Beyond
Aug 20, 2025.
Prompt Engineering guides and optimizes AI outputs, reducing errors and bias. It blends linguistics, design, and systems thinking, enabling safe, scalable, and enterprise-ready AI workflows across industries.
How Can You Optimize the Performance and Scalability of a Node.js Application?
Aug 19, 2025.
In this article, we will explore various methods to enhance the performance and scalability of a Node.js application. We’ll use simple words, practical examples, and best practices to make sure you can easily apply them in real projects.
How to save position of the sortable (draggable) widgets
Aug 14, 2025.
Learn how to implement draggable, sortable dashboard widgets in .NET MVC using jQuery UI. Save and load widget order from SQL Server with C#, stored procedures, and a user-defined table type for a personalized UI.
Learn Prompt Engineering for LLMs: The Ultimate Beginner’s Guide (ChatGPT, Claude, Gemini)
Aug 12, 2025.
Learn prompt engineering for Large Language Models (LLMs) like ChatGPT, Claude, and Gemini. Step-by-step guide, real-world examples, and courses from LearnAI.CSharpCorner.com to master AI communication.
What Are Prompt Engineering Best Practices?
Aug 10, 2025.
Discover the top best practices in prompt engineering to get better results from ChatGPT, Claude, and Gemini. Includes role assignment, context setting, output formatting, and iteration tips.
How Prompt Engineering Impacts the Quality of AI Responses
Aug 10, 2025.
Learn how prompt engineering directly affects AI output quality in ChatGPT, Claude, and Gemini. See real examples of poorly written vs. well-engineered prompts and discover best practices.
Why Prompt Engineering Is Critical for LLMs Like ChatGPT and Claude
Aug 07, 2025.
Learn why prompt engineering is essential for unlocking the full power of large language models (LLMs) like ChatGPT, Claude, Gemini, and others. Understand its role in AI accuracy, reliability, and creativity.
How Does Prompt Engineering Work? (With Examples & Use Cases)
Aug 07, 2025.
Discover how prompt engineering works behind the scenes to shape the behavior of AI systems like ChatGPT, Claude, and Gemini. Learn the mechanics, examples, and strategies to get high-quality AI output.
Dependency Injection in .NET Core
Aug 04, 2025.
Learn Dependency Injection (DI) in .NET Core—automate service instantiation, promote clean architecture, and simplify testing. Explore DI types, service lifetimes, registration, and best practices for building scalable, maintainable applications.
Inclusive Guide to Key Concepts in ASP.NET MVC Framework
Jul 31, 2025.
This comprehensive article covers essential ASP.NET MVC concepts—from routing and controllers to Razor views, validation, filters, and deployment—offering best practices and examples to build secure, maintainable web applications efficiently.
ASP.NET MVC Cheatsheet – A Beginner-Friendly Guide
Jul 30, 2025.
ASP.NET MVC Cheatsheet – A Beginner-Friendly Guide
Understanding the MVC Application Life Cycle in ASP.NET Core (.NET 6/7/8)
Jul 28, 2025.
With the evolution of .NET into .NET Core and now .NET 6, 7, and 8, the MVC framework has seen major architectural improvements. Understanding the ASP.NET Core MVC application life cycle is crucial for developers building modern, scalable, and high-performance web applications.
Understanding Caching Strategies in .NET – A Practical Guide
Jul 28, 2025.
Learn practical caching strategies in .NET—Cache-Aside, Read-Through, Write-Through, and Write-Behind—to boost app performance, reduce database load, and choose the right approach for scalable, responsive applications.
🔥 How to Consume Web API in ASP.NET MVC Using HttpClient
Jul 24, 2025.
Are you building an ASP.NET MVC application and need to fetch data from a Web API? Look no further!In this guide, you’ll learn how to consume Web API using the HttpClient class in ASP.NET MVC with real examples and best practices.
Managing Relationships, Migrations, and Performance Optimization in ASP.NET Core MVC
Jul 18, 2025.
This ASP.NET Core MVC project demonstrates how to manage one-to-many relationships using Entity Framework Core, handle code-first migrations, and apply performance optimization techniques such as AsNoTracking, pagination, and in-memory caching.
Understanding .NET MVC
Jul 14, 2025.
ASP.NET MVC is a web framework from Microsoft that uses the Model-View-Controller pattern to build clean, testable, and scalable web applications using C# and Razor.
Parent-Child Component Communication – Solving the Sync Issue
Jul 14, 2025.
This article explains a real issue faced while passing data from a parent to a child component in Angular using @Input(). The child component was not updating correctly when the input changed. The problem was fixed by moving the data loading logic to the ngOnChanges() lifecycle hook.
MVC Architecture in Node.js (With Code Examples)
Jul 11, 2025.
Learn how to build a clean, maintainable Node.js app using the MVC pattern with Express.js, separating concerns into Models, Views, and Controllers for scalable, testable, and organized code structure.
Implementing JWT Authentication with Redis Cache in ASP.NET Core Web API
Jul 05, 2025.
This article demonstrates how to implement JWT authentication in an ASP.NET Core Web API using Redis cache for efficient token management. By generating access and refresh tokens during login and storing them in Redis, the API achieves faster token validation, improved scalability, and automatic expiration handling.
JWT Auth in ASP.NET MVC: Secure REST API with C#.NET
Jul 04, 2025.
Learn how to build a secure ASP.NET Web API using C# and JWT authentication. This hands-on guide covers token generation, validation, and securing endpoints to protect your API with modern practices.
Basic Auth in ASP.NET MVC Web API Using C#.NET
Jul 03, 2025.
Learn how to build a secure ASP.NET Web API using Basic Authentication in C#. Protect your student data endpoints by validating user credentials with a custom auth filter. Perfect hands-on project for beginners.
Build a RESTful Student Info API with ASP.NET MVC & C#.NET
Jul 02, 2025.
Learn how to build a simple RESTful API using ASP.NET MVC in C#. This beginner-friendly tutorial guides you through creating a student info API with models, controllers, routing, and JSON output step by step.
Difference Between Minimal API and Controller API .NET Core
Jun 20, 2025.
Explore the key differences between Minimal API and Controller API in .NET Core, including structure, performance, routing, and use cases—helping you choose the right approach for your project.
Getting Started with Redis in .NET Core Applications
Jun 10, 2025.
Learn how to integrate Redis with .NET Core to boost app performance using distributed caching. This guide covers setup, key libraries like StackExchange.Redis, and practical use cases with C#.
Vehicle Count Visualization Using ApexCharts in ASP.NET MVC
Jun 10, 2025.
In this snippet, we are working on visualizing vehicle category counts (B and C) using a donut chart powered by ApexCharts.
Mastering Named, Positional, and Input/Output Parameters in Stored Procedures with EF Core
May 22, 2025.
Understanding Name Parameters, Positional Parameters, Input/Output Parameters, and Their Usage in Stored Procedures with EF Core
How to Resolve NuGet Package Manager Issues with v3 API Downtime
May 09, 2025.
If you're working with NuGet in Visual Studio and encountering issues due to the NuGet v3 API being temporarily unavailable, you're not alone. Many developers have experienced downtime with the NuGet v3 API, leading to errors and hindering package management workflows.
Improved CRUD operations for GridView with Redshift in ASP.NET Core MVC (Utilizing C# 14 Features)
May 08, 2025.
Learn how to enable CRUD operations in an ASP.NET Core MVC application using Amazon Redshift and C# 14 features. This guide covers setup, connection, SQL commands, data manipulation, security, and best practices.
Build a CRUD App in .NET 8 MVC Using Dapper and Repository Pattern
May 06, 2025.
Learn to build a CRUD app in .NET 8 MVC using Dapper for lightweight data access and the Repository Pattern for clean code architecture.
Understanding LRU Cache in Python
May 05, 2025.
LRU Cache (Least Recently Used) is a data structure that maintains a limited set of items, automatically removing the least recently accessed ones. It's implemented in Python using a doubly linked list to optimize cache operations.
Building a User Subscription Module in ASP.NET MVC with C# 14
Apr 25, 2025.
Learn how to build a complete User Subscription Module in ASP.NET MVC using C# 14 features, with registration, plans, payment logic, and access control for scalable, modern subscription-based web apps.
Implementing TOTP (Time-Based One-Time Password) MFA in .NET Core
Apr 22, 2025.
TOTP (Time-based One-Time Password) is a secure two-factor authentication (2FA) method that generates temporary, single-use codes for user verification.
How to Publish ASP.NET Core MVC Project.NET 8 with View Files
Apr 14, 2025.
ASP.NET Core MVC .NET 8 publish cshtml file, publish view in asp.net core mvc, publishing CSHTML file in .NET 8 MVC project.
Pooling with ObjectPool<T> in .NET
Mar 31, 2025.
This article explores the benefits of object pooling, how to implement ObjectPool<T> from System.Buffers, and real-world use cases to reduce memory allocations and enhance application efficiency.
ASP.NET Session State: Storing Data Beyond IIS Restarts
Mar 20, 2025.
?To maintain ASP.NET sessions after an IIS restart, configure the session state to use SQL Server, State Server, or a distributed cache like Redis instead of the default in-memory storage.
Efficient File Upload and Download from Network Drive in C# MVC
Mar 07, 2025.
Learn the best way to upload and download files from a network drive or shared storage using an MVC application in C#.
Angular Features (2-1) --- Component Interaction (1) by @Input/@Output
Feb 07, 2025.
This is about communications between parent component and child component.
Blazor vs Traditional ASP.NET (MVC/WebForms): A Comparison
Feb 03, 2025.
Blazor is a web framework by Microsoft that enables building interactive web apps using C# and .NET. It supports Blazor Server (server-side) and Blazor WebAssembly (client-side) for modern, real-time, and offline web development.
Integrating Stripe Payment Gateway in ASP.NET Core MVC
Feb 03, 2025.
Learn how to integrate Stripe Payment Gateway into an ASP.NET Core MVC application, enabling secure online payments with Stripe Checkout. The solution covers API setup, payment session creation, and handling successful or canceled payments.
ASP.NET MVC: Download Large File Efficiently
Feb 02, 2025.
This article explores efficient ways to handle large file downloads in ASP.NET MVC, covering FileStreamResult, chunked streaming, async streaming, IIS configuration, and Content-Disposition for improved performance and browser compatibility.
Design Patterns for Scalable ASP.NET MVC Applications
Jan 31, 2025.
Discover key design patterns like Repository, Unit of Work, Dependency Injection, Factory, Singleton, and Command to enhance the scalability, maintainability, and testability of your ASP.NET MVC applications.
Real-Time Data and NCache: Keeping Your Data Fast and Fresh
Jan 23, 2025.
Learn what is real-time data and what are its characteristics. Learn how modern distributed caching solutions such as NCache can help us in building and managing modern real-time applications.
ASP.NET 8 – Using Bootstrap 5 Themes
Jan 20, 2025.
This article covers selecting and installing themes, configuring settings in appsettings.json, passing theme data to views, and managing UI consistency across different themes for a professional web app look.
Entity Framework (5-1), With .Net Core MVC, Database-First --- Scaffold-DbContext
Jan 18, 2025.
This article is to discuss the reverse engineering command Scaffold-DbContext by AI.
SQL Server – Query Performance – Database Maintenance can Help
Jan 14, 2025.
To improve query performance in an ASP.NET MVC application using SQL Server, periodic database maintenance steps like updating statistics and defragmenting indexes are essential. This includes manual or automatic execution for optimal results.
What is Factory Method Design Pattern?
Jan 06, 2025.
Learn how to build an AI-powered birthday party planner using Copilot Studio and Microsoft OpenAI. Streamline theme selection, product management, and logistics with intelligent automation for efficient and creative event planning.
Understanding Connected Disconnected Scenarios in EF Core MVC
Jan 06, 2025.
This article explains the connected and disconnected scenarios in Entity Framework Core for ASP.NET Core MVC applications. It covers how EF Core handles data in these scenarios, including change tracking, entity states, and managing database contexts.
Optimize Relationships Migrations Performance in ASP.NET Core MVC
Jan 06, 2025.
This article covers Entity Framework Core, query optimization, caching strategies, lazy and eager loading, and best practices to enhance your MVC application's efficiency.
Learn HTTP Interceptors in Angular
Dec 26, 2024.
HTTP Interceptors in Angular are powerful tools that allow developers to modify or handle HTTP requests and responses globally. They are used for tasks like adding authentication tokens, logging, error handling, and transforming API data.
Advanced Logging with Proxies in C#
Dec 24, 2024.
This article presents a lightweight, dependency-free logging mechanism in C# using the DispatchProxy class. It enables efficient method interception, conditional logging, performance optimization, and error handling without external dependencies.
A Threadsafe C# LRUCache Implementation
Dec 16, 2024.
The LRUCache<TKey, TValue> class in C# provides a custom implementation of a Least Recently Used (LRU) cache. It optimizes memory usage by retaining a fixed number of items and evicting the least recently used ones when the cache exceeds capacity.
Connection String in ASP.NET Core MVC .NET 8
Dec 13, 2024.
Learn how to manage and use connection strings in applications, explore AppSettings.json, environment variables, and static classes, and understand their implementation with sample code for seamless database connectivity.
Session in ASP.NET Core MVC .NET 8
Dec 10, 2024.
This article covers enabling sessions in .NET 8 ASP.NET Core MVC, storing/retrieving session values, managing session keys, and implementing session handling with step-by-step examples and code walkthroughs.
Implement Hybrid Cache in .NET 9 + Redis Caching
Dec 09, 2024.
Hybrid cache simplifies .NET caching by unifying in-memory and distributed approaches. It supports extensible code, concurrency management, multi-source caching, Redis integration, serialization, and customizable features for robust caching solutions.
Token Caching in .NET 8 with Microsoft Entra ID
Dec 07, 2024.
Learn how to optimize .NET 8 web apps with token caching using Microsoft Entra ID. Discover in-memory and distributed caching strategies to boost performance, reduce latency, and improve scalability in authentication processes.
Customized Authentication Filters in ASP.MVC Core 6
Dec 04, 2024.
Custom authentication filters in ASP.NET Core 6 allow you to implement personalized authentication logic. You can create custom attributes, middleware, or policy-based authorization to manage user access based on roles, claims, or tokens.
Integrating Demo Registration with External APIs in ASP.NET MVC C#
Nov 22, 2024.
We delve into the implementation of integrating an external API for vehicle registration within an ASP.NET MVC application. The method, Addadminvehicle, serves as a bridge between the web application and the BureauID API, which is responsible for handling vehicle fastag registrations.
Bulk Import of ID Card Data from Excel in ASP.NET MVC C#
Nov 22, 2024.
This guide covers the process of parsing Excel files, extracting data, and inserting it into a database, ensuring smooth data handling and optimization for large datasets in a seamless, automated process.
Understanding Keyed Services in .NET 8
Nov 13, 2024.
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 tailored service instances in applications.
Dependency Injection & EF Migrations in ASP.NET MVC with Autofac
Oct 30, 2024.
This article demonstrates how to implement Dependency Injection (DI) using Autofac in an ASP.NET MVC application and integrate Entity Framework for database operations, including migrations.
Mastering Session Management in ASP.NET Core with NCache
Oct 24, 2024.
Learn how to implement high-performance, scalable caching for ASP.NET applications, ensuring optimal session state handling, improved load balancing, and fault tolerance with NCache integration.
Caching HTML Tags Using WebForms Core Technology
Oct 22, 2024.
In this article, we teach how to cache static HTML tags (header, footer, right and left menus, etc.) in the user's browser by using WebForms Core technology in the CodeBehind framework.
Understanding the Difference Between Cache and Persist in Pyspark
Oct 16, 2024.
Learn how they store data in memory and disk, their role in improving execution speed, and how to choose the right method for efficient data processing in PySpark.
Implementing an LRU Cache in C#
Oct 15, 2024.
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 Core
Oct 14, 2024.
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 example for result filtering.
Sending Emails in ASP.NET Core MVC Using SMTP
Sep 25, 2024.
In this guide, we'll explore how to send emails in ASP.NET Core MVC using SMTP. We'll cover the essential setup, including configuring SMTP settings, creating an email service, and sending messages programmatically.
Learn NLog Advanced Usage / Change NLog Configuration Per Request
Sep 23, 2024.
This article explores implementing dynamic logging in multi-tenant applications using NLog. It discusses configuring NLog to enable debug logging on a per-request basis without modifying existing configurations.
Response Caching with Cache Profiles in .NET Core 8
Sep 22, 2024.
The process by which a browser or other client caches a server's response is known as response caching. This will facilitate the prompt processing of subsequent requests for the same resources. Furthermore, the server won't have to process and produce the same response repeatedly thanks to this.
Explaning IActionFilter in ASP.NET Core
Sep 16, 2024.
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 potential drawbacks in maintaining code efficiency.
Explaning IExceptionFilter in .NET Core
Sep 16, 2024.
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 custom logic, while also noting potential drawbacks.
Response Cache Attribute in .NET Core 8: Usage, and Examples
Sep 09, 2024.
This guide covers its usage, configuration, and examples, explaining how to implement response caching in ASP.NET Core for faster load times and reduced server overhead in your web applications.
Preventing DoS Attacks in ASP.NET Core MVC Applications
Sep 08, 2024.
This ASP.NET Core MVC project demonstrates essential techniques to prevent DoS attacks, including rate limiting, request size limiting, and Google reCAPTCHA integration. The solution ensures security by controlling incoming requests, validating inputs, and preventing automated attacks while maintaining application performance.
How to Create a Dynamic Delete Modal in Java
Sep 03, 2024.
This article guides you in creating a dynamic delete modal in Java. You'll learn how to design a modal popup that adjusts its content based on the item to be deleted, pass item data using JavaScript and AJAX, and handle the deletion process in Java, ensuring a smooth and efficient user experience.
Entity Framework (3), with .Net MVC, Model-First
Sep 01, 2024.
This article will discuss Entity Framework with .Net MVC, Model-First approach
Complete File Upload and Download in ASP.NET Core MVC
Aug 29, 2024.
Implement file upload and download functionality in an ASP.NET Core MVC application. This guide covers project setup, model creation, controller logic, view implementation, and security best practices. You'll create a simple app for managing file uploads and downloads, including file validation and storage.
Learn LocalStorage In JavaScript
Aug 28, 2024.
LocalStorage is a JavaScript feature that allows developers to store key-value pairs in a user's browser, persisting data even after the browser is closed. It's ideal for saving user preferences, caching data, and enabling offline functionality, enhancing user experience and reducing server load in web apps.
Implementation Ajax Calls in ASP.NET Core MVC
Aug 27, 2024.
Learn how to build a dynamic fleet management system using AJAX in ASP.NET MVC with SQLite as the database provider. This tutorial guides you through creating, managing, and displaying vehicle data in a responsive web application, enhancing user experience with real-time updates.
Singleton Pattern Caching in .NET C#
Aug 26, 2024.
Learn how to implement caching using this pattern to enhance memory management, ensure thread safety, and optimize performance in your applications.