Skip to content

Commit 5a5fdc0

Browse files
authored
markdig fixes - Part 12 (#2689)
* markdig fixes * another try to add samples * test code reference * fix code references
1 parent 7a01369 commit 5a5fdc0

File tree

11 files changed

+54
-57
lines changed

11 files changed

+54
-57
lines changed

xml/System.ServiceModel.Configuration/ServiceMetadataPublishingElement.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
<format type="text/markdown"><![CDATA[
255255
256256
## Remarks
257-
If the <xref:System.ServiceModel.Configuration.ServiceMetadataPublishingElement.HttpGetUrl%2A> property is not specified, the address at which the metadata is published is the service address plus a "?wsdl". For example, if the service address is "http://localhost:8080/CalculatorService", the HTTP/Get metadata address is "http://localhost:8080/CalculatorService?wsdl".
257+
If the <xref:System.ServiceModel.Configuration.ServiceMetadataPublishingElement.HttpGetUrl%2A> property is not specified, the address at which the metadata is published is the service address plus a "?wsdl". For example, if the service address is `http://localhost:8080/CalculatorService`, the HTTP/Get metadata address is `http://localhost:8080/CalculatorService?wsdl`.
258258
259259
If this property is `false`, or the address of the service is not based on HTTP or HTTPS, "?wsdl" is ignored.
260260
@@ -385,7 +385,7 @@
385385
<format type="text/markdown"><![CDATA[
386386
387387
## Remarks
388-
If the <xref:System.ServiceModel.Configuration.ServiceMetadataPublishingElement.HttpsGetUrl%2A> property is not specified, the address at which the metadata is published is the service address plus a "?wsdl". For example, if the service address is "https://localhost:8080/CalculatorService", the HTTP/Get metadata address is "https://localhost:8080/CalculatorService?wsdl".
388+
If the <xref:System.ServiceModel.Configuration.ServiceMetadataPublishingElement.HttpsGetUrl%2A> property is not specified, the address at which the metadata is published is the service address plus a "?wsdl". For example, if the service address is `https://localhost:8080/CalculatorService`, the HTTP/Get metadata address is `https://localhost:8080/CalculatorService?wsdl`.
389389
390390
If this property is `false`, or the address of the service is not based on HTTP or HTTPS, "?wsdl" is ignored.
391391

xml/System.ServiceModel.Configuration/WebHttpBindingElement.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<format type="text/markdown"><![CDATA[
178178
179179
## Remarks
180-
An Internet resource is local if it has a local address. A local address is one that is on same computer, the local LAN or intranet and is identified, syntactically, by the lack of a period (.) as in the URIs "http://webserver/" and "http://localhost/".
180+
An Internet resource is local if it has a local address. A local address is one that is on same computer, the local LAN or intranet and is identified, syntactically, by the lack of a period (.) as in the URIs `http://webserver/` and `http://localhost/`.
181181
182182
Setting the <xref:System.ServiceModel.Configuration.WebHttpBindingElement.BypassProxyOnLocal%2A> property determines whether endpoints configured with the <xref:System.ServiceModel.Configuration.WebHttpBindingElement> use the proxy server when accessing local resources.
183183

xml/System.ServiceModel.Dispatcher/EndpointAddressMessageFilter.xml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
## Remarks
2323
This filter tests whether a message satisfies a particular endpoint address. An <xref:System.ServiceModel.EndpointAddress> object includes a URI and an optional collection of addressing headers. The addressing and message headers are canonicalized in order to be compared for equality. If a parameter appears more than once in an <xref:System.ServiceModel.EndpointAddress>, the corresponding header must appear in the message at least that many times.
2424
25-
IIS and the underlying file system (NTFS or FAT) are case-insensitive. URI comparisons done by this class are also case-insensitive. So, for example, http://www.microsoft.com is evaluated as equal to http://WWW.microsoft.com.
25+
IIS and the underlying file system (NTFS or FAT) are case-insensitive. URI comparisons done by this class are also case-insensitive. So, for example, `http://www.microsoft.com` is evaluated as equal to `http://WWW.microsoft.com`.
2626
2727
]]></format>
2828
</remarks>
@@ -92,15 +92,13 @@
9292
<format type="text/markdown"><![CDATA[
9393
9494
## Remarks
95-
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
95+
96+
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
9697
97-
- http://localhost/foo.svc
98-
99-
- http://192.168.1.100/foo.svc
100-
101-
- http://[my-machine-name]/foo.svc
102-
103-
- http://[my-machine-name].[my-company].com/foo.svc.
98+
- `http://localhost/foo.svc`
99+
- `http://192.168.1.100/foo.svc`
100+
- `http://[my-machine-name]/foo.svc`
101+
- `http://[my-machine-name].[my-company].com/foo.svc`
104102
105103
If the value of the `includeHostNameInComparison` parameter is `false`, the above URIs all resolve to the same endpoint.
106104
@@ -202,15 +200,13 @@
202200
<format type="text/markdown"><![CDATA[
203201
204202
## Remarks
205-
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
206-
207-
- http://localhost/foo.svc
208-
209-
- http://192.168.1.100/foo.svc
210-
211-
- http://[my-machine-name]/foo.svc
212-
213-
- http://[my-machine-name].[my-company].com/foo.svc.
203+
204+
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
205+
206+
- `http://localhost/foo.svc`
207+
- `http://192.168.1.100/foo.svc`
208+
- `http://[my-machine-name]/foo.svc`
209+
- `http://[my-machine-name].[my-company].com/foo.svc`
214210
215211
The default value of this property is `false`, so the above URIs all resolve to the same endpoint, unless you change this property.
216212

xml/System.ServiceModel.Dispatcher/PrefixEndpointAddressMessageFilter.xml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
This filter performs the same query as <xref:System.ServiceModel.Dispatcher.EndpointAddressMessageFilter>, except that the test for whether a message matches an endpoint address is done by a *Longest-Prefix Match*. This means that the URI specified in the filter does not have to match the message's URI exactly, but must be contained in that URI as a prefix. For example, if a filter specifies the address "www.foo.com", and a message is addressed to "www.foo.com/customerA", then the URI part of the filter query condition will be met. However, the header portion of the filter query still has to be done.
2626
27-
Internet Information Services (IIS) and the underlying file system (NTFS or FAT) are case-insensitive. URI comparisons done by this class are also case-insensitive. So, for example, http://www.microsoft.com is evaluated as equal to http://WWW.microsoft.com.
27+
Internet Information Services (IIS) and the underlying file system (NTFS or FAT) are case-insensitive. URI comparisons done by this class are also case-insensitive. So, for example, `http://www.microsoft.com` is evaluated as equal to `http://WWW.microsoft.com`.
2828
2929
]]></format>
3030
</remarks>
@@ -94,15 +94,13 @@
9494
<format type="text/markdown"><![CDATA[
9595
9696
## Remarks
97-
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
98-
99-
- http://localhost/foo.svc
100-
101-
- http://192.168.1.100/foo.svc
102-
103-
- http://[my-machine-name]/foo.svc
104-
105-
- http://[my-machine-name].[my-company].com/foo.svc.
97+
98+
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
99+
100+
- `http://localhost/foo.svc`
101+
- `http://192.168.1.100/foo.svc`
102+
- `http://[my-machine-name]/foo.svc`
103+
- `http://[my-machine-name].[my-company].com/foo.svc`
106104
107105
If the value of the `includeHostNameInComparison` parameter is `false`, the above URIs all resolve to the same endpoint.
108106
@@ -199,15 +197,13 @@
199197
<format type="text/markdown"><![CDATA[
200198
201199
## Remarks
202-
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
203-
204-
- http://localhost/foo.svc
205-
206-
- http://192.168.1.100/foo.svc
207-
208-
- http://[my-machine-name]/foo.svc
209-
210-
- http://[my-machine-name].[my-company].com/foo.svc.
200+
201+
If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:
202+
203+
- `http://localhost/foo.svc`
204+
- `http://192.168.1.100/foo.svc`
205+
- `http://[my-machine-name]/foo.svc`
206+
- `http://[my-machine-name].[my-company].com/foo.svc`
211207
212208
The default value of this property is `false`, so the above URIs all resolve to the same endpoint, unless you change this property.
213209

xml/System.ServiceModel.Dispatcher/QueryStringConverter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
## Remarks
2424
Parameters can be specified in a query string within a URL. This class takes those parameters specified in a string and converts them into objects. For example, the following contract is defined.
2525
26-
```
26+
```csharp
2727
[ServiceContract]
2828
interface Calculator
2929
{
@@ -33,7 +33,7 @@ interface Calculator
3333
}
3434
```
3535
36-
A Windows Communication Foundation (WCF) service implements this interface and exposes it on an endpoint with the <xref:System.ServiceModel.Description.WebHttpBehavior> at http://localhost:8000/MyCalcService. The `Add` service operation can be called by sending an HTTP GET to http://localhost:8000/MyCalcService/Add?n1=10&n2=5. The <xref:System.ServiceModel.Dispatcher.QueryStringConverter> receives this URL and converts the two parameters (n1 and n2) specified in the URL into two `long` objects with the appropriate values.
36+
A Windows Communication Foundation (WCF) service implements this interface and exposes it on an endpoint with the <xref:System.ServiceModel.Description.WebHttpBehavior> at `http://localhost:8000/MyCalcService`. The `Add` service operation can be called by sending an HTTP GET to `http://localhost:8000/MyCalcService/Add?n1=10&n2=5`. The <xref:System.ServiceModel.Dispatcher.QueryStringConverter> receives this URL and converts the two parameters (n1 and n2) specified in the URL into two `long` objects with the appropriate values.
3737
3838
You can derive a class from <xref:System.ServiceModel.Dispatcher.QueryStringConverter> to control how query string parameters are mapped into a service operation's parameters.
3939

xml/System.Web.Configuration/HttpRuntimeSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@
13171317
<format type="text/markdown"><![CDATA[
13181318
13191319
## Remarks
1320-
The <xref:System.Web.Configuration.HttpRuntimeSection.UseFullyQualifiedRedirectUrl%2A> property indicates whether client-side redirects are fully qualified (in the form http://server/path) or whether relative redirects are instead sent to the client.
1320+
The <xref:System.Web.Configuration.HttpRuntimeSection.UseFullyQualifiedRedirectUrl%2A> property indicates whether client-side redirects are fully qualified (in the form `http://server/path`) or whether relative redirects are instead sent to the client.
13211321
13221322
> [!NOTE]
13231323
> Some browsers might have problems loading pages in cookieless sessions when this value is `false`.

xml/System.Web.Services/WebServiceAttribute.xml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@
4444
4545
4646
## Examples
47-
The following example sets the <xref:System.Web.Services.WebServiceAttribute.Description%2A> property of the <xref:System.Web.Services.WebServiceAttribute> to " `Common Server Variables` " and sets the XML namespace to http://www.microsoft.com/.
48-
49-
47+
The following example sets the <xref:System.Web.Services.WebServiceAttribute.Description%2A> property of the <xref:System.Web.Services.WebServiceAttribute> to `"Common Server Variables"` and sets the XML namespace to `http://www.microsoft.com/`.
48+
49+
[!code-aspx-csharp[Classic WebServiceAttribute Example](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic WebServiceAttribute Example/CS/sourcecs.asmx)]
50+
[!code-aspx-vb[Classic WebServiceAttribute Example](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic WebServiceAttribute Example/VB/sourcevb.asmx)]
5051
5152
]]></format>
5253
</remarks>
@@ -131,9 +132,10 @@
131132
132133
133134
## Examples
134-
The following example sets the <xref:System.Web.Services.WebServiceAttribute.Description%2A> property to " `Common Server Variables` ".
135-
135+
The following example sets the <xref:System.Web.Services.WebServiceAttribute.Description%2A> property to `"Common Server Variables"`.
136136
137+
[!code-aspx-csharp[Classic WebServiceAttribute Example](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic WebServiceAttribute Example/CS/sourcecs.asmx)]
138+
[!code-aspx-vb[Classic WebServiceAttribute Example](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic WebServiceAttribute Example/VB/sourcevb.asmx)]
137139
138140
]]></format>
139141
</remarks>
@@ -178,6 +180,8 @@
178180
## Examples
179181
The following example sets <xref:System.Web.Services.WebServiceAttribute.Name%2A> of the XML Web service to `MyName`.
180182
183+
[!code-aspx-csharp[Classic WebServiceAttribute.Name Example](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic WebServiceAttribute.Name Example/CS/sourcecs.asmx)]
184+
[!code-aspx-vb[Classic WebServiceAttribute.Name Example](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic WebServiceAttribute.Name Example/VB/sourcevb.asmx)]
181185
182186
183187
]]></format>
@@ -224,7 +228,8 @@
224228
## Examples
225229
The following example sets <xref:System.Web.Services.WebServiceAttribute.Namespace%2A> to `http://www.contoso.com` and overrides that namespace for the <xref:System.Web.Services.Protocols.SoapDocumentMethodAttribute.Action%2A> property by adding a <xref:System.Web.Services.Protocols.SoapDocumentMethodAttribute> to the `Time` XML Web service method.
226230
227-
231+
[!code-aspx-csharp[Classic WebServiceAttribute.Namespace Example](~/samples/snippets/csharp/VS_Snippets_Remoting/Classic WebServiceAttribute.Namespace Example/CS/sourcecs.asmx)]
232+
[!code-aspx-vb[Classic WebServiceAttribute.Namespace Example](~/samples/snippets/visualbasic/VS_Snippets_Remoting/Classic WebServiceAttribute.Namespace Example/VB/sourcevb.asmx)]
228233
229234
]]></format>
230235
</remarks>
@@ -237,4 +242,4 @@
237242
</Docs>
238243
</Member>
239244
</Members>
240-
</Type>
245+
</Type>

xml/System.Web/HttpRequest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ End Class
731731
<format type="text/markdown"><![CDATA[
732732
733733
## Remarks
734-
The <xref:System.Web.HttpRequest.FilePath%2A> property does not include the <xref:System.Web.HttpRequest.PathInfo%2A> trailer. For example, for the URL http://www.contoso.com/virdir/page.html/tail, the <xref:System.Web.HttpRequest.FilePath%2A> value is /virdir/page.html.
734+
The <xref:System.Web.HttpRequest.FilePath%2A> property does not include the <xref:System.Web.HttpRequest.PathInfo%2A> trailer. For example, for the URL `http://www.contoso.com/virdir/page.html/tail`, the <xref:System.Web.HttpRequest.FilePath%2A> value is /virdir/page.html.
735735
736736
737737
@@ -1631,7 +1631,7 @@ No <see cref="T:System.Web.HttpContext" /> object is defined for the request.</e
16311631
<format type="text/markdown"><![CDATA[
16321632
16331633
## Remarks
1634-
The <xref:System.Web.HttpRequest.Path%2A> is the concatenation of the <xref:System.Web.HttpRequest.FilePath%2A> and the <xref:System.Web.HttpRequest.PathInfo%2A> trailer. For example, for the URL http://www.contoso.com/virdir/page.html/tail, the <xref:System.Web.HttpRequest.Path%2A> is /virdir/page.html/tail.
1634+
The <xref:System.Web.HttpRequest.Path%2A> is the concatenation of the <xref:System.Web.HttpRequest.FilePath%2A> and the <xref:System.Web.HttpRequest.PathInfo%2A> trailer. For example, for the URL `http://www.contoso.com/virdir/page.html/tail`, the <xref:System.Web.HttpRequest.Path%2A> is /virdir/page.html/tail.
16351635
16361636
16371637
@@ -1671,7 +1671,7 @@ No <see cref="T:System.Web.HttpContext" /> object is defined for the request.</e
16711671
<format type="text/markdown"><![CDATA[
16721672
16731673
## Remarks
1674-
For the URL Http://www.contoso.com/virdir/page.html/tail, the <xref:System.Web.HttpRequest.PathInfo%2A> value is /tail.
1674+
For the URL `http://www.contoso.com/virdir/page.html/tail`, the <xref:System.Web.HttpRequest.PathInfo%2A> value is /tail.
16751675
16761676
16771677
@@ -1835,7 +1835,7 @@ Dim fullname2 As String = Request("fullname")
18351835
<format type="text/markdown"><![CDATA[
18361836
18371837
## Remarks
1838-
The raw URL is defined as the part of the URL following the domain information. In the URL string http://www.contoso.com/articles/recent.aspx, the raw URL is /articles/recent.aspx. The raw URL includes the query string, if present.
1838+
The raw URL is defined as the part of the URL following the domain information. In the URL string `http://www.contoso.com/articles/recent.aspx`, the raw URL is /articles/recent.aspx. The raw URL includes the query string, if present.
18391839
18401840
18411841

xml/System.Web/HttpRequestBase.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@
11501150
<format type="text/markdown"><![CDATA[
11511151
11521152
## Remarks
1153-
For the URL Http://www.contoso.com/virdir/page.html/tail, the <xref:System.Web.HttpRequestBase.PathInfo%2A> value is /tail.
1153+
For the URL `http://www.contoso.com/virdir/page.html/tail`, the <xref:System.Web.HttpRequestBase.PathInfo%2A> value is /tail.
11541154
11551155
]]></format>
11561156
</remarks>

xml/System.Web/HttpRequestWrapper.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ No <see cref="T:System.Web.HttpContext" /> object is defined for the request.</e
11781178
<format type="text/markdown"><![CDATA[
11791179
11801180
## Remarks
1181-
For the URL Http://www.contoso.com/virdir/page.html/tail, the <xref:System.Web.HttpRequestWrapper.PathInfo%2A> value is /tail.
1181+
For the URL `http://www.contoso.com/virdir/page.html/tail`, the <xref:System.Web.HttpRequestWrapper.PathInfo%2A> value is /tail.
11821182
11831183
]]></format>
11841184
</remarks>

0 commit comments

Comments
 (0)