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

  • Best Practices For MVC

    Add a class library project to the solution, named Store.Model. This library is where we ‘ll keep all of our domain objects. Entity Framework will count on them in order to build the database but w...
  • My Workflow Before I Submit Code Changes

    In this article, you will learn about my Workflow before I submit code changes.
  • Effective Application Development

    In this blog I would like to share some of my Application Development methodologies which give some more productivity in development.
  • A Day With A Software Engineer Who Changes Text Labels Only

    This article will explain the way Software Engineers, who never focus on technical learning and remain busy in text label changing only.
  • Validation Response Pattern

    An interface based pattern to return the appropriate business logic validation outcome.
  • How To Learn A New Computer Programming Language

    This article is about learning a new programming language
  • 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...
  • Five Golden Rules For Better Programming

    Five Golden Rules For Better Programming.
  • Functions In Functional Programming Vs Procedural Programming

    In this article, I will show you what a basic function is and the concept of the function, as it is used in functional programming and how procedural (or imperative) languages might take them wrong.
  • Web Application Solution Architecture Naming Conventions

    In this blog, you will be acquainted with Web Application Solution Architecture naming conventions.
  • Bench-marking List vs Dictionary vs HashSet vs SortedSet

    It is always wise to evaluate the performance of datatypes before using it. It will save developer from last minute design change/ code change to address critical issues such as performance / memory.
  • Coding Challenge - Lesson Learned

    Here, I am sharing some note from the coding challenge: NumberStyles, Tuple, Generic Extension Method, Group string from right to left.
  • Why Comments Are Important While Writing Code

    This blog is about why comments are important and how they help to understand the code as well as when and where we should use comments.
  • Static Variable - A Code Smell

    This article will explain the disadvantages of Static variables.
  • Branching Over A "Type Code" - A Code Smell

    This article will explain how the branching over a type code is a serious type of code smell.
  • The Law Of Demeter

    This article will explain several pros and cons of the Law of Demeter.
  • Pros And Cons Of Code Refactoring

    Code Refactoring is an important part of software development. This article will explain the benefits and drawbacks of code refactoring.
  • Switch Statement - A Code Smell

    This article will explain the code issues, using the Switch.. case statement. In some cases, it is a type of code smell.
  • Refused Bequest - A Code Smell

    This article is intended to explain about refused bequest which is a common code smell that occurs during development.
  • God Object - A Code Smell

    This article will explain about the God object, which is related to code smell.
  • Meaning Of Each HTTP Staus Code

    In this blog, you will learn the meanings of each HTTP staus code we encounter every day.
  • What Is Data Quality?

    A short introduction to data quality, and why you should consider it.
  • 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.
  • Are You A Google Developer?

    This article will focus on Code Quality and Code Smell.
  • 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...