2023-07-27 15:05:30.297 +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 15:05:30.631 +04:00 [INF] Now listening on: https://localhost:7055
2023-07-27 15:05:30.641 +04:00 [INF] Now listening on: http://localhost:5208
2023-07-27 15:05:30.648 +04:00 [INF] Application started. Press Ctrl+C to shut down.
2023-07-27 15:05:30.652 +04:00 [INF] Hosting environment: Development
2023-07-27 15:05:30.656 +04:00 [INF] Content root path: C:\Users\shelia\source\repos\LearningASP\LearningASP
2023-07-27 15:05:32.283 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/swagger/index.html - -
2023-07-27 15:05:32.598 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/swagger/index.html - - - 200 - text/html;charset=utf-8 318.5263ms
2023-07-27 15:05:32.650 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/_framework/aspnetcore-browser-refresh.js - -
2023-07-27 15:05:32.664 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/_framework/aspnetcore-browser-refresh.js - - - 200 12354 application/javascript;+charset=utf-8 14.6406ms
2023-07-27 15:05:32.743 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/_vs/browserLink - -
2023-07-27 15:05:32.797 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 54.0404ms
2023-07-27 15:05:32.885 +04:00 [INF] Request starting HTTP/2 GET https://localhost:7055/swagger/v1/swagger.json - -
2023-07-27 15:05:33.054 +04:00 [INF] Request finished HTTP/2 GET https://localhost:7055/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 168.7687ms
2023-07-27 15:05:38.141 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 15:05:38.208 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:05:38.221 +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 15:05:38.392 +04:00 [INF] Get All regions Action method invoked
2023-07-27 15:05:39.177 +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 15:05:39.250 +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":"a55f9792-e48d-47fd-5c24-08db8e8fa9de","Code":"VAK","Name":"Vake","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 15:05:39.260 +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 15:05:39.275 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 1048.9288ms
2023-07-27 15:05:39.277 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:05:39.284 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 1142.7098ms
2023-07-27 15:05:40.918 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:05:40.921 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:40.929 +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 15:05:41.038 +04:00 [INF] Executed DbCommand (18ms) [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 15:05:41.043 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:05:41.045 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 114.2184ms
2023-07-27 15:05:41.046 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:41.048 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 129.4016ms
2023-07-27 15:05:47.374 +04:00 [INF] Request starting HTTP/1.1 PUT https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de application/json;+charset=utf-8 94
2023-07-27 15:05:47.377 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:05:47.380 +04:00 [INF] Route matched with {action = "Update", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(System.Guid, LearningASP.Models.DTO.UpdateRegionRequestDto) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:05:47.439 +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 15:05:47.459 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:05:47.460 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.Update (LearningASP) in 78.1352ms
2023-07-27 15:05:47.461 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:05:47.462 +04:00 [INF] Request finished HTTP/1.1 PUT https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de application/json;+charset=utf-8 94 - 200 - application/json;+charset=utf-8 87.8546ms
2023-07-27 15:05:47.471 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:05:47.472 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:47.473 +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 15:05:47.477 +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 15:05:47.479 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:05:47.480 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.3598ms
2023-07-27 15:05:47.481 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:47.482 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 11.0449ms
2023-07-27 15:05:53.811 +04:00 [INF] Request starting HTTP/1.1 PUT https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de application/json;+charset=utf-8 95
2023-07-27 15:05:53.812 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:05:53.813 +04:00 [INF] Route matched with {action = "Update", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(System.Guid, LearningASP.Models.DTO.UpdateRegionRequestDto) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:05:53.819 +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 15:05:53.862 +04:00 [INF] Executed DbCommand (3ms) [Parameters=[@p1='?' (DbType = Guid), @p0='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET IMPLICIT_TRANSACTIONS OFF;
SET NOCOUNT ON;
UPDATE [Regions] SET [Code] = @p0
OUTPUT 1
WHERE [Id] = @p1;
2023-07-27 15:05:53.873 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:05:53.874 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.Update (LearningASP) in 57.8646ms
2023-07-27 15:05:53.875 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:05:53.876 +04:00 [INF] Request finished HTTP/1.1 PUT https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de application/json;+charset=utf-8 95 - 200 - application/json;+charset=utf-8 65.5548ms
2023-07-27 15:05:53.885 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:05:53.886 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:53.887 +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 15:05:53.891 +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 15:05:53.893 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:05:53.894 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.3032ms
2023-07-27 15:05:53.895 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:53.896 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 10.6111ms
2023-07-27 15:05:55.407 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:05:55.408 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:55.409 +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 15:05:55.412 +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 15:05:55.415 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:05:55.416 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.8155ms
2023-07-27 15:05:55.417 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:55.419 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 11.3065ms
2023-07-27 15:05:56.280 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:05:56.281 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:56.282 +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 15:05:56.286 +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 15:05:56.288 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:05:56.289 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.2733ms
2023-07-27 15:05:56.290 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:05:56.291 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 11.3596ms
2023-07-27 15:05:59.240 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 15:05:59.241 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:05:59.242 +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 15:05:59.243 +04:00 [INF] Get All regions Action method invoked
2023-07-27 15:05:59.245 +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 15:05:59.249 +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":"a55f9792-e48d-47fd-5c24-08db8e8fa9de","Code":"VAKE","Name":"Vake","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 15:05:59.253 +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 15:05:59.254 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 10.9462ms
2023-07-27 15:05:59.255 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:05:59.256 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 16.5602ms
