Coding Best Practices
Coding Best Practices
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.

RECENT POSTS

  • Shweta Lodha

    Performance And Memory Tips

    Two things play a very significant role in any application development, and those are the application’s footprint and performance. This article discusses these two concepts.
    Shweta Lodha Dec 04, 2016
  • Gul Md Ershad

    Are You A Google Developer?

    This article will focus on Code Quality and Code Smell.
    Gul Md Ershad Oct 19, 2016
  • JT Ripton

    How Using Features-as-a-Service Makes App Development Faster and Easier

    While coding can be an art form, the point of most software development is getting something done. Coding is fundamentally about solving a problem, and that privileges code reuse, software librarie...
    JT Ripton Jul 12, 2016
  • Prasham Sabadra

    Code Hunt, a monthly competition designed by the pros at Microsoft Research

    News for monthly competition designed by the pros at Microsoft Research.
    Prasham Sabadra Feb 21, 2016
  • Hemant Mahajan

    Agile for DevOps

    In this blog you will learn about Agile for DevOps.
    Hemant Mahajan Nov 12, 2015
  • Hashim Shafiq

    3 Effortless Ways To Keep Your Code Clean

    This blog show 3 effortless ways to keep your code clean.
    Hashim Shafiq Sep 22, 2015
  • Sateesh Arveti

    Introduction to Enterprise Library - Part X

    This article explains about Integration of Validation Application Block with Policy Injection Application Block.
    Sateesh Arveti Sep 05, 2014
  • Sateesh Arveti

    Introduction to Enterprise Library: Part IX

    This article explains about Implementation of Custom Validator using Validation Application Block.
    Sateesh Arveti Sep 05, 2014
  • Sateesh Arveti

    Introduction to Enterprise Library: Part VIII

    This article explains about Validation Application Block Adapter for WCF.
    Sateesh Arveti Sep 05, 2014
  • Sateesh Arveti

    Introduction to Enterprise Library: Part VII

    This article explains about Validation Application Block Adapter for Windows Forms.
    Sateesh Arveti Sep 05, 2014
  • Sateesh Arveti

    Introduction to Enterprise Library: Part VI

    This article explains about Validation Application Block Adapter for ASP.NET.
    Sateesh Arveti Sep 05, 2014
  • Sateesh Arveti

    Introduction to Enterprise Library: Part V

    This article explains about implementation of Self Validation using Validation Application Block.
    Sateesh Arveti Sep 05, 2014
  • Sateesh Arveti

    Introduction to Enterprise Library: Part IV

    This article explains about Configuration based validation using Validation Application Block.
    Sateesh Arveti Sep 05, 2014
  • Sateesh Arveti

    Introduction to Enterprise Library: Part III

    This article explains about Attribute based Validators and Rule sets of Validation Application Block.
    Sateesh Arveti Sep 05, 2014
  • Bechir Bejaoui

    Add and handle connection strings in an application configuration file: Part I

    There are two ways to save data and parameters. In this case we save application parameters like information entered by the user during the installation process.
    Bechir Bejaoui Sep 04, 2014
  • Shweta Lodha

    Note on Importance of UI in Performance

    Simple UI tricks, such as progress bars, redirecting user's attention using animation, or placing slower loading sections at the bottom of a page or off-screen, can often ‘fix’ a performance problem.
    Shweta Lodha Mar 12, 2014
  • Zoran Horvat

    .NET String Immutability and Related .NET Framework Bugs

    This article which explains several aspects of the .NET String class internal structure. Examples and workarounds are given for three distinct manifestations of a reported bug related to the TextRe...
    Zoran Horvat Nov 19, 2013
  • Pradeep Chandraker

    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 Nov 19, 2013
  • Usama Mosaad

    Managed Static Code Analysis in VSTS: Part I

    This article attempts to explain the concept of static code analysis and tools that can be used to realize it with a focus on managed code analysis.
    Usama Mosaad Nov 18, 2013
  • Dave Richter

    The C# Asynchronous Programming Model

    This article will start by examining how to use the Asynchronous Programming Model (APM) to perform an asynchronous compute-bound operation, then describe the three styles of programming with the A...
    Dave Richter Nov 17, 2013
  • Anand Kumar Rao

    Best Practices of Coding

    This document covers a few recommendations to leverage the quality of the code in .NET using FXCop 1.30 and how to write custom rules through an introspection engine.
    Anand Kumar Rao Nov 12, 2013
  • Anand Kumar

    Best Practices of Compact Framework

    This shares a few recommendations for use in our day to day development of Compact Framework applications.
    Anand Kumar Nov 12, 2013
  • Trevor Misfeldt

    Iterations and Performance in .NET

    I’ve been implementing numerical libraries in .NET and have come to some conclusions about iteration performance.
    Trevor Misfeldt Nov 11, 2013
  • Wdenton

    Debugging a Compiled Component

    After an assembly is compiled into a dll in a release mode, it is very difficult to gather information from it such as runtime performance, parameters values, etc.
    Wdenton Oct 31, 2013
  • Nazimuddin Tajuddin Basha

    How to Architect an Application

    In this article let’s get into the business of how to architect an application.
  • View More