Your best source of information and news about drivers , software and Vista hardware on the internet Ihre beste Quelle für Informationen und Nachrichten zu Treibern, Software und Hardware Vista im Internet

Vista ARTICLES Vista ARTIKELN TOP 50 TOP 50 Spyware Virus Spyware-Virus Vista SOFT Vista-SOFT Vista HELP Vista-Hilfe

Configuring Settings for ASP.NET Pages and Controls with IIS 7.0 Konfigurieren von Einstellungen für ASP.NET-Seiten und Bedienelemente mit IIS 7,0


Web applications that use ASP.NET include Web pages to provide the user interface and controls to provide drop-in functionality. Web-Anwendungen, die ASP.NET Web-Seiten beinhalten, um die Benutzeroberfläche und die Kontrollen zu bieten Drop-Funktionalität. As with ASP, you can optimize the way ASP.NET is used through a variety of configuration settings. Wie bei ASP, können Sie optimieren die Art und Weise ASP.NET wird durch eine Vielzahl von Konfigurationseinstellungen. You can also make additional functionality available by registering custom controls that applications can use. Sie können auch zusätzliche Funktionen zur Verfügung die Eintragung von Custom Controls, dass Anwendungen genutzt werden können.


Registering Custom Controls Registrieren von Custom Controls
Managed code applications can use any custom controls that are registered for use with IIS. Managed Code-Anwendungen können jegliche Custom Controls, die registriert sind für die Verwendung mit IIS. As an administrator, you probably won't need to install controls, but you may need to validate control configurations. Als Administrator wird man wahrscheinlich nicht installieren müssen Kontrollen, aber vielleicht brauchen Sie, um die Kontrolle Konfigurationen. 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. So zeigen Sie derzeit registriert Kontrollen, im IIS-Manager, navigieren Sie zu der Ebene der Hierarchie Konfiguration Sie verwalten möchten, doppelklicken Sie auf den Seiten und Kontrollen Feature und von dort in die Aktionen Fenster, klicken Sie auf Registrieren Controls. In the main pane, you should then see a list of the currently registered controls. In der Haupt-Fenster, sollten Sie sehen dann eine Liste der derzeit registrierten Kontrollen. Controls are listed by tag prefix, associated source or assembly, and entry type. Kontrollen sind nach Präfix Tag, zugehörige Quell-oder Montage, und Einreise-Typ. Local entries are configured at the level you are working with. Lokale Einträge konfiguriert sind auf der Ebene der Sie arbeiten. Inherited entries are configured at a higher level of the configuration hierarchy. Geerbte Einträge konfiguriert sind auf einer höheren Ebene der Hierarchie-Konfiguration.

You can add a custom control by following these steps: Sie können ein benutzerdefiniertes Steuerelement, indem Sie die folgenden Schritte aus:
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. In den IIS-Manager, navigieren Sie zu der Ebene der Hierarchie Konfiguration Sie verwalten möchten, doppelklicken Sie auf den Seiten und Kontrollen Funktion, und dann, sich an den Maßnahmen Fenster, klicken Sie auf Registrieren Controls.

2. In IIS Manager, on the Controls Page, click Add Custom Control. In den IIS-Manager, auf die Seite Controls, klicken Sie auf "Hinzufügen Custom Control. The Add Custom Control dialog box appears. Das Add Custom Control Dialogfeld angezeigt.

3. In the Tag Prefix text box, type the tag prefix assigned to the control, such as aspx. Im Tag-Präfix Textfeld geben Sie den Tag Präfix für die Kontrolle, wie aspx.

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. Im Namensraum Textfeld geben Sie den ASP.NET-Namespace, in dem das Custom Control Typ definiert ist, wie System.Web.UI.WebControls.WebParts.

5. In the Assembly text box, type the assembly details associated with the custom control. In der Versammlung Textfeld, geben Sie die Montage Einzelheiten im Zusammenhang mit der Custom Controls. 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. Dazu gehört die Kontrolle der Top-Level-Namespace, Version, Kultur, sowie alle zusätzlichen Informationen, die zur Eintragung der Montage richtig, wie die Public-Key-Token. Then click OK. Dann klicken Sie auf OK.

You can edit registered control entries by clicking the control entry you want to modify and then clicking Edit. Du kannst registrierten Einträge kontrollieren, indem Sie auf den Eintrag kontrollieren Sie ändern möchten, und klicken Sie dann auf "Bearbeiten". In the Edit Custom Control dialog box, modify the settings as necessary, and then click OK to save your changes. Im Bearbeiten-Custom Control Dialogfeld, ändern Sie die Einstellungen nach Bedarf, und klicken Sie auf OK um die Änderungen zu speichern. 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. So entfernen Sie eine Registrierung Eintrag für ein benutzerdefiniertes Steuerelement, das nicht mehr benötigt werden, klicken Sie auf den Eintrag kontrollieren Sie entfernen möchten, und klicken Sie dann auf "Entfernen". When prompted to confirm the action, click Yes. Wenn Sie gefragt werden, bestätigen die Aktion, klicken Sie auf "Ja".


Configuring ASP.NET Settings for Pages and Controls Konfigurieren von Einstellungen für ASP.NET-Seiten und-kontrollen
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. Sie können die Art und Weise ändern, ASP.NET wird von Web-Anwendungen, indem Sie die Konfigurationseinstellungen auf den Seiten und Kontrollen Seite im 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. Um Zugriff auf diese Seite navigieren Sie zu der Ebene der Hierarchie Konfiguration Sie verwalten möchten, und doppelklicken Sie auf den Seiten und Kontrollen Funktion.

The below are the available ASP.NET settings for pages and controls. Die Folgenden sind die verfügbaren Einstellungen für ASP.NET-Seiten und-kontrollen. In the related server, site, or application Web.config file, you manage these settings by using the sessionState configuration section. In der damit verbundenen Server, Website, oder die Anwendung Datei "Web.config", verwalten Sie diese Einstellungen mit dem sessionState-Konfiguration.

• Base Type for Pages (pageBaseType) - Sets the base type that .aspx pages inherit by default. • Base-Typ für Pages (pageBaseType) - Legt die Basis-Typ. Aspx Seiten erben standardmäßig aktiviert. The default value in most cases is System.Web.UI.Page. Der Standardwert in den meisten Fällen ist System.Web.UI.Page. This value can be overridden by the Inherits attribute. Dieser Wert kann überschrieben werden durch die Inherits-Attribut.

• Base Type for User Controls (userControlBaseType) - Sets the base type that user controls inherit by default. • Base-Typ für User Controls (userControlBaseType) - Legt die Basis geben, dass Benutzer steuert erben standardmäßig aktiviert. The default value in most cases is System.Web.UI.UserControl. Der Standardwert in den meisten Fällen ist System.Web.UI.UserControl.

• Buffer (buffer) - Determines whether .aspx pages and .ascx controls use response buffering. • Puffer (buffer) - Legt fest, ob. Aspx Seiten und. Ascx Kontrollen verwenden Reaktion Pufferung. The default setting is True. Die Standardeinstellung ist wahr. When True, IIS uses response buffering in much the same way as it uses response buffering for ASP. Wenn True, IIS verwendet Reaktion Puffer in viel die gleiche Art und Weise, wie sie verwendet Reaktion Pufferung für ASP.

• Compilation Mode (compilationMode) - Determines whether an ASP.NET page or control should be compiled at run time. • Compilation-Modus (compilationMode) - Legt fest, ob eine ASP.NET-Seite oder Kontrolle sollte kompiliert zur Laufzeit. The default is Always, which ensures that pages and controls are always compiled at run time. Der Standardwert ist immer, die gewährleistet, dass die Seiten und Kontrollen sind immer kompiliert zur Laufzeit. A value of Never specifies that pages and controls are not compiled and should be interpreted instead. Der Wert gibt an, dass Sie niemals Seiten und Kontrollen sind nicht kompiliert und interpretiert werden sollte, statt. A value of Auto allows IIS to compile pages and controls as necessary and otherwise set them to be interpreted. Ein Wert von "Auto ermöglicht IIS zu kompilieren Seiten und Kontrollen als notwendig und sie anders zu interpretieren.

• 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. • Aktivieren "Authentifizierte Ansicht Staat (enableViewStateMAC) - Legt fest, ob ASP.NET ausführen sollte ein Message Authentication Code (MAC) auf der Seite ist der Ansicht, wenn die Seite zurück von der Client. The default setting is True. Die Standardeinstellung ist wahr.

• Enable Session State (enableSessionState) - Specifies whether and how IIS maintains session state information for ASP.NET applications. • aktivieren Session-Staat (enableSessionState) - Legt fest, ob und wie IIS unterhält Sitzungsstatus Informationen für ASP.NET-Anwendungen. The default setting is True. Die Standardeinstellung ist wahr. When True, IIS maintains session state information for ASP.NET. Wenn True, IIS unterhält Sitzungsstatus Informationen für ASP.NET. Alternately, you can use a value of ReadOnly to have IIS maintain non-editable, read-only session state data. Alternativ können Sie mit einem Wert von ReadOnly zu haben pflegen IIS nicht editierbar, Nur-Lese-Session Daten. If you don't want IIS to maintain session state information for ASP.NET, configure this setting to False. Wenn Sie nicht möchten, dass IIS zu erhalten Sitzungsstatus Informationen für ASP.NET, konfigurieren Sie diese Einstellung auf "False".

• 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. • Aktivieren Sie anzeigen, Staat (EnableViewState) - Legt fest, ob die Seite pflegt die Auffassung, Staat und der Zustand der Ansicht, jeder Server Kontrollen durchführt, die sie enthält, wenn die aktuelle Seite Antrag endet. The default setting is True. Die Standardeinstellung ist wahr.

• Master Page File (masterPageFile) - Sets an optional master page path relative to the local configuration file. • Master-Page-Datei (masterPageFile) - Stellt eine optionale Master-Seite Pfad relativ zur lokalen Konfigurationsdatei. This allows applications to reference locations in the master page path by name rather than full file path. Dies ermöglicht es, Anwendungen Bezug auf Standorte in der Master-Seite Weg nach Namen und nicht als vollständige Dateipfad.

• Maximum Page State Field Length (maxPageStateFieldLength) - Sets the maximum number of characters for individual view state fields. • Maximale Page Bundesland Feld Länge (maxPageStateFieldLength) - Setzt die maximale Anzahl von Zeichen für die einzelnen Felder Ansicht Zustand. When the value is greater than zero (0), IIS breaks the view state field into chunks that are less than the specified length. Wenn der Wert größer als Null (0), IIS bricht die Ansicht Feld "Bundesland" in Stücke, die weniger als die angegebene Länge. Clients receive this chunked view state as a series of view state fields rather than a single, possibly very long view state field. Kunden erhalten diese Chunked Ansicht Zustand als eine Reihe von Bereichen Ansicht Staat eher als ein einziges, möglicherweise sehr lange Sicht staatlichen Bereich. 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. Wenn der Wert wird auf -1 gesetzt, IIS nicht der Ansicht, chunk Feld "Bundesland" und stattdessen sendet der gesamten Wertschöpfungskette an den Client in einer einzigen Ansicht staatlichen Bereich.

• Namespaces (namespaces) - Specifies the namespaces included for all pages. • Namensräume (Namespaces) - Gibt die Namespaces sie auch für alle Seiten. IIS imports these namespaces during assembly pre-compilation. IIS-Einfuhren dieser Namespaces bei der Montage-Compilation vor. If you expand the Namespaces node, you'll see a list of namespaces that will be imported. Wenn Sie die Knoten Namensräume, sehen Sie eine Liste der Namespaces, die importiert werden.

• Style Sheet Theme (styleSheetTheme) - Sets the optional name of the theme folder that IIS will use to apply a theme before control declarations. • Style Sheet Theme (styleSheetTheme) - Stellt den optionalen Namen des Themas Ordner, den IIS verwenden, um ein Thema, bevor die Kontrolle Erklärungen. You can specify a theme to apply after control declaration by using the theme attribute. Sie können angeben, ein Thema zu bewerben, nachdem die Kontrolle Erklärung mit dem Thema Attribut.

• Theme (theme) - Sets the optional name for the theme that is used for pages that are in the scope of the configuration file. • Thema (Thema) - Stellt den optionalen Namen für das Thema, das verwendet wird, für Seiten, die in den Anwendungsbereich der Konfigurationsdatei. The specified theme must exist as either an application or a global theme. Der angegebene Thema muss existieren entweder als eine Anwendung oder ein globales Thema. If the theme does not exist, IIS generates an HttpException exception. Wenn das Thema nicht vorhanden ist, erzeugt ein IIS HttpException Ausnahme.

• Validate Request (validateRequest) - Determines whether ASP.NET validates requests to screen for potentially dangerous or malicious input. • Validate Request (validateRequest) - Legt fest, ob ASP.NET prüft Anträge auf Bildschirm für potenziell gefährliche oder schädliche Eingang. The default setting is True, which causes ASP.NET to validate input from client browsers. Die Standardeinstellung ist wahr, was dazu führt, dass ASP.NET zu validieren Eingabe von Client-Browser. Although you should rarely disable validation, you can do so by using a value of False. Obwohl Sie sollten nur selten Validierung deaktivieren, können Sie dies tun, indem Sie den Wert Falsch.


You can configure the list of namespaces that IIS imports during assembly pre-compilation by completing the following steps: Sie können die Liste der Namespaces, dass IIS die Einfuhren bei der Montage vor-Zusammenstellung, indem Sie die folgenden Schritte aus:

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. So zeigen derzeit konfiguriert Seiten und Kontrollen Einstellungen im IIS-Manager, navigieren Sie zu der Ebene der Hierarchie Konfiguration Sie verwalten möchten, und doppelklicken Sie auf den Seiten und Kontrollen Funktion.

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. Auf den Seiten und Kontrollen Seite, erweitern Sie den Knoten Namensräume, um eine Liste der Namespaces, werden bei der Montage-Compilation vor.

3. If you click the Namespaces entry, IIS Manager displays a selection button on the far right side of the second column. Wenn Sie auf den Eintrag Namensräume, IIS-Manager zeigt eine Auswahl-Taste auf der rechten Seite der zweiten Spalte. Clicking this button displays the String Collection Editor dialog box, which you can use to edit the imported namespace values. Ein Klick auf diese Schaltfläche zeigt die String-Collection-Editor Dialogfeld, das Sie verwenden können, um Bearbeiten der importierten Namespace Werte. Edit the namespace entries as necessary. Bearbeiten Sie die Namespace-Einträge wie nötig. Add additional namespaces by typing each additional namespace on a separate line. Fügen Sie zusätzliche Namespaces, indem Sie jede zusätzliche Namespace in einer eigenen Zeile stehen.

4. When you are finished editing namespace values, click OK. Wenn Sie fertig sind Bearbeitung Namespace Werte, klicken Sie auf OK. In the Actions pane, apply the changes to the configuration by clicking Apply. In den Aktionen ", gelten die Änderungen an der Konfiguration, indem Sie auf" Übernehmen ". Popularity: 1% Popularity: 1%


Written by magakos. Geschrieben von magakos. Read more great feeds at is source Lesen Sie mehr im großen RSS-Feeds ist Quelle WEBSITE WEBSITE
no comments keine Kommentare . .
Read more articles on Lesen Sie mehr Artikel über IIS 7.0 IIS 7,0 and und otherSoftware otherSoftware . .

Related articles Verwandte Artikel

No comments Noch keine Kommentare

There are still no comments on this article. Es gibt noch keine Kommentare zu diesem Artikel.

Leave your comment... Lassen Sie Ihren Kommentar ...

If you want to leave your comment on this article, simply fill out the next form: Wenn Sie wollen, lassen Sie Ihren Kommentar zu diesem Artikel, füllen Sie einfach das nächste Formular aus:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . Sie können diese XHTML-Tags: <a href= title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i > <strike> <strong>.