Reputation: 1268
My question can be simple or easy. I have created two applications one is asp.net website and second is WPF Desktop application. Both are accessing same sql-server database. Question are:
What are the best hosting websites to register a website?
Once a website is registered how to access that SQL-server database placed on server by desktop application?
Upvotes: 1
Views: 838
Reputation: 7069
answers
Godaddy, bigrock, somee.com** are good hosting providers
Use the same ConnectionString in both website and WPF application.
Upvotes: 2
Reputation: 12837
Ideally you should develop an API and host it as a webservice somewhere (azure?) and let the webapp and wpf app access only that service, not the database directly.
Upvotes: 1