From c5bd3cf1822522d8bfe82fc124a811b32ebbb1de Mon Sep 17 00:00:00 2001 From: Andrei Ignat Date: Tue, 3 Dec 2024 21:00:08 +0200 Subject: [PATCH] start aspire --- 2025/Net9WhatsNew/code/EFCoreConsole/Program.cs | 4 +++- 2025/Net9WhatsNew/code/Whta.AppHost/Program.cs | 3 +++ 2025/Net9WhatsNew/code/Whta.AppHost/Whta.AppHost.csproj | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/2025/Net9WhatsNew/code/EFCoreConsole/Program.cs b/2025/Net9WhatsNew/code/EFCoreConsole/Program.cs index f282bd28..33162524 100644 --- a/2025/Net9WhatsNew/code/EFCoreConsole/Program.cs +++ b/2025/Net9WhatsNew/code/EFCoreConsole/Program.cs @@ -18,4 +18,6 @@ //dotnet ef dbcontext optimize //read https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-9.0/whatsnew#msbuild-integration //NOT In this demo: AOT -//https://learn.microsoft.com/en-us/ef/core/performance/nativeaot-and-precompiled-queries \ No newline at end of file +//https://learn.microsoft.com/en-us/ef/core/performance/nativeaot-and-precompiled-queries + + diff --git a/2025/Net9WhatsNew/code/Whta.AppHost/Program.cs b/2025/Net9WhatsNew/code/Whta.AppHost/Program.cs index 24ee42d2..356c066a 100644 --- a/2025/Net9WhatsNew/code/Whta.AppHost/Program.cs +++ b/2025/Net9WhatsNew/code/Whta.AppHost/Program.cs @@ -1,5 +1,8 @@ var builder = DistributedApplication.CreateBuilder(args); builder.AddProject("whatsaspnet"); +builder.AddProject("efcoreconsole"); +builder.AddProject("csharp13"); + builder.Build().Run(); diff --git a/2025/Net9WhatsNew/code/Whta.AppHost/Whta.AppHost.csproj b/2025/Net9WhatsNew/code/Whta.AppHost/Whta.AppHost.csproj index fd7cea5e..1944481b 100644 --- a/2025/Net9WhatsNew/code/Whta.AppHost/Whta.AppHost.csproj +++ b/2025/Net9WhatsNew/code/Whta.AppHost/Whta.AppHost.csproj @@ -16,7 +16,10 @@ + + +