C# Settings

19. December 2007

How does the settings included in the .NET Framework.

There is two types of settings:

  • User
  • Application

 

User

The user settings can be edited when the application is running.

Those settings are stored in the app.config but if the user edits them they are 'surprisingly' not stored in the app.config again but they under the current user in a user.config file witch only contains the User settings from the app.config.

Location of the user.config file:

During runtime, each individual user (of your computer) will maintain his/her own copy of the app.config file, which will be named user.config. This file can be found within the following directory:


C:\Documents and Settings\USER\Local Settings\Application Data\<Project Name>
In my case, it is:

C:\Documents and Settings\MY USER\Local Settings\Application Data\AppSettingsInCS
Within this folder, you will find another folder, named something like:

AppSettingsInCS.vshost.ex_Url_dcjtbf3vhoeael5lvzjkefwbzccd3hbz

And within this folder, you will find a folder based on the version number of the application (in my case it is 1.0.0.0).

Application

Settings of this type are shared between all users and can't be edited when the application is running.

 

For more info look at the msdn or this page

Visual Studio .NET 2005

Comments

10/20/2009 12:58:45 AM #
Keep working ,great job!
10/20/2009 8:39:01 PM #
amazing stuff thanx Smile
11/3/2009 7:05:36 PM #
I think your blog need a new wordpress template. Downalod it from http://templates.wordpressguru.in, The site has nice and unique wordpress templates.
12/26/2009 5:46:28 AM #
You made fantastic nice points here. I performed a search on the issue and discovered almost all peoples will agree with your blog.
12/27/2009 6:43:58 PM #
You got some great ideas there. I did a search on the issue and learnt most peoples will agree with your blog.
12/29/2009 2:50:52 AM #
Nice post . keep up the good work
12/29/2009 2:07:36 PM #
This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article
1/4/2010 5:05:22 PM #
You made fantastic nice points here. I performed a search on the issue and discovered almost all peoples will agree with your blog.
1/15/2010 3:46:14 AM #
i just wanna thank you for sharing your information and your site or blog this is simple but nice article I've ever seen i like it i learn something today...
1/20/2010 3:41:30 AM #
You got some great ideas there. I did a search on the issue and learnt most peoples will agree with your blog.
1/28/2010 11:52:27 AM #
You had fantastic good ideas here. I did a search on the subject and discovered almost all peoples will agree with your blog.
2/4/2010 7:40:17 AM #
This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.
2/6/2010 12:52:39 PM #
Nice post . keep up the good work
2/6/2010 6:44:46 PM #
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Thanks!
2/9/2010 11:29:34 AM #
cheap NHL jerseys are only the beginning in terms of what you can expect to find online now.<a href=http://www.jerseysleague.com>cheap nhl jerseys</a>Discount  NHL merchandise is available in all sorts of categories and products,<a href=http://www.jerseysleague.com>nhl jerseys</a>and you'll love the selection that you can have access to for each and every time. Besides other apparel like t-shirts, hats and jackets, you can find many other products like NHL Fatheads.You can purchase cheap NHL jerseys if you action as well.


2/9/2010 7:41:13 PM #
You gave honest ideas there. I did a search on the issue and got most peoples will agree with your blog.
2/11/2010 10:17:31 PM #
We need men who can dream of things that never were.
2/22/2010 11:45:27 PM #
You had great positive ideas there. I did a search on the issue and found nearly all peoples will agree with your blog.
2/25/2010 1:52:54 PM #
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.
2/26/2010 3:45:50 PM #
You have some honest ideas here. I done a research on the issue and discovered most peoples will agree with your blog.
ugg boots
ugg boots
3/6/2010 3:34:51 PM #

they are very good and useful!!!
http://www.uggs-outlet.org                              ugg outlet
http://www.cheap-uggs-online.net                cheap uggs
http://www.shoesucn.com                                nike shoes
http://www.watchesxm.com                             wholesale watches
3/17/2010 8:54:21 PM #
Wow, that is nice C # setting thanks for the great post. Now this is highly post for me. What will be the next post.
3/20/2010 9:26:01 PM #
You made numerous nice ideas there. I done a search on the issue and learnt nearly all peoples will agree with your blog.
3/21/2010 3:13:26 PM #
You have done a marvellous job by exploring this subject with such an honesty and depth. Thanks for sharing it with us!
3/22/2010 11:57:11 AM #
You made great points there. I made a search on the topic and found most peoples will agree with your blog.
3/22/2010 11:32:01 PM #
I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.
3/23/2010 12:14:41 PM #
Nice post . keep up the good work
3/24/2010 1:51:42 PM #
Nice post . keep up the good work
3/24/2010 10:42:24 PM #
You have some honest ideas here. I done a research on the issue and discovered most peoples will agree with your blog.
3/26/2010 10:25:01 AM #
This is a really good read for me. Must admit that you are one of the coolest bloggers I ever saw. Thanks for posting this useful article.
ugg outlet
ugg outlet
3/27/2010 6:44:15 PM #
http://preserved-szechuan-pickle.com/                  preserved-szechuan-pickle
http://salted-vegetable.com/                               salted-vegetable
http://dried-bamboo-shoot.com/                          dried-bamboo-shoot
http://ater-chestnut.com/                                   ater-chestnut
http://long-crooked-squash.com/                          long-crooked-squash
http://dried-mushroom.net/                                 dried-mushroom
http://white-fungus.com/                                    white-fungus
http://wheat-gluten.net/                                     wheat-gluten
http://tomato-sauce.net/                                     tomato-sauce
http://main-course.org/                                        main-course
http://sweet-dessert.net/                                     sweet-dessert
http://angie-you.com/                                            angie-you
http://anglie-look.com/                                        anglie-look
http://sports-zoey.com/                                         sports-zoey
http://anita-sit.com/                                               anita-sit
http://www.target.com                                          target
cheap jordan
cheap jordan
4/1/2010 2:57:32 PM #
http://www.nikejordanstore.com Cheap Nike Air Jordan Shoes Wholesale Nike Air Force One
http://www.cheapdunkshoes.com/ cheap wholesale Nike jordan Free shipping
4/1/2010 10:45:36 PM #
Hi I reach your site by mistake when i was searching bing for this wii issue, I must&nbsp;say your site is really helpful I also love the design, its amazing!. I dont have that much time to read all your post at the moment&nbsp;but I have bookmarked your site&nbsp;and also signed up for your RSS feeds. I will be back in a day or two. thanks for a great site.
4/1/2010 10:57:01 PM #
this was a really quality post. In theory I'd like to write like this too - taking time and real effort to make a good article... but what can I say... I procrastinate a lot and never seem to get something done.
4/3/2010 3:36:21 PM #
I like to buy nikon digital cameras over canon. If i were buying a point and shoot digital camera i would get Canon though
4/7/2010 7:03:22 AM #
I am reading this article second time today, you have to be more careful with content leakers. If I will fount it again I will send you a link
4/7/2010 3:56:44 PM #
It does seem that everybody is into this kind of stuff lately. Don’t really understand it though, but thanks for trying to explain it. Appreciate you shedding light into this matter. Keep it up
4/11/2010 3:24:10 AM #
Thanks so much for another information. I be able to get material and written I have a presentation, and always looking for.
4/11/2010 3:24:10 AM #
one more terrific piece of work. discover stuff like this am glad I found speech to make next week, and this is just.
4/11/2010 5:25:03 AM #
I have a outstanding sense of humor and I enjoy laughing the silliest of her jokes.
4/12/2010 2:32:51 PM #
I have been browsingonline more than three hours today, yet I by no means found any attractive piece like yours. It's pretty worth enough for me. For my part, if all website owners and bloggers made high-quality content as you did, the web shall be much more functional than ever before.
4/15/2010 10:58:05 AM #
Your blog is timely reinforcement about the purpose of blogs and what I aspire to as well. Really good one!
4/17/2010 4:29:31 PM #
Hello - I must say, I’m impressed with your site. I had no trouble navigating through all the tabs and information was very easy to access. I found what I wanted in no time at all. Pretty awesome. Would appreciate it if you add forums or something, it would be a perfect way for your clients to interact. Great job
4/21/2010 6:15:24 AM #
Found this post through Stumbleupon, will share with others. You should add a Stumble button to your blog to make it easier to share Smile
4/22/2010 9:46:35 AM #
Hello - I must say, I’m impressed with your site. I had no trouble navigating through all the tabs and information was very easy to access. I found what I wanted in no time at all. Pretty awesome. Would appreciate it if you add forums or something, it would be a perfect way for your clients to interact. Great job
4/22/2010 11:16:48 PM #
No matter how many times I read it, it never gets old.  You definitely hit the nail on the head on this one.  This is something people need to know about.  Your blog is really incredible and the design is really top notch.  Really, youre blog is incredible.  Keep going, man.  Keep going!
4/23/2010 3:57:42 PM #
I was wondering if you ever considered changing the layout of your blog?  Its very well written; I love what youve got to say.  But maybe you could a little more in the way of content so people could connect with it better.  Youve got an awful lot of text for only having one or two images.  Maybe you could space it out better?
4/24/2010 2:06:08 AM #
This is my first time i visit right here. I discovered so numerous fascinating stuff in your weblog particularly its discussion. From the tons of comments on your articles, I guess I'm not the only one having all of the enjoyment right here! keep up the good work.
4/24/2010 6:22:32 AM #
Im a huge fan already, man.  Youve done a brilliant job making sure that people understand where youre coming from.  And let me tell you, I get it.  Great stuff and I cant wait to read more of your blogs.  What youve got to say is important and needs to be read.
4/24/2010 8:06:59 AM #
Hi, I used to be researching the web  & I revealed your web site. Carry on the superb work.
4/24/2010 7:27:32 PM #
Took me time to study all of the comments, but I truly enjoyed the post. It proved to be Very helpful to me and I'm certain to all of the commenters right here! It's usually good whenever you can not just be informed, but also entertained! I am certain you had fun writing this post.
4/25/2010 4:10:14 AM #
This layout is so stellar.  How did you manage to make a blog thats as smart as it is sleek? I mean, its like an Aston Martin --smart and sexy at the same time.   Ive got to say, the layout alone made me come back to this blog again.  But now that Ive read what youve got to say, Ive got to share it with the world!
4/25/2010 5:33:54 AM #
Have you ever thought about adding a little bit more than just your thoughts?  I mean, what you say is important and everything.  But its got no punch, no pop!  Maybe if you added a pic or two, a video?  You could have such a more powerful blog if you let people SEE what youre talking about instead of just reading it.
4/26/2010 3:07:01 AM #
This is one of the most incredible blogs Ive read in a very long time.  The amount of information in here is stunning, like you practically wrote the book on the subject.  Your blog is great for anyone who wants to understand this subject more.  Great stuff; please keep it up!
4/26/2010 8:45:12 PM #
The Kreg Jig takes advantage of a technique called Kreg Joinery. Unlike other techniques, Kreg Jig requires no glue, no complicated math, and no small army of clamps to make wood joints that will last.
4/28/2010 8:16:07 PM #
I\'m happy I found this blog, I couldnt discover any info on this subject matter prior to. I also run a site and if you want to ever serious in a little bit of guest writing for me if possible feel free to let me know, i\'m always look for people to check out my site. Please stop by and leave a comment sometime!
4/28/2010 10:44:20 PM #
Im impressed, I must say.  Very rarely do I come across a blog thats both informative and entertaining, and let me tell you, youve hit the nail on the head.  Your blog is important; the issue is something that not enough people are talking intelligently about.  Im really happy that I stumbled across this in my search for something relating to this issue.
5/3/2010 5:12:55 AM #
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.
5/3/2010 5:52:02 AM #
Thank you for this blog.  Thats all I can say.  You most definitely have made this blog into something thats eye opening and important.  You clearly know so much about the subject, youve covered so many bases.  Great stuff from this part of the internet.  Again, thank you for this blog.
5/3/2010 1:45:51 PM #
I have to say, I dont know if its the clashing colours or the bad grammar, but this blog is hideous!  I mean, I dont want to sound like a know-it-all or anything, but could you have possibly put a little bit more effort into this subject.  Its really interesting, but you dont represent it well at all, man.
5/4/2010 6:55:53 AM #
I dont know what to say.  This blog is fantastic.  Thats not really a really huge statement, but its all I could come up with after reading this.  You know so much about this subject.  So much so that you made me want to learn more about it.  Your blog is my stepping stone, my friend.  Thanks for the heads up on this subject.
5/4/2010 9:40:10 AM #
I want to say that I dont think Ive read anything so true in a long time.  Youve got a lot of great ideas, a great deal of perspective.  I think that you definitely have something important to say and Im gonna back it 110%, man.  Good job keeping this subject alive and interesting!
5/4/2010 9:25:40 PM #
This layout is so stellar.  How did you manage to make a blog thats as smart as it is sleek? I mean, its like an Aston Martin --smart and sexy at the same time.   Ive got to say, the layout alone made me come back to this blog again.  But now that Ive read what youve got to say, Ive got to share it with the world!
5/5/2010 7:32:38 PM #
The blog post is really a helpful one. There are some nice information whcih are very beneficial. I like the post very much. Carry on man.