2022-05-07 09:08:15.0682||DEBUG|DiscountService.Program|init main function 2022-05-07 09:08:18.5737|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-05-07 09:08:18.8819|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2022-05-07 09:08:18.8996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2022-05-07 09:08:18.8996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2022-05-07 09:08:18.8996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2022-05-07 09:08:18.9181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2022-05-07 09:08:18.9294|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2022-05-07 09:08:19.1078|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. 2022-05-07 09:08:19.1078|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-05-07 09:08:19.1138|58|INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Creating key {8b22ad2e-98ec-4a98-a627-db54671fb3eb} with creation date 2022-05-07 08:08:19Z, activation date 2022-05-07 08:08:19Z, and expiration date 2022-08-05 08:08:19Z. 2022-05-07 09:08:19.1138|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {8b22ad2e-98ec-4a98-a627-db54671fb3eb} may be persisted to storage in unencrypted form. 2022-05-07 09:08:19.4106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2022-05-07 09:08:19.4106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2022-05-07 09:08:19.6843|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-05-07 09:08:19.6843|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-05-07 09:08:19.6843|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 277.9283ms 204 2022-05-07 09:08:19.6843|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 277.929ms 204 2022-05-07 09:08:20.0563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2022-05-07 09:08:20.0563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2022-05-07 09:08:20.2164|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2022-05-07 09:08:20.2164|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2022-05-07 09:08:20.2164|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-05-07 09:08:20.2164|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2022-05-07 09:08:20.2232|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2022-05-07 09:08:20.2232|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2022-05-07 09:08:20.2232|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2022-05-07 09:08:20.2232|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2022-05-07 09:08:20.2513|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-05-07 09:08:20.2513|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-05-07 09:08:20.2545|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-05-07 09:08:20.2545|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-05-07 09:08:20.2545|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2022-05-07 09:08:20.2848|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService) in 31.1102ms 2022-05-07 09:08:20.2848|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2022-05-07 09:08:20.2848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 229.9803ms 200 application/json; charset=utf-8 2022-05-07 09:08:20.3626||INFO|DiscountService.Core.DiscountServices|about to call SP_GetDiscountDetails 2022-05-07 09:08:20.4979||INFO|DiscountService.Core.DiscountServices|got details from SP_GetDiscountDetails 2022-05-07 09:08:20.4979|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2022-05-07 09:08:20.5060|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService) in 254.2631ms 2022-05-07 09:08:20.5060|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2022-05-07 09:08:20.5060|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 450.7059ms 200 application/json; charset=utf-8 2022-05-07 09:29:09.0347|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:19065/DISCOUNT/iisintegration 0 2022-05-07 09:29:09.0347|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1.0496ms 202