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.
Delving into the realm of maintaining and improving an existing ASP.NET project feels like embarking on a journey through a maze of challenges and prospects. As developers, we regularly encounter the intricate but fulfilling task of uncovering and resolving issues nestled within the codebase.
To use computers to automate information processing we have to deal with bitstreams as the information representation. We need bitstreams to be handled using files to preserve the data. The transition process from the objects to the stream is called the serialization.
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, communication, and manipulation to ensure accuracy, security, and accessibility.
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, communication, and manipulation to ensure accuracy, security, and accessibility.
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. It is a part of the software engineering discipline, which also involves project management, software distribution, maintenance, and evolution of software systems. Programming in Practice can be deployed tanks to widely accepted best practice rules and design patterns for well-defined subdomains as follows: sequential programming, concurrent programming, real-time programming, parallel programming, and distributed programming.
Some HTTP methods are by default Idempotent and some we need to make them Idempotent to avoid but obvious issues in our REST APIs
When to use composition over inheritance and vice versa as a coding best practice.
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 than copying direct rows.
I= Interface Segregation Principle , is one of the five SOLID principles of object-oriented programming.
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 , Update, Delete. And every time, we end up with writing similar set of code for every execution of our stored procedures.
Learn practical tips for writing clean, readable, maintainable, and scalable C# code, including naming, formatting, comments, reuse, SOLID principles, and solution structure.
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 follow best practices guidelines.
Learn practical C# coding guidelines for naming, null checks, formatting, comments, code reuse, configuration values, enums, and maintainable code.
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 from having reference variables in the heap and how to fix it using ICloneable.
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 when the UsernameToken is added to the RequestSoapContext.
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 streamline your workflow. Experience the ultimate comfort of development with GitHub CoPilot!
Learn common C# coding mistakes to avoid and best practices for writing readable, reusable, maintainable, and reliable code.
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 handle them in web development. The article is aimed at developers and provides important information for ensuring a seamless user experience.
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 that requires much less code that is easier to maintain than when approaching the same solution deriving sub classes using an OOP implementation.
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 well known, but people (myself included) tend to forget or disregard them as "too simple". And that's a mistake because as we all know, simple is often the best!
In this article I will show you how to serialize an object using ISerializable interface with a very simple manner.
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 a Circular dependency is , and why a proper and careful software design is important before you actually jump into coding.
In the article we will inspect tail recursion, we will understand the concept pragmatically by deep-diving into some of the examples.
In this article, we’ll learn about various software engineering practices common in software industry today. This will help improve the standard of code, code quality and practices which will enable develop better system with long term view.
This article helps you get started with a static code analyzer. It begins with the theoretical concepts and ends with a static code analyzer's practical usage using Klocwork.
This article will list down most common and important tips which one needs to take care while performing code reviews
In this article, you will learn how to measure code quality with Visual Studio.
A few months ago, I came across one static code analysis tool named NDepend and found this to be the next level of static code analysis
In this article, you will learn about the Coding Standards Gone Bad.
In this article, you will learn what can be done to make code quality better.
Everything on Coding Best Practices, not only its articles: the Coding Best Practices page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article