Join Reynald Adolphe for an in-depth discussion in this video Project setup overview, part of C# Best Practices for Developers.
- [Instructor] In this chapter,…we'll be covering conventions…for naming and handling classes…but in order to do so,…I wanted to start by having us…set up our project from scratch.…Now, projects can be set up in a variety of ways,…depending on what makes sense for your organization.…And for our scenario, we'll have a talent agency…for actors called Prestige Talent.…And knowing that, a general approach…can be something like this,…with the company name followed by the technology.…
So, as you can see, in the UI layer…we have the company name, Prestige,…and it's fine to just have it short,…it doesn't have to say Prestige Talent,…especially if it's going to take all this extra real estate.…So, for a Windows Presentation Foundation,…Prestige.wpf, that works perfectly.…Likewise for web.…Business logic layer, Prestige.biz.…Data layer, as you can see, .data.…And for other utilities, such as an email service…or a login, those can go under something like…Prestige.com.…
So, having said that,…let's just go ahead and jump into Visual Studio…
- Naming and handling classes
- Running a unit test
- Using constructors
- Naming and handling methods, fields, and properties
- Using properties correctly
- Managing objects efficiently
- Common design patterns as best practices
Skill Level Intermediate
1. Best Practices: An Overview
2. Naming and Handling Classes
3. Naming and Handling Methods, Fields, and Properties
4. Managing Objects Efficiently
5. More Best Practices Resources
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.