Verschlanken: kein Root-Node-Projekt, zwei direkte PowerShell-Skripte
This commit is contained in:
1 parent
302faa395c
commit
6d33015097
25 files changed
+133
-467
No files matched your search
@@ -1,4 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" />
|
||||
<PackageReference Include="Serilog" />
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Demo.Core;
|
||||
|
||||
public static class Greeter
|
||||
{
|
||||
public static string Greet(string name) =>
|
||||
JsonConvert.SerializeObject(new { message = $"Hello, {name}!" });
|
||||
public static string Greet(string name) => Newtonsoft.Json.JsonConvert.SerializeObject(new { message = $"Hello, {name}!" });
|
||||
}
|
||||
Reference in new issue
Block a user