dotnet add package Soenneker.Data.ZipCode
The file is copied to the output directory, and located at the relative path: Resources\zipcodes.txt
.
Alternatively, you can download the ZIP code list as a text file from the following URL:
https://raw.githubusercontent.com/soenneker/soenneker.data.zipcode/main/src/Resources/zipcodes.txt