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 (16)
John Godel(7)
Mahesh Chand(7)
Dashrath Hapani(6)
Sandhiya Priya(5)
Mominul Islam(4)
Bhuvanesh Mohankumar(3)
Velladurai (3)
Manoj Kalla(3)
Rajesh Gami(2)
Micheal Xavier A (2)
Aarav Patel(2)
Pankajkumar Patel(2)
Ayush Gupta(2)
George (2)
Waqas Anwar(2)
Mark Pelf(2)
Jochen Bartlau(2)
Nikolaos Kantzelis(1)
Rishima (1)
Sangeet Shah(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)
Kishor Kadam(1)
Vaishali Vishwakarma(1)
Kripanshu Kumar(1)
Cynthia Sathuragiri(1)
Abhishek Yadav(1)
Atharva Urade(1)
Sangeetha S(1)
Bhawna Vishwakarma (1)
Lokendra Singh(1)
Vijay Pratap Singh(1)
Shafaet Hossain(1)
Harsh Sharma(1)
Varun Setia(1)
Gowtham K(1)
Kirtesh Shah(1)
Resources
No resource found
Implementing Distributed Caching with Redis in ASP.NET Core for Scalable Applications
Nov 13, 2025.
Boost ASP.NET Core app performance with Redis distributed caching! Learn to set up, configure, and implement caching for scalable, high-traffic applications. Optimize your database workload and improve user experience.
Create + Assign + List + Edit + Complete operations and role-wise views (Admin / Manager / User) ASP.NET Core MVC project
Nov 08, 2025.
Build a complete ASP.NET Core MVC task management app with role-based views (Admin, Manager, User). Includes CRUD, assignment, and completion features using EF Core and Identity.
Implementing Caching Strategies (Redis + MemoryCache) for High-Performance APIs in ASP.NET Core
Nov 05, 2025.
Boost ASP.NET Core API performance with a hybrid caching strategy! Combine MemoryCache for speed and Redis for scalability. Reduce latency and database load significantly.
The Overlooked Link Between Security and Performance in SQL Server
Nov 01, 2025.
When we think of SQL Server security, we often imagine logins and roles, who can access what. But under the hood, SQL Server’s security context (the identity under which code runs) shapes how queries compile and cache.
Redis: The Fastest In-Memory Data Store Powering Modern Applications
Nov 01, 2025.
Unlock blazing-fast performance with Redis! This guide explores Redis as a versatile in-memory data store for caching, real-time apps, and MERN stack optimization.
Generative AI in Production: From Outputs to Outcomes
Oct 30, 2025.
Transform generative AI from novelty to reliable business outcomes. Learn pragmatic patterns for contracts, retrieval, tools, observability, and cost control.
Difference Between ASP.NET Web Forms, MVC & .NET Core
Oct 31, 2025.
Explore the evolution of ASP.NET: Web Forms, MVC, and .NET Core. Understand key differences, features, and ideal use cases to choose the right framework.
State Management in ASP.NET: ViewState, Session, Cookies & Cache
Oct 31, 2025.
Understand ASP.NET state management! Explore ViewState, Session, Cookies, and Cache with examples. Learn when to use each for optimal web application performance.
Master Page vs Layout Page in ASP.NET
Oct 31, 2025.
Explore Master Pages (.master) in ASP.NET Web Forms and Layout Pages (_Layout.cshtml) in ASP.NET MVC/Core. Learn their features, usage, and when to use each for consistent UI design.
How to Troubleshoot Errors in a .NET MVC Website
Oct 25, 2025.
Learn how to troubleshoot errors in a .NET MVC website using debugging techniques, IIS logs, custom error handling, remote debugging, and third-party tools like Application Insights, ELMAH, and NLog. Practical guide for ASP.NET MVC error resolution.
ASP.NET Core Performance Hacks: Async, Profiling & Optimization Techniques (Part - 26 of 40)
Oct 21, 2025.
Unlock peak ASP.NET Core performance! This comprehensive guide (Part 26 of 40) dives into advanced optimization techniques. Master async/await, EF Core tuning, caching strategies, and profiling tools. Learn real-world hacks for faster response times, reduced infrastructure costs, and improved user experience. Elevate your applications with proven best practices and monitoring tips for sustained performance gains.
ASP.NET Core Caching Mastery: Redis, Memory Cache, Distributed Patterns & Performance Optimization (Part - 27 of 40)
Oct 21, 2025.
Master ASP.NET Core caching with this comprehensive guide! Explore Redis, memory caching, and distributed patterns for building high-performance applications. Learn real-world strategies, optimization techniques, and best practices to drastically improve response times and reduce database load. Includes code examples and performance monitoring tips.
Real-Time Cache Monitoring and Alerting with NCache in ASP.NET Core Web API
Oct 20, 2025.
Boost ASP.NET Core Web API performance with NCache! This guide details integrating NCache for distributed caching, real-time monitoring, and proactive alerting. Learn to configure NCache, track cache health via NCache Web Manager or PowerShell, and set up notifications for critical events like node failures or high resource usage. Optimize your caching strategy and ensure a seamless user experience with enterprise-grade visibility and control. Explore programmatic event notifications and integration with Grafana/Prometheus for advanced monitoring.
Prompt Engineering: Cost & Speed: Engineering for $/Accepted Output and Predictable Latency — Part 8
Oct 16, 2025.
Master prompt engineering for cost and speed! Learn to design efficient prompts by setting budgets upfront, using sectioned generation with hard stops, caching effectively, and routing intelligently. Optimize for $/accepted output and predictable latency, turning them into controllable levers. Discover practical techniques for significant savings and improved performance in your LLM applications. This guide provides actionable strategies and metrics to ensure your AI scales affordably and reliably.
Generative AI, Part 7 — Cost & Latency Engineering: Decoder Policies, Caching, Batching, and $/Accepted Output
Oct 16, 2025.
Optimize generative AI pipelines for cost and latency. Learn to define budgets, choose efficient decoder policies, implement strategic caching, and batch requests effectively. Discover how to measure $/accepted output, reduce repair loops, and route requests to the right model for maximum efficiency and quality. Implement these strategies to make your generative stack faster and cheaper.
ASP.NET Core MVC Deep Dive Part 5 - Advanced Controllers, Routing, Views & Enterprise Patterns
Oct 15, 2025.
Dive deep into ASP.NET Core MVC Models! This comprehensive guide covers model creation, data binding, validation using data annotations, and advanced techniques like custom validation and ViewModels. Learn to build robust and secure applications by mastering data integrity. Explore best practices, alternatives like FluentValidation, and prepare for Part 6: Controllers.
Build First ASP.NET Core MVC Web App Part 3 - Complete E-Commerce Tutorial with Razor Pages
Oct 15, 2025.
Build a complete e-commerce web application using ASP.NET Core MVC and Razor Pages in this comprehensive tutorial. Learn MVC architecture, create dynamic UIs with Razor syntax, implement shopping cart functionality, and set up a production-ready environment. Master real-world web development skills and build a portfolio-worthy project. Includes database design, testing, and deployment strategies.
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.
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!
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.
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.
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.
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.
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.
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.
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.
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 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.
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.
🔥 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.
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.
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.
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.
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.
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.
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.
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.