Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys I'm little bit confuse with provider and service i saw some putting there CRUD in providers and services folder/class. What is the difference with provider and services? Thanks in advance guys :)

What I have tried:

I tried putting database CRUD in services folder/class like Services/DataService.cs is it best practice? enlighten me guys
Posted
Updated 6-Apr-18 8:48am

1 solution

Here is an interesting article to get you started, it discusses things like "three tier" architecture:
Learn C# Design patterns step by step with a project – Part 1[^]
Here is an article about the Provider pattern: Provider Pattern for Beginners[^]
And some info about Services patterns: Services Patterns[^]
 
Share this answer
 
v3
Comments
Jefferson Vargas Nilo 6-Apr-18 23:59pm    
Thank you :) i will read that
RickZeeland 7-Apr-18 2:36am    
You might also like to look into SignalR too, as it is easier and more performant than webservices ...

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