English 中文(简体)
什么是pnet_regiis。 do
原标题:What does aspnet_regiis.exe do

什么是pnet_regiis。 更新文件图,以纠正印本-萨皮/德尔版本,完全不然。 互联网版本与自动电网一样,我找不到任何博客或文章,说明这一特定批量指挥所采取的步骤。 请提供您所了解的链接,详细列出作为蚊帐_regiis.exe的步骤。

最佳回答
问题回答

My favorite feature of it, is the ability to encrypt settings in web.config something along the lines of:

aspnet_regiis -pe/myapprootvirtualdirector

加密

只有在向服务器进行部署后方可进行加密,因为一台机器的加密在另一台机器上有效,除非你分享机器钥匙。

<<>>>>>><>>>>>>>>>>><>>>> /> <>>> > > > ><>><>><>>>>> > ><>>>><>>>>>>><>>>>>>>>>>>>>>><>>>>>>>>>>>>>>>><>>>>><>>>>>><>>>>>>><>>>>><>>>><>>>><>>>><>>>>>>>>>>>>>><>>>>>>>>>>>>>>>>><>>>>>>>>>>>>>>>>>>>>>>><>>>>>>>>>>>>><>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><>>>>>>>>

它还可以修理一个蚊帐。

有时,它只是断裂,你需要使用蚊帐——即或——来固定。

请提供您所了解的链接,以详细说明作为免疫机能器的安装步骤。

aspnet_regiis.exe -h 产生以下有用信息,说明该用途如何在内部运作。

Microsoft (R) ASP.NET RegIIS version 4.0.30319.18408
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation.  All rights reserved.


                       -- ASP.NET REGISTRATION OPTIONS --


-i                  Install this version of ASP.NET and update IIS
                    configuration at the root level to use this version of
                    ASP.Net.



-ir                 Install this version of ASP.NET, register only. Do not
                    change any web applications to use this version.



-iru                Install this version of ASP.NET. If there are any existing
                    applications that uses ASP.NET, it will not change IIS
                    configuration to use this version.

我面临一个问题:<代码> 当地东道<>/代码>没有运行(即网站没有负荷)。

在我安装了<条码>/条码>后,我安装了<条码>IIS 10.0明示。 NET framework。

由于后来安装了<代码>IIS, localhost没有装载。

页: 1

C:WindowsMicrosoft.NETFramework64v4.0.30319

这令人信服地解决这一问题。

对我来说,对我的网页Config文档(就我的情况而言,链接星号)进行加密是有益的。

指挥:

-- Go to regiss.exe directory
C:Usersmyuser>cd C:WindowsMicrosoft.NETFramework64v4.0.30319

-- Execute the encryption
C:WindowsMicrosoft.NETFramework64v4.0.30319>aspnet_regiis.exe -pef "connectionStrings" "C:UsersMyPublishPath"

这将使您的思想得以保密。 努力:

<connectionStrings>
  <add name="MyProjectDB" connectionString="Data Source=192.168.X.X;Initial Catalog=MyProjectDB;User ID=User;Password=Pass" providerName="SqlClient" />
</connectionStrings>

为此:

<connectionStrings configProtectionProvider="RsaProtectedConfigurationProvider">
  <EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#">
  <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" />
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
  <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
    <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
    <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
      <KeyName>Rsa Key</KeyName>
    </KeyInfo>
    <CipherData>
      <CipherValue>ml2OVkgtMhrLcrTQfop5eR0D6eq6Q0a3qSOejeiMrB532H2LOHg8odKoDDTARbTrrZ1/x11Ur7GMHAYeemyBbXT5HCzbNGkMJfRBc=</CipherValue>
    </CipherData>
  </EncryptedKey>
</KeyInfo>
<CipherData>
  <CipherValue>H40nekXYEPWO+wbAh78FyzRM8s2t+UEo6h8NhN52BvbTqVOGlhS6+fBfbqdEvH5STExSeY2ftSUXEzNZ+PT6t2HgcpWk45FC3yw==</CipherValue>
</CipherData>





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签