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.
31 lines
887 B
31 lines
887 B
// 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}");
|
|
});
|
|
}
|
|
}
|
|
} |