Join David Gassner for an in-depth discussion in this video Overview of my solution, part of Code Clinic: C#.
- The primary focus of this month's challenge…is reading metadata from image files.…But we also have to handle folder recursion,…that is starting at a top-level folder…and recursing through its subfolder structure.…My solution in C# requires access…to the operating-system resources.…I have to be able to find and read image files…and support other operating-system features.…I also will need to incorporate some third-party libraries…such as Adobe's XMP Toolkit to get…all the data I'm looking for.…
The solution for this month's challenge…has been built with Windows Presentation Foundation,…or WPF.…It could have also been built with Windows Forms,…and resulted in pretty much the same output.…The first challenge turns out to be the easiest in .NET.…We have to start from a top-level folder…and then recurse through the subfolders,…and find all of the files in all of those folders.…In some languages, you would create a function…and you would call that function for the top-level folder.…
It would then look for all the subfolders…
Author
Updated
12/16/2014Released
7/15/2014David introduces challenges and then provides an overview of his solutions in C#. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C++, Java, PHP, Python, and Ruby.
Skill Level Intermediate
Duration
Views
Q: Why can't I access the Lake Pend Orielle site (http://lpo.dt.navy.mil)?
A: The Lake Pend Orielle site is not accessible in some geographical areas. We have contacted the owner of the server to try to resolve this issue.
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
Related Courses
-
Code Clinic: PHP
with David Powers4h 44m Intermediate -
Code Clinic: Python
with Barron Stone2h 23m Intermediate -
Code Clinic: Ruby
with Kevin Skoglund5h 42m Intermediate
-
Introduction
-
Welcome1m 2s
-
Using the exercise files2m 15s
-
-
Problem One: Statistical Analysis
-
Overview of my solution6m 59s
-
Problem Two: Image Analysis
-
Identify the image subset3m 31s
-
-
Problem Three: Eight Queens
-
Overview of my solution5m 3s
-
Building the user interface2m 51s
-
Displaying the solutions4m 45s
-
Problem Four: Accessing Peripherals
-
Overview of my solution5m 37s
-
Playing system sounds3m 59s
-
Problem Five: Recursion and Directories
-
Overview of my solution6m 18s
-
Displaying the results2m 33s
-
Problem Six: Building the Web
-
Overview of my solution4m 22s
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Overview of my solution