2023-07-27 14:52:37.878 +04:00 [INF] User profile is available. Using 'C:\Users\shelia\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2023-07-27 14:52:38.070 +04:00 [INF] Now listening on: https://localhost:7055
2023-07-27 14:52:38.072 +04:00 [INF] Now listening on: http://localhost:5208
2023-07-27 14:52:38.073 +04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-07-27 14:52:38.074 +04:00 [INF] Hosting environment: Development
2023-07-27 14:52:38.075 +04:00 [INF] Content root path: C:\Users\shelia\source\repos\LearningASP\LearningASP
2023-07-27 14:52:39.562 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/swagger/index.html - -
2023-07-27 14:52:39.823 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/swagger/index.html - - - 200 - text/html;charset=utf-8 261.9721ms
2023-07-27 14:52:39.831 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/_framework/aspnetcore-browser-refresh.js - -
2023-07-27 14:52:39.840 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/_framework/aspnetcore-browser-refresh.js - - - 200 12354 application/javascript;+charset=utf-8 8.4760ms
2023-07-27 14:52:39.936 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/_vs/browserLink - -
2023-07-27 14:52:39.984 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 47.8901ms
2023-07-27 14:52:40.065 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/swagger/v1/swagger.json - -
2023-07-27 14:52:40.199 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 134.3088ms
2023-07-27 14:52:43.181 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 14:52:43.261 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 14:52:43.276 +04:00 [INF] Route matched with {action = "GetAll", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 14:52:43.454 +04:00 [INF] Get All regions Action method invoked
2023-07-27 14:52:44.253 +04:00 [INF] Executed DbCommand (26ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
SELECT [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
2023-07-27 14:52:44.326 +04:00 [INF] Finished Get All regions Action method with data: [{"Id":"b260312a-e08d-4477-f6cf-08db8e8d56e6","Code":"WLG","Name":"Wellington","RegionImageUrl":null},{"Id":"74e12a9f-d282-4dce-f6d0-08db8e8d56e6","Code":"VAR","Name":"Varketili","RegionImageUrl":null},{"Id":"906cb139-415a-4bbb-a174-1a1faf9fb1f6","Code":"NSN","Name":"Nelson","RegionImageUrl":"https://images.pexels.com/photos/13918194/pexels-photo-13918194.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"f7248fc3-2585-4efb-8d1d-1c555f4087f6","Code":"AKL","Name":"Auckland","RegionImageUrl":"https://images.pexels.com/photos/5169056/pexels-photo-5169056.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"14ceba71-4b51-4777-9b17-46602cf66153","Code":"BOP","Name":"Bay Of Plenty","RegionImageUrl":null},{"Id":"6884f7d7-ad1f-4101-8df3-7a6fa7387d81","Code":"NTL","Name":"Northland","RegionImageUrl":null},{"Id":"f077a22e-4248-4bf6-b564-c7cf4e250263","Code":"STL","Name":"Southland","RegionImageUrl":null},{"Id":"cfa06ed2-bf65-4b65-93ed-c9d286ddb0de","Code":"WGN","Name":"Wellington","RegionImageUrl":"https://images.pexels.com/photos/4350631/pexels-photo-4350631.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"}]
2023-07-27 14:52:44.335 +04:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[LearningASP.Models.DTO.RegionDto, LearningASP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-07-27 14:52:44.350 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 1070.3259ms
2023-07-27 14:52:44.352 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 14:52:44.359 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 1178.3909ms
2023-07-27 14:52:45.792 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - -
2023-07-27 14:52:45.795 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:45.803 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 14:52:45.911 +04:00 [INF] Executed DbCommand (19ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 14:52:45.916 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 14:52:45.917 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 113.0076ms
2023-07-27 14:52:45.919 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:45.920 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 128.2997ms
2023-07-27 14:52:48.071 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - -
2023-07-27 14:52:48.074 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:48.075 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 14:52:48.123 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 14:52:48.125 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 14:52:48.126 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 49.5118ms
2023-07-27 14:52:48.127 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:48.127 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 56.4614ms
2023-07-27 14:52:48.944 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - -
2023-07-27 14:52:48.945 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:48.946 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 14:52:48.950 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 14:52:48.953 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 14:52:48.954 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 6.4214ms
2023-07-27 14:52:48.955 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:48.956 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 11.9790ms
2023-07-27 14:52:49.712 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 14:52:49.713 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 14:52:49.714 +04:00 [INF] Route matched with {action = "GetAll", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 14:52:49.715 +04:00 [INF] Get All regions Action method invoked
2023-07-27 14:52:49.717 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
SELECT [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
2023-07-27 14:52:49.720 +04:00 [INF] Finished Get All regions Action method with data: [{"Id":"b260312a-e08d-4477-f6cf-08db8e8d56e6","Code":"WLG","Name":"Wellington","RegionImageUrl":null},{"Id":"74e12a9f-d282-4dce-f6d0-08db8e8d56e6","Code":"VAR","Name":"Varketili","RegionImageUrl":null},{"Id":"906cb139-415a-4bbb-a174-1a1faf9fb1f6","Code":"NSN","Name":"Nelson","RegionImageUrl":"https://images.pexels.com/photos/13918194/pexels-photo-13918194.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"f7248fc3-2585-4efb-8d1d-1c555f4087f6","Code":"AKL","Name":"Auckland","RegionImageUrl":"https://images.pexels.com/photos/5169056/pexels-photo-5169056.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"14ceba71-4b51-4777-9b17-46602cf66153","Code":"BOP","Name":"Bay Of Plenty","RegionImageUrl":null},{"Id":"6884f7d7-ad1f-4101-8df3-7a6fa7387d81","Code":"NTL","Name":"Northland","RegionImageUrl":null},{"Id":"f077a22e-4248-4bf6-b564-c7cf4e250263","Code":"STL","Name":"Southland","RegionImageUrl":null},{"Id":"cfa06ed2-bf65-4b65-93ed-c9d286ddb0de","Code":"WGN","Name":"Wellington","RegionImageUrl":"https://images.pexels.com/photos/4350631/pexels-photo-4350631.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"}]
2023-07-27 14:52:49.723 +04:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[LearningASP.Models.DTO.RegionDto, LearningASP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-07-27 14:52:49.724 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 8.9922ms
2023-07-27 14:52:49.725 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 14:52:49.726 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 14.0771ms
2023-07-27 14:52:50.865 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - -
2023-07-27 14:52:50.866 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:50.867 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 14:52:50.872 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 14:52:50.874 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 14:52:50.875 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 6.7817ms
2023-07-27 14:52:50.876 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:50.877 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 12.0822ms
2023-07-27 14:52:54.529 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/cfa06ed2-bf65-4b65-93ed-c9d286ddb0de - -
2023-07-27 14:52:54.531 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:54.531 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 14:52:54.535 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 14:52:54.538 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 14:52:54.538 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.6289ms
2023-07-27 14:52:54.539 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 14:52:54.540 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/cfa06ed2-bf65-4b65-93ed-c9d286ddb0de - - - 200 - application/json;+charset=utf-8 10.9126ms
