Initial Client/Server Communication

#1
Followed the MagicOnion quickstart guide, borrowing code from the chat sample app to get something working
This commit is contained in:
hyperion51 2020-02-26 17:48:40 +00:00
commit a0c8dbee72
493 changed files with 57790 additions and 3 deletions

62
Economy.Server/ChatHub.cs Normal file
View file

@ -0,0 +1,62 @@
using ChatApp.Shared.Hubs;
using ChatApp.Shared.MessagePackObjects;
using MagicOnion.Server.Hubs;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ChatApp.Server
{
/// <summary>
/// Chat server processing.
/// One class instance for one connection.
/// </summary>
public class ChatHub : StreamingHubBase<IChatHub, IChatHubReceiver>, IChatHub
{
private IGroup room;
private string myName;
public async Task JoinAsync(JoinRequest request)
{
this.room = await this.Group.AddAsync(request.RoomName);
this.myName = request.UserName;
this.Broadcast(this.room).OnJoin(request.UserName);
}
public async Task LeaveAsync()
{
await this.room.RemoveAsync(this.Context);
this.Broadcast(this.room).OnLeave(this.myName);
}
public async Task SendMessageAsync(string message)
{
var response = new MessageResponse { UserName = this.myName, Message = message };
this.Broadcast(this.room).OnSendMessage(response);
await Task.CompletedTask;
}
public Task GenerateException(string message)
{
throw new Exception(message);
}
// It is not called because it is a method as a sample of arguments.
public Task SampleMethod(List<int> sampleList, Dictionary<int, string> sampleDictionary)
{
throw new System.NotImplementedException();
}
protected override ValueTask OnDisconnected()
{
// handle disconnection if needed.
// on disconnecting, if automatically removed this connection from group.
return CompletedTask;
}
}
}

View file

@ -0,0 +1,22 @@
using ChatApp.Shared.Services;
using MagicOnion;
using MagicOnion.Server;
using MessagePack;
namespace ChatApp.Server
{
public class ChatService : ServiceBase<IChatService>, IChatService
{
public UnaryResult<Nil> GenerateException(string message)
{
throw new System.NotImplementedException();
}
public UnaryResult<Nil> SendReportAsync(string message)
{
Logger.Debug($"{message}");
return UnaryResult(Nil.Default);
}
}
}

23
Economy.Server/Program.cs Normal file
View file

@ -0,0 +1,23 @@
using Grpc.Core;
using MagicOnion.Hosting;
using MagicOnion.Server;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace ChatApp.Server
{
class Program
{
static async Task Main(string[] args)
{
GrpcEnvironment.SetLogger(new Grpc.Core.Logging.ConsoleLogger());
await MagicOnionHost.CreateDefaultBuilder()
.UseMagicOnion()
.RunConsoleAsync();
}
}
}

View file

@ -0,0 +1,18 @@
{
"MagicOnion": {
"ServerPorts": [
{
"Host": "0.0.0.0",
"Port": 12345,
"UseInsecureConnection": true
}
]
},
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}

File diff suppressed because it is too large Load diff

BIN
Economy.Server/bin/Debug/netcoreapp3.1/Economy.Server.dll (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\rwvens\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\rwvens\\.nuget\\packages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
]
}
}

View file

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "netcoreapp3.1",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "3.1.0"
}
}
}

BIN
Economy.Server/bin/Debug/netcoreapp3.1/Economy.Shared.dll (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Economy.Server/bin/Debug/netcoreapp3.1/Grpc.Core.Api.dll (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Economy.Server/bin/Debug/netcoreapp3.1/Grpc.Core.dll (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Economy.Server/bin/Debug/netcoreapp3.1/MagicOnion.dll (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Economy.Server/bin/Debug/netcoreapp3.1/MessagePack.dll (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Economy.Server")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Economy.Server")]
[assembly: System.Reflection.AssemblyTitleAttribute("Economy.Server")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View file

@ -0,0 +1 @@
12c88651412949f40a1a35da8dd0e4390916233c

View file

@ -0,0 +1,55 @@
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Server.exe
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Server.deps.json
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Server.runtimeconfig.json
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Server.runtimeconfig.dev.json
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Server.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Server.pdb
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Grpc.Core.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Grpc.Core.Api.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\MagicOnion.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\MagicOnion.Abstractions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\MagicOnion.Hosting.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\MessagePack.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\MessagePack.Annotations.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.Abstractions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.Binder.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.CommandLine.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.EnvironmentVariables.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.FileExtensions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.Json.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.UserSecrets.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.DependencyInjection.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.FileProviders.Abstractions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.FileProviders.Physical.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.FileSystemGlobbing.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Hosting.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Hosting.Abstractions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.Configuration.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.Console.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.Debug.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.EventLog.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.EventSource.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Options.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Options.ConfigurationExtensions.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Primitives.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\System.Diagnostics.EventLog.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\runtimes\linux\native\libgrpc_csharp_ext.x64.so
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\runtimes\linux\native\libgrpc_csharp_ext.x86.so
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\runtimes\osx\native\libgrpc_csharp_ext.x64.dylib
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\runtimes\osx\native\libgrpc_csharp_ext.x86.dylib
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\runtimes\win\native\grpc_csharp_ext.x64.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\runtimes\win\native\grpc_csharp_ext.x86.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.0\System.Diagnostics.EventLog.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Shared.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\bin\Debug\netcoreapp3.1\Economy.Shared.pdb
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\obj\Debug\netcoreapp3.1\Economy.Server.csprojAssemblyReference.cache
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\obj\Debug\netcoreapp3.1\Economy.Server.AssemblyInfoInputs.cache
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\obj\Debug\netcoreapp3.1\Economy.Server.AssemblyInfo.cs
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\obj\Debug\netcoreapp3.1\Economy.Server.csproj.CopyComplete
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\obj\Debug\netcoreapp3.1\Economy.Server.dll
C:\Users\rwvens\Documents\GitHub\Aetheria-Economy\Economy.Server\obj\Debug\netcoreapp3.1\Economy.Server.pdb

BIN
Economy.Server/obj/Debug/netcoreapp3.1/Economy.Server.dll (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,5 @@
{
"version": 1,
"dgSpecHash": "uBAwXYTSs+khlmrWxH7BK1PyKx8a57wF7Nzb4vQyXRpSm2MLDADjxJOabiRD7Aiila2J4b6Avlec6cvNaBaWRQ==",
"success": true
}

View file

@ -0,0 +1,141 @@
{
"format": 1,
"restore": {
"C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\Economy.Server.csproj": {}
},
"projects": {
"C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\Economy.Server.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\Economy.Server.csproj",
"projectName": "Economy.Server",
"projectPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\Economy.Server.csproj",
"packagesPath": "C:\\Users\\rwvens\\.nuget\\packages\\",
"outputPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"projectReferences": {
"C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\Economy.Shared.csproj": {
"projectPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\Economy.Shared.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"dependencies": {
"MagicOnion.Hosting": {
"target": "Package",
"version": "[3.0.9, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
}
}
},
"C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\Economy.Shared.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\Economy.Shared.csproj",
"projectName": "Economy.Shared",
"projectPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\Economy.Shared.csproj",
"packagesPath": "C:\\Users\\rwvens\\.nuget\\packages\\",
"outputPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"dependencies": {
"MagicOnion.Abstractions": {
"target": "Package",
"version": "[3.0.0, )"
},
"MagicOnion.MSBuild.Tasks": {
"suppressParent": "All",
"target": "Package",
"version": "[3.0.0, )"
},
"MessagePack.MSBuild.Tasks": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.323, )"
},
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\rwvens\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.3.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,59 @@
{
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\Economy.Server.csproj",
"projectName": "Economy.Server",
"projectPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\Economy.Server.csproj",
"outputPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Server\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"projectReferences": {
"C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\Economy.Shared.csproj": {
"projectPath": "C:\\Users\\rwvens\\Documents\\GitHub\\Aetheria-Economy\\Economy.Shared\\Economy.Shared.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"dependencies": {
"MagicOnion.Hosting": {
"target": "Package",
"version": "[3.0.9, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
}
}
}