C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
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(24)
Riya Patel(11)
Aarav Patel(10)
Saurav Kumar(9)
Nidhi Sharma(6)
Ananya Desai(6)
Rikam Palkar(5)
Niharika Gupta(4)
Abiola David(3)
Mahesh Chand(3)
Brajesh Kumar(2)
Tuhin Paul(2)
Sardar Mudassar Ali Khan (2)
Vipin Mittal(2)
subramanya m(2)
Ketan Sathavara(1)
Ng Cheehou(1)
Rama Dabburi(1)
Ifan Jaya Suswanto Zalukhu(1)
Rohit Gupta(1)
Sagar Rane(1)
Love Thakker(1)
Deepika Sawant(1)
Carl Walker(1)
Resources
No resource found
Graph Databases vs Relational Databases: Choosing the Right Model
Jul 03, 2026.
Graph vs. Relational Databases: Understand strengths, weaknesses, and use cases to choose the right data model for your application.
Running Production Workloads on ARM Servers: Benefits and Challenges
Jul 03, 2026.
Explore ARM servers for production workloads: benefits like cost savings & efficiency, challenges like compatibility, and migration strategies.
Optimizing Entity Framework Core Queries for Large-Scale Applications
Jul 02, 2026.
Optimize EF Core queries for large-scale apps. Learn techniques like projection, AsNoTracking, pagination, and indexing for peak performance.
PostgreSQL vs SQL Server for Modern .NET Applications
Jul 02, 2026.
Compare PostgreSQL vs SQL Server for .NET apps. Explore licensing, performance, cloud, JSON, and scalability to choose the best fit.
How to Convert Text into Currency ($) Format in Power Apps
Jul 01, 2026.
Learn to format numbers as currency in Power Apps using the Text() function for professional and readable financial data display.
Building AI-Powered Database Query Optimization Tools with SQL Server and .NET
Jun 30, 2026.
Build AI-powered SQL Server query optimization tools with .NET. Automate performance analysis, detect bottlenecks, and get intelligent recommendations.
Building an AI-Driven Database Query Performance Analyzer with .NET and SQL Server
Jun 30, 2026.
Build an AI-driven .NET and SQL Server analyzer to boost database query performance, reduce troubleshooting time, and enhance application responsiveness.
Building AI-Powered Database Query Optimization Advisors with ASP.NET Core
Jun 29, 2026.
Build an AI-powered database query optimization advisor with ASP.NET Core, EF Core, and Azure OpenAI for faster queries, reduced costs, and improved scalability.
Microsoft Fabric Update: You Can Now Adjust Column Width in the SQL Analytics Endpoint User Interface
Jun 26, 2026.
This article is about the new feature in Microsoft Fabric that allows you to adjust column width
Building Flexible EF Core Queries with Query Objects
Jun 27, 2026.
Master EF Core query flexibility with Query Objects. Build reusable, composable queries for maintainable, efficient data retrieval.
Building AI-Powered SQL Query Performance Advisors with Entity Framework Core
Jun 26, 2026.
Build AI-powered SQL query advisors with Entity Framework Core to automatically detect bottlenecks, optimize performance, and boost application responsiveness.
Intelligent Database Index Optimization Using AI and SQL Server
Jun 26, 2026.
Leverage AI and SQL Server DMVs with .NET to build intelligent index optimization, boosting performance and reducing manual tuning.
Why Every Databricks Data Engineer Should Audit Their Query History
Jun 24, 2026.
Audit Databricks query history to identify and optimize costly, long-running queries, ensuring financial governance and platform performance.
N-Digit Numbers with Strictly Increasing Digits
Jun 25, 2026.
Generate n-digit numbers with strictly increasing digits. Efficiently construct valid sequences using recursion and backtracking.
Maximum Number of People Defeated
Jun 23, 2026.
Find the max people defeated by strength p. Uses sum of squares formula & binary search for efficient O(log n) solution.
Last Digit of a^b for Very Large Numbers
Jun 20, 2026.
Find the last digit of a^b for huge numbers. Learn about cyclicity of last digits and efficient modulo operations for large exponents.
📖 Building a Web-Based Timesheet Management System in ASP.NET Core
Jun 19, 2026.
Build a robust ASP.NET Core MVC timesheet system with SQL Server. Features include entry, allocation, approvals, auth, reporting & deployment.
Building an Inventory & Order Management System in ASP.NET Core (Setup & Core Features) Part 1
Jun 19, 2026.
Build an ASP.NET Core Inventory & Order Management System. Part 1 covers project setup, core features like Product, Category, Supplier, and Customer CRUD.
Context Window Limits in LangGraph with Real time Use Case
Jun 17, 2026.
Master LangGraph context window limits with memory management strategies like trimming and summarization for real-time AI agents.
How to Implement AI-Assisted Database Query Optimization in ASP.NET Core
Jun 17, 2026.
Boost ASP.NET Core app performance with AI-assisted database query optimization. Learn to identify bottlenecks, get recommendations, and improve productivity.
Event Driven Architecture backdrop or workflow orchestration
Jun 16, 2026.
This article explains workflow orchestration, a technology prior to Event Driven Architecture.. if you understand this, you will easily understand event driven architecture
Building AI-Powered SQL Assistants with Semantic Kernel and .NET
Jun 16, 2026.
Build AI-powered SQL assistants with Semantic Kernel and .NET to unlock data insights. Empower users with natural language queries and secure data access.
Construct List Using XOR Queries – Efficient Reverse Processing Approach
Jun 16, 2026.
Efficiently construct a list using XOR queries by processing in reverse. Avoids costly array updates with bit manipulation.
Context Window Optimization Techniques for Large-Scale AI Applications
Jun 15, 2026.
Optimize LLM context windows for scalable AI apps. Reduce costs, latency, and improve response quality with smart retrieval & summarization.
Kiro as AI Partner for MS SQL Server Optimization on .NET Core: What Used to Take Days Now Takes Hours
Jun 14, 2026.
Kiro optimizes MS SQL Server for .NET Core by analyzing code & queries, transforming days of work into hours. Learn how AI partners with developers.
India’s Own AI Server: What It Is and How India Can Build a Self-Reliant AI Infrastructure
Jun 11, 2026.
Learn what India’s own AI server means, how AI servers work, why India needs sovereign AI infrastructure, and how Indian organizations can build and scale AI-ready data centers.
Building Production-Ready Local AI Solutions with Windows AI Foundry
Jun 12, 2026.
Unlock production-ready local AI on Windows with Windows AI Foundry. Enhance privacy, reduce costs, and boost performance.
5 Sneaky .NET & EF Core Bugs That Will Crash Your App
Jun 11, 2026.
Discover 5 hidden .NET & EF Core bugs causing app crashes, from concurrency issues to silent query filters. Learn how to fix them!
Windows Coreutils for Developers: Bringing Linux Commands Natively to Windows
Jun 11, 2026.
Windows Coreutils brings Linux commands like ls, cat, and grep natively to Windows, boosting developer productivity and cross-platform consistency.
WSL Containers Explained: A New Alternative to Docker Desktop for Windows Developers
Jun 11, 2026.
WSL Containers offer Windows developers a faster, more efficient alternative to Docker Desktop for running Linux containers locally.
Developer Environment as Code: Automating Workstation Setup with WinGet Configuration Files
Jun 11, 2026.
Automate Windows workstation setup with WinGet Configuration Files. Achieve consistent, repeatable developer environments for faster onboarding and reduced drift.
Intelligent Terminal in Windows: How AI-Powered Command Lines Improve Developer Productivity
Jun 11, 2026.
AI-powered intelligent terminals boost Windows developer productivity by simplifying command discovery, error resolution, and script generation.
Local-First AI Development: Running Enterprise Models on Windows PCs
Jun 11, 2026.
Explore Local-First AI Development: run enterprise models on Windows PCs for enhanced privacy, reduced costs, and lower latency.
Overcoming Context Window Saturation in Multi-Hundred-Page FMCG Documents
Jun 11, 2026.
Overcome LLM context window saturation for FMCG documents with RAG, FastAPI, React, and Gemini 1.5 Flash.
Local AI Inference in .NET: Running Models on Windows Without Cloud APIs
Jun 10, 2026.
Run AI models locally on Windows with .NET. Explore ONNX Runtime, Ollama, and hardware acceleration for private, fast, and cost-effective AI.
Maximum Visible People in a Line Using Monotonic Stack
Jun 09, 2026.
Find the maximum number of people visible in a line. This problem is solved efficiently using a monotonic stack to find previous and next greater elements.
CQRS in ASP.NET Core: Practical Scenarios Where It Actually Makes Sense
Jun 09, 2026.
Explore CQRS in ASP.NET Core: understand its benefits, when it truly makes sense, and avoid overengineering simple applications.
Number of Valid Parentheses – Catalan Number Pattern
Jun 09, 2026.
Unlock the secret to counting valid parentheses! Discover the Catalan Number pattern and solve this common coding challenge efficiently.
Model Context Protocol (MCP) Security: Preventing Prompt Injection and Tool Hijacking
Jun 08, 2026.
Learn how to secure Model Context Protocol (MCP) applications by preventing prompt injection, tool hijacking, unauthorized access, and other AI security threats using proven enterprise security practices.
Context Engineering for AI Applications: Beyond Prompt Engineering
Jun 08, 2026.
Learn how context engineering goes beyond prompt engineering by optimizing retrieval, memory, tool outputs, and information pipelines for enterprise AI applications in .NET.
Count Valid Parentheses Expressions Using Catalan Numbers
Jun 08, 2026.
Given a length n, count the number of valid parentheses expressions that can be formed. The solution is based on the Catalan Number formula, where the number of valid expressions with n/2 pairs of parentheses equals the (n/2)-th Catalan number. This yields an O(n) time and O(1) space solution.
How to Build Custom MCP Servers in C# for Enterprise AI Applications
Jun 08, 2026.
Learn how to build custom MCP servers in C# for enterprise AI applications. Discover MCP architecture, security best practices, tool development, authentication, and real-world integration patterns.
How MCP Apps Are Changing AI Tool Integration Workflows
Jun 08, 2026.
Learn how MCP Apps are transforming AI tool integration workflows by providing standardized access to APIs, databases, business systems, and enterprise resources through the Model Context Protocol.
Adding Two Numbers Represented by Linked Lists
Jun 06, 2026.
Learn how to add two numbers represented by linked lists using an efficient O(n + m) approach. Understand the concept, reversing linked lists, carry handling, and Java solution with detailed explanation.
Count Elements in a Given Range Using Sorting and Binary Search
Jun 06, 2026.
This problem involves finding the number of elements in an unsorted array that lie within a given range [a, b] for multiple queries. A naive approach would check each element for every query, resulting in high time complexity. A more efficient solution uses sorting and binary search: Sort the array to enable fast searching. For each query [a, b]: Use a lower bound search to find the first element = a. Use an upper bound search to find the first element > b. The difference between these indices gives the count of elements in the range. This approach significantly reduces time complexity to O(n log n + q log n) while keeping space usage minimal. It’s a classic example of combining sorting with binary search to handle range-based queries efficiently.
Count Elements Within a Range Using Sorting and Binary Search
Jun 06, 2026.
Learn how to efficiently count array elements within given ranges using sorting and binary search. Includes intuition, lower bound and upper bound concepts, complexity analysis, and Java solution.
Find the Kth Missing Positive Number Using Binary Search
Jun 06, 2026.
This article explains how to efficiently find the kth missing positive number in a sorted array. Using the insight that the number of missing numbers before an index i is arr[i] - (i+1), the problem can be solved with binary search, reducing time complexity from O(n + k) to O(log n). The article includes step-by-step examples and a clear Java implementation.
SQL Server Performance Tuning Techniques for Modern Applications
Jun 05, 2026.
Learn SQL Server performance tuning techniques including indexing, query optimization, execution plans, statistics management, and database best practices.
Building Multi-Tenant SaaS Applications in ASP.NET Core
Jun 05, 2026.
Learn how to build multi-tenant SaaS applications in ASP.NET Core. Explore tenant isolation, architecture models, EF Core filtering, and security best practices.
API Versioning in ASP.NET Core: Best Practices and Common Mistakes
Jun 05, 2026.
Learn API Versioning in ASP.NET Core with practical examples. Explore versioning strategies, best practices, common mistakes, and implementation techniques.
Remove K Digits Problem – Greedy Stack Approach to Find the Smallest Number
Jun 05, 2026.
Learn how to solve the “Remove K Digits” problem using a greedy monotonic stack approach. This article explains how to efficiently remove k digits from a number string to form the smallest possible result while maintaining digit order, along with a Java implementation and clear intuition.
Entity Framework Core Interceptors: Real-World Use Cases and Examples
Jun 05, 2026.
Learn Entity Framework Core Interceptors with real-world examples. Implement auditing, soft deletes, SQL logging, and performance monitoring in EF Core applications.
SQL Server Performance Tuning Techniques for Modern Applications
Jun 05, 2026.
Learn how to build scalable background services using .NET Worker Services. Process queues, run scheduled jobs, and create reliable cloud-native applications.
Building AI Agents with Model Context Protocol (MCP) Step by Step
Jun 05, 2026.
Learn how to build AI agents with Model Context Protocol (MCP). Explore MCP architecture, tools, servers, clients, and step-by-step implementation examples.
How to Implement Rate Limiting in ASP.NET Core Applications
Jun 05, 2026.
Learn how to implement Rate Limiting in ASP.NET Core applications using built-in middleware. Explore Fixed Window, Sliding Window, and Token Bucket strategies.
Azure Managed Identity Explained with Real-World Examples
Jun 03, 2026.
Learn Azure Managed Identity with real-world examples. Discover how to securely access Azure resources without storing passwords, secrets, or connection strings.
Getting Started with Claude AI
Jun 03, 2026.
Introduction to Anthropic Claude AI and step by step installation of Claude Desktop.
Implementing Row-Level Security in SQL Server
Jun 03, 2026.
Learn how to implement Row-Level Security in SQL Server. Secure data access, restrict rows by user, and simplify multi-tenant application security.
Database Connection Pooling Explained with Examples
Jun 03, 2026.
Learn Database Connection Pooling with practical examples. Understand how connection pools improve performance, scalability, and database efficiency.
Linux systemd Tutorial: Create and Manage Custom Services
Jun 03, 2026.
Learn Linux systemd with step-by-step examples. Create, manage, monitor, and automatically start custom services on Linux servers.
Mutual TLS (mTLS) Authentication for Secure APIs
Jun 03, 2026.
Learn Mutual TLS (mTLS) authentication for secure APIs. Understand how mTLS works, its benefits, use cases, and best practices for API security.
Linux Server Monitoring: Essential Commands Every Developer Should Know
Jun 03, 2026.
Learn essential Linux server monitoring commands including top, htop, free, df, ps, ss, and journalctl to troubleshoot and manage servers effectively.
Hosting Persistent DevOps Tools on an Azure Windows VM using Docker
Jun 03, 2026.
SQL Join Optimization: Improve Query Performance on Large Tables
Jun 03, 2026.
Learn SQL Join Optimization techniques to improve query performance on large tables using indexes, execution plans, filtering, and SQL Server best practices.
Using the COPY INTO Command to Load Data from Fabric Lakehouse to Fabric Warehouse
Jun 01, 2026.
In this article, I demonstrated how to use the COPY INTO Command to Load Data from Microsoft Fabric Lakehouse to Fabric Warehouse
The Future of Windows Development in an AI-First World
Jun 01, 2026.
AI is transforming Windows development! Learn how AI-first approaches, local AI processing, and intelligent automation are shaping the future of Windows apps.
How Context Windows Are Becoming the New Scalability Problem in AI Applications
May 29, 2026.
Context windows are AI's new scalability bottleneck. Learn how large context impacts cost, latency, & accuracy, and how engineers are optimizing for efficiency.
SQL Injection: Complete Guide with Examples and Proper Solutions
May 21, 2026.
Master SQL Injection: Understand attack types, real-world examples, and robust solutions. Learn to protect your applications with best practices and secure code.
Complete Guide to ASP.NET Core API Security
May 21, 2026.
Comprehensive guide to ASP.NET Core API security, covering authentication, authorization, encryption, and best practices from beginner to advanced levels. Protect your APIs!
SharePoint Server 2016 and 2019 Retirement: What IT Professionals Need to Know
May 21, 2026.
SharePoint Server 2016 & 2019 reach end of life in 2026. Learn your migration options: SharePoint Online, Subscription Edition, or hybrid. Plan now to avoid risks!
Difference Between + and parseInt() in javascript
May 13, 2026.
Unlock the nuances of JavaScript number conversion! This guide clarifies the distinctions between the unary `+` operator and `parseInt()`, highlighting their unique behaviors and ideal use cases for efficient coding. Master number parsing today!
Count of repeating character patterns in a string using MySQL
May 13, 2026.
Discover how to count repeating character patterns in strings using MySQL. This tutorial provides a step-by-step guide with code examples for text analysis and pattern recognition.
Schrödinger's AI Part 14.4: ReviewMyCode MCP Server: Deployment, Docker, and Testing
May 10, 2026.
Deploy your C# code review server with Docker! This guide covers Dockerizing the ReviewMyCode MCP server, testing, and integrating with Cursor & Claude.
Schrödinger's AI Part 14.1: ReviewMyCode MCP Server: Foundation and Architecture
May 09, 2026.
Build a production-ready MCP server for C# code review! This article covers foundation, architecture, DI, and MCP transport for AI code analysis.
Schrödinger's AI Part 14.2: ReviewMyCode MCP Server: Core Implementation
May 10, 2026.
Let me show you how to create MCP server for code review
Schrödinger's AI Part 14.3: ReviewMyCode MCP Server: Rules & Extensibility
May 10, 2026.
Let me teach you how to create MCP server in .Net to review your C# code
How to Get the Most Out of Your Claude Pro Account
May 07, 2026.
Maximize your Claude Pro account! A developer's guide to usage, smart habits, and workflow strategies for brainstorming, coding, testing, and more. Last a month!
Schrödinger's AI Part 13: Let’s Build an MCP Server with .NET
May 06, 2026.
Build an MCP (Model Context Protocol) server with .NET! This tutorial guides you through creating a weather app server, connecting it to AI clients, and leveraging external tools.
What is Query Execution Plan in SQL Server and How to Analyze It?
May 04, 2026.
Unlock SQL Server query performance! Learn to analyze execution plans, identify bottlenecks like table scans, and optimize queries with indexes for faster, scalable databases.
How to Implement Soft Delete in SQL Server Using Flag Columns
May 04, 2026.
Implement soft delete in SQL Server using flag columns for data preservation, audit trails, and recovery. Learn best practices, advantages, and real-world use cases.
Claude vs ChatGPT: Which AI Platform Is Better in 2026?
Apr 30, 2026.
Claude vs ChatGPT comparison for developers, businesses, writers, and AI builders. Learn differences in coding, reasoning, memory, AI agents, token usage, enterprise AI, pricing, and real world applications.
Why Claude Uses So Many Tokens and How Developers Can Reduce AI Costs
Apr 30, 2026.
Learn why Claude consumes large numbers of tokens, what causes high AI costs, and how developers can reduce token usage using smarter prompts, context engineering, Claude.md optimization, and AI architecture strategies.
Minimum Window Subsequence
Apr 30, 2026.
A detailed guide to solving the Minimum Window Subsequence problem using a greedy two-pointer approach. The article explains how to find the smallest substring in a string that contains another string as a subsequence, using forward scanning to match characters and backward scanning to minimize the window. It includes step-by-step intuition, dry run, and an optimized O(n × m) solution suitable for coding interviews.
How to Check If a Stored Procedure Exists in SQL Server
Apr 29, 2026.
A comprehensive guide explaining how to check whether a stored procedure exists in SQL Server using multiple methods such as INFORMATION_SCHEMA, sys.procedures, OBJECT_ID, and SSMS UI. The article also highlights practical use cases, best practices, and common issues developers face while validating stored procedures across different environments like development and production.
SQL Optimization Techniques
Apr 28, 2026.
SQL Optimization Techniques
Number of BSTs From Array
Apr 27, 2026.
Calculate the number of unique Binary Search Trees (BSTs) possible for each element in an array as the root. Leverages Catalan numbers for efficient computation.
Max Sum Subarray of Size K
Apr 27, 2026.
Master the sliding window technique to find the maximum sum subarray of size K. This guide provides a clear explanation, Java code, and complexity analysis.
Count Subarrays with K Odd Numbers
Apr 27, 2026.
Master the 'Count Subarrays with K Odd Numbers' problem using the sliding window and 'atMost(k) - atMost(k-1)' technique. Optimize your coding interview prep with this O(n) solution!
Form the Largest Number
Apr 27, 2026.
Master the largest number problem! Learn how to use custom comparators and greedy algorithms to arrange integers for maximum value. Perfect for coding interviews!
Subarrays With At Most K Distinct Integers
Apr 27, 2026.
A detailed guide to solving the Subarrays With At Most K Distinct Integers problem using the sliding window technique. Learn the intuition, step-by-step approach, dry run examples, and optimized Java implementation with O(n) time complexity. Perfect for coding interviews and mastering array-based problems.
Smallest Window Containing ‘0’, ‘1’, and ‘2’
Apr 27, 2026.
Master the Sliding Window technique! This guide solves the 'Smallest Window Containing 0, 1, and 2' problem with clear explanations, examples, and Java code. Find the shortest substring efficiently!
Substrings With Exactly K Distinct Characters
Apr 27, 2026.
Learn how to efficiently solve the Substrings With Exactly K Distinct Characters problem using the sliding window technique. This guide explains the key insight of converting the problem into “at most K” subproblems, includes step-by-step intuition, dry run examples, and an optimized Java solution with O(n) time complexity and constant space.
Count Distinct Elements in Every Window
Apr 27, 2026.
Master the sliding window technique! Learn how to efficiently count distinct elements in every window of an array using a HashMap. Java solution and complexity analysis included.
How to Connect SQL Server with C# Using Entity Framework Core
Apr 23, 2026.
Learn how to connect SQL Server to your C# application using Entity Framework Core. This tutorial covers setup, migrations, CRUD operations, and common pitfalls.
How to Fix SQL Server Allocation Errors and Recover Corrupted Databases
Apr 23, 2026.
Fix SQL Server allocation errors and recover corrupted databases using DBCC CHECKDB or a professional SQL repair tool. Learn to detect and prevent these errors.
Number of Ways to Arrive at Destination
Apr 22, 2026.
Master Dijkstra's Algorithm to find the shortest path and count unique routes to a destination in a weighted graph. Includes Java code and complexity analysis.
What is database indexing strategy for large-scale applications?
Apr 22, 2026.
Optimize large-scale apps with database indexing! Boost performance, reduce query time, and improve user experience. Learn strategies for efficient data retrieval.
How to implement full-text search in SQL Server with example
Apr 22, 2026.
Step-by-Step Implementation with Example
Count Increasing Subarrays
Apr 22, 2026.
Learn how to efficiently count strictly increasing subarrays in an array using an optimized O(n) approach. This article explains the concept step-by-step by breaking the array into increasing segments and applying a mathematical formula to count valid subarrays. Includes a clear Java implementation, dry run examples, and edge case analysis—perfect for beginners and coding interview preparation.
How to implement API versioning using URL, header, and query string in ASP.NET Core?
Apr 22, 2026.
Master API versioning in ASP.NET Core! Learn to implement URL, query string, and header versioning for backward compatibility and seamless API evolution. Keep your apps stable!