You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Net/NetStartup.cs

17 lines
445 B

using Connected.Annotations;
using Connected.Net.Server;
using Microsoft.Extensions.DependencyInjection;
[assembly: MicroService(MicroServiceType.Sys)]
namespace Connected.Net;
internal class NetStartup : Startup
{
protected override void OnConfigureServices(IServiceCollection services)
{
services.AddSingleton(typeof(IEndpointServer), typeof(EndpointServer));
services.AddSingleton(typeof(IHttpService), typeof(HttpService));
}
}