- add startup class

pull/26/head
Simon G 6 years ago
parent d8e59284d0
commit a336e71a2a
  1. 31
      GBase.Server/Startup.cs

@ -0,0 +1,31 @@
// Author: Simon Gockner
// Created: 2020-02-08
// Copyright(c) 2020 SimonG. All Rights Reserved.
using CoreWCF;
using CoreWCF.Configuration;
using GBase.Server.Interfaces;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace GBase.Server
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddServiceModelServices();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseServiceModel(builder =>
{
//TODO: Add needed service once it is implemented
//builder.AddService<>();
//builder.AddServiceEndpoint<>(new BasicHttpBinding(), $"/{IGBaseServerSettings.Endpoint}");
});
}
}
}
Loading…
Cancel
Save