Using windows azure connect

2019-09-12 15:19发布

问题:

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:

  1. Domain Join your WebRole
  2. Programmatically set AppPool credentials to a user who has access to the local DB.