- Create a new ABP project -> https://abp.io/get-started
- ABP 5 blog post -> https://blog.abp.io/abp/ABP-IO-Platform-5.0-RC-1-Has-Been-Released
- ABP 5 Migration guide -> http://docs.abp.io/en/abp/5.0/Migration-Guides/Abp-5_0
- ABP 5 Angular UI migration guide -> https://docs.abp.io/en/abp/5.0/Migration-Guides/Abp-5_0-Angular
- ABP 5 MVC UI migration guide -> https://docs.abp.io/en/abp/5.0/Migration-Guides/Abp-5-0-MVC
- ABP 5 Blazor UI migration guide -> https://docs.abp.io/en/abp/5.0/Migration-Guides/Abp-5-0-Blazor
- ABP startup template changes -> https://docs.abp.io/en/abp/5.0/Migration-Guides/Upgrading-Startup-Template
- Microsoft .NET 6 blog post -> https://devblogs.microsoft.com/dotnet/announcing-net-6/
- Bootstrap 5 blog post -> https://blog.getbootstrap.com/2020/12/07/bootstrap-5-beta-1
- Learn ABP Framework -> https://learnabpframework.com/free-content/
This is a GitHub changeset that shows how to add a new microservice to your ABP Commercial microservice solution.
I'll add a new microservice called OrderService
to a new microservice solution.
https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice
Create a new microservice project in your solution:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using Microsoft.Extensions.Localization | |
@using Microsoft.Extensions.Options | |
@using Volo.Abp.AspNetCore.MultiTenancy | |
@using Volo.Abp.AspNetCore.Mvc.AntiForgery | |
@using Volo.Abp.AspNetCore.Mvc.UI.Components.LayoutHook | |
@using Volo.Abp.AspNetCore.Mvc.UI.Layout | |
@using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.Localization | |
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling | |
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Content.Alerts | |
@using Volo.Abp.Ui.Branding |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.Extensions.Logging; | |
using Volo.Abp.Data; | |
using Volo.Abp.DependencyInjection; | |
using Volo.Abp.EventBus.Distributed; | |
using Volo.Abp.Identity; | |
using Volo.Abp.MultiTenancy; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-PSDebug -Trace 0 | |
$packageName = "volo.abp.cli" | |
$output = dotnet tool search $packageName --prerelease --take 1 | |
$outputString = ("" + $output) | |
$indexOfVersionLine = $outputString.IndexOf($packageName) | |
$latestVersion = $outputString.substring($indexOfVersionLine + $packageName.length).trim().split(" ")[0].trim() | |
Write-Host "Updating "$packageName" to" $latestVersion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
public interface INotificationClient | |
{ | |
Task ReceiveNotificationMessage(string message); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.DependencyInjection; | |
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; | |
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared; | |
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Bundling; | |
using Volo.Abp.Modularity; | |
using Volo.Abp.VirtualFileSystem; | |
namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial | |
{ | |
[DependsOn( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#FROM mcr.microsoft.com/dotnet/sdk:5.0-focal | |
#ENV DOTNET_USE_POLLING_FILE_WATCHER 1 | |
#WORKDIR /app/src/product-service/Volosoft.MyMicroserviceSystem.ProductService.HttpApi.Host | |
#RUN dotnet tool install -g dotnet-serve | |
#ENV PATH="${PATH}:/root/.dotnet/tools" | |
#RUN dotnet tool install --global Volo.Abp.Cli | |
#RUN abp login "[email protected]" -p "12345" | |
#ENTRYPOINT [ "dotnet", "watch", "run", "--urls", "https://0.0.0.0:6001/" ] |