Skip to content

Web Backend for AACore, and implements ASCOM Alpaca API

Notifications You must be signed in to change notification settings

ElementAstro/AACore.Web.Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AACore Web Backend

AACore.Web's Backend.

Built with .NET 9 and ASP.NET Core Minimal API, and compiled with Native AOT for blazingly fast launch time, small executable file (<20MB) size and memory footprint(~20MB).

How to compile?

dotnet publish -p:PublishProfile=Native-win-x64

Warning

Publish in Visual Studio may not work. Use the command above instead.
You may need following Visual Studio 2022 workload to compile this project with Native AOT:

  • ASP.NET and web development
  • .NET desktop development
  • Desktop development with C++

Tip

You can also run directly using dotnet run or debug in your favorite IDE.

How to use it?

Compile & open .\AACore.Web\publish\win-x64\AACore.Web.exe.

The backend will listen on http://localhost:7843 (This can be configured in appsettings.json)
This backend has auto-generated OpenAPI document, and an integrated Scalar for directly browse and test the api set.

http://localhost:7843/openapi/v1.json   # Auto-generated OpenAPI document
http://localhost:7843/scalar/v1         # Scalar

About

Web Backend for AACore, and implements ASCOM Alpaca API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages