D
Darrel
I haven't made it very far into my first 2.0 project.
In the past, to connect to a DB, I'd store the connection string in
web.config and just grab it from my codebehind page:
connectionString = ConfigurationSettings.AppSettings("dbConnection")
Well, 2.0 is telling me that is deprecated. And via some googling, it seems
like I'm not even supposed to be touchiing the web config file much anymore
and using the whole Website Configuration Wizard.
Can anyone explain how this new concept works? Where do I now stick my db
connection string and how to I access it? Where is it stored? It also talks
about roles/permissions in the Conciguration wizard. Does that refer to
users of the application I'm building? Do I no longer create my own forms/db
tables to maintain users with admin login priviliges?
-Darrel
In the past, to connect to a DB, I'd store the connection string in
web.config and just grab it from my codebehind page:
connectionString = ConfigurationSettings.AppSettings("dbConnection")
Well, 2.0 is telling me that is deprecated. And via some googling, it seems
like I'm not even supposed to be touchiing the web config file much anymore
and using the whole Website Configuration Wizard.
Can anyone explain how this new concept works? Where do I now stick my db
connection string and how to I access it? Where is it stored? It also talks
about roles/permissions in the Conciguration wizard. Does that refer to
users of the application I'm building? Do I no longer create my own forms/db
tables to maintain users with admin login priviliges?
-Darrel