Skip to content

Commit c7f5656

Browse files
committed
Fix build warnings
1 parent 5ed2bcc commit c7f5656

8 files changed

+19
-20
lines changed

docs/core/extensions/dependency-injection-basics.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Dependency injection basics
33
description: Learn how to use dependency injection (DI) in your .NET apps with this simple example. Follow along with this pragmatic guide to understand DI basics in C#.
44
author: IEvangelist
55
ms.author: dapine
6-
ms.date: 07/30/2024
6+
ms.date: 10/23/2024
77
no-loc: [Transient, Scoped, Singleton, Example]
88
---
99

@@ -28,7 +28,7 @@ You need to add the package reference to the [Microsoft.Extensions.DependencyInj
2828

2929
## Dependency injection basics
3030

31-
Dependency injection is a design pattern that allows you to remove hard-coded dependencies and make your application more maintainable and testable. DI is a technique for achieving [Inversion of Control (IoC)](../../architecture/modern-web-apps-azure/architectural-principles.md#dependency-inversion) between classes and their dependencies.
31+
Dependency injection is a design pattern that allows you to remove hard-coded dependencies and make your application more maintainable and testable. DI is a technique for achieving _Inversion of Control (IoC)_ between classes and their dependencies.
3232

3333
The abstractions for DI in .NET are defined in the [Microsoft.Extensions.DependencyInjection.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection.Abstractions) NuGet package:
3434

docs/core/extensions/dependency-injection.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ title: Dependency injection
33
description: Learn how to use dependency injection within your .NET apps. Discover how to registration services, define service lifetimes, and express dependencies in C#.
44
author: IEvangelist
55
ms.author: dapine
6-
ms.date: 07/18/2024
6+
ms.date: 10/23/2024
77
ms.topic: overview
88
---
99

1010
# .NET dependency injection
1111

12-
.NET supports the dependency injection (DI) software design pattern, which is a technique for achieving [Inversion of Control (IoC)](../../architecture/modern-web-apps-azure/architectural-principles.md#dependency-inversion) between classes and their dependencies. Dependency injection in .NET is a built-in part of the framework, along with configuration, logging, and the options pattern.
12+
.NET supports the dependency injection (DI) software design pattern, which is a technique for achieving [Inversion of Control (IoC)](https://dotnet.microsoft.com/en-us/download/e-book/aspnet/pdf) between classes and their dependencies. Dependency injection in .NET is a built-in part of the framework, along with configuration, logging, and the options pattern.
1313

1414
A *dependency* is an object that another object depends on. Examine the following `MessageWriter` class with a `Write` method that other classes depend on:
1515

@@ -451,6 +451,5 @@ public class ExampleService
451451
- [Dependency injection guidelines](dependency-injection-guidelines.md)
452452
- [Dependency injection in ASP.NET Core](/aspnet/core/fundamentals/dependency-injection)
453453
- [NDC Conference Patterns for DI app development](https://www.youtube.com/watch?v=x-C-CNBVTaY)
454-
- [Explicit dependencies principle](../../architecture/modern-web-apps-azure/architectural-principles.md#explicit-dependencies)
455454
- [Inversion of control containers and the dependency injection pattern (Martin Fowler)](https://www.martinfowler.com/articles/injection.html)
456455
- DI bugs should be created in the [github.com/dotnet/extensions](https://github.com/dotnet/extensions/issues) repo

docs/core/extensions/http-ratelimiter.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Rate limiting an HTTP handler in .NET
33
description: Learn how to create a client-side HTTP handler that limits the number of requests, with the inbuilt rate limiter API from .NET.
44
author: IEvangelist
55
ms.author: dapine
6-
ms.date: 03/13/2023
6+
ms.date: 10/23/2024
77
---
88

99
# Rate limit an HTTP handler in .NET
@@ -177,4 +177,4 @@ In this article, you learned how to implement a custom `ClientSideRateLimitedHan
177177
- [Announcing Rate Limiting for .NET](https://devblogs.microsoft.com/dotnet/announcing-rate-limiting-for-dotnet)
178178
- [Rate limiting middleware in ASP.NET Core](/aspnet/core/performance/rate-limit)
179179
- [Azure Architecture: Rate limiting pattern](/azure/architecture/patterns/rate-limiting-pattern)
180-
- [Automatic retry logic in .NET](../../architecture/microservices/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly.md)
180+
- [Automatic retry logic in .NET](https://dotnet.microsoft.com/download/e-book/microservices-architecture/pdf)

docs/core/extensions/httpclient-factory.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use the IHttpClientFactory
33
description: Learn how to use the HttpClient and IHttpClientFactory implementations with dependency injection in your .NET workloads.
44
author: IEvangelist
55
ms.author: dapine
6-
ms.date: 08/13/2024
6+
ms.date: 10/23/2024
77
---
88

99
# IHttpClientFactory with .NET
@@ -303,11 +303,11 @@ For more information, see the [full example](https://github.com/dotnet/docs/tree
303303
- <xref:System.Net.Http.IHttpMessageHandlerFactory>
304304
- <xref:System.Net.Http.HttpClient>
305305
- [Make HTTP requests with the HttpClient][httpclient]
306-
- [Implement HTTP retry with exponential backoff][http-retry]
306+
- [Build resilient HTTP apps: Key development patterns][http-retry]
307307

308308
[hcf-issues]: httpclient-factory-troubleshooting.md
309309
[di]: dependency-injection.md
310310
[logging]: logging.md
311311
[config]: configuration.md
312312
[httpclient]: ../../fundamentals/networking/http/httpclient.md
313-
[http-retry]: ../../architecture/microservices/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly.md
313+
[http-retry]: ../resilience/http-resilience.md

docs/core/extensions/options.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: Options pattern
33
author: IEvangelist
44
description: Learn the options pattern to represent groups of related settings in .NET apps. The options pattern uses classes to provide strongly-typed access to settings.
55
ms.author: dapine
6-
ms.date: 08/13/2024
6+
ms.date: 10/23/2024
77
---
88

99
# Options pattern in .NET
1010

1111
The options pattern uses classes to provide strongly-typed access to groups of related settings. When [configuration settings](configuration.md) are isolated by scenario into separate classes, the app adheres to two important software engineering principles:
1212

13-
- The [Interface Segregation Principle (ISP) or Encapsulation](../../architecture/modern-web-apps-azure/architectural-principles.md#encapsulation): Scenarios (classes) that depend on configuration settings depend only on the configuration settings that they use.
14-
- [Separation of Concerns](../../architecture/modern-web-apps-azure/architectural-principles.md#separation-of-concerns): Settings for different parts of the app aren't dependent or coupled with one another.
13+
- The _Interface Segregation Principle (ISP) or Encapsulation_: Scenarios (classes) that depend on configuration settings depend only on the configuration settings that they use.
14+
- _Separation of Concerns_: Settings for different parts of the app aren't dependent or coupled with one another.
1515

1616
Options also provide a mechanism to validate configuration data. For more information, see the [Options validation](#options-validation) section.
1717

docs/core/whats-new/dotnet-core-2-0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ You can now install the .NET Core SDK independently of Visual Studio. This makes
148148

149149
[.NET Application Architecture](https://dotnet.microsoft.com/learn/dotnet/architecture-guides) gives you access to a set of e-books that provide guidance, best practices, and sample applications when using .NET to build:
150150

151-
- [Microservices and Docker containers](../../architecture/microservices/index.md)
152-
- [Web applications with ASP.NET](../../architecture/modern-web-apps-azure/index.md)
151+
- [Microservices and Docker containers](https://dotnet.microsoft.com/download/e-book/microservices-architecture/pdf)
152+
- [Web applications with ASP.NET](https://dotnet.microsoft.com/en-us/download/e-book/aspnet/pdf)
153153
- [Mobile applications with Xamarin](/xamarin/xamarin-forms/enterprise-application-patterns/index)
154154
- [Applications that are deployed to the Cloud with Azure](/azure/architecture/reference-architectures/index)
155155

docs/fundamentals/networking/http/httpclient-guidelines.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: HttpClient guidelines for .NET
33
description: Learn about using HttpClient instances to send HTTP requests and how you can manage clients using IHttpClientFactory in your .NET apps.
44
author: gewarren
55
ms.author: gewarren
6-
ms.date: 03/08/2024
6+
ms.date: 10/23/2024
77
---
88

99
# Guidelines for using HttpClient
@@ -101,4 +101,4 @@ The preceding code:
101101
- [HTTP support in .NET](http-overview.md)
102102
- [HTTP client factory with .NET](../../../core/extensions/httpclient-factory.md)
103103
- [Make HTTP requests with the HttpClient](httpclient.md)
104-
- [Use IHttpClientFactory to implement resilient HTTP requests](../../../architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests.md)
104+
- [Build resilient HTTP apps: Key development patterns](../../../core/resilience/http-resilience.md)

docs/standard/choosing-core-framework-server.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Choose between .NET and .NET Framework for server apps
33
description: A guide to help you decide which implementation of .NET to use when building a server app.
4-
ms.date: 06/04/2024
4+
ms.date: 10/23/2024
55
ms.custom: updateeachrelease
66
---
77
# .NET vs. .NET Framework for server apps
@@ -27,7 +27,7 @@ There are two supported [.NET implementations](glossary.md#implementation-of-net
2727

2828
There are many infrastructure platforms available. [Azure Service Fabric](https://azure.microsoft.com/services/service-fabric/) is designed for large and complex microservice systems. [Azure App Service](https://azure.microsoft.com/services/app-service/) is a good choice for stateless microservices. Microservices alternatives based on Docker fit any microservices approach, as explained in the next section (Supports Docker containers). All these platforms support .NET and make them ideal for hosting your microservices.
2929

30-
For more information about microservices architecture, see [.NET Microservices: Architecture for containerized .NET apps](../architecture/microservices/index.md).
30+
For more information about microservices architecture, see [.NET Microservices: Architecture for containerized .NET apps](https://dotnet.microsoft.com/download/e-book/microservices-architecture/pdf).
3131

3232
- **Supports Docker containers.**
3333

@@ -87,4 +87,4 @@ As previously mentioned, the *.NET* implementation offers significant benefits f
8787
- [Porting from .NET Framework to .NET 5](../core/porting/index.md)
8888
- [Introduction to .NET and Docker](../core/docker/introduction.md)
8989
- [.NET implementations](../fundamentals/implementations.md)
90-
- [.NET Microservices. Architecture for Containerized .NET Applications](../architecture/microservices/index.md)
90+
- [.NET Microservices. Architecture for Containerized .NET Applications](https://dotnet.microsoft.com/download/e-book/microservices-architecture/pdf)

0 commit comments

Comments
 (0)