From 970f09e0e64d5895131963239b4a8f362c23cce3 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 5 Oct 2018 17:16:48 +0300 Subject: [PATCH] Resolved #514 --- docs/Dependency-Injection.md | 8 ++++---- docs/Index.md | 8 ++++---- docs/Module-Development-Basics.md | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/Dependency-Injection.md b/docs/Dependency-Injection.md index 7689c3c641..a001d52ec9 100644 --- a/docs/Dependency-Injection.md +++ b/docs/Dependency-Injection.md @@ -1,10 +1,10 @@ ## Dependency Injection -ABP's Dependency Injection system is developed based on Microsoft's dependency injection extension library (Microsoft.Extensions.DependencyInjection nuget package). So, it's documentation is valid in ABP too. +ABP's Dependency Injection system is developed based on Microsoft's [dependency injection extension](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection) library (Microsoft.Extensions.DependencyInjection nuget package). So, it's documentation is valid in ABP too. ### Modularity -Since ABP is a modular framework, every module defines it's own services and registers via dependency injection in it's own seperate module class. Example: +Since ABP is a modular framework, every module defines it's own services and registers via dependency injection in it's own seperate [module class](Module-Development-Basics.md). Example: ````C# public class BlogModule : AbpModule @@ -146,7 +146,7 @@ public class TaxCalculator : ITaxCalculator, ITransientDependency #### Manually Registering -In some cases, you may need to register a service to the `IServiceCollection` manually, especially if you need to use custom factory methods or singleton instances. In that case, you can directly add services just as Microsoft documentation describes. Example: +In some cases, you may need to register a service to the `IServiceCollection` manually, especially if you need to use custom factory methods or singleton instances. In that case, you can directly add services just as [Microsoft documentation](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection) describes. Example: ````C# public class BlogModule : AbpModule @@ -193,7 +193,7 @@ Constructor injection is preffered way of injecting dependencies to a class. In #### Property Injection -Property injection is not supported by Microsoft Dependency Injection library. However, ABP can integrate with 3rd-party DI providers (Autofac, for example) to make property injection possible. Example: +Property injection is not supported by Microsoft Dependency Injection library. However, ABP can integrate with 3rd-party DI providers ([Autofac](https://autofac.org/), for example) to make property injection possible. Example: ````C# public class MyService : ITransientDependency diff --git a/docs/Index.md b/docs/Index.md index 6e782ef136..aa96f30171 100644 --- a/docs/Index.md +++ b/docs/Index.md @@ -6,13 +6,13 @@ * From Startup Templates * [ASP.NET Core MVC Template](Getting-Started-AspNetCore-MVC-Template.md) * From Empty Projects - * With Console Application - * With ASP.NET Core Web Application + * [With Console Application][Getting-Started-Console-Application.md] + * [With ASP.NET Core Web Application][Getting-Started-AspNetCore-Application.md] * Tutorials * Application Development * [With ASP.NET Core MVC](Tutorials/AspNetCore-Mvc/Part-I.md) * Fundamentals - * Dependency Injection + * [Dependency Injection](Dependency-Injection.md) * AutoFac Integration * [Virtual File System](Virtual-File-System.md) * [Localization](Localization.md) @@ -37,7 +37,7 @@ * Timing * [Multi Tenancy](Multi-Tenancy.md) * Module Development - * Basics + * [Basics](Module-Development-Basics.md) * Plug-In Modules * [Best Practices](Best-Practices/Index.md) * Domain Driven Design diff --git a/docs/Module-Development-Basics.md b/docs/Module-Development-Basics.md index c2b106ed42..bb193b613e 100644 --- a/docs/Module-Development-Basics.md +++ b/docs/Module-Development-Basics.md @@ -32,7 +32,7 @@ public class BlogModule : AbpModule } ```` -You can register dependencies one by one as stated in Microsoft's documentation. But ABP has a **conventional dependency registration system** which automatically register all services in your assembly. See the [dependency Injection](Dependency-Injection.md) documentation for more about the dependency injection system. +You can register dependencies one by one as stated in Microsoft's [documentation](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection). But ABP has a **conventional dependency registration system** which automatically register all services in your assembly. See the [dependency Injection](Dependency-Injection.md) documentation for more about the dependency injection system. You can also configure other services and modules in this way. Example: