腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
如何
读取
configSections
c#
、
app-config
<
configSections
> <section name="Section3&q
浏览 8
提问于2012-04-26
得票数 4
回答已采纳
3
回答
如何
在<
configSections
>中插入app.config作为第一个子级
visual-studio-2017
、
nuget
、
app-config
、
xdt-transform
、
xdt
我目前正在编写一个新的app.config.install.xdt包,但是我无法正确地获得NuGet文件(这是一个转换app.config以适应已安装包的app.config文件)。它必须是第一个子程序,否则应用程序将异常失败(Microsoft强制执行)。我能做些什么来解决我的问题?
浏览 4
提问于2018-08-09
得票数 1
2
回答
不可识别的配置区段重写器
c#
、
asp.net
、
url-rewriting
我已经添加了所有必需的配置(在web.config中用于UrlRewriter模块),但是当我尝试在web.config中添加该配置时: <
configSections
Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" /> </
configSection
浏览 2
提问于2010-06-03
得票数 1
回答已采纳
1
回答
如何
使用xslt将<
configSections
>添加到web.config
xml
、
xslt
、
web-config
问题是对于<
configSections
>,它需要成为<configuration>下的第一个节点,否则IIS就会抱怨。如果能保证它的存在,这不会是个问题,但事实并非如此。无论我尝试了什么,我都不能强迫结果可靠地将<
configSections
>节点作为第一个节点。在下面的示例中,如果<
configSections
>不存在,它会将新的<
configSections
>放在顶部,但如果它确实存在,则会将其添加到任意位置(在<configuration>标记
浏览 2
提问于2017-05-03
得票数 2
回答已采纳
1
回答
我的解决方案资源管理器中没有Startup.cs和appsettings.jason文件,
如何
在项目中实现数据库连接
asp.net
、
angularjs
、
asp.net-mvc
、
entity-framework
在使用AngularJS创建AngularJS MVC项目时,缺少了appsettings.json和startup.cs文件。是否有任何方法来创建它们或从数据库获取连接的任何其他选项..?
浏览 4
提问于2021-05-14
得票数 0
回答已采纳
1
回答
在控制台应用程序中,App.Config中的elmah设置有问题
c#
、
.net
、
console-application
、
elmah
我查看了相关的帖子并找到了设置App.Config 的例子,但是当我尝试插入
configSections
和elmah片段时,就会得到配置异常。newVersion="6.7.4.0" /> </assemblyBinding> <
configSections
requirePermission="false" type=
浏览 3
提问于2015-03-26
得票数 3
回答已采纳
2
回答
使用XML对象读取XML文件会导致缺少条目
json
、
xml
、
powershell
XML文件(注二节组的) <
configSections
> </sectionGroup> <
浏览 7
提问于2020-04-17
得票数 0
3
回答
从javascript读取web.config
javascript
、
asp.net
我不能通过web.config
阅读
。我的web.config如下所示<configuration> <section name="datalayers" type="Basic" /> </
configSections
>openlayers projection=
浏览 1
提问于2013-12-18
得票数 0
回答已采纳
4
回答
在.config中使用外部configSource文件会产生错误
c#
、
.net
、
app-config
我正在讨论
如何
使用Configuration在App.config文件中读取/写入C#中WPF应用程序的自定义部分。我
阅读
了这篇关于的优秀文章,它帮助我很好地使用了配置文件。> <
configSections
> </
co
浏览 1
提问于2011-05-12
得票数 17
回答已采纳
1
回答
FCL支持直接访问configuration/
configSections
元素?
configuration
、
.net-4.0
除了解析类之外,是否有强类型的类或方法可以直接以编程方式访问configuration/
configSections
元素?<?xml version=&q
浏览 1
提问于2011-08-09
得票数 1
1
回答
Powershell中的XML修改
xml
、
powershell
live_xml.Load($live_web_config)foreach ($sec in $live_xml.configuration.
configSections
.section.name) $node = $int_xml.configuration.
configSections
.section | where {$_.name -imatch $sec } ifadd_node = $int_xml.importnode("section")
浏览 0
提问于2015-03-24
得票数 0
回答已采纳
3
回答
ASP.NET applicationSettings (给我)适合
c#
、
asp.net
、
asp.net-mvc
、
application-settings
我已经
阅读
了所有的示例,并且我还没有弄清楚
如何
使用web.config (而不是appSettings)从applicationSettings文件中获取信息。我的
configSections
有以下内容 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroupCulture=neutral, PublicKe
浏览 3
提问于2010-09-22
得票数 0
1
回答
通过C#动态链接库从JasperServer web服务下载大型DIME附件的配置
web-services
、
asp.net-mvc-2
、
download
、
jasperserver
> <
configSections
> </sectionGroup>
浏览 3
提问于2011-01-11
得票数 2
回答已采纳
4
回答
如何
从ASPX读取配置文件?
.net
、
asp.net
、
web-config
如何
从aspx文件中读取web.config文件? 谢谢!
浏览 0
提问于2010-04-03
得票数 1
回答已采纳
2
回答
如何
创建一个web.config文件以获得SoapExtension加载?
c#
、
web-services
、
web-config
、
asmx
、
soap-extension
我已经读过,通过app.config文件应该是可能的,但我不知道
如何
这样做。因此,我手动创建了一个具有以下内容的内容: <?我想手动创建web.config文件可能不足以考虑到它,所以我想知道
如何
正确地配置我的应用程序以拥有一个web.config文件以使用我的SoapExtension。
浏览 3
提问于2011-04-06
得票数 8
回答已采纳
1
回答
在WCF服务中添加Tracer
c#
、
wcf
我试图使用以下配置数据向WCF服务消息添加一个跟踪器--我使用SvcConfigEditor.exe添加了跟踪器,下面是它生成的web.config文件<configuration> <add name="MyContext" connectionString="Server=.;Database=MyDb;Integrated Security=true; Mult
浏览 3
提问于2016-05-01
得票数 0
回答已采纳
1
回答
如何
在配置安装xdt转换中为节点指定插入位置
asp.net
、
visual-studio
、
nuget
、
config-transformation
我有一个nuget包,我试图创建,似乎无法找到
如何
使这最后一部分正常工作。我使用将配置元素添加到客户端配置文件中。<?如果客户端应用程序中没有现有的<
configSections
>,那么上面的转换只是将<
configSections
>附加到<configuration>中的最后一个子节点。有没有办法强制将<
configSections
>作为<configuration>中的
浏览 1
提问于2018-07-27
得票数 1
回答已采纳
1
回答
安装时web配置中出现错误
asp.net
、
dotless
dotless.Core.LessCssHttpHandler,dotless.Core" resourceType="File" preCondition=""/></system.webServer> <
configSections
name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dot
浏览 8
提问于2016-01-09
得票数 1
回答已采纳
1
回答
读取web.config时未识别的元素“添加”错误
c#
、
.net
、
exception-handling
、
web-config
、
custom-configuration
当我执行这个ConfigurationManager.GetSection("SectionA/sectionD")时,我会收到以下错误: <sectionGroup name="SectionA"> &
浏览 1
提问于2011-11-14
得票数 1
1
回答
在使用ConfigurationManager.OpenMappedExeConfiguration时,
如何
从定义为NameValueSectionHandler的ConfigSection中获取值
.net
、
configuration
、
configurationmanager
<configuration> <section name="MyParams" type="System.Configuration.NameValueSectionHandler" /> <add key="FirstParam" value="One"/>
浏览 0
提问于2012-12-12
得票数 6
回答已采纳
点击加载更多
相关
资讯
如何高效阅读源码?
如何阅读哲学书?
如何阅读繁体竖排书?
如何阅读科学与数学
如何多窗口阅读PDF文件?PDF阅读技巧有哪些?
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
腾讯会议
活动推荐
运营活动
广告
关闭
领券