using Cis.Application.Core;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace Cis.Application;
[AppStartup(100)]
public class Startup : AppStartup
{
///
/// 配置应用所需服务,在该方法中可以添加应用所需要的功能或服务
///
///
public void ConfigureServices(IServiceCollection services)
{
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddSingleton(new CameraDataCenter());
}
///
/// 配置应用请求处理管道
///
///
///
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
}
}