Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

web.config

$
0
0

I am sure this question has been asked before. I just cannot get my head around the web.config file.

In development Visual Studio 2017 somehow generates an OK web.config file so you don't have to worry but what happens when I want to migrate to my remote website.

There seem to be so many options for specifying a connection string  in <connectionstrings> or adding a key in <appsettings> and why do you choose one over the other or is <connectionstrings> the only one that works and if so what is <apsettings> for.

I "accidentally" got something that worked but during a "tidy up" I carelessly lost the working web.config for my remote site when I moved from 123-reg to IONOS and as I never quite knew how I got there I can't fix it. It did work on IONOS for a while until I did the "tidy up" 

Is there an idiots guide to web.config or do you have to plough through the Microsoft brain dump which I have tried without success - apart from the one time lucky strike. It's just a simple MSSQL data base I am trying to access.


NJDR


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>