AI Smart project for ABP Framework and Orleans backend.
AI Smart project for ABP 8 Framework and Orleans 7 backend.
- .NET 8.0 SDK
- MongoDB
- Redis
-
Update the
appsettings.jsonfile in the Silo project with your specific configurations (e.g., connection strings, Orleans clustering configurations).{ "ConnectionStrings": { "Default": "mongodb://localhost:27017/AISmart" }, "Orleans": { "ClusterId": "AISmartSiloCluster", "ServiceId": "AISmartBasicService", "AdvertisedIP": "127.0.0.1", "GatewayPort": 20001, "SiloPort": 10001, "MongoDBClient": "mongodb://localhost:27017/?maxPoolSize=555", "DataBase": "AISmartDb", "DashboardUserName": "admin", "DashboardPassword": "123456", "DashboardCounterUpdateIntervalMs": 1000, "DashboardPort": 8080, "EventStoreConnection": "ConnectTo=tcp://localhost:1113; HeartBeatTimeout=500", "ClusterDbConnection": "127.0.0.1:6379", "ClusterDbNumber": 0, "GrainStorageDbConnection": "127.0.0.1:6379", "GrainStorageDbNumber": 0 } } -
Update the
appsettings.jsonfile in the HttpApi.Host project with your specific configurations (e.g., connection strings, Orleans clustering configurations).{ "ConnectionStrings": { "Default": "mongodb://localhost:27017/AISmart" }, "Orleans": { "ClusterId": "AISmartSiloCluster", "ServiceId": "AISmartBasicService", "MongoDBClient": "mongodb://localhost:27017/?maxPoolSize=555", "DataBase": "AISmartDb" } }
- Go to the
srcfoldercd src - Run the
<Your Project Name>.DbMigratorproject to create the initial database fromsrc.cd <Your Project Name>.DbMigrator dotnet run
- Run the
<Your Project Name>.Siloproject to start the Orleans Silo fromsrc.cd ../<Your Project Name>.Silo dotnet run
- Run the
<Your Project Name>.HttpApi.Hostproject to start the API fromsrc.cd ../<Your Project Name>.HttpApi.Host dotnet run
You can find examples from the Books or Authors folders in respective projects.
If you encounter a bug or have a feature request, please use the Issue Tracker. The project is also open to contributions, so feel free to fork the project and open pull requests.
Distributed under the Apache License. See License for more information. Distributed under the MIT License. See License for more information.