Your best source of information and news about software , secrets and vista on the internet インターネット上の情報とソフトウェア秘密ビスタについてのニュースのあなたの最高のソース

Vista ARTICLES Vistaの製品 TOP 50トップ50 Spyware Virusウイルススパイウェア Vista SOFT Vistaのソフト Vista HELP Vistaのヘルプ

Configuring Settings for ASP.NET Pages and Controls with IIS 7.0のIIS 7.0でASP.NETページとコントロールの設定を設定する


Web applications that use ASP.NET include Web pages to provide the user interface and controls to provide drop-in functionality. ASP.NET Webアプリケーションを使用するユーザーインターフェイスを提供するために、ドロップ機能を提供するためにコントロールをWebページに含まれています。 As with ASP, you can optimize the way ASP.NET is used through a variety of configuration settings. ASPのと同様に、構成設定は、さまざまな方法で使用されているASP.NETを最適化することができます。 You can also make additional functionality available by registering custom controls that applications can use.また、追加機能をアプリケーションに使用できるカスタムコントロールを登録することによって利用できるようにすることができます。


Registering Custom Controls カスタムコントロールを登録する
Managed code applications can use any custom controls that are registered for use with IIS.マネージコードのアプリケーションは、 IISで使用するために登録されているすべてのカスタムコントロールを使用することができます。 As an administrator, you probably won't need to install controls, but you may need to validate control configurations.管理者は、おそらくコントロールをインストールする必要はありませんが、制御の構成を検証する必要があります。 To view currently registered controls, in IIS Manager, navigate to the level of the configuration hierarchy you want to manage, double-click the Pages And Controls feature, and then in the Actions pane, click Register Controls.と、 IISマネージャで、管理する構成の階層をダブルクリックのレベルに移動現在登録コントロールを表示するには、ページとコントロール機能し、操作パネルで、 [コントロールレジスタ。 In the main pane, you should then see a list of the currently registered controls.メインウィンドウでは、現在登録して、コントロールの一覧が表示されます。 Controls are listed by tag prefix, associated source or assembly, and entry type.コントロールタグの接頭辞は、関連するソースまたはアセンブリで、エントリのタイプが表示されています。 Local entries are configured at the level you are working with.地元のエントリと一緒に仕事をされているレベルで構成されている。 Inherited entries are configured at a higher level of the configuration hierarchy.継承のエントリは、構成階層のより高いレベルで構成されている。

You can add a custom control by following these steps:次の手順で、カスタムコントロールを追加することができます:
1. 1 。 In IIS Manager, navigate to the level of the configuration hierarchy you want to manage, double-click the Pages And Controls feature, and then, in the Actions pane, click Register Controls. IISマネージャでは、構成の階層管理したい、のレベルに移動ダブルクリックして、ページおよびコントロール機能し、操作パネルで、 [コントロールレジスタ。

2. 2 。 In IIS Manager, on the Controls Page, click Add Custom Control. IISマネージャでは、コントロールのページをクリックし、 [カスタムコントロールを追加します。 The Add Custom Control dialog box appears.カスタムコントロールの追加]ダイアログボックスが表示されます。

3. 3 。 In the Tag Prefix text box, type the tag prefix assigned to the control, such as aspx.タグプレフィックスは、テキストボックスに入力し、タグaspxなどの制御、接頭辞に割り当てられている。

4. 4 。 In the Namespace text box, type the ASP.NET namespace in which the custom control type is defined, such as System.Web.UI.WebControls.WebParts. System.Web.UI.WebControls.WebPartsなどの名前空間のテキストボックスには、カスタムコントロールのタイプ定義されている、タイプは、 ASP.NETの名前空間、 。

5. 5 。 In the Assembly text box, type the assembly details associated with the custom control.国会テキストボックスに入力し、アセンブリの詳細は、カスタムコントロールに関連付けられている。 This includes the control's top-level namespace, version, culture, and any additional information required to register the assembly properly, such as its public key token.これは、コントロールのトップレベルの名前、バージョン、文化、および追加情報が正しく、その公開鍵トークンなどの組み立てを登録する必要が含まれています。 Then click OK. [ OK ]をクリックします。

You can edit registered control entries by clicking the control entry you want to modify and then clicking Edit.変更したい場合には、コントロールのエントリをクリックして編集]をクリックして登録制御エントリを編集することができます。 In the Edit Custom Control dialog box, modify the settings as necessary, and then click OK to save your changes.カスタムコントロールの編集]ダイアログボックスで、 [ OK ]をクリックして変更を保存し、必要に応じて設定を変更してください。 To remove a registration entry for a custom control that is no longer needed, click the control entry you want to remove, and then click Remove.をクリックし、 [削除は、もはや必要をクリックし、 [コントロールエントリを削除しようとしているカスタムコントロールのための登録エントリを削除してください。 When prompted to confirm the action, click Yes.はい時のアクションをクリックし、 [確認するように求めている。


Configuring ASP.NET Settings for Pages and Controls ASP.NETページとコントロールの設定を行う
You can modify the way ASP.NET is used by Web applications by using the configuration settings on the Pages And Controls page in IIS Manager. To access this page, navigate to the level of the configuration hierarchy you want to manage, and then double-click the Pages And Controls feature.は、管理したい構成階層のレベルに移動し、ダブルクリックしてこのページにアクセスするには、ページとコントロールを備えています。

The below are the available ASP.NET settings for pages and controls.は、下記のページとコントロールの利用可能なASP.NET設定されています。 In the related server, site, or application Web.config file, you manage these settings by using the sessionState configuration section.関連するサーバー、サイト、またはアプリケーションのWeb.configファイルでは、構成セクションは、 sessionStateを使用してこれらの設定を管理します。

• Base Type for Pages (pageBaseType) - Sets the base type that .aspx pages inherit by default. •ベースの種類ページ( pageBaseType ) -。 a spxページがデフォルトでは、継承は、ベースのタイプを設定します。 The default value in most cases is System.Web.UI.Page.ほとんどの場合、デフォルトの値はSystem.Web.UI.Pageされています。 This value can be overridden by the Inherits attribute.この値は、属性を継承で上書きすることができます。

• Base Type for User Controls (userControlBaseType) - Sets the base type that user controls inherit by default. •ベースタイプユーザーコントロール( userControlBaseType ) -ユーザーコントロールはデフォルトでは、継承は、ベースのタイプを設定します。 The default value in most cases is System.Web.UI.UserControl.ほとんどの場合、デフォルトの値はSystem.Web.UI.UserControlされています。

• Buffer (buffer) - Determines whether .aspx pages and .ascx controls use response buffering. •バッファ(バッファ) -かどうかを決定します。 a spxページおよび。 a scxコントロール応答バッファリングを使用しています。 The default setting is True.デフォルトの設定はTrueです。 When True, IIS uses response buffering in much the same way as it uses response buffering for ASP.応答としてのASPのバッファリングを使用してtrueの場合は、 IISの応答ほぼ同じ方法でバッファリングを使用しています。

• Compilation Mode (compilationMode) - Determines whether an ASP.NET page or control should be compiled at run time. •セレクションモード( compilationMode ) -を決定するかどうかは、 A SP.NETページまたはコントロールを実行時にコンパイルする必要があります。 The default is Always, which ensures that pages and controls are always compiled at run time.デフォルトは常にこれは、ページとコントロールは、常に実行時にコンパイルされていることを保証します。 A value of Never specifies that pages and controls are not compiled and should be interpreted instead.の絶対値がコンパイルされていないページとコントロールとの代わりに解釈する必要がありますを指定します。 A value of Auto allows IIS to compile pages and controls as necessary and otherwise set them to be interpreted.自動車の値IISのページや、それ以外に必要な設定として解釈されるコントロールをコンパイルすることができます。

• Enable Authenticated View State (enableViewStateMAC) - Determines whether ASP.NET should run a message authentication code (MAC) on the page's view state when the page is posted back from the client. •イネーブル認証対象州( enableViewStateMAC ) -を決定するかどうかは、 A SP.NETページに戻るときに、クライアントから投稿されているページの表示状態では、メッセージ認証コード( M AC)を実行してください。 The default setting is True.デフォルトの設定はTrueです。

• Enable Session State (enableSessionState) - Specifies whether and how IIS maintains session state information for ASP.NET applications. •セッション状態を有効にする( enableSessionState ) -を指定するかどうかどのようにI ISのA SP.NETアプリケーションのセッションの状態情報を保持しています。 The default setting is True.デフォルトの設定はTrueです。 When True, IIS maintains session state information for ASP.NET. trueの場合は、 IISのASP.NETのセッションの状態情報を保持しています。 Alternately, you can use a value of ReadOnly to have IIS maintain non-editable, read-only session state data.代わりに、君が必要な読み取り専用の値を使用することができますを維持するのIIS以外の編集は、読み取り専用のセッション状態データ。 If you don't want IIS to maintain session state information for ASP.NET, configure this setting to False. ASP.NETの場合、この設定をFalseに設定するためのセッション状態情報を維持するためにIISを望んでいない。

• Enable View State (enableViewState) - Determines whether the page maintains the view state and the view state of any server controls it contains when the current page request ends. •イネーブル状態を見る( enableViewState ) -を決定するかどうかは、ページの表示状態と任意のサーバーの表示状態を維持して終了時には、現在のページリクエストが含まれて制御します。 The default setting is True.デフォルトの設定はTrueです。

• Master Page File (masterPageFile) - Sets an optional master page path relative to the local configuration file. •マスターページのファイル( masterPageFile ) -オプションのマスターページへの相対パスは、ローカル設定ファイルを設定します。 This allows applications to reference locations in the master page path by name rather than full file path.これにより、完全なファイルパスではなく名前では、マスタページの場所にパスを参照のアプリケーションに最適です。

• Maximum Page State Field Length (maxPageStateFieldLength) - Sets the maximum number of characters for individual view state fields. •最大ページの状態フィールドの長さ( ) maxPageStateFieldLength -個々の表示状態フィールドの文字の最大数を設定します。 When the value is greater than zero (0), IIS breaks the view state field into chunks that are less than the specified length.時の値よりもゼロ( 0 )大きい場合、 IISは、指定された長さよりも小さい塊には、表示状態のフィールド区切り。 Clients receive this chunked view state as a series of view state fields rather than a single, possibly very long view state field.クライアントが1つの可能性は非常に長い目で見る状態のフィールドではなく、一連のフィールドを表示状態には、チャンクの表示状態をお受け取り下さい。 When the value is set to -1, IIS does not chunk the view state field and instead sends the entire value to the client in a single view state field.時の値は-1に設定すると、 IISとは、表示状態のフィールドはチャンクは、クライアントの代わりに、 1つの表示状態フィールドに値全体が送信されます。

• Namespaces (namespaces) - Specifies the namespaces included for all pages. •名前空間(名前空間) -名前空間を指定するすべてのページに含まれています。 IIS imports these namespaces during assembly pre-compilation. IISの輸入組立前の中に、これらの名前空間にコンパイル。 If you expand the Namespaces node, you'll see a list of namespaces that will be imported.場合は、名前空間ノードを展開すると、名前空間のリストをインポートされますが表示されます。

• Style Sheet Theme (styleSheetTheme) - Sets the optional name of the theme folder that IIS will use to apply a theme before control declarations. •スタイルシートテーマ( styleSheetTheme ) -は、 I ISコントロールの宣言の前にテーマを適用するために使用するテーマフォルダのオプション名を設定します。 You can specify a theme to apply after control declaration by using the theme attribute.あなたがコントロールを宣言した後、テーマの属性を使用して適用するテーマを指定することができます。

• Theme (theme) - Sets the optional name for the theme that is used for pages that are in the scope of the configuration file. •テーマ(テーマ) -には、構成ファイルのスコープにされているページに使用されているテーマのためのオプション名を設定します。 The specified theme must exist as either an application or a global theme.指定されたテーマのいずれかのアプリケーションや、世界的なテーマとして存在する必要があります。 If the theme does not exist, IIS generates an HttpException exception.テーマが存在しない場合は、 IISはHttpException例外が生成されます。

• Validate Request (validateRequest) - Determines whether ASP.NET validates requests to screen for potentially dangerous or malicious input. •検証リクエスト( validateRequest ) -A SP.NET要求を潜在的に危険かどうかを決定または悪意のある入力用の画面に検証します。 The default setting is True, which causes ASP.NET to validate input from client browsers.デフォルトの設定は、 ASP.NETクライアントのブラウザからの入力を検証するために真の原因です。 Although you should rarely disable validation, you can do so by using a value of False.検証を無効にする必要はほとんどありませんが、操作を実行すると偽の値を使用して行うことができます。


You can configure the list of namespaces that IIS imports during assembly pre-compilation by completing the following steps:構成することができます名前空間の一覧には、アセンブリを事前には、以下の手順を完了することによってコンパイル時にIISの輸入:

1. 1 。 To view currently configured Pages And Controls settings, in IIS Manager, navigate to the level of the configuration hierarchy you want to manage, and then double-click the Pages And Controls feature.して、ダブルクリックして現在設定ページとコントロールの設定、 IISマネージャで管理したいの構成階層のレベルに移動表示するには、ページとコントロールを備えています。

2. 2 。 On the Pages And Controls page, expand the Namespaces node to display a list of namespaces that will be included during assembly pre-compilation.このページとコントロールのページで、名前空間を拡大するアセンブリの名前空間のリストをあらかじめコンパイル時に含まれるノードを表示します。

3. 3 。 If you click the Namespaces entry, IIS Manager displays a selection button on the far right side of the second column.をクリックすると名前空間のエントリの場合は、 IISマネージャは、 2列目の右端の選択ボタンが表示されます。 Clicking this button displays the String Collection Editor dialog box, which you can use to edit the imported namespace values.このボタンをクリックすると、インポートした名前空間の値を編集するために使用できる文字列コレクションエディタ]ダイアログボックスが表示されます。 Edit the namespace entries as necessary.必要に応じて名前空間のエントリを編集します。 Add additional namespaces by typing each additional namespace on a separate line.別の行に1つずつ追加の名前空間を入力して追加の名前空間を追加します。

4. 4 。 When you are finished editing namespace values, click OK.名前空間の編集が完了したときの値は、 [ OK ]をクリックします。 In the Actions pane, apply the changes to the configuration by clicking Apply.アクションウィンドウで、 [適用]をクリックし、設定情報の変更を適用します。 Popularity: 1%人気: 1 %


Written by magakos. magakosが記されている。 Read more great feeds at is source フィードを読んでさらにお得なソースです WEBSITE WEBサイト
no comments コメントはありません .
Read more articles on の詳細記事を読む IIS 7.0 のIIS 7.0 and および otherSoftware otherSoftware .

Related articles関連記事

No commentsコメントなし

There are still no comments on this article.まだこの記事でのコメントはありません。

Leave your comment...あなたのコメントを残す...

If you want to leave your comment on this article, simply fill out the next form:もしこの記事にコメントを残しするには、単に次のフォームに記入してください:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .これらのXHTMLタグ: href=""使用することができますtitle="">の<a <abbr title=""> <acronym title=""> <b>ダウンロード<blockquote cite="">の<code>の<em> <私> <strike> <strong> 。