From 10721b1aa4fdb54fcd2836fc844a08cab3f22b3a Mon Sep 17 00:00:00 2001 From: Lance McCarthy Date: Fri, 10 May 2024 12:05:46 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aaf3b88..16cc6d8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # DevCraftAspire -A set of projects that test various Telerik and Kendo components in .NET Aspire +A set of projects that test various Telerik and Kendo components in .NET Aspire! + +## CI-CD Status | Branch | Status | |----------|--------| @@ -8,10 +10,20 @@ A set of projects that test various Telerik and Kendo components in .NET Aspire | `main` | [![xx](https://github.com/LanceMcCarthy/DevCraftAspire/actions/workflows/monitor-images.yml/badge.svg)](https://github.com/LanceMcCarthy/DevCraftAspire/actions/workflows/monitor-images.yml) | | `main` | [![xx](https://github.com/LanceMcCarthy/DevCraftAspire/actions/workflows/update-images.yml/badge.svg)](https://github.com/LanceMcCarthy/DevCraftAspire/actions/workflows/update-images.yml) | -## Visual Studio 2022 - .NET Aspire Solution +## Azure Deployment Links + +- App => https://webfrontend.purpledune-16458cf6.eastus2.azurecontainerapps.io/ +- ApiService => https://apiservice.purpledune-16458cf6.eastus2.azurecontainerapps.io/reports/formats + +> [!IMPORTANT] +> The ApiService container uses a custom base image with all the required Linux dependencies pre-installed ([ghcr.io/lancemccarthy/aspirebase](https://github.com/LanceMcCarthy/DevCraftAspire/pkgs/container/aspirebase)). It is defined by [this Dockerfile](https://github.com/LanceMcCarthy/DevCraftAspire/blob/main/.dockerbuilds/baseimage/Dockerfile) and published by the `update-images.yaml` workflow. + +## Screenshots + +### Visual Studio 2022 - .NET Aspire Solution ![image](https://github.com/LanceMcCarthy/DevCraftAspire/assets/3520532/03318693-d973-4ba3-ae0b-15a53e4d56ce) -## Runtime +### Local Deployment ![image](https://github.com/LanceMcCarthy/DevCraftAspire/assets/3520532/b83e9abb-8321-4710-83c2-c8c25e46f9b8) From 567fad8cb21a72daef3a43ad96d5a80f92f1a6d5 Mon Sep 17 00:00:00 2001 From: Lance McCarthy Date: Fri, 10 May 2024 12:28:06 -0400 Subject: [PATCH 2/2] Update Program.cs --- DevCraftAspire.ApiService/Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DevCraftAspire.ApiService/Program.cs b/DevCraftAspire.ApiService/Program.cs index e2b85ab..4bee831 100644 --- a/DevCraftAspire.ApiService/Program.cs +++ b/DevCraftAspire.ApiService/Program.cs @@ -50,7 +50,9 @@ app.MapDefaultEndpoints(); // For REST service errors -System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(File.CreateText("_traceoutput.log"))); +var logFilePath = "_traceoutput.log"; +File.SetUnixFileMode(logFilePath, UnixFileMode.UserRead | UnixFileMode.UserWrite); +System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(File.CreateText(logFilePath))); System.Diagnostics.Trace.AutoFlush = true; app.Run();