From 53c3f2551e50a880a06d3223ed018928e8300532 Mon Sep 17 00:00:00 2001 From: honurbu Date: Thu, 30 Nov 2023 12:12:34 +0300 Subject: [PATCH] Update documents for v8.0 --- docs/en/Application-Startup.md | 4 ++-- docs/en/Getting-Started-Setup-Environment-Single-Layer.md | 2 +- docs/en/Getting-Started-Setup-Environment.md | 2 +- docs/en/Tutorials/Todo/Index.md | 2 +- docs/zh-Hans/Getting-Started-Setup-Environment.md | 2 +- templates/app-nolayers/aspnet-core/README.md | 2 +- templates/app/aspnet-core/README.md | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/en/Application-Startup.md b/docs/en/Application-Startup.md index 5711d61dc4..fb87080653 100644 --- a/docs/en/Application-Startup.md +++ b/docs/en/Application-Startup.md @@ -12,7 +12,7 @@ This document is for who wants to better understand how the ABP Framework is ini A .NET Console application is the minimalist .NET application. So, it is best to show the installing of the ABP Framework to a console application as a minimalist example. -If you [create a new console application with Visual Studio](https://learn.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio) (for .NET 7.0 or later), you will see the following solution structure (I named the solution as `MyConsoleDemo`): +If you [create a new console application with Visual Studio](https://learn.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio) (for .NET 8.0 or later), you will see the following solution structure (I named the solution as `MyConsoleDemo`): ![app-startup-console-initial](images/app-startup-console-initial.png) @@ -258,7 +258,7 @@ The `IAbpApplication` interface extends the `IApplicationInfoAccessor` interface ## IAbpHostEnvironment -Sometimes, while creating an application, we need to get the current hosting environment and take actions according to that. In such cases, we can use some services such as [IWebHostEnvironment](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.hosting.iwebhostenvironment?view=aspnetcore-7.0) or [IWebAssemblyHostEnvironment](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.webassembly.hosting.iwebassemblyhostenvironment) provided by .NET, in the final application. +Sometimes, while creating an application, we need to get the current hosting environment and take actions according to that. In such cases, we can use some services such as [IWebHostEnvironment](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.hosting.iwebhostenvironment?view=aspnetcore-8.0) or [IWebAssemblyHostEnvironment](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.webassembly.hosting.iwebassemblyhostenvironment) provided by .NET, in the final application. However, we can not use these services in a class library, which is used by the final application. ABP Framework provides the `IAbpHostEnvironment` service, which allows you to get the current environment name whenever you want. `IAbpHostEnvironment` is used by the ABP Framework in several places to perform specific actions by the environment. For example, ABP Framework reduces the cache duration on the **Development** environment for some services. diff --git a/docs/en/Getting-Started-Setup-Environment-Single-Layer.md b/docs/en/Getting-Started-Setup-Environment-Single-Layer.md index f7c2b5702b..c9a308a850 100644 --- a/docs/en/Getting-Started-Setup-Environment-Single-Layer.md +++ b/docs/en/Getting-Started-Setup-Environment-Single-Layer.md @@ -18,7 +18,7 @@ First things first! Let's setup your development environment before creating the The following tools should be installed on your development machine: -* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 7.0+](https://dotnet.microsoft.com/download/dotnet) development. +* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 8.0+](https://dotnet.microsoft.com/download/dotnet) development. {{ if UI != "Blazor" }} * [Node v16 or v18](https://nodejs.org/) * [Yarn v1.20+ (not v2)](https://classic.yarnpkg.com/en/docs/install) [1](#f-yarn) or npm v6+ (already installed with Node) diff --git a/docs/en/Getting-Started-Setup-Environment.md b/docs/en/Getting-Started-Setup-Environment.md index f6df09badf..12f7cd5890 100644 --- a/docs/en/Getting-Started-Setup-Environment.md +++ b/docs/en/Getting-Started-Setup-Environment.md @@ -19,7 +19,7 @@ First things first! Let's setup your development environment before creating the The following tools should be installed on your development machine: -* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 7.0+](https://dotnet.microsoft.com/download/dotnet) development. +* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 8.0+](https://dotnet.microsoft.com/download/dotnet) development. {{ if UI != "Blazor" }} * [Node v16 or v18](https://nodejs.org/) * [Yarn v1.20+ (not v2)](https://classic.yarnpkg.com/en/docs/install) [1](#f-yarn) or npm v6+ (already installed with Node) diff --git a/docs/en/Tutorials/Todo/Index.md b/docs/en/Tutorials/Todo/Index.md index f316a9b7ed..28725fd2c8 100644 --- a/docs/en/Tutorials/Todo/Index.md +++ b/docs/en/Tutorials/Todo/Index.md @@ -52,7 +52,7 @@ This documentation has a video tutorial on **YouTube**!! You can watch it here: ## Pre-Requirements -* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 7.0+](https://dotnet.microsoft.com/download/dotnet) development. +* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 8.0+](https://dotnet.microsoft.com/download/dotnet) development. * [Node v16.x](https://nodejs.org/) {{if DB=="Mongo"}} diff --git a/docs/zh-Hans/Getting-Started-Setup-Environment.md b/docs/zh-Hans/Getting-Started-Setup-Environment.md index 0543af92b4..60b446ac6b 100644 --- a/docs/zh-Hans/Getting-Started-Setup-Environment.md +++ b/docs/zh-Hans/Getting-Started-Setup-Environment.md @@ -19,7 +19,7 @@ 开发计算机上应安装以下工具: -* 一个集成开发环境 (比如: [Visual Studio](https://visualstudio.microsoft.com/vs/)) 它需要支持 [.NET 7.0+](https://dotnet.microsoft.com/download/dotnet) 的开发. +* 一个集成开发环境 (比如: [Visual Studio](https://visualstudio.microsoft.com/vs/)) 它需要支持 [.NET 8.0+](https://dotnet.microsoft.com/download/dotnet) 的开发. {{ if UI != "Blazor" }} * [Node v16 或 v18](https://nodejs.org/) * [Yarn v1.20+ (不是v2)](https://classic.yarnpkg.com/en/docs/install) [1](#f-yarn) 或 npm v6+ (已跟随Node一起安装) diff --git a/templates/app-nolayers/aspnet-core/README.md b/templates/app-nolayers/aspnet-core/README.md index 7327f81f55..f5d8e22afa 100644 --- a/templates/app-nolayers/aspnet-core/README.md +++ b/templates/app-nolayers/aspnet-core/README.md @@ -6,7 +6,7 @@ This is a minimalist, non-layered startup solution with the ABP Framework. All t ### Pre-requirements -* [.NET 7.0+ SDK](https://dotnet.microsoft.com/download/dotnet) +* [.NET 8.0+ SDK](https://dotnet.microsoft.com/download/dotnet) * [Node v18 or 20](https://nodejs.org/en) ### Configurations diff --git a/templates/app/aspnet-core/README.md b/templates/app/aspnet-core/README.md index 0a25f683d2..8327e5b59e 100644 --- a/templates/app/aspnet-core/README.md +++ b/templates/app/aspnet-core/README.md @@ -6,7 +6,7 @@ This is a layered startup solution based on [Domain Driven Design (DDD)](https:/ ### Pre-requirements -* [.NET 7.0+ SDK](https://dotnet.microsoft.com/download/dotnet) +* [.NET 8.0+ SDK](https://dotnet.microsoft.com/download/dotnet) * [Node v18 or 20](https://nodejs.org/en) * [Redis](https://redis.io/)