我想帮助理解web.config [英] I want help understanding web.config

查看:60
本文介绍了我想帮助理解web.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是asp.net的新手。我想帮助理解web.config编辑示例......我知道我们使用web.config将配置数据存储在xml文件中。 ..我正在寻找web.config使用的现实世界的例子......

任何想法?

Hi
I'm new to asp.net .I want help understanding web.config editing examples ...guys I know we use web.config to store configuration data in an xml file...I'm looking for real world examples of web.config usage ...
Any Ideas ?

推荐答案

谷歌或买一个书。真的,web.config就是它所说的。这是您用来配置网站的文件。没有人会给你一个你可以用它做的事情的完整列表,实际上,获得一个列表是没有意义的。在大多数情况下,当您阅读有关您想要做的事情时,您将在那里找到需要编辑的内容,这需要对其进行编辑。它们包括如何处理会话,电子邮件详细信息,您自己的配置设置,数据库连接字符串等等。



ASP.NET也是一团糟。如果你刚刚开始学习MVC,那就更好了。
Google or buy a book. Really, web.config is what it says it is. It's a file you use to configure your website. No-one is going to give you a full list of things you can do with it and, realistically, getting a list makes no sense. In most cases, you will find out what you need to edit in there as you read about things you DO want to do, that require editing it. They include things like how the session is handled, email details, your own config settings, DB connection strings, etc.

ASP.NET also is a mess. If you're just starting, learn MVC, it's SO much better.


看看这里: Web.config(msdn) [ ^ ]。

ASP.NET配置 [ ^ ]

使用Web.config文件 [ ^ ]



在那里你会找到许多有用的信息,但是......我同意Christian Graus(解决方案1)买书。我不知道有关 MVC [ ^ ],因为我对此并不熟悉。
Have a look here: Web.config (msdn)[^].
ASP.NET Configuration[^]
Working with Web.config Files[^]

There you'll find many useful information, but... i agree with Christian Graus (solution 1) to buy a book. I can't tell anything about MVC[^], because i'm not familiar with this.


这篇关于我想帮助理解web.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆