Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Requirements come like this that you have multiple roles in an organization. Now based on the role you want to return different profiles of same data like for some user you want to show Full data and for some you want to return the medium amount of same data and for some user you want to show only minimal attributes of same data.

Signing an assembly involves applying a digital signature to it to ensure its authenticity and integrity. In C#, you can sign an assembly using a strong name key pair, which consists of a public key for verification and a private key for signing. Here's a short description

Polymorphism is a fundamental concept in object-oriented programming (OOP) languages like C#. It allows objects of different classes to be treated as objects of a common base class. Polymorphism provides flexibility and extensibility to your code and is one of the key principles of OOP. Here's a description of polymorphism in C#

The FileUpLoad control enables you to upload file to the server. It displays a text box control and a browse button that allow users to select a file to upload to the server.

In this article you will learn Easy and Tricky to Understand the Factory Design Pattern with Real Time Example.

Web Services Enhancement version 3.0 (WSE 3.0) is a SOAP extension managed API (Microsoft.Web.Services3.dll) compatible with the .Net Framework 2.0. This article explores WSE 3.0 in terms of implementing message-level declarative security to Web services and Web service clients.

A transaction is a series of work perform as a single unit of work consistency and reliability of the system, can be achieved by binding a set of related operations together in a transaction. Here I will be discussing how we can run distributed application in a application.

In this article we are going to discuss Property Injection. Dependency injection (DI) is a design pattern used in C# and other object-oriented programming languages to achieve better code organization, maintainability, and testability. It's a technique that helps manage dependencies between different parts of an application.

C# developers who are interested in console programming are often frustrated by the lack of user interface features which the console has compared to Windows Forms and WPF applications.

C# attributes are metadata markers, enhancing code with additional information. They can be applied to classes, methods, and more. Custom attributes empower developers to create metadata tailored to their needs, accessed via reflection. This article explores the world of custom attributes in C#, including their creation, application, and benefits.

In this article I will explain you about StreamReader and StreamWriter Classes in C#.

This article explains enum constants in C#. Enums are known as named constants. Enums are strongly-typed constants that make the code more readable and less prone to errors.

This article just provides an overview of some programming methodologies and we will see OOP concepts in greater details.

In this article you will learn how to use Inline Editing and Updating in GridView with check box.

This blog shows a simple snippet of binding days, months and years to a DropDownList.

C-Sharp (C#) is a strongly typed object-oriented programming language designed to give optimum composition of simplicity, expressiveness and performance.

In this article I will describe how to create a C# .Net console application for saving and retrieving data from a Mongo Database.

Secure coding in C# is essential for safeguarding sensitive information and preventing security breaches. Follow these best practices to enhance your application's security. Protecting Your C# Applications from Security Vulnerabilities.

Learn how to apply the five key principles of Object-Oriented Programming (OOP) - Single Responsibility, Open-Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion - in C# with real-world examples for cleaner and more maintainable code.

While performing any database activity it is necessary that every single connection need to be closed, but in case your application throws some exception in that case our connection wont’ get closed. And you will get error “Cannot open connection, it is already open” In this article I will be discussing what is connection pooling? Why connection polling & how we can enable connection pooling etc.

Discover how C# Dev Kit, a Visual Studio Code extension, enhances your C# development experience. It offers solution management, streamlined testing, and AI-powered code suggestions for increased productivity and code quality.

An article to illustrate editing and encrypting of sections of the Web.Config file programmatically. Editing and encrypting sections of a Web. config file using C# 2.0 involves using the System. Configuration namespace to manipulate and secure configuration settings.

This article intends to the C# 1.x developers and covers what-why-how the new enhancement .The philosophy behind the document is to have quick update on C# 2.0 and leverage this in your day to day development work.

As most of you know hiding and overriding are two main features based upon inheritance, which is one of the pillars of the OOP. Using these we can redefine a member of the base class in a derived class. But what are the differences. Let me clear this with some simple examples.

Program returns count of code lines and file names in which code lines will be counted.

In C#, DateTime is a fundamental data type that represents dates and times. It is part of the System namespace and provides a rich set of methods and properties for working with dates and times. Here are some key points and features of DateTime in C#.

Sorting a list of complex types in C# involves arranging the elements of a list or collection based on specific criteria within the complex type. Complex types typically consist of multiple properties, and you can sort them in ascending or descending order based on one or more of these properties. Sorting is a common operation when dealing with data in C#, and it can help you organize and retrieve information more effectively.

There is this thing in C# called a delegate, which is going to be crucial to build interactions between our objects. What’s a delegate, you ask? Good question. A delegate is a pointer to a method. What’s that mean? Just like you can pass variable by reference, you can pass a reference to a method. Let me give you an example.

Custom events and delegates are fundamental concepts in modern programming languages like C#. They provide a powerful mechanism for implementing the observer pattern, enabling objects to communicate and respond to events or changes in state. This overview delves into the core concepts of custom events and delegates, shedding light on their importance and how they enhance the flexibility and modularity of your code.

This article describes the differences between a String and a StringBuilder in C#, their use cases and performance comparisons.
Everything on C#, not only its articles: the C# page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article