Last post Apr 12, 2015 04:49 AM by damienBod
Apr 07, 2015 08:15 PM|Saugat|LINK
I want to create a common web module which act as a service to both .NET desktop application as well as web application (php, asp etc). Its main task is to get the input parameter from client page (can be webpage or desktop app), and do some calculations
and provide the output to requested party (webpage/application). I have no experience implementing similar kind of environment and any help will be appreciated. I am using windows server and desktop application is developed in C#. Just wanted to create a common
module platform for both environment. Creating a local copy of web hosted module for desktop application is preferred as it act as a local copy and only update when the user wants it.
Apr 09, 2015 04:26 PM|vikasrulez|LINK
Create a WebSite or WebApplication project in visual studio, add a WebSevice into it to provide the data to other applications including desktop as well as mobile.
Create a Windows Forms Application Project for desktop application, Right Click on Project -> Advanced -> Add Web Reference -> Url (provide the webservice url you just have created in web site project).
This way you will be able to setup a communication between desktop as well as website projects
Apr 12, 2015 04:49 AM|damienBod|LINK
Create a Web API service for this and you can host it in the IIS or as a windows service. You don't need to host it twice then, and all applications can use this backend.