Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have to create one webapi so that that can be accessed from any where. Second thing that is to be developed is web site which contains reference of above web api. Third thing is to develop is windows software which also contains reference of above web api.

In window software will have different methods like get all student data from local db and send it to server via web api. local database can not be made live.

In web site as mentioned in point 2 from that web site I would like to get data from my windows application and send that data to server.

How can I achieve this thing using asp.net C# + singnalR for website For windows software it can be .net C#, vb + signalR

Web api will be in asp.net MVC

Can any body give me some idea

share|improve this question
2  
I think none of your front-ends (website or windows app) should "reference" your web api project. They can consume web api by calling the webapi controller actions for getting and posting data, but thats all. SignalR could be used for communication between the webapp and the windows forms app... –  Jeroen1984 Jun 24 at 6:33
    
Your Databsse ,Webapi And SignalR Hub On Should be on Same Server. And in your client application Use Signal R client Assmeblies in website and window application .download them from Nuget . –  Umar Abbas Jun 24 at 6:50
    
Hi Umar Abbas can I have some sample for signalR –  Sunny Kachwala Jun 24 at 9:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.