From 1fedc732832a53159a9ed34d1be264f616fc2649 Mon Sep 17 00:00:00 2001 From: albert <9526587+ebicoglu@users.noreply.github.com> Date: Tue, 5 Apr 2022 03:13:41 +0300 Subject: [PATCH 1/3] Update API-Versioning.md --- docs/en/API/API-Versioning.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/API/API-Versioning.md b/docs/en/API/API-Versioning.md index 5eefb129c3..390d58eec8 100644 --- a/docs/en/API/API-Versioning.md +++ b/docs/en/API/API-Versioning.md @@ -45,7 +45,7 @@ public interface IBookV2AppService : IApplicationService } ``` -**HttpApi Controillers:** +**HttpApi Controllers:** ```cs [Area(BookStoreRemoteServiceConsts.ModuleName)] [RemoteService(Name = BookStoreRemoteServiceConsts.RemoteServiceName)] @@ -346,4 +346,4 @@ Get more from https://github.com/dotnet/aspnet-api-versioning/wiki ## Sample source code -You can get the complete sample source code in https://github.com/abpframework/abp-samples/tree/master/Api-Versioning \ No newline at end of file +You can get the complete sample source code in https://github.com/abpframework/abp-samples/tree/master/Api-Versioning From dbc04c52935158210ebd4ee3b1980b4de48570b8 Mon Sep 17 00:00:00 2001 From: albert <9526587+ebicoglu@users.noreply.github.com> Date: Tue, 5 Apr 2022 03:16:40 +0300 Subject: [PATCH 2/3] Update API-Versioning.md --- docs/en/API/API-Versioning.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/en/API/API-Versioning.md b/docs/en/API/API-Versioning.md index 390d58eec8..7784be1bb9 100644 --- a/docs/en/API/API-Versioning.md +++ b/docs/en/API/API-Versioning.md @@ -26,7 +26,7 @@ public override void ConfigureServices(ServiceConfigurationContext context) ## C# and JavaScript Static Client Proxies -This feature does not compatible with [URL Path Versioning](https://github.com/dotnet/aspnet-api-versioning/wiki/Versioning-via-the-URL-Path), I suggest you always use [Versioning-via-the-Query-String](https://github.com/dotnet/aspnet-api-versioning/wiki/Versioning-via-the-Query-String). +This feature does not compatible with [URL Path Versioning](https://github.com/dotnet/aspnet-api-versioning/wiki/Versioning-via-the-URL-Path), we suggest to use [Versioning-via-the-Query-String](https://github.com/dotnet/aspnet-api-versioning/wiki/Versioning-via-the-Query-String). ### Example @@ -175,7 +175,7 @@ bookStore.books.bookV2.getAsyncByIsbn = function(isbn, api_version, ajaxParams) ``` -## Manually change version +## Changing version manually If an application service class supports multiple versions. You can inject `ICurrentApiVersionInfo` to switch versions in C#. @@ -337,13 +337,14 @@ public override void OnApplicationInitialization(ApplicationInitializationContex } ``` -## Custom multi-version API controller. +## Custom multi-version API controller -ABP Framework will not affect to your APIs, you can freely implement your APIs according to Microsoft's documentation. +ABP Framework will not affect to your APIs, you can freely implement your APIs according to the Microsoft's documentation. -Get more from https://github.com/dotnet/aspnet-api-versioning/wiki +Further information, see https://github.com/dotnet/aspnet-api-versioning/wiki ## Sample source code -You can get the complete sample source code in https://github.com/abpframework/abp-samples/tree/master/Api-Versioning +Follow the link below to get the sample's complete source-code +https://github.com/abpframework/abp-samples/tree/master/Api-Versioning From 192b483d7b5f94c41dae60f082191aa8630eb32e Mon Sep 17 00:00:00 2001 From: albert <9526587+ebicoglu@users.noreply.github.com> Date: Tue, 5 Apr 2022 03:16:59 +0300 Subject: [PATCH 3/3] Update API-Versioning.md --- docs/en/API/API-Versioning.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/API/API-Versioning.md b/docs/en/API/API-Versioning.md index 7784be1bb9..68343417de 100644 --- a/docs/en/API/API-Versioning.md +++ b/docs/en/API/API-Versioning.md @@ -347,4 +347,5 @@ Further information, see https://github.com/dotnet/aspnet-api-versioning/wiki ## Sample source code Follow the link below to get the sample's complete source-code + https://github.com/abpframework/abp-samples/tree/master/Api-Versioning