2025-08-26 20:28:57.3004||DEBUG|DiscountService.Program|init main function 2025-08-26 20:29:00.6238|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-08-26 20:29:01.0717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-08-26 20:29:01.0900|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-08-26 20:29:01.0900|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-08-26 20:29:01.0900|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-08-26 20:29:01.1090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-08-26 20:29:01.1208|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-08-26 20:29:01.3894|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. 2025-08-26 20:29:01.3894|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. 2025-08-26 20:29:01.3894|58|INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Creating key {cf0086c6-657c-4308-aa2e-5ca002645d7d} with creation date 2025-08-26 19:29:01Z, activation date 2025-08-26 19:29:01Z, and expiration date 2025-11-24 19:29:01Z. 2025-08-26 20:29:01.3894|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {cf0086c6-657c-4308-aa2e-5ca002645d7d} may be persisted to storage in unencrypted form. 2025-08-26 20:29:01.6818|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2025-08-26 20:29:01.6818|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2025-08-26 20:29:02.1900|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-08-26 20:29:02.1900|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-08-26 20:29:02.1900|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 513.3187ms 204 2025-08-26 20:29:02.1900|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 513.32ms 204 2025-08-26 20:29:02.4646|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/GetDiscountById?DiscountId=0 2025-08-26 20:29:02.4646|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://api.skilldorm.com/Discount/api/Discount/Search?institutionId=57 2025-08-26 20:29:02.6857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-08-26 20:29:02.6857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-08-26 20:29:02.6857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-08-26 20:29:02.6857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-08-26 20:29:02.6857|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-08-26 20:29:02.6857|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-08-26 20:29:02.6857|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2025-08-26 20:29:02.6857|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2025-08-26 20:29:02.7209|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). 2025-08-26 20:29:02.7209|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). 2025-08-26 20:29:02.7209|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-08-26 20:29:02.7209|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.11 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-08-26 20:29:02.7348|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2025-08-26 20:29:02.7564|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService) in 32.9919ms 2025-08-26 20:29:02.7564|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.GetDiscountById (DiscountService)' 2025-08-26 20:29:02.7581|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 293.6087ms 200 application/json; charset=utf-8 2025-08-26 20:29:02.9215||INFO|DiscountService.Core.DiscountServices|about to call SP_GetDiscountDetails 2025-08-26 20:29:03.0970||INFO|DiscountService.Core.DiscountServices|got details from SP_GetDiscountDetails 2025-08-26 20:29:03.0970|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CommonBase.Model.SaveResponse'. 2025-08-26 20:29:03.1109|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService) in 389.5599ms 2025-08-26 20:29:03.1109|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'DiscountService.Controllers.DiscountController.SearchDiscount (DiscountService)' 2025-08-26 20:29:03.1109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 647.4335ms 200 application/json; charset=utf-8 2025-08-26 21:38:43.6587|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:36711/DISCOUNT/iisintegration 0 2025-08-26 21:38:43.6587|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1.126ms 202