2022-01-13 15:56:42.6545||DEBUG|DiscountService.Program|init main function 2022-01-13 15:56:46.0186|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2022-01-13 15:56:46.2942|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2022-01-13 15:56:46.3117|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2022-01-13 15:56:46.3159|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2022-01-13 15:56:46.3159|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2022-01-13 15:56:46.3159|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2022-01-13 15:56:46.3405|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2022-01-13 15:56:46.4898|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. 2022-01-13 15:56:46.4898|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. 2022-01-13 15:56:46.4898|58|INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Creating key {5e3bf782-770c-4230-a379-f047fdc0a116} with creation date 2022-01-13 15:56:46Z, activation date 2022-01-13 15:56:46Z, and expiration date 2022-04-13 15:56:46Z. 2022-01-13 15:56:46.4898|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {5e3bf782-770c-4230-a379-f047fdc0a116} may be persisted to storage in unencrypted form. 2022-01-13 15:56:46.7526|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2022-01-13 15:56:46.7526|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2022-01-13 15:56:46.9744|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 15:56:46.9744|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 15:56:46.9744|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 225.9279ms 204 2022-01-13 15:56:46.9744|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 225.9276ms 204 2022-01-13 15:56:47.2707|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2022-01-13 15:56:47.2707|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2022-01-13 15:56:47.4133|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2022-01-13 15:56:47.4133|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2022-01-13 15:56:47.4133|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 15:56:47.4133|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 15:56:47.4133|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2022-01-13 15:56:47.4133|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2022-01-13 15:56:47.4133|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2022-01-13 15:56:47.4133|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2022-01-13 15:56:47.4468|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). 2022-01-13 15:56:47.4468|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). 2022-01-13 15:56:47.4468|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2022-01-13 15:56:47.4468|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2022-01-13 15:56:47.4595|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2022-01-13 15:56:47.4796|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService) in 30.4231ms 2022-01-13 15:56:47.4796|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2022-01-13 15:56:47.4796|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 210.308ms 200 application/json; charset=utf-8 2022-01-13 15:56:47.5368||INFO|DiscountService.Core.DiscountServices|about to call SP_GetDiscountDetails 2022-01-13 15:56:47.6836||INFO|DiscountService.Core.DiscountServices|got details from SP_GetDiscountDetails 2022-01-13 15:56:47.6836|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2022-01-13 15:56:47.6836|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService) in 244.6246ms 2022-01-13 15:56:47.6836|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2022-01-13 15:56:47.6836|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 415.8894ms 200 application/json; charset=utf-8 2022-01-13 15:58:44.3783|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/discount 2022-01-13 15:58:44.3978|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.4568ms 404 2022-01-13 16:07:07.0387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2022-01-13 16:07:07.0387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2022-01-13 16:07:07.0387|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 16:07:07.0387|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 16:07:07.0387|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.7152ms 204 2022-01-13 16:07:07.0387|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.0215ms 204 2022-01-13 16:07:07.3871|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2022-01-13 16:07:07.3871|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2022-01-13 16:07:07.3871|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 16:07:07.3871|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2022-01-13 16:07:07.3871|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2022-01-13 16:07:07.3942|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). 2022-01-13 16:07:07.3942|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2022-01-13 16:07:07.3942|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2022-01-13 16:07:07.3942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-01-13 16:07:07.3942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2022-01-13 16:07:07.3942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2022-01-13 16:07:07.3942|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). 2022-01-13 16:07:07.4200|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2022-01-13 16:07:07.4200|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2022-01-13 16:07:07.4200||INFO|DiscountService.Core.DiscountServices|about to call SP_GetDiscountDetails 2022-01-13 16:07:07.4200|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2022-01-13 16:07:07.4200|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService) in 24.2216ms 2022-01-13 16:07:07.4231|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2022-01-13 16:07:07.4231|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.8482ms 200 application/json; charset=utf-8 2022-01-13 16:07:07.4231||INFO|DiscountService.Core.DiscountServices|got details from SP_GetDiscountDetails 2022-01-13 16:07:07.4231|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2022-01-13 16:07:07.4231|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService) in 34.2742ms 2022-01-13 16:07:07.4231|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2022-01-13 16:07:07.4231|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.1017ms 200 application/json; charset=utf-8 2022-01-13 16:32:31.2266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:18382/DISCOUNT/iisintegration 0 2022-01-13 16:32:31.2266|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 0.8688ms 202