8000 add language slugs (#11216) · dipeshmsft/dotnet-api-docs@ac52319 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac52319

Browse files
authored
add language slugs (dotnet#11216)
1 parent e9f43a5 commit ac52319

File tree

83 files changed

+6773
-6803
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+6773
-6803
lines changed

xml/System.Web.Caching/SqlCacheDependency.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
146146
The database name passed to the `database` parameter must be defined in the application's Web.config file. For example, the following Web.config file defines a database named pubs for <xref:System.Web.Caching.SqlCacheDependency> change notifications.
147147
148-
```
148+
```xml
149149
<configuration>
150150
<connectionStrings>
151151
<add name="Pubs" connectionString="Data Source=(local); Initial Catalog=pubs; Integrated Security=true"; providerName="System.Data.SqlClient" />
@@ -247,7 +247,7 @@
247247
## Remarks
248248
The following markup shows a typical output-cache dependency directive.
249249
250-
```
250+
```xml
251251
<%@ OutputCache Duration="3600" SqlDependency="Northwind:Employees" VaryByParam="none" %>
252252
```
253253

xml/System.Web.Compilation/RouteUrlExpressionBuilder.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
## Examples
3737
The following example shows how to create markup that generates a hyperlink with a URL that is formatted for a route. The route is defined by using `http://www.contoso.com/search/{searchterm}` as the URL pattern.
3838
39-
```
39+
```xml
4040
<asp:HyperLink ID="HyperLink1" runat="server"
4141
NavigateUrl="<%$ RouteUrl:searchterm=Bicycles %>">
4242
Search for Bicycles
@@ -47,7 +47,7 @@
4747
4848
If the URL parameters provided to the `RouteUrl` expression are not sufficient to uniquely identify a route, you must include the route name. For example, if a Web application has two routes with `searchterm` as the sole URL parameter, the routes would have to be defined by using route names, and the hyperlink markup would resemble the following example:
4949
50-
```
50+
```xml
5151
<asp:HyperLink ID="HyperLink1" runat="server"
5252
NavigateUrl="<%$ RouteUrl:searchterm=Bicycles,
5353
routename=BasicSearchRoute %>">

xml/System.Web.Compilation/RouteValueExpressionBuilder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
## Examples
3737
The following example shows how to use markup to display the value of the URL parameter `searchterm`. The route is defined by using `http://www.contoso.com/search/{searchterm}` as the URL pattern.
3838
39-
```
39+
```xml
4040
<asp:Label ID="Label1" runat="server"
4141
text="<%$ RouteValue:searchterm %>">
4242
</asp:Label>

xml/System.Web.Configuration/AuthorizationSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
> [!NOTE]
3636
> If you use the `credentials` section, be sure to follow the guidelines explained at [ASP.NET Authentication](https://learn.microsoft.com/previous-versions/aspnet/eeyk640h(v=vs.100)). For scalability and better security capability, it is recommended that you use an external database to store the users' credentials. For more information about building secure ASP.NET applications, see [Securing Your ASP.NET Application](https://learn.microsoft.com/archive/msdn-magazine/2012/january/asp-net-security-securing-your-asp-net-applications) and [Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication](https://learn.microsoft.com/previous-versions/msp-n-p/ff649357(v=pandp.10)).
3737
38-
```
38+
```xml
3939
<authorization>
4040
<allow users="userName" roles="admin" verbs="post" />
4141
<deny users="*" verbs="post"/>

xml/System.Web.Configuration/ClientTarget.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
3838
The following code example shows how to declaratively specify values for several properties of the <xref:System.Web.Configuration.ClientTarget> class.
3939
40-
```
40+
```xml
4141
<clientTarget>
4242
<add alias=
4343
"uplevel"

xml/System.Web.Configuration/ClientTargetCollection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
4141
The following example shows an excerpt from the configuration file.
4242
43-
```
43+
```xml
4444
<clientTarget>
4545
<add alias=
4646
"uplevel"

xml/System.Web.Configuration/ClientTargetSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
3232
The following code example shows how to declaratively specify values for several properties of the <xref:System.Web.Configuration.ClientTarget> class.
3333
34-
```
34+
```xml
3535
<clientTarget>
3636
<add alias=
3737
"uplevel" userAgent="Mozilla/5.0 (compatible;MSIE 6.0;Windows NT 5.1)"/>

xml/System.Web.Configuration/HttpCapabilitiesBase.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2349,7 +2349,7 @@
23492349
## Remarks
23502350
Intended for internal use only. Some browsers require a meta-tag similar to the following for the browser to render properly.
23512351
2352-
```
2352+
```html
23532353
<META NAME="NAME" CONTENT="VALUE">
23542354
```
23552355
@@ -2421,14 +2421,12 @@
24212421
## Remarks
24222422
If `true`, server-control adapters insert the following tag into the HTML `<head>` element of a Web page:
24232423
2424-
```
2424+
```html
24252425
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT=""; CHARSET="">
24262426
```
24272427
24282428
In this example, `CONTENT` is the value returned by the <xref:System.Web.Configuration.HttpCapabilitiesBase.PreferredRenderingMime%2A> property, and `charset` is the character encoding used.
24292429
2430-
2431-
24322430
## Examples
24332431
The following code example shows how to determine whether the browser requires an HTML `<meta>` element for which the `content-type` attribute is specified.
24342432
@@ -2724,7 +2722,7 @@
27242722
## Remarks
27252723
HTTP is a stateless protocol, and `VIEWSTATE` is one mechanism used to persist client changes across multiple requests. Each control on a Web page contains a <xref:System.Web.UI.Control.ViewState%2A> property, which represents the accumulation of any changes made by the client. In a Web Forms page, these changes are encoded in postback data as the `value` of an HTML `<input>` element with a `type` attribute of `hidden`. For example:
27262724
2727-
```
2725+
```html
27282726
<input type="hidden" name="__VIEWSTATE" value="t0PH_u56?cDxleHQ7P=" />
27292727
```
27302728
@@ -3147,7 +3145,7 @@
31473145
## Remarks
31483146
The `cache-control` value for the `http-equiv` attribute of HTML `<meta>` elements allows control over client caching of downloaded content, which includes Web pages. The following HTML fragment shows an example:
31493147
3150-
```
3148+
```html
31513149
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"/>
31523150
```
31533151
@@ -3157,7 +3155,7 @@
31573155
31583156
The <xref:System.Web.Configuration.HttpCapabilitiesBase.SupportsCacheControlMetaTag%2A> property also applies to the equivalent HTTP header form:
31593157
3160-
```
3158+
```txt
31613159
CACHE-CONTROL: NO-CACHE
31623160
```
31633161

xml/System.Web.Configuration/HttpHandlerAction.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
4040
The following configuration excerpt shows how to specify values declaratively for the `httpHandlers` section.
4141
42-
```
42+
```xml
4343
<httpHandlers>
4444
<add path="Calculator.custom"
4545
type="Samples.Aspnet.SystemWebConfiguration.Calculator, CalculatorHandler"

xml/System.Web.Configuration/HttpHandlersSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
3636
The following configuration excerpt shows how to specify values declaratively for the `httpHandlers` section.
3737
38-
```
38+
```xml
3939
<httpHandlers>
4040
<add path="Calculator.custom"
4141
type="Samples.Aspnet.SystemWebConfiguration.Calculator, CalculatorHandler"

0 commit comments

Comments
 (0)
0