Join Reynald Adolphe for an in-depth discussion in this video Set up the business layer, part of C# Best Practices for Developers.
- [Instructor] So, in Visual Studio, lets go ahead and…create a new project and solution…by going to File, New, Project.…And we'll want to choose a console application,…so .NET Framework.…And the name of our project will be Prestige.Biz.…However for the solution…we'll call this BestPractices.…And you can choose whatever location you want,…and click OK.…
Now, the next step that I'd like to do,…is to create another project,…but it'll be a unitest project.…So, let's right click on the solution,…go to add, new project.…Click on test.…And let's call this…Prestige.BizTest.…Click OK.…For the test I'd like to keep that in a folder…so, I'll right click on the solution…and choose: add, solution folder,…and I'll name this Test.…
And all we need to do…is select BizTest and drag it into our Test folder.…Perfect.…So, to make sure everything is set up correctly,…let's go ahead and add a class in Prestige.Biz,…and its going to be called actor…When we're done with that we'll run a quick unit test…to make sure everything functions as we expect…
- 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.