Лучшая практика: прямой доступ SQL против веб-службы

With respect to an application that has both a web and desktop client version:

What is the best practice for the desktop client which needs access to a SQL Server? What are the benefits of connecting to the database from the application vs using a web service? Which one provides better security? What type of scope would call for one vs the other (enterprise intranet vs. web app, etc) Are there any other considerations that are necessary when choosing on platform?

Ответы на вопрос(5)

Ваш ответ на вопрос