httpclient

  1. M

    Resolved SqlException: Cannot insert explicit value for identity column

    How do you populate a database with multiple records from a REST API call? I'm trying to populate information from a REST API into my MS SQL database. I'm actually rebuilding on .NET Core from an original Framework project. Using the National Park Service REST endpoint. public async Task...
  2. N

    Question Printing text file contents on a console using HTTPClient

    How do you print a Text file on a console application with formatting like below in HTTPClient in C# Language? Here is how my textFile looks like: Hi|Fine! Here is all my code: using System; using System.Net.Http; using System.Threading.Tasks; class Program { static void Main() {...
Top Bottom