Recent posts tagged c#

Description for Tag: "c#"

A modern, object-oriented programming language developed by Microsoft for building a variety of applications.
Level UI • 19 hours • in Articles • 9 min read
Somewhere in the last year, "do we need an MCP server?" joined the list of questions that arrive in a brief before anyone has said what the thing is for. It is usually framed as MCP vs API, as though the Model Context Protocol were a newer kind of AP...
post-cover-33074
  • ai
  • api
  • webdev
  • security
Arumon • 5 days • in Articles • 2 min read
Your Passwords Are Probably Sitting in the Browser's "Shared Drawer" Here's an uncomfortable fact to start with: nearly half of all internet users store their passwords in a browser. According to a NordPass survey across eight countries, 40–50% of r...
post-cover-32400
  • cybersecurity#opensource
  • security
  • c#
  • password
Spyros • Oct 19 • in Articles • 1 min read
For years, C# interfaces were limited strictly to instance members. If you wanted to define a contract requiring a class or struct to implement a static method like a string parser or a factory method you had to rely on reflection, runtime type che...
  • c#
  • dotnet
Spyros • Oct 12 • in Articles • 2 min read
Moving from backend C# and enterprise patterns into native mobile development can feel like stepping into a whole new world. But after building my very first mobile app using Kotlin, the experience was a revelation—the syntax felt natural, the deve...
  • mobile-development
  • kotlin
  • c#
rovenpowel • Oct 11 • in Articles • 1 min read
As a C++ developer, I enjoy solving complex problems, writing clean code, and building software that performs efficiently. For me, programming is not just about making something work; it’s about understanding how it works and finding better ways to s...
  • c
  • c#
  • softwaredevelopment
  • programming
Arumon • Oct 5 • in Articles • 1 min read
What Is Undefined Behavior UB and Why Is It Dangerous? In languages like Python or Java, a program either works or throws an error. In C and C++, things are different. Here we have UB — undefined behavior. This is a situation where the language stan...
post-cover-29876
  • cybersecurity#opensource
  • securityarchitecture#networksecurity
  • promts#tools#fun
  • c#
Spyros • Sep 1 • in Articles • 2 min read
Stop Hardcoding Business Rules: Building a Dynamic Workflow Engine in C Sharp Every growing C# application eventually hits a wall: business logic becomes a tangle of deeply nested if/else checks scattered across service layers. Every time marketing...
  • c#
  • workflow
  • rulengine
Aaron Jenis • Aug 17 • in Articles • 1 min read
F# vs C#: The Difference Is More Than Syntax I’m posting this because, although most developers already know it, it’s worth revisiting. F# and C# both run on .NET, share the same runtime, libraries, tooling, and ecosystem, but they encourage very d...
  • c#
  • softwaredevelopment
Dr. rossi • Jul 25 • in Articles • 1 min read
Vector of pointers c++ In this tutorial we gonna learn about vector of pointers. First we will see what are vectors and pointers. then in next section we are going to learn about the methods of...
  • c#
  • victor
  • pointer
Spyros • Jul 13 • in Articles • 11 min read
You built a nice domain model with rules and private properties — but EF Core wants simple classes with public get; set;. Don't worry. This guide shows you how to save DDD models to the database without messing up your code. Short sentences. Real ex...
  • c#
  • efcore
Tom Smithverified • 16 hours • in Articles • 9 min read
Security dominated this week, but not in the usual way. Two active campaigns turned GitHub configuration files into attack surfaces. Researchers demonstrated that the built-in browsers inside AI coding tools can read your SSH keys. And at Oracle AI ...
post-cover-33104
  • agenticai
  • devsecops
  • github
  • localai
Spyros • Jul 6 • in Articles • 2 min read
The Two Sum problem sounds complicated, but it's actually very simple. Imagine you have a list of numbers: int numbers = { 2, 7, 11, 15 }; And someone asks you: "Can you find two numbers that add up to 9?" Looking at the list, you can see that: ...
  • c#
  • algorithms
Spyros • Jun 29 • in Articles • 4 min read
When developers first start using Entity Framework Core, it's easy to write queries that work—but not all queries perform well. The good news? A few simple practices can make your queries much faster, use less memory, and generate better SQL. We'll...
  • c#
  • ef
  • core
Spyros • Jun 22 • in Articles • 4 min read
Introduction The Prototype Design Pattern is a creational design pattern that allows new objects to be created by copying an existing object called a prototype instead of creating them from scratch. This pattern is particularly useful when: Obje...
  • c#
  • designpatterns
Spyros • Jun 17 • in Articles • 2 min read
Exploring a Practical Billing API Built with Modern .NET Patterns The Billing repository https://github.com/stevsharp/Billing is a practical example of how several common .NET architectural patterns can be combined within a billing-focused applicat...
  • c#
  • development
  • designpatterns
Spyros • Jun 5 • in Articles • 2 min read
Entity Framework Core EF Core is often introduced as an ORM that simplifies data access, but its real value in enterprise applications comes from features that improve reliability, scalability, and maintainability. As applications grow and operate ...
  • opensource
  • c#
  • ef
  • core
Spyros • May 26 • in Articles • 6 min read
This tutorial explains how to build a multithreaded, priority-based job processing system using: PriorityQueue SemaphoreSlim Producer / Consumer pattern Retry mechanism Dead Letter Queue DLQ Multiple workers 1. What is PriorityQueue in C#? ...
  • c#
  • design
  • design-patterns
Spyros • May 19 • in Articles • 2 min read
Blazor Latest Features Blazor, Microsoft’s modern web UI framework, has evolved significantly in recent releases .NET 8 and .NET 9. It now provides a powerful mix of full-stack capabilities, flexible rendering, and high performance, making it a st...
  • blazor
  • c#
Spyros • May 11 • in Tutorials • 3 min read
Abstract Factory Pattern in C# – Step-by-Step Tutorial. In this tutorial, I’ll explain how I implemented the Abstract Factory Pattern in C# using my project: GitHub Repository: https://github.com/stevsharp/AbstractFactoryDemohttps://github.com/ste...
  • c#
  • design-patterns
Spyros • May 6 • in Tutorials • 6 min read
Refactoring a Simple C# Method Step by Step Refactoring is not about changing what the code does. It is about improving how the code is written. The goal is to make the code easier to read, easier to test, and easier to maintain. In this tutorial...
  • c#
  • designpatterns
onegarlos • May 4 • in Articles • 7 min read
They live among us, but do we notice how wonderful they are? Have you ever stared at a line of code and wondered: "Is this data, or is this an instruction?" If the answer is "yes," congratulations—you've had a software existential crisis. In .NET, E...
post-cover-16676
  • c#
  • developertools
  • net
  • expreessions
chevron_left
🔥 77 posts • 👩‍💻 22 active writers

✨ Want to write in this topic?
Share your learning. Get discovered. Build your profile.
Join CoderLegion

💡 Why developers use CoderLegion
Track learning • Share posts • Get ranked publicly
Create your profile