Initiales Beispiel-Monorepo (npm + .NET)
This commit is contained in:
commit
e25a66e940
22 files changed
+1222
No files matched your search
@@ -0,0 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" />
|
||||
<PackageReference Include="Serilog" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,9 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Demo.Core;
|
||||
|
||||
public static class Greeter
|
||||
{
|
||||
public static string Greet(string name) =>
|
||||
JsonConvert.SerializeObject(new { message = $"Hello, {name}!" });
|
||||
}
|
||||
Reference in new issue
Block a user