Quote:
i have develop desktop app which will run on background to capture the nfc id of the visitors ...
Right, and that will simply just connect and capture the value. At this point, you have the NFC ID for that person.
Quote:
my mvc web application (.net)
Where is it hosted? Online, or on the same machine? Does it have an API, or it requires a form submission?
There are so many ways in which you can submit the data to the web application, but web application dictates how you can upload the data. It does not matter from where you are sending the data—service can use the
HttpClient
object and upload the data to the web application. At the web application you have to support and provide an endpoint where data can be uploaded, and then web application can take it from there.
Take a look at following of my articles, that discuss a similar situation,
ASP.NET 5 Web API RESTful CRUDs and Windows 10 native application[
^]
A Tip for Ajax Developers in ASP.NET MVC Framework[
^]
Here are some other links that can help you out,
Call a Web API From a .NET Client (C#) | Microsoft Docs[
^]