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.
In this article you will learn that code quality is a feature, not an afterthought.
This article lists some differences between classes and structures. In this article, we will see what is the difference between a structure and a class.
In this part of the study of OWASP Top 10 Threats, we will understand Threat # 3 – Sensitive Data Exposure.
Considering security as the most important aspect of an application and as the First step in SOUND Programming Methodology, we will be covering SQL Injection Attack and Prevention.
In this article, we will learn about Secure Programming of SOUND programming methodology. We will cover Broken Authentication from OWASP's top 10 security threats.
Coding and Code review are the most basic building blocks of any software product. Any lapse may severely affect the schedule, quality, and of course the cost. Not only in the review but a few issues can also be found at a later stage as well. That may lead to rework.
In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
Learn how to detect .NET application memory leaks with PerfMon performance counters and distinguish managed leaks from unmanaged memory growth.
For all of you who code using apps like Visual Studio or VS Code, please don’t present code in a meeting or conference session using a dark theme! I know I am going to get a lot of push back from this statement but let me explain why (please keep reading).
Here I'm going to tell you about what is String and StringBuilder and what the differences between String and StringBuilder classes.
How To Write Effective Code. The key to writing effective code is Delete Unnecessary Code, use clean code, learn coding from masters, Meaningful Code Commenting, Debug code and Trace, Unit Testing, effective Code Style.
For every application could be small or medium or a big enterprises application the major non-functional requirement will be a good code performance. In some cases, companies will hire a special team or outsource to improve their existing application's performance.
Explore Git via CLI like programmers, and learn black magic done by Git GUI clients.
Learn C# coding standards and naming conventions for clearer, more readable, and maintainable code, including formatting, comments, methods, enums, and interfaces.
Since I have been a speaker and a teacher, I have always stressed the importance of practicing proper object-oriented programming (OOP) techniques. If you don’t practice OOP, no matter what language you are using, I guarantee you will end up with a “house of cards” and they all eventually fall.
I have been using source control programs for a very long time. I believe the first one was Visual Source Safe (don’t laugh, it was a painful experience). Early in my career and throughout I have learned many good practices that I still use to this day. I will share them with you now.
It has been quite a long time since "var" was introduced, yet it is still a topic of debate among .net developers.
While executing your procedure, the system will first scan through all system procedures and then user defined procedures. This means that the procedure might take more time for execution thus decreasing system performance.
Let's learn about Code Metrics Cyclomatic Complexity in this write-up.
Recently, after doing the keynote session about code quality at a conference in Denver, I received a comment from one of the attendees. He said my session was “too much angry coder”. After receiving many great comments about the session, this one took me by surprise. I thought about it for awhile and commented back, via Twitter…
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 we are not going to configure Code First using DataAnnotations attributes on this project. Instead, we are going to put all the Code First configuration in specific Configuration classes using the Fluent API. Add a folder named Models.
In this article, you will learn about my Workflow before I submit code changes.
A practical workflow for handling software bugs and tasks, from understanding and reproducing issues to testing, code review, check-in, and documentation.
This article will explain the way Software Engineers, who never focus on technical learning and remain busy in text label changing only.
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.
This article will explain how the branching over a type code is a serious type of code smell.
Code Refactoring is an important part of software development. This article will explain the benefits and drawbacks of code refactoring.
This article will explain the code issues, using the Switch.. case statement. In some cases, it is a type of code smell.
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