From 4cedb9a34980ae2e90f89f36824880fb7678541f Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Thu, 29 Jun 2017 15:28:54 -0700 Subject: [PATCH] Update dependency-injection.md --- aspnetcore/mvc/views/dependency-injection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)