Web services are also great to share data between multiple applications.
For example if you have a domain and services layer you may create a server that your website, andoird/iphone app, and console application may access without duplicating your business logic.
Basically it will be for retrieving data and then let your application decide what to do with that data.
Use web services instead of C# classes in following cases
For example if you have a domain and services layer you may create a server that your website, andoird/iphone app, and console application may access without duplicating your business logic.
Basically it will be for retrieving data and then let your application decide what to do with that data.
Use web services instead of C# classes in following cases
- You want to expose some functionality to outsideworld/consumers/other applications
- You want to decouple parts ofyour system so that they can be changed without affecting otherparts of application
- You want to do make your application scaleable,so you create webserices and deploy those on different servers
No comments:
Post a Comment