Camera Information System
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.
|
|
|
// ���� webServer
|
|
|
|
Serve.Run(RunOptions.Default.WithArgs(args));
|
|
|
|
|
|
|
|
//Serve.Run(RunOptions.Default.AddWebComponent<WebComponent>().WithArgs(args));
|
|
|
|
//public class WebComponent : IWebComponent
|
|
|
|
//{
|
|
|
|
// public void Load(WebApplicationBuilder builder, ComponentContext componentContext)
|
|
|
|
// {
|
|
|
|
// // ��־����
|
|
|
|
// builder.Logging.AddFilter((provider, category, logLevel) =>
|
|
|
|
// {
|
|
|
|
// return !new[] { "Microsoft.Hosting", "Microsoft.AspNetCore" }.Any(u => category.StartsWith(u)) && logLevel >= LogLevel.Information;
|
|
|
|
// });
|
|
|
|
// }
|
|
|
|
//}
|