For this purpose you can put connectionstring in web.config file. you can put connection string as below under configurations section and ater when you move your application to class room just change value in web.config.
<appsettings>
<add key="constring" value="actual connectionstring" />
</appsettings>