Join Bruce Van Horn for an in-depth discussion in this video Logging with NLog, part of C# Essential Training: 2 Flow Control, Arrays, and Exception Handling.
- [Narrator] Now that we've added NLog…to our project to via the NuGet package manager,…why don't we take a look at what we got?…I'm going to go ahead and close these projects…that we're not looking at right now.…So, I'll close Essential Training,…and I'll close the Test Library.…And I can see I've got a few things that were here before,…so I've got NLog.config, NLog.xsd,…and I have a packages.config file.…The packages.config file…is what's written by NuGet…as you add things to your project.…
So, inside of this are all of our dependencies.…This is neat, because you can check this…into your favorite revision control system,…and developers that come along later…can actually check this file out as part of the code,…and the first time that they build,…Visual Studio's going to say,…"Hey, you don't have NLog installed,"…so it's going to go out and find the dependencies…for your program,…and install those dependencies for the project.…So, why don't we set to actually adding NLog to our program.…I'll click program.CS.…
If you don't have it appear in the tabs,…
AuthorBruce Van Horn
- Writing unit tests in C#
- Working with simple and multidimensional arrays
- Managing ordered and unordered data with lists
- Evaluating conditions with if-else statements
- Using OR, AND, and NOT operators
- Building loops
- Debugging and handling exceptions
- Creating the final build of your C# project
Skill Level Beginner
C# Object-Oriented Programming Tips and Trickswith Jesse Freeman58m 39s Intermediate
1. Unit Testing and Test-Driven Development
2. Arrays and Collections
3. Flow Control
4. Exception Handling
5. Getting to Production
Next steps1m 57s
- 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.