How To Call An API in C# - Examples, Best Practices, Memory Management, and Pitfalls

It seems like everything has an API these days but have you ever wondered how to make use of an API in your application? It turns out that it isn't really that hard at all. In this video, I am going to show you how to easily load the data from two different APIs into an application. Along the way, I will show you how to avoid some memory issues and other best practices around talking to APIs Full courses: https://www.iamtimcorey.com/ Source Code: https://www.iamtimcorey.com/downloads... Patreon:   / iamtimcorey   Newsletter signup: https://signup.iamtimcorey.com/ 0:00 - Intro 1:00 - Demo application walk-through 4:09 - Setting up API calling: WebApi.Client and Newtonsoft.json NuGet references 6:02 - Setting up API calling: HttpClient 13:48 - Setting up API calling: API calls 19:14 - Setting up API calling: Reading and working with json data 28:18 - Loading image in WPF (form a website) 35:29 - Adding events in WPF application: wiring up action buttons 39:40 - Note on information Cashing 42:55 - Sunrise-sunset API: Nested json objects, API calls, WPF events, displaying information 51:56 - Loading other WPF forms from MainWindow 53:38 - Summary and concluding remarks Chapter breakdown by Ralfs HBK

Entity Framework Best Practices - Should EFCore Be Your Data Access of Choice?
▶︎

Entity Framework Best Practices - Should EFCore Be Your Data Access of Choice?

C# Events - Creating and Consuming Events in Your Application
▶︎

C# Events - Creating and Consuming Events in Your Application

Intro to Web API in .NET 6 - Including Minimal APIs, Swagger, and more
▶︎

Intro to Web API in .NET 6 - Including Minimal APIs, Swagger, and more

Intro to WebAPI - One of the most powerful project types in C#
▶︎

Intro to WebAPI - One of the most powerful project types in C#

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat
▶︎

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

Intro to Azure Functions - What they are and how to create and deploy them
▶︎

Intro to Azure Functions - What they are and how to create and deploy them

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra
▶︎

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Fluent Validation in C# - The Powerful Yet Easy Data Validation Tool
▶︎

Fluent Validation in C# - The Powerful Yet Easy Data Validation Tool

Object Oriented Programming | OOPS in Python | OOPS Tutorial | Intellipaat
▶︎

Object Oriented Programming | OOPS in Python | OOPS Tutorial | Intellipaat

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat
▶︎

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat

APIs for Beginners - How to use an API (Full Course / Tutorial)
▶︎

APIs for Beginners - How to use an API (Full Course / Tutorial)

C# Access Modifiers (beyond public and private) - what they are, how to use them, and best practices
▶︎

C# Access Modifiers (beyond public and private) - what they are, how to use them, and best practices

C# ASP.NET MVC Authentication - Logging in locally or with OAuth (using Twitter) credentials
▶︎

C# ASP.NET MVC Authentication - Logging in locally or with OAuth (using Twitter) credentials

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup
▶︎

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Listen and Feel the Peace | Tibetan Healing Sounds for Deep Meditation, Inner Peace & Soul Healing
▶︎

Listen and Feel the Peace | Tibetan Healing Sounds for Deep Meditation, Inner Peace & Soul Healing

Intro to Blazor Server Side - Includes SQL Data Access and Best Practices
▶︎

Intro to Blazor Server Side - Includes SQL Data Access and Best Practices

Clean Architecture with ASP.NET Core 10
▶︎

Clean Architecture with ASP.NET Core 10

Introduction to ASP.NET MVC in C#:  Basics, Advanced Topics, Tips, Tricks, Best Practices, and More
▶︎

Introduction to ASP.NET MVC in C#: Basics, Advanced Topics, Tips, Tricks, Best Practices, and More

What do tech pioneers think about the AI revolution? - The Engineers, BBC World Service
▶︎

What do tech pioneers think about the AI revolution? - The Engineers, BBC World Service

Full Archon Guide - Build AI Coding Harnesses That Actually Ship (LIVE)
▶︎

Full Archon Guide - Build AI Coding Harnesses That Actually Ship (LIVE)