Naming Rules
This document is created to guide naming convensions in this project.
Naming Convensions
Context | Format | Samples |
---|---|---|
Resource Keys | PascalCase {Context}{SubContext}{Key} |
UsersNotFound AppSettingDialogError |
Json Keys | camelCase | { "title": "Hello World!", "isEnabled": true, numberOfCup: 19 } |
Endpont Routes | camelCase (Case In-Sensitive) |
/v1/app/123123/userProfiles/987 |
Class | PascalCase | .Net Defaults |
Variable | camelCase | .Net Defaults |
Property | PascalCase | .Net Defaults |
Method | PascalCase | .Net Defaults |
Field | camelCase | .Net Defaults |
Enum | PascalCase | .Net Defaults |
Attribute | PascalCase | .Net Defaults |
Constant | UPPERCASE_UNDERSCORE | .Net Defaults |
Events | PascalCase | .Net Defaults |