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]
Sandhiya Priya(13)
Sardar Mudassar Ali Khan (13)
Jalpa Dhola(5)
John Godel(4)
Ajay Narkhedkar(3)
Mominul Islam(3)
Praveen Kumar(3)
Bhuvanesh Mohankumar(3)
Velladurai (3)
Manoj Kalla(3)
Dashrath Hapani(3)
Mahesh Chand(2)
Micheal Xavier A (2)
Niharika Gupta(2)
Pankajkumar Patel(2)
Kripanshu Kumar(2)
Mark Pelf(2)
Meeran Siddiqui(1)
Mariem Moalla(1)
Sangeet Shah(1)
Jaimin Shethiya(1)
Jay Krishna Reddy (1)
Manoj Tyagi(1)
Aarav Patel(1)
Harshit Pandey(1)
Pasang Tamang(1)
Chirag Tankan(1)
Deepak Pippal(1)
Kiran Kumar(1)
Rinki (1)
Vaishali Vishwakarma(1)
Rijwan Ansari(1)
Abhishek Yadav(1)
Divyansh Gupta(1)
Sangeetha S(1)
Bhawna Vishwakarma (1)
Jochen Bartlau(1)
Vijay Pratap Singh(1)
Mohammad Hasan Hosseini(1)
Shafaet Hossain(1)
George (1)
Harsh Sharma(1)
Varun Setia(1)
Kirtesh Shah(1)
Federico Di marco(1)
Vishal Yelve(1)
Prakashkumar Sahoo(1)
Harshad Jaybhay(1)
Oleg Litvinov(1)
Resources
No resource found
Mastering Dependency Injection in ASP.NET Core – Complete Beginner to Advanced Guide
Nov 23, 2025.
This article provides a complete and detailed understanding of Dependency Injection (DI) in ASP.NET Core, covering everything from basic concepts to advanced topics such as IoC containers, service lifetimes, middleware injection, captive dependency issues, and multiple service implementations. With real-world examples, clean architecture explanations, and interview-oriented insights, this guide helps developers build scalable, maintainable, and testable applications while improving their professional knowledge and .NET development skills.
6 Types of Filters in ASP.NET Core – Complete Guide (With Examples & Use Cases)
Nov 23, 2025.
This article provides a complete and detailed explanation of the 6 types of Filters in ASP.NET Core, including Authorization, Resource, Action, Endpoint, Exception, and Result Filters. Each filter type is described in a clear and practical way with syntax examples, real project scenarios, and line-by-line breakdowns to help learners understand how filters work in the MVC and Web API pipeline. This guide is ideal for developers, students, and professionals preparing for .NET interviews or working on enterprise-level ASP.NET Core applications.
ASP.NET WebForms to ASP.NET Core MVC – Feature Comparison, Purpose & Examples
Nov 22, 2025.
Migrating from WebForms to ASP.NET Core MVC? This guide provides a feature-by-feature comparison with examples, covering Razor views, controllers, and more for modern web development.
From Server Controls to Tag Helpers in ASP.NET Core – A Complete Guide with Examples
Nov 22, 2025.
Migrate from ASP.NET WebForms Server Controls to ASP.NET Core Tag Helpers. Learn how to build modern, performant web apps with clean HTML and strong typing.
ASP.NET Core MVC Full Beginner Roadmap
Nov 22, 2025.
Your complete guide to ASP.NET Core MVC! This beginner-friendly roadmap takes you from zero to job-ready with step-by-step instructions and practical examples. Learn C#, MVC, EF Core and build CRUD operations.
How ASP.NET Core MVC Performs CRUD Without SQL Queries | Beginner-Friendly EF Core
Nov 22, 2025.
Master ASP.NET Core MVC CRUD operations without writing SQL queries! Learn EF Core, DbContext, DbSet, and Models for efficient data management. Beginner-friendly tutorial.
Understanding How .cshtml Views Find the Correct Controller in ASP.NET Core MVC
Nov 22, 2025.
Demystifying ASP.NET Core MVC! Learn how .cshtml views connect to controllers through routing, naming conventions, and the `return View()` method. Master the MVC workflow!
Understanding How .cshtml Views Find the Correct Controller in ASP.NET Core MVC
Nov 22, 2025.
Demystifying ASP.NET Core MVC! Learn how .cshtml views connect to controllers through routing, naming conventions, and the `return View()` method. Master the MVC workflow!
Middlewares in ASP.NET Core — The Ultimate Detailed Guide
Nov 20, 2025.
This article provides a highly detailed and comprehensive guide to Middlewares in ASP.NET Core, covering the complete request-processing pipeline, middleware architecture, built-in and custom middlewares, real-world use cases, microservices integration, performance tuning, and essential interview concepts. It is designed for beginners, intermediate developers, and professionals preparing for .NET interviews or building enterprise web applications.
Create ASP.NET Core MVC Application
Nov 21, 2025.
Learn to build your first ASP.NET Core MVC application using Visual Studio 2022 and .NET 7. This tutorial guides you through project creation, setup, and running the default application, step-by-step.
ASP.NET Core MVC Project Structure
Nov 21, 2025.
Explore the ASP.NET Core MVC project structure (.NET 7). Understand the purpose of each file & folder: Solution, Project, Dependencies, Controllers, Views, & more. Essential for .NET developers!
What You Can & Cannot Do in CSHTML (Razor Views)
Nov 21, 2025.
Unlock the power of CSHTML in ASP.NET Core! This guide contrasts Razor views with Web Forms, covering what's possible (and not) with code examples and Tag Helpers. Master modern web development!
Understanding Dependency Injection (DI) In ASP.NET Core — A Beginner-Friendly Guide
Nov 14, 2025.
Unlock the power of Dependency Injection (DI) in ASP.NET Core! This beginner-friendly guide provides clear explanations and practical examples for cleaner, testable code.
C# 14: The Next Step in Language Evolution for .NET 10
Nov 12, 2025.
Explore C# 14's new features in .NET 10: extension members, field keyword, null-conditional assignment, span improvements, and more. Boost code clarity and performance!
What you need to know about Extension Members in C#
Nov 09, 2025.
Learn how to extend existing types without modification, adding functionality and improving code readability.
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.
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.
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 Pro Setup Guide Part 2 - Visual Studio, CLI, Extensions & Workflow Optimization
Oct 15, 2025.
Elevate your ASP.NET Core development skills! This comprehensive guide (Part 2 of a series) transforms your environment into a professional powerhouse. Master Visual Studio & VS Code configuration, .NET CLI, essential extensions, debugging, Git, Docker, CI/CD, and performance optimization. Boost productivity and build enterprise-grade applications with ease. Set up your development environment like a seasoned pro!
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.
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.
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!
Getting started with the Shopify Extension for Gemini CLI
Oct 09, 2025.
Unlock the power of AI in your Shopify store with a Gemini CLI extension! This guide explores how to build or use a community-driven extension to connect Google's Gemini AI model to your Shopify data. Automate tasks, analyze sales, optimize inventory, and enhance customer support using natural language prompts and powerful tool integrations. Learn about setup, authentication, advanced features, and real-world use cases to revolutionize your ecommerce workflow.
Three Ways to Define Middleware in .NET Core (with Examples)
Oct 09, 2025.
Unlock the power of .NET Core middleware! This article explores three distinct methods for defining middleware: inline, custom, and extension methods. Learn when to use each approach with practical examples for logging, diagnostics, and request processing. Discover how to build composable pipelines for robust and maintainable .NET Core applications. Choose the right technique for quick prototypes or complex, reusable components, and elevate your .NET Core development skills.
How to build a custom extension (plugin) for Gemini CLI?
Oct 09, 2025.
Unlock the full potential of Gemini CLI by building custom extensions! This comprehensive guide walks you through designing, developing, testing, and publishing your own Gemini CLI extension. Learn to integrate custom tools, APIs, and domain knowledge, create shareable workflows, and enhance your terminal AI agent with tailored functionality. Includes practical examples, security best practices, and a ready-to-download project to get you started quickly. Supercharge your productivity and streamline your development process with Gemini CLI extensions!
The Future of Azure Data Studio: What’s Next for SQL Development?
Oct 04, 2025.
Azure Data Studio (ADS) is being retired in favor of Visual Studio Code (VS Code) for SQL development. This article outlines the key benefits of migrating to VS Code, including improved performance, a vast extension marketplace, unified development experience, and long-term support.
C# 14 Extension Members: A Deep Dive Into Power, Patterns, and Pitfalls
Oct 01, 2025.
C# 14 introduces extension members, expanding the capabilities of extension methods to include properties, indexers, operators, and events. This feature enhances API design by allowing developers to enrich existing types without modification, leading to cleaner code, improved modularity, and better interoperability. Learn how to leverage extension members for more expressive and maintainable code.
C# Guid Helper Extension
Oct 01, 2025.
Enhance your .NET projects with the GuidHelper extension! This helper provides methods for safely parsing, validating, and manipulating Guids. Easily check for empty Guids, parse strings into Guids (or return null/empty), and extract lists of Guids from delimited strings. Includes comprehensive unit tests and usage examples for seamless integration into your .NET Core or .NET 6/7/8 projects, ensuring robust and reliable Guid handling.
C# 14 Extension Members: Complete Guide with Examples, Pros & Cons
Sep 24, 2025.
C# 14 introduces extension members — a powerful upgrade from extension methods. Learn what they are, how they work, see examples, benefits, and limitations.
$100K H-1B Visa Rule: Who’s Affected and Who’s Not
Sep 21, 2025.
The U.S. just announced a $100,000 fee for new H-1B visas. Find out who is affected, who is safe, and how this impacts U.S. companies, Indian IT firms, and international students.
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.
HTML Tag Helpers vs. Tag Helpers in ASP.NET Core
Sep 11, 2025.
Confused about HTML Tag Helpers vs. ASP.NET Core Tag Helpers? This article clarifies the differences between standard HTML elements and ASP.NET Core's server-side helpers. Learn how Tag Helpers enhance Razor views with C# logic, improve SEO with clean URLs, and simplify model binding. Discover practical examples and benefits for cleaner, more maintainable ASP.NET Core web applications. Understand when and why to use each for optimal web development.
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.
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.
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.
Files, Directories, and I/O: The Fundamentals of Data Management
Aug 14, 2025.
Files and directories are core elements of data storage. Files hold information, while directories organize them in a structured hierarchy, enabling efficient data management, access, and retrieval in computer systems.
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.
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
🧾 Creating Custom Middleware in ASP.NET Core – The Complete Guide with Real Examples
Jul 29, 2025.
ASP.NET Core is known for its modular pipeline, where middleware components play a critical role in handling HTTP requests and responses. Middleware can perform a variety of tasks such as request logging, authentication, routing, response modification, error handling, and more.
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.
GitHub Copilot: New Features Transform Developer Workflows
Jul 15, 2025.
GitHub Copilot introduces powerful updates like Agent Mode, smarter chat, commit message generation, and .NET enhancements, transforming it into a true AI coding assistant for faster, context-aware development.
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.
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.
Mastering LINQ in C#
Jun 25, 2025.
Language Integrated Query (LINQ) is a game-changer in C#. It brings SQL-like data querying capabilities directly into your C# code, making data manipulation more intuitive, type-safe, and readable.
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.
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.
Using Built-in Handlebars Helpers in SPFx: A Practical Guide
May 30, 2025.
When building SharePoint Framework (SPFx) web parts, we often need to show lists or dynamic data. Writing all the HTML with logic mixed in can get confusing. Handlebars helps by separating your layout from your logic.
Templatization in SPFx Using Handlebars Helpers: Dynamic UI Made Simple
May 28, 2025.
The SharePoint Framework (SPFx) provides a powerful way to build modern, client-side web parts for SharePoint. But when building dynamic, data-driven UIs, mixing logic with JSX can quickly become messy and hard to maintain. This is where Handlebars.js comes into play.
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.
Building a School Administration Solution with C# 14 and .NET 9
May 01, 2025.
Build a scalable School Administration System using C# 14 and .NET 9. Leverage features like primary constructors, minimal APIs, and performance optimizations to manage student info, attendance, grades, schedules, and more.
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.
ScopedValueChanger<T> - A very helpful Generic Helper Class to Temporary Change Values
Apr 25, 2025.
This article explores the ScopedValueChanger<T> class, a utility designed to manage temporary value modifications with automatic restoration. Implementing the IDisposable interface ensures that changes made within a scoped context are reversed, maintaining application state integrity.
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.
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.
High Performance of LoggerMessage in Microsoft.Extensions.Logging
Mar 08, 2025.
LoggerMessage in Microsoft.Extensions.Logging provides high-performance logging by reducing memory allocations and improving efficiency. Unlike traditional logging methods, it uses precompiled delegates to format log messages, making it faster.
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#.
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.
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.
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.
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.
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.
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.
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.
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.
Using New Generative AI Unified Approach by Microsoft
Nov 16, 2024.
In this article, we will learn about the Microsoft.Extensions.AI package that is intended to unify and standardize generative AI in .NET
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.
How to Create a ListView Command Set Extension
Nov 12, 2024.
A ListView Command Set extension in SharePoint customizes the command bar or context menu of lists/libraries. It allows adding buttons that trigger custom actions, such as displaying alerts, showing selected items, or integrating with external systems.
How to Create Field Customizer Extension
Nov 11, 2024.
Extensions are client-side components that run inside the context of a SharePoint page. Extensions can be deployed to SharePoint Online, and you can use modern JavaScript tools and libraries to build them.
Fededim.Extensions.Configuration.Protected.DataProtectionAPI: The Ultimate Integration between ASP.NET Configuration and Data Protection API
Nov 05, 2024.
Fededim.Extensions.Configuration.Protected is an improved ConfigurationBuilder which allows partial or full encryption of configuration values stored inside any possible ConfigurationSource and fully integrated in the ASP.NET Core architecture.
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.
Create a Data Visualization Adaptive Card Extension
Oct 24, 2024.
Creating a Data Visualization Adaptive Card Extension (ACE) for SharePoint Online using the SharePoint Framework (SPFx) involves building a custom ACE component to display visual data in the form of charts or other visual elements.
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.
What are Different File Extension in .NET
Sep 23, 2024.
This article explores key file extensions in ASP.NET, including.ASPX for web pages, which combine HTML and server-side code to generate dynamic content, and .CS for C# source files, essential for defining application logic.
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.