In this section, we will cover some of the basic coding principles that help in writing quality code that improves the overall performance and scalability of the application.
Always use the proper naming convention in every application, starting with the solution name, which should provide meaningful information about the project you are working on. The project name specifies the layer or component part of the application. Finally, classes should be nouns or noun phrases, and methods should represent the actions.
When we create a new project in Visual Studio, the default solution name is set to what you specify for the project name. The solution name should always be different from the project name as one solution may contain multiple projects. The project name should always represent the specific part of the system. For example, suppose we are developing a messaging gateway that sends different types of messages to different parties and contains three components...