.NET编程-----------------------Web.config配置文件详解

<?xml version="1.0"?>

<!--注意: 除了手动编辑此文件以外,您还可以使用 Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的“网站”->“Asp.Net 配置”选项。

设置和注释的完整列表在 machine.config.comments 中,该文件通常位于 "Windows"Microsoft.Net"Framework"v2.x"Config 中。-->

 <!--Webconfig文件是一个xml文件,configuration是xml文件的根节点,由于xml文件的根节点只能有一个,所以Webconfig的所有配置都是在这个节点内进行的。-->

<configuration>

  <!--指定配置节和命名空间声明。clear:移除对继承的节和节组的所有引用,只允许由当前 section 和 sectionGroup 元素添加的节和节组。remove:移除对继承的节和节组的引用。

 section:定义配置节处理程序与配置元素之间的关联。sectionGroup:定义配置节处理程序与配置节之间的关联。-->

 <configSections>

    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>

      </sectionGroup>

    </sectionGroup>

    <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />

 </configSections>

 

 <!--appSettings是应用程序设置,可以定义应用程序的全局常量设置等信息-->

     <appSettings>

 <add key="1" value="1" />

 <add key="gao" value="weipeng" />

 </appSettings>

 

 <!--连接字符串设置-->

 <connectionStrings>

    <add name="ConnString" connectionString="Data Source=GAO;Initial Catalog=HBWXDate;User ID=sa;password=sa"></add>

    <add name="111" connectionString="11111" />

 </connectionStrings>

 

 <!--指定应用子配置设置的资源,并锁定配置设置,以防止它们被子配置文件重写。page指定应用包含的配置设置的资源.allowOverride是否允许配置文件的重写,提高配置文件的安全性-->

 <location path="Default.aspx" allowOverride="false">

    <!--控制asp.net运行时的行为-->

<system.web>

    <!--identity控制web应用程序的身份验证标识.-->

    <identity impersonate="false" />

 

    <!--标识特定于页的配置设置(如是否启用会话状态、视图状态,是否检测用户的输入等)。<pages>可以在计算机、站点、应用程序和子目录级别声明.

    这里的几个属性的意思是默认主页为Index,主题是Default,不检测用户在浏览器输入的内容中是否存在潜在的危险数据(注:该项默认是检测,如果你使用了不检测,一要对用户的输入进行编码或验证),在从客户端回发页时将检查加密的视图状态,以验证视图状态是否已在客户端被篡改。(注:该项默认是不验证)禁用ViewState-->

    <pages masterPageFile="Index" theme="Default" buffer="true" enableViewStateMac="true" validateRequest="false" enableViewState="false">

      <!--controls 元素定义标记前缀所在的 register 指令和命名空间的集合-->

      <controls></controls>

      <!--将在程序集预编译期间使用的导入指令的集合-->

      <namespaces></namespaces>

    </pages>

 

    <!--默认错误页设置,mode:具有On,Off,RemoteOnly 3种状态。On表示始终显示自定义的信息; Off表示始终显示详细的asp.net错误信息; RemoteOnly表示只对不在本地Web服务器上运行的用户显示自定义信息.defaultRedirect:用于出现错误时重定向的URL地址-->

    <customErrors defaultRedirect="Err.html" mode="RemoteOnly">

      <!--特殊代码编号的错误从定向文件-->

      <error statusCode="403" redirect="NoAccess.htm" />

      <error statusCode="404" redirect="FileNotFound.htm" />

    </customErrors>

 

    <!--配置调试和跟踪:下面配置的意思是启动调试(默认),捕获跟踪信息,要缓存的跟踪请求个数(15),跟踪结果的排列顺序-->

    <trace enabled="true" localOnly="false" pageOutput="true" requestLimit="15" traceMode="SortByCategory"/>

 

    <!-- 设置 compilation debug="true" 将调试符号插入已编译的页面中。但由于这会影响性能,因此只在开发过程中将此值设置为 true。设置默认的开发语言C#。batch是否支持批处理-->

    <compilation debug="true" defaultLanguage="c#" batch="false">

      <assemblies>

        <!--加的程序集引用,每添加一个程序集,就表示你的应用程序已经依赖了一个程序集,你就可以在你的应用程序中使用了-->

        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

        <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

        <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

        <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

        <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

        <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

        <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

        <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

        <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

      </assemblies>

      <!--定义用于编译自定义资源文件的生成提供程序的集合。-->

      <buildProviders>

        <!---->

        <add extension=".aspx" type="System.Web.Compilation.PageBuildProvider"/>

        <add extension=".ascx" type="System.Web.Compilation.UserControlBuildProvider"/>

        <add extension=".master" type="System.Web.Compilation.MasterPageBuildProvider"/>

        <add extension=".asmx" type="System.Web.Compilation.WebServiceBuildProvider"/>

        <add extension=".ashx" type="System.Web.Compilation.WebHandlerBuildProvider"/>

        <add extension=".soap" type="System.Web.Compilation.WebServiceBuildProvider"/>

        <add extension=".resx" type="System.Web.Compilation.ResXBuildProvider"/>

        <add extension=".resources" type="System.Web.Compilation.ResourcesBuildProvider"/>

        <add extension=".wsdl" type="System.Web.Compilation.WsdlBuildProvider"/>

        <add extension=".xsd" type="System.Web.Compilation.XsdBuildProvider"/>

        <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

      </buildProviders>

    </compilation>

 

      <!--通过 <authentication> 节可以配置 ASP.NET 使用的 安全身份验证模式,以标识传入的用户。Windows: 使用IIS验证方式,Forms: 使用基于窗体的验证方式,Passport: 采用Passport cookie验证模式,None: 不采用任何验证方式-->

    <authentication mode="Forms">

      <!--Name: 指定完成身份验证的Http cookie的名称.LoginUrl: 如果未通过验证或超时后重定向的页面URL,一般为登录页面,让用户重新登录。Protection: 指定 cookie数据的保护方式. 

      可设置为:All表示加密数据,并进行有效性验证两种方式,None表示不保护Cookie,Encryption表示对Cookie内容进行加密,validation表示对Cookie内容进行有效性验证,TimeOut: 指定Cookie的失效时间. 超时后要重新登录。-->

      <forms name=".ASPXUSERDEMO" loginUrl="Login.aspx" protection="All" timeout="30"/>

    </authentication>

    <!--控制对 URL 资源的客户端访问(如允许匿名用户访问)。此元素可以在任何级别(计算机、站点、应用程序、子目录或页)上声明。必需与<authentication> 节配合使用。此处的意思是对匿名用户不进行身份验证。拒绝用户weipeng-->

    <authorization>

      <allow users="*"/>

      <deny users="weipeng"/>

      <allow users="aa" roles="aa" />

    </authorization>

    <!--站点全球化设置,requestEncoding: 它用来检查每一个发来请求的编码.responseEncoding: 用于检查发回的响应内容编码.fileEncoding:用于检查aspx,asax等文件解析的默认编码,默认的编码是utf-8-->

    <globalization requestEncoding="gb2312" responseEncoding="gb2312" fileEncoding="gb2312" />

    <!--会话状态设置。mode: 分为off,Inproc,StateServer,SqlServer几种状态 mode = InProc 存储在进程中特点:具有最佳的性能,速度最快,但不能跨多台服务器存储共享.mode = "StateServer" 存储在状态服务器中特点:当需要跨服务器维护用户会话信息时,使用此方法。但是信息存储在状态服务器上,一旦状态服务器出现故障,信息将丢失. mode="SqlServer" 存储在sql server中特点:工作负载会变大,但信息不会丢失

    stateConnectionString :指定asp.net应用程序存储远程会话状态的服务器名,默认为本机。sqlConnectionString:当用会话状态数据库时,在这里设置连接字符串。Cookieless:设置为flase时,表示使用cookie会话状态来标识客户.timeout表示会话超时时间。-->

    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"cookieless="false" timeout="20"></sessionState>

    <!--为 ASP.NET 应用程序配置页的视图状态设置。设置要存储在页历史记录中的项数。-->

    <sessionPageState historySize="9"/>   

    <!--配置asp.net http运行库的设置。可以在计算机,站点,应用程序和子目录级别声明

    允许最多的请求个数100,最长允许执行请求时间为80秒,控制用户上传文件的大小,默认是4M。useFullyQualifiedRedirectUrl客户端重定向不需要被自动转换为完全限定格式。-->

    <httpRuntime appRequestQueueLimit="100" executionTimeout="80" maxRequestLength="40960" useFullyQualifiedRedirectUrl="false"/>

    <!--httpModules在一个应用程序内配置 HTTP 模块。-->

    <httpModules>

      <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" />

      <add name="Session" type="System.Web.SessionState.SessionStateModule" />

      <add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" />

      <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />

      <add name="PassportAuthentication" type="System.Web.Security.PassportAuthenticationModule" />

      <add name="RoleManager" type="System.Web.Security.RoleManagerModule" />

      <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" />

      <add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" />

      <add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" />

      <!--自定义的URL重写,type基本上就是dll名-->

      <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" />

      <add name="Profile" type="System.Web.Profile.ProfileModule" />

    </httpModules> 

    <!--httpHandlers用于根据用户请求的URL和HTTP谓词将用户的请求交给相应的处理程序。可以在配置级别的任何层次配置此节点,也就是说可以针对某个特定目录下指定的特殊文件进行特殊处理。

    add:指定映射到处理程序的谓词/路径。clear:移除当前已配置或已继承的所有处理程序映射。remove:移除映射到处理程序的谓词/路径。remove 指令必须与前一个 add 指令的谓词/路径组合完全匹配。该指令不支持通配符。-->

    <httpHandlers>

      <remove verb="*" path="*.asmx"/>

      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

      <add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>

    </httpHandlers>

    <!--为 Web 应用程序使用的 Cookie 配置属性。domain:设置 Cookie 域名。httpOnlyCookies:在 Internet Explorer 6 SP1 中启用 HttpOnlyCookies Cookie 的输出。默认值为 false。requireSSL:获取一个指示是否需要安全套接字层 (SSL) 通信的值.-->

    <httpCookies httpOnlyCookies="false" requireSSL="false"/> 

    <!--控制 ASP.NET Web 服务及其客户端的行为。protocols:指定传输协议,ASP.NET 可使用这些传输协议来解密 HTTP-->

    <webServices>

      <protocols>

        <add/>

      </protocols>

    </webServices>

    <!--为 Web 应用程序配置缓存设置。cache:定义全局应用程序缓存设置。outputCache :指定应用程序范围的输出缓存设置。outputCacheSettings:指定可以应用于应用程序中页的输出缓存设置。sqlCacheDependency:为 ASP.NET 应用程序配置 SQL 缓存依赖项。-->

    <caching>

      <cache disableMemoryCollection = "false" disableExpiration = "false" privateBytesLimit = "0" percentagePhysicalMemoryUsedLimit = "90" privateBytesPollTime= "00:02:00"/>

      <!--设计需要以这种方式缓存的页时,您需要向该页添加以下指令:<%@ OutputCache CacheProfile="ServerOnly" %>-->

      <outputCacheSettings>

        <outputCacheProfiles>

          <add name="ServerOnly" duration="60" varyByCustom="browser" location="Server" />

        </outputCacheProfiles>

      </outputCacheSettings>

    </caching>

     </system.web>

 

 </location>

 <!--网络设置,authenticationModules:指定用于对 Internet 请求进行身份验证的模块。connectionManagement:指定与 Internet 宿主的连接的最大数目。defaultProxy:配置超文本传输协议 (HTTP) 代理服务器。

 mailSettings:配置简单邮件传输协议 (SMTP) 邮件发送选项。requestCaching:控制网络请求的缓存机制。settings:配置 System.Net 的基本网络选项。-->

 <system.net>

 <!--配置SMTP电子邮件设置-->

 <mailSettings>

   <smtp from="weipeng">

    <network host="Gao" password="" userName="" />

   </smtp>

 </mailSettings>

   <!--禁用所有缓存-->

   <requestCaching disableAllCaching="true"></requestCaching>

   <!--指定代理地址,并对本地访问和 contoso.com 跳过代理。-->

   <defaultProxy>

     <proxy usesystemdefault="True" proxyaddress="http://192.168.1.10:3128" bypassonlocal="True"/>

     <bypasslist>

       <add address="[a-z]+".contoso".com" />

     </bypasslist>

   </defaultProxy>

 </system.net>

 <!--该节替换在 httpHandlers 和 httpModules 节中添加的与 AJAX 相关的 HTTP 处理程序和模块。该节使 IIS 7.0 在集成模式下运行时可使用这些处理程序和模块。在iis7.0 下运行 ASP.NET AJAX 需要 system.webServer

 节。对早期版本的 IIS 来说则不需要此节。 -->

 <system.webServer>

    <validation validateIntegratedModeConfiguration="false"/>

    <modules>

      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    </modules>

    <handlers>

      <remove name="WebServiceHandlerFactory-Integrated"/>

      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    </handlers>

 </system.webServer>

 

 <!--ASP.NET AJAX 中配置 ASP.NET 服务-->

 <system.web.extensions>

    <!--配置 JSON 序列化-->

    <scripting>

      <webServices>

        <jsonSerialization maxJsonLength="5000"/>

      </webServices>

    </scripting>

 </system.web.extensions>

 <!--对WCF的相关配置-->

 <system.serviceModel>

    <services>

      <service name="WCFStudent.WCFStudentText" behaviorConfiguration="ServiceBehavior">

        <!-- Service Endpoints -->

        <endpoint address="" binding="wsHttpBinding" contract="WCFStudent.IStuServiceContract">

          <!-- 部署时,应删除或替换下列标识元素,以反映在其下运行部署服务的标识。删除之后,WCF 将自动推导相应标识。-->

          <identity>

            <dns value="localhost"/>

          </identity>

        </endpoint>

        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>

      </service>

    </services>

    <behaviors>

      <serviceBehaviors>

        <behavior name="ServiceBehavior">

          <!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->

          <serviceMetadata httpGetEnabled="true"/>

          <!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息-->

          <serviceDebug includeExceptionDetailInFaults="false"/>

        </behavior>

      </serviceBehaviors>

    </behaviors>

 </system.serviceModel>

 

 <!--URL重定向-->

 <rewriter>

    <rewrite url="~/user/u(.+).aspx" to="~/user/index.aspx?r=$1" />

    <rewrite url="~/ask/q(.+).aspx" to="~/home/ask/content.aspx?id=$1" />

    <rewrite url="~/blog/b(.+).aspx" to="~/home/blog/article.aspx?r=$1" />

    <rewrite url="~/news/n(.+).aspx" to="~/home/news/content.aspx?nid=$1" />

    <rewrite url="~/default.aspx" to="~/home/ram/net.aspx" />

 </rewriter>

</configuration>

转载于:https://www.cnblogs.com/brainmao/archive/2011/05/04/2036899.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/410631.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

差异表达基因热图怎么看_多变的热图1(新手专用)

热图&#xff08;heatmap&#xff09;用不同的颜色和颜色的深浅来直观的展示数据之间的差异。在测序类的文章里&#xff0c;几乎必有一幅热图用来展示差异表达基因。很多工具都可以完成热图的制作&#xff0c;今天这篇文章主要介绍利用R语言的 pheatmap包制作热图的简单小例子。…

[html] 在两个iframe之间传递参数的方法有哪些

[html] 在两个iframe之间传递参数的方法有哪些 通过postMessage与父级通过&#xff0c;父级传递消息通过websocket通信如果是同一个域名下可用stroage&#xff0c;监听storageChange事件通信通过web worker也可通信个人简介 我是歌谣&#xff0c;欢迎和大家一起交流前后端知识…

金属材料手册_不锈钢品种手册简化版

作者&#xff1a;王鹤 / Z0012737 /一、不锈钢品种概况 1. 不锈钢的分类与用途不锈钢种类繁多&#xff0c;按组织结构可分为铁素体不锈钢、奥氏体不锈钢、马氏体不锈钢、双相不锈钢和沉淀硬化不锈钢。按化学成分可分为铬锰镍系、铬镍系不锈钢和铬系不锈钢&#xff0c;分别对应…

转:GridView 模板列中的数据绑定

<asp:TemplateField HeaderText"姓名"> <ItemTemplate> <%# Eval("FirstName") %> <%# Eval("LastName") %> </ItemTemplate><asp:Templat…

街篮混服服务器信息,街篮手游闻鸡起舞服务器火爆开启

街篮手游闻鸡起舞 金鸡独立服务器火爆开启&#xff0c;第一手游网小编已经给大家整理好了&#xff0c;想必玩家们都对这款游戏的内容非常的期待。所以现在第一时间把这篇攻略分享给玩家们&#xff0c;希望你们喜欢。也希望能对大家有所帮助&#xff0c;下面就请大家一起跟着小编…

MPP install

greenplum install 注意事项&#xff1a;1.hostname 不能大写##2.如果segment和mirror副本数比较大&#xff0c;建议调整/etc/ssh/sshd_config的maxconnect数值3.系统参数需要修改kernel.sem 500 1024000 200 8192 ##############这个配置是三个节点 6块磁盘&#xff0c;每个磁…

[html] 如何让pre标签中的元素自动换行?

[html] 如何让pre标签中的元素自动换行&#xff1f; pre{white-space:pre-wrap; /* css3.0 /white-space:-moz-pre-wrap; / Firefox /white-space:-pre-wrap; / Opera 4-6 /white-space:-o-pre-wrap; / Opera 7 /word-wrap:break-word; / Internet Explorer 5.5 */ }个人简介 …

wringPi 初始化GPIO 为上拉_GPIO接口

//阅读完大约10min//本文中的正文&#xff0c;改编自以下链接评论&#xff0c;由于非常全面明晰&#xff0c;所以我将之采纳。STM32的I/O口的8种工作模式-OpenEdv-开源电子网​www.openedv.com前言首先了解一下GPIO是什么&#xff1f;GPIO&#xff08;英语&#xff1a;General-…

mc服务器右上角信号格,手机右上角的网络信号标识是什么意思?

E指EDGE网络&#xff0c;属2.75G。移动卡的手机图标有这三种G&#xff0c;E&#xff0c;T或者(H)移动用户&#xff1a;G&#xff1a;全称&#xff1a;gprs既传输速率理论的峰值为114Kbps&#xff0c;这是早其的无线网络传输方式。E&#xff1a;全称&#xff1a;EDGE既传输速率在…

c++中的delete和delete[]

c中的delete和delete[]昨天写了一篇关于delete和delete[]的文章&#xff0c;有位仁兄指出我的结论是错误的&#xff0c;那样的结果只会在特定的编译器程序。为了不会误导大家&#xff0c;文章意见删除。回家后仔细看了《Effective C》&#xff0c;是我看书太不仔细了&#xff0…

nginx下只能通过域名,禁止使用ip访问

今天来了一个需求&#xff0c;ip访问返回500&#xff0c;域名访问正常&#xff0c;只需在nginx.conf中添加 server { listen 80 default; #default 必须加的return 500; } 也可以把这些流量收集起来&#xff0c;导入到自己的网站&#xff0c;只要做以下跳转设置就可以&#…

[html] 你知道什么是反向链接吗?它有什么应用场景呢?

[html] 你知道什么是反向链接吗&#xff1f;它有什么应用场景呢&#xff1f; 反向链接对应的是类似于友情链接这种正向链接模式。一般对于搜索引擎来说&#xff0c;高质量的反向引擎会提高网页的权重。。。所以对于seo来说&#xff0c;会是个很好的方法。。。个人简介 我是歌…

java接口构建英雄属性_Python接口类的多继承以及抽象类的单继承

一、接口类(面向对象开发的思想和规范)的多继承需求&#xff1a;定义一个tiger类&#xff1a;会走&#xff0c;会游定义一个hawk类&#xff1a;会走&#xff0c;会飞定义一个swan类&#xff1a;会走&#xff0c;会游&#xff0c;会飞(a)如果像以下代码的方式&#xff0c;则不能…

热血江湖战无止境与服务器连接不稳定,《热血江湖》V14.0“战无止境”新版玩不停...

《热血江湖》作为一款经典武侠网游&#xff0c;将韩国游戏风格与中国武侠元素融合得恰到好处&#xff0c;打造出极具趣味性的江湖世界。流畅的战斗动作&#xff0c;华丽的技能特效&#xff0c;通过3D的演绎烘托出惟妙惟肖的视觉效果。而在《热血江湖》V14.0“战无止境”中&…

我想考系统架构师

作为刚毕业的大学生&#xff0c;每天干的只有公司重复率极高的工作&#xff0c;下班后就直接瘫到床上&#xff0c;没有目标&#xff0c;看电视看到剧荒。自己也觉得不应该这样度过&#xff0c;毫无追求&#xff0c;总得学点新的知识。 所以&#xff0c;应母后大人的要求&#x…

winform中listView

1, 获取当前行的行号: int index ((ListViewDataItem)e.Item).DisplayIndex; 2,获取当前行的主键: int id Convert.ToInt32(ListView1.DataKeys[index].value); protectedvoidListView1_ItemCommand(objectsender, ListViewCommandEventArgs e) { //获取…

[html] 网页中的友情链接有什么作用?

[html] 网页中的友情链接有什么作用&#xff1f; 有利于SEO&#xff0c;提高访问量,精准访问个人简介 我是歌谣&#xff0c;欢迎和大家一起交流前后端知识。放弃很容易&#xff0c; 但坚持一定很酷。欢迎大家一起讨论 主目录 与歌谣一起通关前端面试题

服务器操作系统的安装步骤,服务器操作系统的安装步骤

服务器操作系统的安装步骤 内容精选换一换同步lib之前请确保已经完成增加设备。请确保DDK版本号与设备侧安装的软件包版本保持一致。请确保已经打开工程的target(可以通过工程的.project查看)和所同步设备的target保持一致&#xff0c;如果不一致&#xff0c;可以参见修改工程属…

docker 镜像 退出 保存_Docker保存修改后的镜像

我们运行的容器可能在镜像的基础上做了一些修改&#xff0c;有时候我们希望保存起来&#xff0c;封装成一个新的镜像。可以使用docker提供commit功能。现在以Ubuntu为例&#xff0c;在一个裸的Ubuntu上面安装vim编辑器&#xff0c;并且把这个修改保存下来&#xff0c;封装成一个…

当输入www.baidu.com会发生什么

&#xff08;1&#xff09;首先浏览器会先判断URL是否符合URL标准&#xff0c;如果不符合就交给搜索引擎。 &#xff08;2&#xff09;如果是正确的URL&#xff0c;浏览器会先检索该主机的HOST表&#xff0c;如果存在该域名的IP&#xff0c;则直接去访问&#xff1b;如果没有&a…