Is it possible for an asp.net mvc web api deployed on azure to connect to on premise db using windows authentication?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
To achieve what you want, you have to:
- Domain Join your WebRole
- Programmatically set AppPool credentials to a user who has access to the local DB.