Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ is a shortcut for:
The main program then creates a [Server] that directs all incoming requests to `router`:

```csharp

using X509Certificate2 serverCertificate = X509CertificateLoader.LoadPkcs12FromFile(
"certs/server.p12",
password: null,
Expand Down
3 changes: 2 additions & 1 deletion content/icerpc-for-ice-users/ice-definitions/enum-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Fruit enumeration.

## cs:attribute metadata directive

The `"cs:attribute"`[cs-attribute] metadata directive adds the specified C# attribute to the mapped C# enum. You
The [`"cs:attribute"`][cs-attribute] metadata directive adds the specified C# attribute to the mapped C# enum. You
can use it to add the [FlagsAttribute] to the mapped C# enum. For example:

{% aside alignment="top" %}
Expand Down Expand Up @@ -90,5 +90,6 @@ The `Flags` attribute is moderately useful with IceRPC since the decoding code o
enumerators. For example, you won't be able to decode `6` for `Red` and `Green` since `6` doesn't correspond to any
enumerator.

[InvalidDataException]: https://learn.microsoft.com/en-us/dotnet/api/system.io.invaliddataexception
[cs-attribute]: https://docs.zeroc.com/ice/3.8/csharp/slice-metadata-directives#SliceMetadataDirectives-cs:attribute
[FlagsAttribute]: https://learn.microsoft.com/en-us/dotnet/api/system.flagsattribute
2 changes: 1 addition & 1 deletion content/icerpc-for-ice-users/ice-definitions/fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Learn how Ice fields are mapped to C#
---

An Ice field maps to a C# property with the same name converted to Pascal case. You can customize this C# name with the
`"cs:identifier"`[cs-identifier] metadata directive.
[`"cs:identifier"`][cs-identifier] metadata directive.

The type of the C# field is the mapped Ice type; this C# type is nullable for proxies and classes.

Expand Down
2 changes: 1 addition & 1 deletion content/icerpc-for-ice-users/ice-definitions/operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public partial interface IGreeterService

## marshaled-result metadata directive

The `"marshaled-result"`[marshaled-result] metadata directive allows you to change the return type of the mapped
The [`"marshaled-result"`][marshaled-result] metadata directive allows you to change the return type of the mapped
method on the generated Service interface: `marshaled-result` makes this method return a `ValueTask<PipeReader>`
instead of the usual `ValueTask<T>`.

Expand Down
3 changes: 1 addition & 2 deletions content/icerpc-for-ice-users/rpc-core/communicator.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ An Ice communicator has numerous responsibilities:
- it creates and manages client connections
- when the application makes an invocation, it selects the connection to use (and sometimes create this connection)
- it provides invocation timeouts, invocation retries, logging/tracing, and metrics
- it's used to create object adapters
and more.
- it's used to create object adapters, and more.

IceRPC replaces this multi-purpose `Communicator` with smaller, more focused objects and abstractions that you compose
to get the behavior you want.
Expand Down
2 changes: 1 addition & 1 deletion content/icerpc/dispatch/incoming-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ only request features: since it's all local, there is no need for response featu

[fields]: ../invocation/outgoing-request#request-fields

[IFeatureCollection]: csharp:IceRpc.Features.FeatureCollection
[IFeatureCollection]: csharp:IceRpc.Features.IFeatureCollection
[IDispatchInformationFeature]: csharp:IceRpc.Features.IDispatchInformationFeature
2 changes: 1 addition & 1 deletion content/icerpc/ice-protocol/protocol-frames.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,4 @@ set to 1.1.
[ice-protocol]: https://docs.zeroc.com/ice/3.8/cpp/ice-protocol
[ice-slice]: https://docs.zeroc.com/ice/3.8/csharp/the-slice-language
[status-code]: ../invocation/incoming-response#status-code
[request-fields]: ../invocation/outgoing-request#request-field
[request-fields]: ../invocation/outgoing-request#request-fields
2 changes: 1 addition & 1 deletion content/icerpc/invocation/outgoing-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ only request features: since it's all local, there is no need for response featu
[RequestFieldKey]: https://github.com/icerpc/icerpc-slice/blob/main/IceRpc/RequestFieldKey.slice
[CompressionFormat]: https://github.com/icerpc/icerpc-slice/blob/main/IceRpc/CompressionFormat.slice

[IFeatureCollection]: csharp:IceRpc.Features.FeatureCollection
[IFeatureCollection]: csharp:IceRpc.Features.IFeatureCollection
[ICompressFeature]: csharp:IceRpc.Features.ICompressFeature
[IsOneway]: csharp:IceRpc.OutgoingRequest#IceRpc_OutgoingRequest_IsOneway
2 changes: 1 addition & 1 deletion content/icerpc/invocation/service-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ icerpc://hello.zeroc.com/hello?transport=quic
Such a service address is typically used when making invocations with a connection cache. The connection cache uses the
server address to establish or reuse a connection to the target server and send requests on this connection.

### Service address with two or more server addresses
## Service address with two or more server addresses

A service address can specify additional server addresses with the `alt-server` query parameter. The value of this
parameter is a server address without the `ice://` or `icerpc://` prefix. For example:
Expand Down
2 changes: 1 addition & 1 deletion content/slice/encoding/icerpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ A service address is encoded as a URI [string]. This URI can be absolute or rela
[outgoing request]: /icerpc/invocation/outgoing-request
[outgoing response]: /icerpc/dispatch/outgoing-response
[service address]: /icerpc/invocation/service-address
[string]: primitive-types#String
[string]: primitive-types#string
1 change: 1 addition & 0 deletions content/slice/language-guide/operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ An operation consists of:
- a name (the name of the operation)
- a list of [parameters] (the operation parameters)
- an arrow followed by one or more return [parameters] (optional)

For example:

```slice
Expand Down
1 change: 1 addition & 0 deletions content/slice/language-guide/primitive-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ The integer value determines the minimum number of bytes required in the encoded
| varuint{32,62} | 16,384 to 1,073,741,823 | 4 |

Any other value is encoded using 8 bytes.

[UTF-8]: https://en.wikipedia.org/wiki/UTF-8
7 changes: 4 additions & 3 deletions content/slice/language-reference/slice-grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,9 @@ UndelimitedList<T>
[type-alias-guide]: /slice/language-guide/type-alias
[attribute-guide]: /slice/language-guide/attributes

[doc-comment]: TODO
[keywords]: TODO
[streamed-parameters-guide]: TODO
[doc-comment]: /slice/language-reference/doc-comments
[keywords]: #lexical-grammar
[preprocessed]: /slice/language-reference/preprocessor-directives
[streamed-parameters-guide]: /slice/language-guide/parameters

[utf-8]: https://en.wikipedia.org/wiki/UTF-8