Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
is it possible to create a WCF web service that can be accessed from PC's / laptops which do not have a client installed ? I'm thinking about a service that could be available to 1000 users. Installing a client on each of these laptops would be a major exercise and keeping them all on the latest client version an even more diffucult task. Any advise welcome.

regards
Pat
Posted

There is no way to work around the traditional client system install problem.

You could use Click once deployment[^] to automatically install application updates on your client machines.

Alternately, you could create a web page application and host it on the same (or on a different) server.
This web page should be able to talk to the WCF service.

All you would then need to do is to share this url with your customers.
 
Share this answer
 
v3
Comments
Afzaal Ahmad Zeeshan 6-Oct-15 4:47am    
5ed; you beat me by 48 seconds. :-)

Anyways, I provided some additional details in Solution 2.
Abhinav S 6-Oct-15 4:48am    
Thanks. I added click once deployment to the solution. It could solve the "update" issue.
Guess what, instead of sending a package of software application, which needs further updates (as you mention), why don't you use the web browsers as a client? Create an ASP.NET web application as a client for that WCF application.

The ASP.NET web application will act as the client and users can consume the services using their web browser. Whether they update their browsers or not, would not cause any bad UX for the users. And you will only have to maintain that one single project, the web application. Also the project will be live as soon as you publish it; your users won't have to take the pain of re-installing the package.

Also, using web application will enable you to have cross-platform audience, because a web browser is available on every device and platform.

If this interests you, read this guide to get started: Creating a Web Service to be consumed by connected Devices via Internet[^]
 
Share this answer
 
Comments
Abhinav S 6-Oct-15 4:48am    
5.
PClarkeirl 6-Oct-15 6:42am    
thanks Afzall for the quick response. Do the WCF service and the web application (Client talking to web service) both reside on the server ?

regards
Pat
Afzaal Ahmad Zeeshan 6-Oct-15 9:39am    
No it is not required. It can exist on a separate or same server. :-)

Read the article that I provided. The server can and can not (similar in case of, may or may not) exist on the same server.
thanks guys for the quick response. I am particularly interested in Afzaal's solution. Can I ask, in this type of solution do the WCF service and the web application (Client talking to web service) both reside on the server ?

regards
Pat
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900