Aiursoft.Probe.SDK
7.0.18
See the version list below for details.
dotnet add package Aiursoft.Probe.SDK --version 7.0.18
NuGet\Install-Package Aiursoft.Probe.SDK -Version 7.0.18
<PackageReference Include="Aiursoft.Probe.SDK" Version="7.0.18" />
paket add Aiursoft.Probe.SDK --version 7.0.18
#r "nuget: Aiursoft.Probe.SDK, 7.0.18"
// Install Aiursoft.Probe.SDK as a Cake Addin #addin nuget:?package=Aiursoft.Probe.SDK&version=7.0.18 // Install Aiursoft.Probe.SDK as a Cake Tool #tool nuget:?package=Aiursoft.Probe.SDK&version=7.0.18
Aiursoft Infrastructures
Aiursoft micro-services platform. Powered by ASP.NET Core.
What is Aiursoft Infrastructures
Aiursoft Infrastructures provides many valuable services and simplifies web application development.
Aiursoft Infrastructures is a project, runs at the application level, using micro-services design and powers all Aiursoft applications.
Aiursoft Infrastructures provides a central platform for an entire enterprise. So the enterprise can focus on business app development.
The enterprise can deploy their dedicated instance of Aiursoft Infrastructures and build their apps with it.
Example apps
There are some example apps based on Aiursoft Infrastructures.
Features
- Integrated user authentication https://directory.aiursoft.com (OAuth, Social authenticate, password reset)
- Account management center https://account.aiursoft.com (Profile editing, Two-FA, social account, switch email)
- Developer center https://developer.aiursoft.com (App creation and permission management, basic debugging tools)
- File storage system https://probe.aiursoft.com (Compress, Clear EXIF, customize domain-name)
- Message queue https://stargate.aiursoft.com (Auto message clear, WebSocket push, channel authentication)
- Home web page https://www.aiursoft.com (Terms, privacy)
- Wiki center https://wiki.aiursoft.com (Read document)
- Cross-platform deployment (Supports Windows, Linux, and Docker)
How to deploy
Brief steps
- Get a domain name. (Like aiursoft.com)
- Get a new server.
- Create DNS record.
- Execute the install command on your server.
Get a server
Get a brand new Ubuntu 18.04 server.
- Server must be Ubuntu 18.04. (20.04 and 16.04 is not supported)
- Server must have a public IP address. (No local VM)
- Server must have access to the global Internet. (Not Chinese network)
Azure, Vultr or DigitalOcean is suggested.
Install on a server
Create a wildcard domain record to your server's public IP.
Example: Resolve *.aiur.io to 123.123.123.123
Execute the following command on the server (Replace the instance.name
to your own brand name):
curl -sL https://gitlab.aiursoft.cn/aiursoft/infrastructures/-/raw/master/install.sh | sudo bash -s aiur.io instance.name master
Upgrade your server
If we released a newer version, and you can upgrade your server via:
curl -sL https://gitlab.aiursoft.cn/aiursoft/infrastructures/-/raw/master/upgrade.sh | sudo bash -s instance.name master
Also, you can run that upgrade script to repair some issues with your Infrastructures instance.
The design of Infrastructures
title: Project dependency diagram
stateDiagram-v2 Aiursoft.Canon --> Aiursoft.Scanner.Abstractions Aiursoft.AiurProtocol --> Aiursoft.Canon Aiursoft.AiurProtocol --> Aiursoft.CSTools Aiursoft.AiurProtocol --> Aiursoft.AiurProtocol.Abstractions Aiursoft.AiurProtocol.Server --> Aiursoft.AiurProtocol Aiursoft.CSTools --> Aiursoft.Scanner.Abstractions Aiursoft.WebTools --> Aiursoft.CSTools Aiursoft.WebTools --> Aiursoft.Scanner.Abstractions DemoApiApp.Sdk --> Aiursoft.AiurProtocol DemoApiApp --> DemoApiApp.Sdk DemoApiApp --> Aiursoft.WebTools DemoApiApp --> Aiursoft.AiurProtocol.Server
Basic Services
The basic services are used to support the operation of the entire platform. It is the basis for the expansion of the subsequent infrastructure and user services throughout the platform. The basic services mainly include the user's authentication, authorization, application authentication, authorization, and allow the user's self-registration and self-registration of the application. At the same time, the underlying service is also responsible for the user's underlying data and the underlying data of the application, as well as the user's set of credentials and the set of credentials for the application.
Infrastructures
Infrastructure refers to some common software tools that the platform can provide on an infrastructure-based basis. Such software tools are similar to static file storage, object storage, CDN, message queues, caching, and the like. Such services need to be registered in the underlying service and use the application authentication service and the application authorization service to check if the visitor has permission to invoke the infrastructure.
Applications
Before discussing the user service layer, all of the underlying services and infrastructure we discussed were oriented toward other sub-services rather than user-oriented. Still, they only provided data interfaces for other service calls. Obviously, as a mature platform, developers and users should not implement the registration of services and the management of permissions by calling interfaces. Therefore, we need to develop additional programs that provide such a user-oriented terminal that allows users to operate through a concise interface and logic.
In addition to the user interface that OAuth itself needs to provide login, this layer should also provide more basic service in the microservice platform. According to the results of the needs analysis, there are account management services and developer center services in this layer. Both services rely on the infrastructure of the previous layer and provide user-oriented functionality.
Any high-level service is built on the micro-service platform. But the requirements they solve are actually based on the decisions of the companies that use the microservices platform. In other words, regardless of the company's decision-making to build search engines, forums, company homepages, feedback centers, recruitment centers, etc., the platform should be able to support. But the entire process of this part should follow the process followed by a separate software system.
How to run locally
Running the entire micro-service platform is very complicated and requires a lot of computing resources. Before you try to run the platform, we strongly suggest running only one specific service. Running one service is very easy and simple.
To run one service instance locally, execute dotnet run
under which folder with the project file .csproj
you want to run.
As for each one of the sub-projects in it is a simple ASP.NET Core web project. You can reference more documents via the official ASP.NET document for how to run:
https://docs.microsoft.com/en-us/aspnet/core/getting-started/?tabs=windows#run-the-app
Database
In debugging environment, we are using Microsoft SQL Server LocalDb by default. You can change the connection string in appsettings.json
to use your own SQL Server
instance.
In our production environment, we are using Microsoft SQL Server.
We are using Entity Framework Core to control our database. It supports different types of databases. So our services can switch between different databases easily.
How to contribute
The document is here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Aiursoft.Directory.SDK (>= 7.0.18)
- Microsoft.EntityFrameworkCore.Abstractions (>= 7.0.14)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Aiursoft.Probe.SDK:
Package | Downloads |
---|---|
Aiursoft.Identity
The base class, tools and extends for Aiursoft web apps with Aiursoft authentication. |
|
Kahla.SDK
The base class, interfaces, services and bot framework for Aiursoft Kahla. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
7.0.19 | 918 | 1/4/2024 |
7.0.18 | 278 | 11/27/2023 |
7.0.17 | 172 | 11/24/2023 |
7.0.16 | 147 | 11/23/2023 |
7.0.15 | 226 | 11/22/2023 |
7.0.14 | 175 | 11/18/2023 |
7.0.13 | 143 | 11/14/2023 |
7.0.12 | 172 | 11/2/2023 |
7.0.10 | 173 | 11/2/2023 |
7.0.9 | 146 | 11/2/2023 |
7.0.8 | 159 | 10/31/2023 |
7.0.7 | 182 | 10/27/2023 |
7.0.6 | 241 | 10/11/2023 |
7.0.5 | 229 | 9/25/2023 |
7.0.4 | 215 | 9/14/2023 |
7.0.3 | 166 | 9/13/2023 |
7.0.2 | 221 | 9/6/2023 |
7.0.0 | 184 | 9/5/2023 |
6.0.26 | 258 | 7/10/2023 |
6.0.25 | 217 | 7/9/2023 |
6.0.24 | 215 | 7/9/2023 |
6.0.23 | 225 | 6/30/2023 |
6.0.22 | 277 | 6/18/2023 |
6.0.21 | 232 | 6/14/2023 |
6.0.20 | 238 | 6/5/2023 |
6.0.19 | 255 | 5/27/2023 |
6.0.18 | 229 | 5/27/2023 |
6.0.17 | 243 | 5/27/2023 |
6.0.16 | 213 | 5/27/2023 |
6.0.15 | 234 | 5/27/2023 |
6.0.14 | 242 | 5/27/2023 |
6.0.13 | 230 | 5/19/2023 |
6.0.12 | 223 | 5/19/2023 |
6.0.11 | 217 | 5/19/2023 |
6.0.10 | 219 | 5/19/2023 |
6.0.9 | 216 | 5/19/2023 |
6.0.8 | 219 | 5/11/2023 |
6.0.7 | 1,680 | 8/4/2022 |
6.0.6 | 669 | 7/6/2022 |
6.0.5 | 835 | 5/13/2022 |
6.0.0 | 1,108 | 3/27/2022 |
5.0.9 | 859 | 5/31/2021 |
5.0.8 | 602 | 5/23/2021 |
5.0.7 | 582 | 5/7/2021 |
5.0.6 | 583 | 4/14/2021 |
5.0.5 | 626 | 2/16/2021 |
5.0.4 | 974 | 1/29/2021 |
5.0.3 | 609 | 1/27/2021 |
5.0.2 | 671 | 12/9/2020 |
5.0.1 | 727 | 11/30/2020 |
5.0.0 | 661 | 11/14/2020 |
3.2.11 | 840 | 10/18/2020 |
3.2.10 | 902 | 10/3/2020 |
3.2.9 | 706 | 10/2/2020 |
3.2.8 | 773 | 9/10/2020 |
3.2.7 | 753 | 9/2/2020 |
3.2.6 | 807 | 8/12/2020 |
3.2.5 | 978 | 7/31/2020 |
3.2.4 | 989 | 7/3/2020 |
3.2.3 | 762 | 6/25/2020 |
3.2.2 | 745 | 6/18/2020 |
3.2.1 | 1,091 | 6/5/2020 |
3.2.0 | 821 | 6/4/2020 |
3.1.14 | 940 | 6/4/2020 |
3.1.13 | 890 | 5/25/2020 |
3.1.12 | 1,069 | 5/20/2020 |
3.1.11 | 1,040 | 5/18/2020 |
3.1.10 | 1,064 | 5/18/2020 |
3.1.9 | 1,028 | 5/17/2020 |
3.1.8 | 1,220 | 5/12/2020 |
3.1.7 | 1,248 | 5/2/2020 |
3.1.6 | 1,147 | 5/1/2020 |
3.1.5 | 1,078 | 4/21/2020 |
3.1.4 | 802 | 4/19/2020 |
3.1.3 | 1,175 | 4/15/2020 |