Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading Web.config settings
Message
De
23/11/2005 12:50:44
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
 
À
23/11/2005 12:46:54
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01071544
Message ID:
01071671
Vues:
21
I'm actually in a C# class file(no gui). When I go into a VB code behind page I can view the ConfigurationManager class. Is this class only for VB and not C#? Is there a setting that could be wrong?

Jim

>>Found out something about this issue. When I compile my app I get a warning saying
>>
>>
>>   System.Configuration.ConfigurationSettings.AppSettings is obsolete:
>>"This method is obsolete, it has been replaced by
>>System.Configuration!
>>System.Configuration.ConfigurationManager.AppSettings
>>
>>
>>The issue I'm having is I don't see the ConfigurationManager in the intelisense when I type System.Configuration.ConfigurationSettings in the code. I see ClientSettingsSection. ConfigurationException, ConfigurationSettings. I'm using the VS.Net standard edition.
>>
>>What am I doing wrong?
>
>That's probably it. There is probably something wrong with the layout in that particular section.
Thanks

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform