Explore solutions to common C# programming challenges—and compare the results with other programming languages—in this installment of the Code Clinic series.
Overview
Syllabus
Introduction
- Welcome
- What you should know
- Exercise files
- Getting the most from Code Clinic
- Intro: The weather at Pond Oreille
- Solution overview
- Explore the data with Excel
- Explore the Visual Studio solution
- Create a new TryParse method
- Testing with sample data
- Filter data using LINQ
- Math.NET "linear" fit to find the slope
- Data visualization with LiveCharts
- Conclusion
- Intro: Where am I?
- Solution overview
- Using the GeoCoordinateWatcher
- Sign up for Map Image REST API
- Call the Map Image REST API
- Conclusion
- Intro: Eight queens
- Solution overview
- Eight queens test cases
- Check for attacks across rows
- Check for attacks on diagonals
- Find solutions with recursion
- Debug recursive calls
- Find all solutions
- Check "found" solutions against "known"
- Conclusion
- Intro: Accessing peripherals
- Solution overview
- Create WinForms project with NAudio
- Using class SignalGenerator
- Experiment with TrackBar controls
- Tracking MouseMove over a panel
- Calculate relative mouse movement
- Calculate changes in volume and frequency
- Conclusion
- Intro: Facial recognition
- Solution overview
- Create a prompt with arguments
- Using the API URL and API key
- Using class HttpWebRequest
- Parse JSON response with JArray
- Convert rectangles to polygons
- Using SharpImage method DrawPolygon
- Display output image
- Conclusion
- Intro: Real-time information dashboard
- Solution overview
- NuGet and FactoryTelemetry
- LiveCharts AngularGauge XAML
- LiveCharts CartesianChart XAML
- Configuring data binding
- Load data into CharValues
- Data binding gauge to property
- X-axis label formatter
- Set up for a dynamic x-axis
- Calculating x-axis range dynamically
- Adding multiple line series
- Conclusion
- Next steps
Taught by
Anton Delsink