Board index » Visual Studio » Place of web.config

Place of web.config

Visual Studio223
I have a web application conected to a sql database.

When I publish this site I get one file in the bin directory, the web.config

file and the aspx.files

in the application folder.

As I understand it:

My web is at www.myweb.no and

the web.config-file is located on the root

On this root directory the bin folder is located.

In the bin folder is the compiled dll-file containing the vb-code to each

aspx-file.

My application is located as www.myweb.no/MyApplication1

There should be no web.config-file in this folder.

And there should be no bin-folder in the application folder.



reidarT


-
 

Re:Place of web.config

"reidarT" <reidar@eivon.no>wrote in



Quote
I have a web application conected to a sql database.

When I publish this site I get one file in the bin directory, the

web.config file and the aspx.files

in the application folder.

As I understand it:

My web is at www.myweb.no and

the web.config-file is located on the root

On this root directory the bin folder is located.

In the bin folder is the compiled dll-file containing the vb-code to

each aspx-file.

My application is located as www.myweb.no/MyApplication1

There should be no web.config-file in this folder.

And there should be no bin-folder in the application folder.







Files should be places:





\AppDirectory

\AppDirectory\Bin\*.dlls

\AppDirectory\Web.config

-

Re:Place of web.config

huh ??



Quote
My application is located as www.myweb.no/MyApplication1

There should be no web.config-file in this folder.

And there should be no bin-folder in the application folder.



if you create an application in a root web , well then a web config and bin

folder are totally valid



even better a web config file might be valid in every sub directory as it is

inheritance based , i for a fact have a website that uses forms

authentication

however some directory`s have there own custom security , i do this with

seperate config files



but ..... what is exactly your question ???



regards



Michel Posseth [MCP]















"reidarT" wrote:



Quote
I have a web application conected to a sql database.

When I publish this site I get one file in the bin directory, the web.config

file and the aspx.files

in the application folder.

As I understand it:

My web is at www.myweb.no and

the web.config-file is located on the root

On this root directory the bin folder is located.

In the bin folder is the compiled dll-file containing the vb-code to each

aspx-file.

My application is located as www.myweb.no/MyApplication1

There should be no web.config-file in this folder.

And there should be no bin-folder in the application folder.



reidarT









-