2023-03-01 17:58:57.6692||DEBUG|DiscountService.Program|init main function 2023-03-01 17:59:01.0788|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2023-03-01 17:59:01.4578|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2023-03-01 17:59:01.4760|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2023-03-01 17:59:01.4760|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2023-03-01 17:59:01.4760|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2023-03-01 17:59:01.4760|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2023-03-01 17:59:01.5059|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2023-03-01 17:59:01.7161|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. 2023-03-01 17:59:01.7161|59|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2023-03-01 17:59:01.7161|58|INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Creating key {811e6d42-06d8-4bb5-95e1-46a47acd19ba} with creation date 2023-03-01 16:59:01Z, activation date 2023-03-01 16:59:01Z, and expiration date 2023-05-30 16:59:01Z. 2023-03-01 17:59:01.7161|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {811e6d42-06d8-4bb5-95e1-46a47acd19ba} may be persisted to storage in unencrypted form. 2023-03-01 17:59:01.9683|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2023-03-01 17:59:01.9683|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2023-03-01 17:59:02.3114|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:02.3114|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:02.3114|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 347.6472ms 204 2023-03-01 17:59:02.3114|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 347.6472ms 204 2023-03-01 17:59:02.6136|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2023-03-01 17:59:02.6136|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2023-03-01 17:59:02.7888|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2023-03-01 17:59:02.7888|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2023-03-01 17:59:02.7888|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:02.7888|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:02.7888|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2023-03-01 17:59:02.7888|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2023-03-01 17:59:02.7888|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2023-03-01 17:59:02.7888|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2023-03-01 17:59:02.8228|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetDiscountById", controller = "Discount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDiscountById(Int64) on controller DiscountService.Controllers.DiscountController (DiscountService). 2023-03-01 17:59:02.8228|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchDiscount", controller = "Discount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchDiscount(System.String, System.Nullable`1[System.Int64], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32]) on controller DiscountService.Controllers.DiscountController (DiscountService). 2023-03-01 17:59:02.8228|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2023-03-01 17:59:02.8228|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2023-03-01 17:59:02.8228|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2023-03-01 17:59:02.8571|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService) in 31.7452ms 2023-03-01 17:59:02.8571|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2023-03-01 17:59:02.8571|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 243.7376ms 200 application/json; charset=utf-8 2023-03-01 17:59:02.9045||INFO|DiscountService.Core.DiscountServices|about to call SP_GetDiscountDetails 2023-03-01 17:59:03.0766||INFO|DiscountService.Core.DiscountServices|got details from SP_GetDiscountDetails 2023-03-01 17:59:03.0766|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2023-03-01 17:59:03.0903|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService) in 266.9889ms 2023-03-01 17:59:03.0903|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2023-03-01 17:59:03.0903|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 477.7623ms 200 application/json; charset=utf-8 2023-03-01 17:59:40.8464|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2023-03-01 17:59:40.8464|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:40.8464|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.2376ms 204 2023-03-01 17:59:40.8569|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2023-03-01 17:59:40.8569|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:40.8569|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1.6332ms 204 2023-03-01 17:59:41.1316|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2023-03-01 17:59:41.1333|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2023-03-01 17:59:41.1333|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:41.1333|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2023-03-01 17:59:41.1333|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2023-03-01 17:59:41.1333|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchDiscount", controller = "Discount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchDiscount(System.String, System.Nullable`1[System.Int64], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32]) on controller DiscountService.Controllers.DiscountController (DiscountService). 2023-03-01 17:59:41.1333|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2023-03-01 17:59:41.1333|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2023-03-01 17:59:41.1333|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2023-03-01 17:59:41.1333|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2023-03-01 17:59:41.1333|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2023-03-01 17:59:41.1333|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetDiscountById", controller = "Discount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDiscountById(Int64) on controller DiscountService.Controllers.DiscountController (DiscountService). 2023-03-01 17:59:41.1613|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2023-03-01 17:59:41.1613|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2023-03-01 17:59:41.1634||INFO|DiscountService.Core.DiscountServices|about to call SP_GetDiscountDetails 2023-03-01 17:59:41.1634|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2023-03-01 17:59:41.1634|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService) in 20.1323ms 2023-03-01 17:59:41.1634|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2023-03-01 17:59:41.1634|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.8451ms 200 application/json; charset=utf-8 2023-03-01 17:59:41.1634||INFO|DiscountService.Core.DiscountServices|got details from SP_GetDiscountDetails 2023-03-01 17:59:41.1634|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2023-03-01 17:59:41.1634|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService) in 32.7493ms 2023-03-01 17:59:41.1634|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2023-03-01 17:59:41.1634|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.1435ms 200 application/json; charset=utf-8 2023-03-01 18:59:23.7165|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:26429/DISCOUNT/iisintegration 0 2023-03-01 18:59:23.7174|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 0.9592ms 202