0
Hello, I’m sending data from a sensor to a website through the URL.
I want to transfer this data to an SQL database, so I can show it in an ASP.NET application I made.
Can someone tell me how to transfer this data from the url to the database?
0
Hello, I’m sending data from a sensor to a website through the URL.
I want to transfer this data to an SQL database, so I can show it in an ASP.NET application I made.
Can someone tell me how to transfer this data from the url to the database?
0
You’re in the right direction. You can create an Asp.Net MVC or Webapi application, in both you will have an action that will receive the request and write to the database. I recommend using a POST request as there is a limit (+-2000 characters) on the size of the GET request.
Browser other questions tagged c# sql asp.net database
You are not signed in. Login or sign up in order to post.
We can, provided you give more information about how you are doing. What have you done? What problem are you having?
– Maniero
It’s an Iot project. For now I can send the sensor data to a local site through the URL and I have a database created in SQL Server. I don’t know how to put the two together. .
– C. Harold