|
 |
aspx thread: Writing Configuration
Message #1 by Terrence Joubert <Terrence@v...> on Mon, 26 Aug 2002 15:58:22 +0400
|
|
Hi,
I have a little problem searching for a .NET component that allows my code
to write to a configuration file (Web.config). There is no object within the
System.Configuration namespace that provides such ability.
Does anyone of you know which object I can use?
Thanks for any help
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
Message #2 by "Joe Fawcett" <joefawcett@r...> on Mon, 26 Aug 2002 13:44:46 +0100
|
|
----- Original Message -----
From: "Terrence Joubert" <Terrence@v...>
To: "ASP+" <aspx@p...>
Sent: Monday, August 26, 2002 12:58 PM
Subject: [aspx] Writing Configuration
> Hi,
>
>
>
> I have a little problem searching for a .NET component that allows my code
> to write to a configuration file (Web.config). There is no object within
the
> System.Configuration namespace that provides such ability.
>
>
>
> Does anyone of you know which object I can use?
>
>
>
> Thanks for any help
>
>
>
> Terrence J. Joubert
>
> Software Engineer
>
> VCS, PO BOX 1000
>
> Victoria
>
Don't know of any specific class but it's a fairly trivial exercise for the
Xml related classes.
Joe
Message #3 by "Juan T. Llibre" <j.llibre@c...> on Mon, 26 Aug 2002 08:53:54 -0400
|
|
Have you tried WCE ?
http://www.hunterstone.com/wce/
Juan T. Llibre
Microsoft MVP [IIS/ASP]
ASP.NET en Espaņol : http://asp.net.do/
==============================
----- Original Message -----
From: "Terrence Joubert" <Terrence@v...>
To: "ASP+" <aspx@p...>
Sent: Monday, August 26, 2002 7:58 AM
Subject: [aspx] Writing Configuration
> Hi,
>
> I have a little problem searching for a .NET component that allows my code
> to write to a configuration file (Web.config). There is no object within
the
> System.Configuration namespace that provides such ability.
>
> Does anyone of you know which object I can use?
>
> Thanks for any help
>
> Terrence J. Joubert
Message #4 by Terrence Joubert <Terrence@v...> on Mon, 26 Aug 2002 16:33:47 +0400
|
|
Thanks Joe,
I think that the System.Configuration namespace is somehow 'incomplete'.
Many thanks
Terrence
-----Original Message-----
From: Joe Fawcett [mailto:joefawcett@r...]
Sent: Monday, August 26, 2002 4:45 PM
To: ASP+
Subject: [aspx] Re: Writing Configuration
----- Original Message -----
From: "Terrence Joubert" <Terrence@v...>
To: "ASP+" <aspx@p...>
Sent: Monday, August 26, 2002 12:58 PM
Subject: [aspx] Writing Configuration
> Hi,
>
>
>
> I have a little problem searching for a .NET component that allows my code
> to write to a configuration file (Web.config). There is no object within
the
> System.Configuration namespace that provides such ability.
>
>
>
> Does anyone of you know which object I can use?
>
>
>
> Thanks for any help
>
>
>
> Terrence J. Joubert
>
> Software Engineer
>
> VCS, PO BOX 1000
>
> Victoria
>
Don't know of any specific class but it's a fairly trivial exercise for the
Xml related classes.
Joe
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
Message #5 by Imar Spaanjaars <Imar@S...> on Mon, 26 Aug 2002 18:01:35 +0200
|
|
Hi there,
There is an article on MSDN that explains how to create our own
configuration handler. It's basically used to read data, but it may give
you a head start in writing to it as well.
Otherwise, the "ordinary" XML classes should provide enough access to the
XML file. After all, it's just plain ol' XML so you should be able to read
from and write to them like any other XML file.
HtH
Imar
At 03:58 PM 8/26/2002 +0400, you wrote:
>Hi,
>
>
>
>I have a little problem searching for a .NET component that allows my code
>to write to a configuration file (Web.config). There is no object within the
>System.Configuration namespace that provides such ability.
>
>
>
>Does anyone of you know which object I can use?
>
>
>
>Thanks for any help
>
>
>
>Terrence J. Joubert
>
>Software Engineer
>
>VCS, PO BOX 1000
>
>Victoria
Message #6 by "Aaron Chavez" <achavez382@w...> on Mon, 26 Aug 2002 19:06:12
|
|
Referring to "ASP.NET amd ADO.NET" (MS Press) this is by design.
This makes perfect sense. (my interpretation, not theirs)
Pretend you are Microsoft. Pretend you've been working hard to monopolize
server presentation of the Network. But, your flagship has leaks, and
because no one likes you (among other reasons), they are sensationalized
when they are found.
The LAST thing YOU want to do is introduce a programmatic way to expose
your web application's configuration to remote control. Someone else will
be along to do this any second (see links in this thread).
ac
> Hi,
I have a little problem searching for a .NET component that allows my code
to write to a configuration file (Web.config). There is no object within
the
System.Configuration namespace that provides such ability.
Does anyone of you know which object I can use?
Thanks for any help
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
Message #7 by Terrence Joubert <Terrence@v...> on Tue, 27 Aug 2002 06:53:35 +0400
|
|
With proper security implementation in the web application and on the web
server, one can block remote access to a configuration file. Besides, what
if remote entities were to hack in, treat and manipulate this config file as
an XML file? Security on the web server implemented by its Administrator is
the key here.
If it is really 'by design', then I think that this feature is as annoying
as the feature in Outlook 2002 that blocks certain types of attached files
and gives the user no way of controlling which type of file to block. For
dumb users, that's good, but for super users like me and many others that's
silly. It's time Microsoft caters for both classes in its Trustworthy
Computing initiative.
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
-----Original Message-----
From: Aaron Chavez [mailto:achavez382@w...]
Sent: Monday, August 26, 2002 11:06 PM
To: ASP+
Subject: [aspx] Re: Writing Configuration
Referring to "ASP.NET amd ADO.NET" (MS Press) this is by design.
This makes perfect sense. (my interpretation, not theirs)
Pretend you are Microsoft. Pretend you've been working hard to monopolize
server presentation of the Network. But, your flagship has leaks, and
because no one likes you (among other reasons), they are sensationalized
when they are found.
The LAST thing YOU want to do is introduce a programmatic way to expose
your web application's configuration to remote control. Someone else will
be along to do this any second (see links in this thread).
ac
> Hi,
I have a little problem searching for a .NET component that allows my code
to write to a configuration file (Web.config). There is no object within
the
System.Configuration namespace that provides such ability.
Does anyone of you know which object I can use?
Thanks for any help
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
Message #8 by "Wim Verdeyen" <Wim.Verdeyen@e...> on Tue, 27 Aug 2002 11:00:36 +0200
|
|
Hoi Terrence,
Not really related to the topic of writing to a configuration file.
But you can force that outlook doesn't block specific files, by adding
the following in your registry :
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security
Set its value to "Level1Remove"=".exe;.com;.reg" and restart Outlook.
Greetings
-----Original Message-----
From: Terrence Joubert [mailto:Terrence@v...]
Sent: dinsdag 27 augustus 2002 4:54
To: ASP+
Subject: [aspx] Re: Writing Configuration
With proper security implementation in the web application and on the
web
server, one can block remote access to a configuration file. Besides,
what
if remote entities were to hack in, treat and manipulate this config
file as
an XML file? Security on the web server implemented by its Administrator
is
the key here.
If it is really 'by design', then I think that this feature is as
annoying
as the feature in Outlook 2002 that blocks certain types of attached
files
and gives the user no way of controlling which type of file to block.
For
dumb users, that's good, but for super users like me and many others
that's
silly. It's time Microsoft caters for both classes in its Trustworthy
Computing initiative.
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
-----Original Message-----
From: Aaron Chavez [mailto:achavez382@w...]
Sent: Monday, August 26, 2002 11:06 PM
To: ASP+
Subject: [aspx] Re: Writing Configuration
Referring to "ASP.NET amd ADO.NET" (MS Press) this is by design.
This makes perfect sense. (my interpretation, not theirs)
Pretend you are Microsoft. Pretend you've been working hard to
monopolize
server presentation of the Network. But, your flagship has leaks, and
because no one likes you (among other reasons), they are sensationalized
when they are found.
The LAST thing YOU want to do is introduce a programmatic way to expose
your web application's configuration to remote control. Someone else
will
be along to do this any second (see links in this thread).
ac
> Hi,
I have a little problem searching for a .NET component that allows my
code
to write to a configuration file (Web.config). There is no object within
the
System.Configuration namespace that provides such ability.
Does anyone of you know which object I can use?
Thanks for any help
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
Message #9 by Terrence Joubert <Terrence@v...> on Tue, 27 Aug 2002 13:29:03 +0400
|
|
Thanks Wim,
I've actually developed an Outlook COM Add-In to manage this.
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
-----Original Message-----
From: Wim Verdeyen [mailto:Wim.Verdeyen@e...]
Sent: Tuesday, August 27, 2002 1:01 PM
To: ASP+
Subject: [aspx] Re: Writing Configuration
Hoi Terrence,
Not really related to the topic of writing to a configuration file.
But you can force that outlook doesn't block specific files, by adding
the following in your registry :
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security
Set its value to "Level1Remove"=".exe;.com;.reg" and restart Outlook.
Greetings
-----Original Message-----
From: Terrence Joubert [mailto:Terrence@v...]
Sent: dinsdag 27 augustus 2002 4:54
To: ASP+
Subject: [aspx] Re: Writing Configuration
With proper security implementation in the web application and on the
web
server, one can block remote access to a configuration file. Besides,
what
if remote entities were to hack in, treat and manipulate this config
file as
an XML file? Security on the web server implemented by its Administrator
is
the key here.
If it is really 'by design', then I think that this feature is as
annoying
as the feature in Outlook 2002 that blocks certain types of attached
files
and gives the user no way of controlling which type of file to block.
For
dumb users, that's good, but for super users like me and many others
that's
silly. It's time Microsoft caters for both classes in its Trustworthy
Computing initiative.
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
-----Original Message-----
From: Aaron Chavez [mailto:achavez382@w...]
Sent: Monday, August 26, 2002 11:06 PM
To: ASP+
Subject: [aspx] Re: Writing Configuration
Referring to "ASP.NET amd ADO.NET" (MS Press) this is by design.
This makes perfect sense. (my interpretation, not theirs)
Pretend you are Microsoft. Pretend you've been working hard to
monopolize
server presentation of the Network. But, your flagship has leaks, and
because no one likes you (among other reasons), they are sensationalized
when they are found.
The LAST thing YOU want to do is introduce a programmatic way to expose
your web application's configuration to remote control. Someone else
will
be along to do this any second (see links in this thread).
ac
> Hi,
I have a little problem searching for a .NET component that allows my
code
to write to a configuration file (Web.config). There is no object within
the
System.Configuration namespace that provides such ability.
Does anyone of you know which object I can use?
Thanks for any help
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
Message #10 by "Samuel Engelman" <samuel_engelman@p...> on Tue, 27 Aug 2002 09:13:18 -0400
|
|
Terrence, Wanna share?
|---------+--------------------------------------->
| | Terrence Joubert |
| | <Terrence@v...> |
| | |
| | |
| | Tuesday August 27, 2002 05:29 AM |
| | Please respond to "ASP+" |
| | |
|---------+--------------------------------------->
>---------------------------------------------------------------------------------------------------|
| |
| To: "ASP+" <aspx@p...> |
| cc: |
| Subject: [aspx] Re: Writing Configuration |
>---------------------------------------------------------------------------------------------------|
Thanks Wim,
I've actually developed an Outlook COM Add-In to manage this.
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
-----Original Message-----
From: Wim Verdeyen [mailto:Wim.Verdeyen@e...]
Sent: Tuesday, August 27, 2002 1:01 PM
To: ASP+
Subject: [aspx] Re: Writing Configuration
Hoi Terrence,
Not really related to the topic of writing to a configuration file.
But you can force that outlook doesn't block specific files, by adding
the following in your registry :
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security
Set its value to "Level1Remove"=".exe;.com;.reg" and restart Outlook.
Greetings
-----Original Message-----
From: Terrence Joubert [mailto:Terrence@v...]
Sent: dinsdag 27 augustus 2002 4:54
To: ASP+
Subject: [aspx] Re: Writing Configuration
With proper security implementation in the web application and on the
web
server, one can block remote access to a configuration file. Besides,
what
if remote entities were to hack in, treat and manipulate this config
file as
an XML file? Security on the web server implemented by its Administrator
is
the key here.
If it is really 'by design', then I think that this feature is as
annoying
as the feature in Outlook 2002 that blocks certain types of attached
files
and gives the user no way of controlling which type of file to block.
For
dumb users, that's good, but for super users like me and many others
that's
silly. It's time Microsoft caters for both classes in its Trustworthy
Computing initiative.
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
-----Original Message-----
From: Aaron Chavez [mailto:achavez382@w...]
Sent: Monday, August 26, 2002 11:06 PM
To: ASP+
Subject: [aspx] Re: Writing Configuration
Referring to "ASP.NET amd ADO.NET" (MS Press) this is by design.
This makes perfect sense. (my interpretation, not theirs)
Pretend you are Microsoft. Pretend you've been working hard to
monopolize
server presentation of the Network. But, your flagship has leaks, and
because no one likes you (among other reasons), they are sensationalized
when they are found.
The LAST thing YOU want to do is introduce a programmatic way to expose
your web application's configuration to remote control. Someone else
will
be along to do this any second (see links in this thread).
ac
> Hi,
I have a little problem searching for a .NET component that allows my
code
to write to a configuration file (Web.config). There is no object within
the
System.Configuration namespace that provides such ability.
Does anyone of you know which object I can use?
Thanks for any help
Terrence J. Joubert
Software Engineer
VCS, PO BOX 1000
Victoria
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
|
|
 |