diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..fe1152b
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,30 @@
+**/.classpath
+**/.dockerignore
+**/.env
+**/.git
+**/.gitignore
+**/.project
+**/.settings
+**/.toolstarget
+**/.vs
+**/.vscode
+**/*.*proj.user
+**/*.dbmdl
+**/*.jfm
+**/azds.yaml
+**/bin
+**/charts
+**/docker-compose*
+**/Dockerfile*
+**/node_modules
+**/npm-debug.log
+**/obj
+**/secrets.dev.yaml
+**/values.dev.yaml
+LICENSE
+README.md
+!**/.gitignore
+!.git/HEAD
+!.git/config
+!.git/packed-refs
+!.git/refs/heads/**
\ No newline at end of file
diff --git a/Astrocore.Api/Astrocore.Api.csproj b/Astrocore.Api/Astrocore.Api.csproj
new file mode 100644
index 0000000..65435f4
--- /dev/null
+++ b/Astrocore.Api/Astrocore.Api.csproj
@@ -0,0 +1,16 @@
+
+
+
+ net8.0
+ enable
+ enable
+ 916bd77d-132b-42cb-93e0-55d05b0d4f4b
+ Windows
+
+
+
+
+
+
+
+
diff --git a/Astrocore.Api/Astrocore.Api.http b/Astrocore.Api/Astrocore.Api.http
new file mode 100644
index 0000000..071bc38
--- /dev/null
+++ b/Astrocore.Api/Astrocore.Api.http
@@ -0,0 +1,6 @@
+@Astrocore.Api_HostAddress = http://localhost:5125
+
+GET {{Astrocore.Api_HostAddress}}/weatherforecast/
+Accept: application/json
+
+###
diff --git a/Astrocore.Api/Controllers/WeatherForecastController.cs b/Astrocore.Api/Controllers/WeatherForecastController.cs
new file mode 100644
index 0000000..6ad49e9
--- /dev/null
+++ b/Astrocore.Api/Controllers/WeatherForecastController.cs
@@ -0,0 +1,33 @@
+using Microsoft.AspNetCore.Mvc;
+
+namespace Astrocore.Api.Controllers
+{
+ [ApiController]
+ [Route("[controller]")]
+ public class WeatherForecastController : ControllerBase
+ {
+ private static readonly string[] Summaries = new[]
+ {
+ "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
+ };
+
+ private readonly ILogger _logger;
+
+ public WeatherForecastController(ILogger logger)
+ {
+ _logger = logger;
+ }
+
+ [HttpGet(Name = "GetWeatherForecast")]
+ public IEnumerable Get()
+ {
+ return Enumerable.Range(1, 5).Select(index => new WeatherForecast
+ {
+ Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
+ TemperatureC = Random.Shared.Next(-20, 55),
+ Summary = Summaries[Random.Shared.Next(Summaries.Length)]
+ })
+ .ToArray();
+ }
+ }
+}
diff --git a/Astrocore.Api/Dockerfile b/Astrocore.Api/Dockerfile
new file mode 100644
index 0000000..d00cf2c
--- /dev/null
+++ b/Astrocore.Api/Dockerfile
@@ -0,0 +1,32 @@
+# See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
+
+# Depending on the operating system of the host machines(s) that will build or run the containers, the image specified in the FROM statement may need to be changed.
+# For more information, please see https://aka.ms/containercompat
+
+# This stage is used when running from VS in fast mode (Default for Debug configuration)
+FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809 AS base
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+
+# This stage is used to build the service project
+FROM mcr.microsoft.com/dotnet/sdk:8.0-nanoserver-1809 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Astrocore.Api/Astrocore.Api.csproj", "Astrocore.Api/"]
+RUN dotnet restore "./Astrocore.Api/Astrocore.Api.csproj"
+COPY . .
+WORKDIR "/src/Astrocore.Api"
+RUN dotnet build "./Astrocore.Api.csproj" -c %BUILD_CONFIGURATION% -o /app/build
+
+# This stage is used to publish the service project to be copied to the final stage
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./Astrocore.Api.csproj" -c %BUILD_CONFIGURATION% -o /app/publish /p:UseAppHost=false
+
+# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "Astrocore.Api.dll"]
\ No newline at end of file
diff --git a/Astrocore.Api/Program.cs b/Astrocore.Api/Program.cs
new file mode 100644
index 0000000..700582c
--- /dev/null
+++ b/Astrocore.Api/Program.cs
@@ -0,0 +1,36 @@
+
+namespace Astrocore.Api
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ var builder = WebApplication.CreateBuilder(args);
+
+ // Add services to the container.
+
+ builder.Services.AddControllers();
+ // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
+ builder.Services.AddEndpointsApiExplorer();
+ builder.Services.AddSwaggerGen();
+
+ var app = builder.Build();
+
+ // Configure the HTTP request pipeline.
+ if (app.Environment.IsDevelopment())
+ {
+ app.UseSwagger();
+ app.UseSwaggerUI();
+ }
+
+ app.UseHttpsRedirection();
+
+ app.UseAuthorization();
+
+
+ app.MapControllers();
+
+ app.Run();
+ }
+ }
+}
diff --git a/Astrocore.Api/Properties/launchSettings.json b/Astrocore.Api/Properties/launchSettings.json
new file mode 100644
index 0000000..2e1f659
--- /dev/null
+++ b/Astrocore.Api/Properties/launchSettings.json
@@ -0,0 +1,52 @@
+{
+ "profiles": {
+ "http": {
+ "commandName": "Project",
+ "launchBrowser": true,
+ "launchUrl": "swagger",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "http://localhost:5125"
+ },
+ "https": {
+ "commandName": "Project",
+ "launchBrowser": true,
+ "launchUrl": "swagger",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7083;http://localhost:5125"
+ },
+ "IIS Express": {
+ "commandName": "IISExpress",
+ "launchBrowser": true,
+ "launchUrl": "swagger",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "environmentVariables": {
+ "ASPNETCORE_HTTPS_PORTS": "8081",
+ "ASPNETCORE_HTTP_PORTS": "8080"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "$schema": "http://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:9807",
+ "sslPort": 44380
+ }
+ }
+}
\ No newline at end of file
diff --git a/Astrocore.Api/WeatherForecast.cs b/Astrocore.Api/WeatherForecast.cs
new file mode 100644
index 0000000..ef10206
--- /dev/null
+++ b/Astrocore.Api/WeatherForecast.cs
@@ -0,0 +1,13 @@
+namespace Astrocore.Api
+{
+ public class WeatherForecast
+ {
+ public DateOnly Date { get; set; }
+
+ public int TemperatureC { get; set; }
+
+ public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
+
+ public string? Summary { get; set; }
+ }
+}
diff --git a/Astrocore.Api/appsettings.Development.json b/Astrocore.Api/appsettings.Development.json
new file mode 100644
index 0000000..0c208ae
--- /dev/null
+++ b/Astrocore.Api/appsettings.Development.json
@@ -0,0 +1,8 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning"
+ }
+ }
+}
diff --git a/Astrocore.Api/appsettings.json b/Astrocore.Api/appsettings.json
new file mode 100644
index 0000000..10f68b8
--- /dev/null
+++ b/Astrocore.Api/appsettings.json
@@ -0,0 +1,9 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning"
+ }
+ },
+ "AllowedHosts": "*"
+}
diff --git a/Astrocore.sln b/Astrocore.sln
index 9aaf760..46c8630 100644
--- a/Astrocore.sln
+++ b/Astrocore.sln
@@ -3,7 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35728.132 d17.12
MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Astrocore.Api", "Astrocore.Api\Astrocore.Api.csproj", "{84BD373D-B825-473F-A6BA-3BDF969A1122}"
+EndProject
Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {84BD373D-B825-473F-A6BA-3BDF969A1122}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {84BD373D-B825-473F-A6BA-3BDF969A1122}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {84BD373D-B825-473F-A6BA-3BDF969A1122}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {84BD373D-B825-473F-A6BA-3BDF969A1122}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection