The BEST Way to Read a CSV File in C# | CsvHelper Tutorial
In this tutorial I'll show you how to read a CSV file into your C# .NET app using the excellent CsvHelper library.
I'll go through 3 methods to read your CSV file: dynamic objects, Property Attributes and ClassMap.
The example here is a .NET Core app, but CsvHelper is a .NET Standard library, so it works seamlessly across .NET Core, .NET Framework and Xamarin.
If you need to create a CSV file (export), we have a video here for you:
https://youtu.be/fRaSeLYYrcQ
CsvHelper homepage:
https://joshclose.github.io/CsvHelper/
CsvHelper on Github:
https://github.com/JoshClose/CsvHelper
CsvHelper on Nuget:
https://www.nuget.org/packages/CsvHelper/
SpaceX open source REST API (unofficial), lots of fun sample data if you like rockets:
https://github.com/r-spacex
I'm Chris Roberts, a freelance software engineer based in the UK:
https://chrismroberts.com/
Follow us on Twitter:
https://twitter.com/robertsdevtalk
Our gear - click through to support our channel! :)
Camera (Canon M50)
UK: https://amzn.to/3sUbzuL
US: https://amzn.to/3uBsG5c
Camera mic (RODE VideoMic Pro)
UK: https://amzn.to/3ml8xgC
US: https://amzn.to/2RkGxyi
Camera tripod (Manfrotto Compact tripod):
UK: https://amzn.to/3fJGyWU
US: https://amzn.to/3mF4oV2
Voiceover Mic (Blue Yeti)
UK: https://amzn.to/2PV7UOQ
US: https://amzn.to/3uMiEym
Chris's dev mouse for PC (Logitech MX Master 3)
UK: https://amzn.to/39K7BNV
US: https://amzn.to/3uKYvso
Chris's dev keyboard for PC (Logitech MX Keys)
UK: https://amzn.to/3rSbHcX
US: https://amzn.to/3a6Unef
Rob's dev keyboard for Mac (Apple Magic Keyboard)
UK: https://amzn.to/3dEQpKG
US: https://amzn.to/3sb6JZc
Rob's dev mouse for Mac (Apple Magic Mouse)
UK: https://amzn.to/3sRCQhr
US: https://amzn.to/3mFi6qS
Видео The BEST Way to Read a CSV File in C# | CsvHelper Tutorial канала Roberts Dev Talk
I'll go through 3 methods to read your CSV file: dynamic objects, Property Attributes and ClassMap.
The example here is a .NET Core app, but CsvHelper is a .NET Standard library, so it works seamlessly across .NET Core, .NET Framework and Xamarin.
If you need to create a CSV file (export), we have a video here for you:
https://youtu.be/fRaSeLYYrcQ
CsvHelper homepage:
https://joshclose.github.io/CsvHelper/
CsvHelper on Github:
https://github.com/JoshClose/CsvHelper
CsvHelper on Nuget:
https://www.nuget.org/packages/CsvHelper/
SpaceX open source REST API (unofficial), lots of fun sample data if you like rockets:
https://github.com/r-spacex
I'm Chris Roberts, a freelance software engineer based in the UK:
https://chrismroberts.com/
Follow us on Twitter:
https://twitter.com/robertsdevtalk
Our gear - click through to support our channel! :)
Camera (Canon M50)
UK: https://amzn.to/3sUbzuL
US: https://amzn.to/3uBsG5c
Camera mic (RODE VideoMic Pro)
UK: https://amzn.to/3ml8xgC
US: https://amzn.to/2RkGxyi
Camera tripod (Manfrotto Compact tripod):
UK: https://amzn.to/3fJGyWU
US: https://amzn.to/3mF4oV2
Voiceover Mic (Blue Yeti)
UK: https://amzn.to/2PV7UOQ
US: https://amzn.to/3uMiEym
Chris's dev mouse for PC (Logitech MX Master 3)
UK: https://amzn.to/39K7BNV
US: https://amzn.to/3uKYvso
Chris's dev keyboard for PC (Logitech MX Keys)
UK: https://amzn.to/3rSbHcX
US: https://amzn.to/3a6Unef
Rob's dev keyboard for Mac (Apple Magic Keyboard)
UK: https://amzn.to/3dEQpKG
US: https://amzn.to/3sb6JZc
Rob's dev mouse for Mac (Apple Magic Mouse)
UK: https://amzn.to/3sRCQhr
US: https://amzn.to/3mFi6qS
Видео The BEST Way to Read a CSV File in C# | CsvHelper Tutorial канала Roberts Dev Talk
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Coding Gem #1.3: Parsing CSV Data as Lists in C#Create CSV file in C# the EASY way | CsvHelper TutorialLet’s go! Learn SPFx Today! | SharePoint Framework for Beginners (SPFx) 2021 E01What is .NET? What's C# and F#? What's the .NET Ecosystem? .NET Core Explained, what can .NET build?Run SQL Server in a Docker Container - SQL Server Anywhere!5 Fun Things You Can Build With C# | Why Learn C# in 2021?Debug Typescript Node apps in Visual Studio Code (Great for NestJS!)Why You Might Want To Delete WhatsApp…Java: Read a CSV File into an ArrayImporting a .csv file to R Studio using the read.csv functionFluentValidation for Powerful ASP.Net Core Model Validation | TutorialFREE Modern Webparts to Download Now! | SharePoint WebpartsHow to load CSV data in C# DataGridView (Code)Creating Excel Files in C#Custom Icon, Bundle, Package, Deploy! | SharePoint Framework for Beginners (SPFx) 2021 E07C# and Visual Studio: CSV Files and DataGridViewPython for Beginners: CSV Parsing (Part 1) - Parsing a Simple CSV FileVersion 1.12.1 and NVM Intro ! | SharePoint Framework for Beginners (SPFx) 2021 E08-AReading from a CSV File and Searching for a Record in C# (Simple)Python Tutorial: CSV Module - How to Read, Parse, and Write CSV Files