0

I'm working on different windows machines and virtual windows machines on a mac. I have a project wich uses SQL server and AD for autentication.

Right now I have to be connected to VPN so that the asp.net web application can connect to AD using LDAP string to autentivate users, I also have the SQL server on the other side of the VPN connection.

Is there any way to setup my enviroment so that I can work locally without the AD, and on a local SQL server and be able to publish the project without manually changing the web.config file?

Fredrik Mörk
  • 155,851
  • 29
  • 291
  • 343
espenk
  • 575
  • 2
  • 8
  • 23
  • From what you're saying, it sounds like you are developing against your production database - this is a BAD thing! – Paddy Feb 15 '11 at 10:37
  • I'm developing against a "pre prod" database, so it's only for testing, but the AD is the same. – espenk Feb 15 '11 at 15:56

1 Answers1

2

You can make some publish profiles, they affect your web.config automatically when you select the profile.

Seen Here Hope I can help you a bit !

Community
  • 1
  • 1
bAN
  • 13,375
  • 16
  • 60
  • 93