diff --git a/aspnetcore/mvc/views/dependency-injection.md b/aspnetcore/mvc/views/dependency-injection.md index 30dec81fa4..c8db642069 100644 --- a/aspnetcore/mvc/views/dependency-injection.md +++ b/aspnetcore/mvc/views/dependency-injection.md @@ -16,7 +16,7 @@ uid: mvc/views/dependency-injection By [Steve Smith](http://ardalis.com) -ASP.NET Core supports [dependency injection](../../fundamentals/dependency-injection.md) into views. This can be useful for view-specific services, such as localization or data required only for populating view elements. You should try to maintain [separation of concerns](http://deviq.com/separation-of-concerns) between your controllers and views. Most of the data your views display should be passed in from the controller. +ASP.NET Core supports [dependency injection](xref:fundamentals/dependency-injection) into views. This can be useful for view-specific services, such as localization or data required only for populating view elements. You should try to maintain [separation of concerns](http://deviq.com/separation-of-concerns) between your controllers and views. Most of the data your views display should be passed in from the controller. [View or download sample code](https://github.com/aspnet/Docs/tree/master/aspnetcore/mvc/views/dependency-injection/sample)