TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Coding Best Practices
FOLLOW
Welcome to Performance & Best Practices section of C# Corner. In this section, you will find various Performance & Best Practices related source code samples, articles, tutorials, and tips.
Articles
(130)
Blogs
(68)
Resources
(16)
Videos
(10)
News
(1)
Articles
Information Computation Mastery: Challenges, Concepts, Implementation
To use computers to automate information processing we have to deal with bitstreams as the information representation. By design, bitstream management involves the organization, storage, retrieval,...
Mariusz Postol
Mar 28, 2024
PiP - External Streaming Data - Useful Concepts - Part 1
To use computers to automate information processing we have to deal with bitstreams as the information representation. By design, bitstream management involves the organization, storage, retrieval,...
Mariusz Postol
Mar 27, 2024
Programming in Practice Discipline
Programming in Practice is a discipline that systematically applies engineering principles to the program design, development, and implementation of algorithms, program text editions, and testing. ...
Mariusz Postol
Feb 27, 2024
How to Make REST APIs Idempotent?
Some HTTP methods are by default Idempotent and some we need to make them Idempotent to avoid but obvious issues in our REST APIs
Sandip Jadhav
Jan 16, 2024
How to Choose Between Inheritance and Composition?
When to use composition over inheritance and vice versa as a coding best practice.
Sandip Jadhav
Nov 16, 2023
Copying Data from one DataTable to Another using ImportRow
I recently have been engaged in an assignment where I had to copy large chunks of data from one DataTable to another. This article talks about how DataTable.ImportRow method may be more effective t...
Mahesh Chand
Jul 09, 2006
Interface Segregation Principle (ISP)
I= Interface Segregation Principle , is one of the five SOLID principles of object-oriented programming.
Harsh
Oct 30, 2023
Liskov Substitution Principle
Liskov Principle is part of SOLID Design Principles. The Liskov Substitution Principle (LSP) is a fundamental concept in object-oriented programming that ensures the correct design of inheritance h...
Harsh
Oct 30, 2023
Generic Data Layer - One time creation
This article will explain how to create a generic data layer that can be used with very less amount of coding. It is a known fact that, most of the time we create applications for Create , Select ,...
Santhosh Veeraraman
Sep 06, 2007
Stop Using VAR Everywhere And Think Before Using Underscore With Private Variable In C#
When to use underscore(_) or not with the private member variable; why we shouldn't use var everywhere; when must we use 'var'; when can't 'var' be used. Why we need to foll...
Habibur Rony
Jun 06, 2017
C# Heap(ing) Vs Stack(ing) In .NET - Part Three
Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll cover an issue that arises...
Matthew Cochran
Jan 15, 2006
Custom WSE 3.0 Policy Assertion - Modifying the Security Header Generated by WSE
Recently I encoutered an issue in the WSE security header of an ASP.Net application consuming a Java web service using WSE 3.0 involving the automatic addition of a timestamp in the security header...
Pradeep Chandraker
May 04, 2010
For Developers Everywhere: Experience the Power of GitHub CoPilot
Unlock the power of GitHub and take your development projects to the next level with GitHub CoPilot. Get faster and streamlined results with the assistance of powerful and intuitive tools and strea...
Chris Love
Jan 18, 2023
Understanding And Handling HTTP Errors
This article provides a comprehensive guide to understanding and handling HTTP errors. It explains what HTTP errors are, the different types of codes that can be returned, and how to properly handl...
Muhammad Omer Khan
Jan 23, 2023
A Strategy for Using Delegates in C#
In a recent article comment I was asked for a sample of how to use a delegate and so I wanted to put together a sample of how we can use delegates in order to implement a strategy pattern in a way ...
Matthew Cochran
Jun 15, 2007
WEB farm - Load Balancing in Asp.net
The concept behind the web farm is that a number of different web sites share pooled resources. They typically share a common front-end dispatcher to perform load control and distribute customer re...
P Gopenath
Jul 27, 2007
5 Simple Productivity Tips For Developers
Being as productive as possible is a goal of every developer. Why? Well, the list of benefits is long and includes your own well-being and work satisfaction. The tips I prepared for you today are w...
Thomas Scott
Apr 25, 2022
How to serialize an object using an ISerializable interface
In this article I will show you how to serialize an object using ISerializable interface with a very simple manner.
Bechir Bejaoui
Feb 27, 2008
Circular Dependency - The result of a poor design
Circular dependency issues can be seen in all tech stacks ( be it Java, C# or even Javascript). This happens because of poor design/implementation of a software. The article tries to explain what ...
Ranganath Prasad
Jan 15, 2022
Inspecting Tail Recursion
In the article we will inspect tail recursion, we will understand the concept pragmatically by deep-diving into some of the examples.
Sameer Shukla
Dec 28, 2021
No Records Available.
View More
Learn Machine Learning With Python
Challenge yourself
Power BI Fundamentals Skill
E-Book Download
Get Certified
MongoDB