473,761 Members | 8,463 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

user.config files available in asp.net?

TS
i want to use these but think they may be only windows forms
Jun 27 '08 #1
4 2117
No, they are not.
Any configuration settings for asp.net apps should be placed in web.config.

There's options for using configuration settings in files external to web.config.

For an example, see :
http://forums.asp.net/p/945196/1141186.aspx

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"TS" <ma**********@n ospam.nospamwro te in message news:OZ******** ******@TK2MSFTN GP06.phx.gbl...
>i want to use these but think they may be only windows forms

Jun 27 '08 #2
Hi TS,

As Juan has suggested, in ASP.NET web.config file is the only configuration
storage and there is no user.config like winform application(bec ause
ASP.NET application runs at server-side and doesn't directly access on
client user's machine). Is there any particular requirement in your
appliation that need such a user.config file? In ASP.NET application(fro m
2.0), if you want to store some per user specific data, you can consider
using the "profile" properties:

#Defining ASP.NET Profile Properties
http://msdn.microsoft.com/en-us/library/d8b58y5d.aspx

#Profiles In ASP.NET 2.0
http://www.odetocode.com/articles/440.aspx

Profile service can use different kind of persistent storage(by default use
SQL express database) to store data for each authenticated or anonymous
user.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "TS" <ma**********@n ospam.nospam>
Subject: user.config files available in asp.net?
Date: Wed, 28 May 2008 12:24:16 -0500
>
i want to use these but think they may be only windows forms
Jun 27 '08 #3
TS
thanks, just wondering

"Steven Cheng [MSFT]" <st*****@online .microsoft.comw rote in message
news:WZ******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi TS,

As Juan has suggested, in ASP.NET web.config file is the only
configuration
storage and there is no user.config like winform application(bec ause
ASP.NET application runs at server-side and doesn't directly access on
client user's machine). Is there any particular requirement in your
appliation that need such a user.config file? In ASP.NET application(fro m
2.0), if you want to store some per user specific data, you can consider
using the "profile" properties:

#Defining ASP.NET Profile Properties
http://msdn.microsoft.com/en-us/library/d8b58y5d.aspx

#Profiles In ASP.NET 2.0
http://www.odetocode.com/articles/440.aspx

Profile service can use different kind of persistent storage(by default
use
SQL express database) to store data for each authenticated or anonymous
user.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>From: "TS" <ma**********@n ospam.nospam>
Subject: user.config files available in asp.net?
Date: Wed, 28 May 2008 12:24:16 -0500
>>
i want to use these but think they may be only windows forms

Jun 27 '08 #4
If you have any further questions, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "TS" <ma**********@n ospam.nospam>
References: <OZ************ **@TK2MSFTNGP06 .phx.gbl>
<WZ************ **@TK2MSFTNGHUB 02.phx.gbl>
>Subject: Re: user.config files available in asp.net?
Date: Thu, 29 May 2008 08:46:31 -0500
>
thanks, just wondering

"Steven Cheng [MSFT]" <st*****@online .microsoft.comw rote in message
news:WZ******* *******@TK2MSFT NGHUB02.phx.gbl ...
>Hi TS,

As Juan has suggested, in ASP.NET web.config file is the only
configuratio n
storage and there is no user.config like winform application(bec ause
ASP.NET application runs at server-side and doesn't directly access on
client user's machine). Is there any particular requirement in your
appliation that need such a user.config file? In ASP.NET
application(fro m
>2.0), if you want to store some per user specific data, you can consider
using the "profile" properties:

#Defining ASP.NET Profile Properties
http://msdn.microsoft.com/en-us/library/d8b58y5d.aspx

#Profiles In ASP.NET 2.0
http://www.odetocode.com/articles/440.aspx

Profile service can use different kind of persistent storage(by default
use
SQL express database) to store data for each authenticated or anonymous
user.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3828
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply* access config files. This is version 3, which is a big overhaul. It extends ConfigObj to reading config files with sections and various other simplifications. I find ConfigObj extremely easy to use and use it for reading config files and data...
0
2777
by: Per Bergland | last post by:
After many woes, I finally managed to get a stack dump of my System Service (written in C#) that insists on crashing when launched at system boot time (see below on how to get this dump - I couldn't find any info on how to do this). Here's the stack trace from cordbg: Unhandled exception generated: (0x04719c94) <System.Runtime.Remoting.RemotingException> _className=<null> _exceptionMethod=<null>
4
6661
by: Jon Maz | last post by:
Hi All, I'm getting to grips with PHP and Apache (on Windows for current development, production site will be on Linux), and have a simple (I hope!) request. When you change the httpd.conf file and restart Apache, if you have made an error you simply get a popup saying that there has been an error, but giving no useful information about what or where the error is (on Windows anyway).
12
1961
by: Mark Broadbent | last post by:
Hi guys, just going through remoting at the moment and a couple of questions relating to .net in general has surfaced. Firstly I have seen in the designer that for the namespace and many of its associated classes of System.Runtime.Remoting are available, but certain ones are not. A reference to System.Runtime.Remoting needs to be added to make available all the unavailable ones. Now although I (think) understand the concept that an...
7
2918
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the database into classes, which are used throughout the application. I have made class collections which, upon reading from the DB, create an instance of the class and store the DB values in there temporarily. My problem is that if user1 looks at...
8
3166
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my development on existing and new applications. This environment also has its own Sql Server with dev versions of all our live Databases. Our live production server also its own Sql Server, these 2 Sql Servers are kept completely separate (for obvious...
12
13437
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD file was built by draging tables from the Data Sources pane. Auto-generated code created the files associated wtih the XSD file (xss,
2
4265
by: cmay | last post by:
I have an asp.net application at the root, and other applications suchs as /WebApp1, /WebApp2. By design, these web applications inherit the root application's web.config file. But, when you create a Web Reference, to a webservice, it creates a section in your web.config file "My.MySettings" to hold the URL of the webservice.
21
213
by: Nick Craig-Wood | last post by:
Lance Gamet <lance@gamet.comwrote: I've found http://docs.python.org/lib/module-ConfigParser.html To be easy to use and built in. It makes human readable / editable ..ini - like files. As for where to store it, I use os.path.expanduser("~") to find the
0
9336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9765
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.