您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

webapi-20220628.log 149KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001
  1. [2022-06-28 12:51:48.625 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  2. ][2022-06-28 12:51:48.708 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  3. ][2022-06-28 12:51:48.852 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  4. ][2022-06-28 12:51:49.742 +02:00 INF Executed DbCommand (17ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  5. SELECT 1
  6. ][2022-06-28 12:51:49.765 +02:00 INF Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  7. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  8. ][2022-06-28 12:51:49.786 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  9. SELECT [MigrationId], [ProductVersion]
  10. FROM [__EFMigrationsHistory]
  11. ORDER BY [MigrationId];
  12. ][2022-06-28 12:51:50.045 +02:00 INF Now listening on: http://localhost:5116
  13. ][2022-06-28 12:51:50.048 +02:00 INF Application started. Press Ctrl+C to shut down.
  14. ][2022-06-28 12:51:50.049 +02:00 INF Hosting environment: Development
  15. ][2022-06-28 12:51:50.049 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  16. ][2022-06-28 12:51:50.170 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  17. ][2022-06-28 12:51:50.402 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui.css - -
  18. ][2022-06-28 12:51:50.407 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui-bundle.js - -
  19. ][2022-06-28 12:51:50.407 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  20. ][2022-06-28 12:51:50.417 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui-standalone-preset.js - -
  21. ][2022-06-28 12:51:50.421 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  22. ][2022-06-28 12:51:50.477 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 49.7514ms
  23. ][2022-06-28 12:51:50.480 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 312.6770ms
  24. ][2022-06-28 12:51:50.500 +02:00 INF Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A'
  25. ][2022-06-28 12:51:50.501 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui.css - - - 200 143943 text/css 99.0027ms
  26. ][2022-06-28 12:51:50.503 +02:00 INF Sending file. Request path: '/swagger-ui-standalone-preset.js'. Physical path: 'N/A'
  27. ][2022-06-28 12:51:50.507 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui-standalone-preset.js - - - 200 339486 application/javascript 90.1555ms
  28. ][2022-06-28 12:51:50.510 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  29. ][2022-06-28 12:51:50.510 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 0.2678ms
  30. ][2022-06-28 12:51:50.514 +02:00 INF Sending file. Request path: '/swagger-ui-bundle.js'. Physical path: 'N/A'
  31. ][2022-06-28 12:51:50.515 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui-bundle.js - - - 200 1095087 application/javascript 107.5961ms
  32. ][2022-06-28 12:51:50.519 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 111.9508ms
  33. ][2022-06-28 12:51:50.708 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  34. ][2022-06-28 12:51:50.872 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 163.8696ms
  35. ][2022-06-28 12:51:58.132 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  36. ][2022-06-28 12:51:58.143 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  37. ][2022-06-28 12:51:58.153 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  38. ][2022-06-28 12:51:59.072 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 914.2983ms
  39. ][2022-06-28 12:51:59.073 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  40. ][2022-06-28 12:51:59.174 +02:00 ERR Element 'Name' does not match any field or property of class Diligent.WebAPI.Data.Entities.InsurerMongo.
  41. ][2022-06-28 12:51:59.178 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 500 - application/json 1045.2308ms
  42. ][2022-06-28 12:54:17.004 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  43. ][2022-06-28 12:54:17.071 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  44. ][2022-06-28 12:54:17.197 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  45. ][2022-06-28 12:54:17.465 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  46. SELECT 1
  47. ][2022-06-28 12:54:17.489 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  48. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  49. ][2022-06-28 12:54:17.509 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  50. SELECT [MigrationId], [ProductVersion]
  51. FROM [__EFMigrationsHistory]
  52. ORDER BY [MigrationId];
  53. ][2022-06-28 12:54:17.603 +02:00 INF Now listening on: http://localhost:5116
  54. ][2022-06-28 12:54:17.606 +02:00 INF Application started. Press Ctrl+C to shut down.
  55. ][2022-06-28 12:54:17.606 +02:00 INF Hosting environment: Development
  56. ][2022-06-28 12:54:17.606 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  57. ][2022-06-28 12:55:09.023 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  58. ][2022-06-28 12:55:09.092 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  59. ][2022-06-28 12:55:09.104 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  60. ][2022-06-28 12:55:11.785 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 2677.1634ms
  61. ][2022-06-28 12:55:11.786 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  62. ][2022-06-28 12:55:11.878 +02:00 ERR Element 'InsuranceCompanyId' does not match any field or property of class Diligent.WebAPI.Data.Entities.InsurerMongo.
  63. ][2022-06-28 12:55:11.893 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 500 - application/json 2872.9765ms
  64. ][2022-06-28 12:56:50.362 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  65. ][2022-06-28 12:56:50.428 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  66. ][2022-06-28 12:56:50.553 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  67. ][2022-06-28 12:56:50.824 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  68. SELECT 1
  69. ][2022-06-28 12:56:50.846 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  70. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  71. ][2022-06-28 12:56:50.866 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  72. SELECT [MigrationId], [ProductVersion]
  73. FROM [__EFMigrationsHistory]
  74. ORDER BY [MigrationId];
  75. ][2022-06-28 12:56:50.959 +02:00 INF Now listening on: http://localhost:5116
  76. ][2022-06-28 12:56:50.962 +02:00 INF Application started. Press Ctrl+C to shut down.
  77. ][2022-06-28 12:56:50.962 +02:00 INF Hosting environment: Development
  78. ][2022-06-28 12:56:50.962 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  79. ][2022-06-28 12:56:51.105 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  80. ][2022-06-28 12:56:51.260 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  81. ][2022-06-28 12:56:51.262 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 158.2988ms
  82. ][2022-06-28 12:56:51.262 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 1.7516ms
  83. ][2022-06-28 12:56:51.270 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  84. ][2022-06-28 12:56:51.285 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 14.8602ms
  85. ][2022-06-28 12:56:51.496 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  86. ][2022-06-28 12:56:51.509 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/favicon-32x32.png - -
  87. ][2022-06-28 12:56:51.515 +02:00 INF Sending file. Request path: '/favicon-32x32.png'. Physical path: 'N/A'
  88. ][2022-06-28 12:56:51.515 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/favicon-32x32.png - - - 200 628 image/png 5.3911ms
  89. ][2022-06-28 12:56:51.585 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 88.8704ms
  90. ][2022-06-28 12:57:38.329 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  91. ][2022-06-28 12:57:38.343 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  92. ][2022-06-28 12:57:38.353 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  93. ][2022-06-28 12:57:41.569 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  94. ][2022-06-28 12:57:41.580 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 3222.8058ms
  95. ][2022-06-28 12:57:41.580 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  96. ][2022-06-28 12:57:41.580 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 3251.2343ms
  97. ][2022-06-28 13:03:12.154 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  98. ][2022-06-28 13:03:12.221 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  99. ][2022-06-28 13:03:12.345 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  100. ][2022-06-28 13:03:12.609 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  101. SELECT 1
  102. ][2022-06-28 13:03:12.630 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  103. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  104. ][2022-06-28 13:03:12.650 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  105. SELECT [MigrationId], [ProductVersion]
  106. FROM [__EFMigrationsHistory]
  107. ORDER BY [MigrationId];
  108. ][2022-06-28 13:03:12.742 +02:00 INF Now listening on: http://localhost:5116
  109. ][2022-06-28 13:03:12.745 +02:00 INF Application started. Press Ctrl+C to shut down.
  110. ][2022-06-28 13:03:12.745 +02:00 INF Hosting environment: Development
  111. ][2022-06-28 13:03:12.745 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  112. ][2022-06-28 13:03:15.589 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  113. ][2022-06-28 13:03:15.747 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  114. ][2022-06-28 13:03:15.747 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  115. ][2022-06-28 13:03:15.749 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 162.5867ms
  116. ][2022-06-28 13:03:15.749 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 1.9074ms
  117. ][2022-06-28 13:03:15.772 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 25.1352ms
  118. ][2022-06-28 13:03:15.936 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  119. ][2022-06-28 13:03:16.025 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 88.8457ms
  120. ][2022-06-28 13:03:29.835 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  121. ][2022-06-28 13:03:29.846 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  122. ][2022-06-28 13:03:29.858 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  123. ][2022-06-28 13:03:30.328 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  124. ][2022-06-28 13:03:30.338 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 475.9824ms
  125. ][2022-06-28 13:03:30.338 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  126. ][2022-06-28 13:03:30.338 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 503.5388ms
  127. ][2022-06-28 13:03:40.266 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 235
  128. ][2022-06-28 13:03:40.268 +02:00 INF CORS policy execution failed.
  129. ][2022-06-28 13:03:40.268 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  130. ][2022-06-28 13:03:40.269 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  131. ][2022-06-28 13:03:40.280 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  132. ][2022-06-28 13:03:40.374 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
  133. ][2022-06-28 13:03:40.398 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 118.2654ms
  134. ][2022-06-28 13:03:40.398 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  135. ][2022-06-28 13:03:40.398 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 235 - 201 - application/json;+charset=utf-8 132.2278ms
  136. ][2022-06-28 13:03:59.358 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  137. ][2022-06-28 13:03:59.358 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  138. ][2022-06-28 13:03:59.358 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  139. ][2022-06-28 13:03:59.373 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  140. ][2022-06-28 13:03:59.375 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 16.6945ms
  141. ][2022-06-28 13:03:59.375 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  142. ][2022-06-28 13:03:59.375 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 17.4613ms
  143. ][2022-06-28 13:04:10.834 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae00cfe47fa08d538eb56 - -
  144. ][2022-06-28 13:04:10.835 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  145. ][2022-06-28 13:04:10.837 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  146. ][2022-06-28 13:04:10.868 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  147. ][2022-06-28 13:04:10.868 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 30.5804ms
  148. ][2022-06-28 13:04:10.868 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  149. ][2022-06-28 13:04:10.868 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae00cfe47fa08d538eb56 - - - 200 - application/json;+charset=utf-8 33.9558ms
  150. ][2022-06-28 13:04:20.121 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae00cfe47fa08d538eb56 - -
  151. ][2022-06-28 13:04:20.121 +02:00 INF CORS policy execution failed.
  152. ][2022-06-28 13:04:20.121 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  153. ][2022-06-28 13:04:20.121 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  154. ][2022-06-28 13:04:20.123 +02:00 INF Route matched with {action = "Delete", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Delete(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  155. ][2022-06-28 13:04:20.141 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
  156. ][2022-06-28 13:04:20.141 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 18.0401ms
  157. ][2022-06-28 13:04:20.141 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  158. ][2022-06-28 13:04:20.142 +02:00 INF Request finished HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae00cfe47fa08d538eb56 - - - 200 0 - 20.7637ms
  159. ][2022-06-28 13:04:29.108 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  160. ][2022-06-28 13:04:29.108 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  161. ][2022-06-28 13:04:29.108 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  162. ][2022-06-28 13:04:29.111 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  163. ][2022-06-28 13:04:29.111 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 2.9855ms
  164. ][2022-06-28 13:04:29.111 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  165. ][2022-06-28 13:04:29.111 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 3.4626ms
  166. ][2022-06-28 13:10:21.104 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  167. ][2022-06-28 13:10:21.175 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  168. ][2022-06-28 13:10:21.301 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  169. ][2022-06-28 13:10:21.573 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  170. SELECT 1
  171. ][2022-06-28 13:10:21.594 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  172. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  173. ][2022-06-28 13:10:21.614 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  174. SELECT [MigrationId], [ProductVersion]
  175. FROM [__EFMigrationsHistory]
  176. ORDER BY [MigrationId];
  177. ][2022-06-28 13:10:21.709 +02:00 INF Now listening on: http://localhost:5116
  178. ][2022-06-28 13:10:21.712 +02:00 INF Application started. Press Ctrl+C to shut down.
  179. ][2022-06-28 13:10:21.712 +02:00 INF Hosting environment: Development
  180. ][2022-06-28 13:10:21.712 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  181. ][2022-06-28 13:10:22.707 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  182. ][2022-06-28 13:10:22.857 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  183. ][2022-06-28 13:10:22.857 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  184. ][2022-06-28 13:10:22.859 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 1.7632ms
  185. ][2022-06-28 13:10:22.859 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 154.4740ms
  186. ][2022-06-28 13:10:22.884 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 26.9129ms
  187. ][2022-06-28 13:10:23.057 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  188. ][2022-06-28 13:10:23.148 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 91.3547ms
  189. ][2022-06-28 13:10:29.749 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  190. ][2022-06-28 13:10:29.760 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  191. ][2022-06-28 13:10:29.769 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  192. ][2022-06-28 13:10:30.234 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  193. ][2022-06-28 13:10:30.244 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 470.84ms
  194. ][2022-06-28 13:10:30.245 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  195. ][2022-06-28 13:10:30.245 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 496.1729ms
  196. ][2022-06-28 13:10:40.583 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 235
  197. ][2022-06-28 13:10:40.585 +02:00 INF CORS policy execution failed.
  198. ][2022-06-28 13:10:40.585 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  199. ][2022-06-28 13:10:40.586 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  200. ][2022-06-28 13:10:40.597 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  201. ][2022-06-28 13:10:40.692 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
  202. ][2022-06-28 13:10:40.713 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 115.9402ms
  203. ][2022-06-28 13:10:40.713 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  204. ][2022-06-28 13:10:40.713 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 235 - 201 - application/json;+charset=utf-8 130.2792ms
  205. ][2022-06-28 13:10:49.803 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
  206. ][2022-06-28 13:10:49.803 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  207. ][2022-06-28 13:10:49.806 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  208. ][2022-06-28 13:10:49.847 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  209. ][2022-06-28 13:10:49.850 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 43.499ms
  210. ][2022-06-28 13:10:49.850 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  211. ][2022-06-28 13:10:49.850 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - - - 200 - application/json;+charset=utf-8 46.8899ms
  212. ][2022-06-28 13:11:13.012 +02:00 INF Request starting HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 application/json 376
  213. ][2022-06-28 13:11:13.012 +02:00 INF CORS policy execution failed.
  214. ][2022-06-28 13:11:13.012 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  215. ][2022-06-28 13:11:13.012 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  216. ][2022-06-28 13:11:13.015 +02:00 INF Route matched with {action = "Update", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Update(System.String, Diligent.WebAPI.Data.Entities.InsurerMongo) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  217. ][2022-06-28 13:11:13.048 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
  218. ][2022-06-28 13:11:13.048 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 33.5726ms
  219. ][2022-06-28 13:11:13.048 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  220. ][2022-06-28 13:11:13.048 +02:00 INF Request finished HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 application/json 376 - 200 0 - 36.6692ms
  221. ][2022-06-28 13:11:22.497 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
  222. ][2022-06-28 13:11:22.497 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  223. ][2022-06-28 13:11:22.497 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  224. ][2022-06-28 13:11:22.504 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  225. ][2022-06-28 13:11:22.505 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 7.176ms
  226. ][2022-06-28 13:11:22.505 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  227. ][2022-06-28 13:11:22.505 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - - - 200 - application/json;+charset=utf-8 7.8520ms
  228. ][2022-06-28 13:11:29.115 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  229. ][2022-06-28 13:11:29.115 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  230. ][2022-06-28 13:11:29.115 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  231. ][2022-06-28 13:11:29.118 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  232. ][2022-06-28 13:11:29.119 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 3.3133ms
  233. ][2022-06-28 13:11:29.119 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  234. ][2022-06-28 13:11:29.119 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 3.7941ms
  235. ][2022-06-28 13:11:41.513 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
  236. ][2022-06-28 13:11:41.513 +02:00 INF CORS policy execution failed.
  237. ][2022-06-28 13:11:41.513 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  238. ][2022-06-28 13:11:41.513 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  239. ][2022-06-28 13:11:41.515 +02:00 INF Route matched with {action = "Delete", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Delete(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  240. ][2022-06-28 13:11:41.528 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
  241. ][2022-06-28 13:11:41.529 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 13.3274ms
  242. ][2022-06-28 13:11:41.529 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  243. ][2022-06-28 13:11:41.529 +02:00 INF Request finished HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - - - 200 0 - 15.8586ms
  244. ][2022-06-28 13:11:43.170 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
  245. ][2022-06-28 13:11:43.170 +02:00 INF CORS policy execution failed.
  246. ][2022-06-28 13:11:43.170 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  247. ][2022-06-28 13:11:43.170 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  248. ][2022-06-28 13:11:43.170 +02:00 INF Route matched with {action = "Delete", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Delete(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  249. ][2022-06-28 13:11:43.232 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 61.9309ms
  250. ][2022-06-28 13:11:43.232 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  251. ][2022-06-28 13:11:43.325 +02:00 ERR Policy not found
  252. ][2022-06-28 13:11:43.326 +02:00 INF Request finished HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - - - 404 - application/json 155.8098ms
  253. ][2022-06-28 13:11:56.403 +02:00 INF Request starting HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 application/json 376
  254. ][2022-06-28 13:11:56.403 +02:00 INF CORS policy execution failed.
  255. ][2022-06-28 13:11:56.403 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  256. ][2022-06-28 13:11:56.403 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  257. ][2022-06-28 13:11:56.403 +02:00 INF Route matched with {action = "Update", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Update(System.String, Diligent.WebAPI.Data.Entities.InsurerMongo) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  258. ][2022-06-28 13:11:56.435 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 31.3771ms
  259. ][2022-06-28 13:11:56.435 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  260. ][2022-06-28 13:11:56.491 +02:00 ERR Insurer not found
  261. ][2022-06-28 13:11:56.491 +02:00 INF Request finished HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 application/json 376 - 404 - application/json 88.4013ms
  262. ][2022-06-28 13:12:03.647 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
  263. ][2022-06-28 13:12:03.648 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  264. ][2022-06-28 13:12:03.648 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  265. ][2022-06-28 13:12:03.680 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 32.5862ms
  266. ][2022-06-28 13:12:03.681 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  267. ][2022-06-28 13:12:03.744 +02:00 ERR Policy not found
  268. ][2022-06-28 13:12:03.744 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - - - 404 - application/json 96.3649ms
  269. ][2022-06-28 13:12:27.178 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  270. ][2022-06-28 13:12:27.179 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  271. ][2022-06-28 13:12:27.179 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  272. ][2022-06-28 13:12:27.182 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  273. ][2022-06-28 13:12:27.182 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 3.5344ms
  274. ][2022-06-28 13:12:27.182 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  275. ][2022-06-28 13:12:27.182 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 4.0752ms
  276. ][2022-06-28 13:29:38.088 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  277. ][2022-06-28 13:29:38.159 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  278. ][2022-06-28 13:29:38.283 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  279. ][2022-06-28 13:29:38.577 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  280. SELECT 1
  281. ][2022-06-28 13:29:38.599 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  282. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  283. ][2022-06-28 13:29:38.619 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  284. SELECT [MigrationId], [ProductVersion]
  285. FROM [__EFMigrationsHistory]
  286. ORDER BY [MigrationId];
  287. ][2022-06-28 13:29:38.711 +02:00 INF Now listening on: http://localhost:5116
  288. ][2022-06-28 13:29:38.714 +02:00 INF Application started. Press Ctrl+C to shut down.
  289. ][2022-06-28 13:29:38.714 +02:00 INF Hosting environment: Development
  290. ][2022-06-28 13:29:38.714 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  291. ][2022-06-28 13:29:40.119 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  292. ][2022-06-28 13:29:40.266 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 150.1103ms
  293. ][2022-06-28 13:29:40.402 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  294. ][2022-06-28 13:29:40.403 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  295. ][2022-06-28 13:29:40.404 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 1.5014ms
  296. ][2022-06-28 13:29:40.423 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 21.1693ms
  297. ][2022-06-28 13:29:40.480 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  298. ][2022-06-28 13:29:40.572 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 92.0610ms
  299. ][2022-06-28 13:29:48.475 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  300. ][2022-06-28 13:29:48.487 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  301. ][2022-06-28 13:29:48.497 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  302. ][2022-06-28 13:29:48.993 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  303. ][2022-06-28 13:29:49.004 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 502.9557ms
  304. ][2022-06-28 13:29:49.004 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  305. ][2022-06-28 13:29:49.005 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 529.4464ms
  306. ][2022-06-28 13:29:58.182 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 503
  307. ][2022-06-28 13:29:58.184 +02:00 INF CORS policy execution failed.
  308. ][2022-06-28 13:29:58.184 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  309. ][2022-06-28 13:29:58.185 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  310. ][2022-06-28 13:29:58.195 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  311. ][2022-06-28 13:29:58.291 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
  312. ][2022-06-28 13:29:58.314 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 119.029ms
  313. ][2022-06-28 13:29:58.314 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  314. ][2022-06-28 13:29:58.314 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 503 - 201 - application/json;+charset=utf-8 131.9561ms
  315. ][2022-06-28 13:30:20.872 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae6361f6f63a76f4dec9b - -
  316. ][2022-06-28 13:30:20.872 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  317. ][2022-06-28 13:30:20.876 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  318. ][2022-06-28 13:30:20.926 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  319. ][2022-06-28 13:30:20.929 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 53.6518ms
  320. ][2022-06-28 13:30:20.929 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  321. ][2022-06-28 13:30:20.930 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae6361f6f63a76f4dec9b - - - 200 - application/json;+charset=utf-8 57.9073ms
  322. ][2022-06-28 13:30:50.554 +02:00 INF Request starting HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae6361f6f63a76f4dec9b application/json 804
  323. ][2022-06-28 13:30:50.554 +02:00 INF CORS policy execution failed.
  324. ][2022-06-28 13:30:50.554 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  325. ][2022-06-28 13:30:50.554 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  326. ][2022-06-28 13:30:50.557 +02:00 INF Route matched with {action = "Update", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Update(System.String, Diligent.WebAPI.Data.Entities.InsurerMongo) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  327. ][2022-06-28 13:30:50.686 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 129.0582ms
  328. ][2022-06-28 13:30:50.686 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  329. ][2022-06-28 13:30:50.784 +02:00 ERR 'string' is not a valid 24 digit hex string.
  330. ][2022-06-28 13:30:50.786 +02:00 INF Request finished HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae6361f6f63a76f4dec9b application/json 804 - 500 - application/json 231.7802ms
  331. ][2022-06-28 13:31:11.554 +02:00 INF Request starting HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae6361f6f63a76f4dec9b application/json 784
  332. ][2022-06-28 13:31:11.554 +02:00 INF CORS policy execution failed.
  333. ][2022-06-28 13:31:11.554 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  334. ][2022-06-28 13:31:11.555 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  335. ][2022-06-28 13:31:11.555 +02:00 INF Route matched with {action = "Update", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Update(System.String, Diligent.WebAPI.Data.Entities.InsurerMongo) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  336. ][2022-06-28 13:31:11.566 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
  337. ][2022-06-28 13:31:11.566 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 11.1867ms
  338. ][2022-06-28 13:31:11.566 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  339. ][2022-06-28 13:31:11.566 +02:00 INF Request finished HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62bae6361f6f63a76f4dec9b application/json 784 - 200 0 - 11.8281ms
  340. ][2022-06-28 13:31:20.061 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  341. ][2022-06-28 13:31:20.061 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  342. ][2022-06-28 13:31:20.061 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  343. ][2022-06-28 13:31:20.065 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  344. ][2022-06-28 13:31:20.066 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 4.7958ms
  345. ][2022-06-28 13:31:20.066 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  346. ][2022-06-28 13:31:20.066 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 5.3280ms
  347. ][2022-06-28 13:31:38.900 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsuranceCompany application/json 190
  348. ][2022-06-28 13:31:38.900 +02:00 INF CORS policy execution failed.
  349. ][2022-06-28 13:31:38.900 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  350. ][2022-06-28 13:31:38.900 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
  351. ][2022-06-28 13:31:38.902 +02:00 INF Route matched with {action = "Post", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyCreateDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  352. ][2022-06-28 13:31:38.910 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsuranceCompanyMongo'.
  353. ][2022-06-28 13:31:38.915 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host) in 13.0223ms
  354. ][2022-06-28 13:31:38.915 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
  355. ][2022-06-28 13:31:38.915 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsuranceCompany application/json 190 - 201 - application/json;+charset=utf-8 15.4914ms
  356. ][2022-06-28 13:31:56.252 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 289
  357. ][2022-06-28 13:31:56.252 +02:00 INF CORS policy execution failed.
  358. ][2022-06-28 13:31:56.252 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  359. ][2022-06-28 13:31:56.252 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  360. ][2022-06-28 13:31:56.253 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  361. ][2022-06-28 13:31:56.257 +02:00 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'.
  362. ][2022-06-28 13:31:56.258 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 5.2429ms
  363. ][2022-06-28 13:31:56.258 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  364. ][2022-06-28 13:31:56.258 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 289 - 400 - application/problem+json;+charset=utf-8 5.7982ms
  365. ][2022-06-28 13:32:08.794 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288
  366. ][2022-06-28 13:32:08.794 +02:00 INF CORS policy execution failed.
  367. ][2022-06-28 13:32:08.794 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  368. ][2022-06-28 13:32:08.794 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  369. ][2022-06-28 13:32:08.794 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  370. ][2022-06-28 13:32:08.794 +02:00 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'.
  371. ][2022-06-28 13:32:08.794 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 0.3288ms
  372. ][2022-06-28 13:32:08.794 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  373. ][2022-06-28 13:32:08.794 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288 - 400 - application/problem+json;+charset=utf-8 0.7771ms
  374. ][2022-06-28 13:32:24.000 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  375. ][2022-06-28 13:32:24.067 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  376. ][2022-06-28 13:32:24.198 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  377. ][2022-06-28 13:32:24.479 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  378. SELECT 1
  379. ][2022-06-28 13:32:24.500 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  380. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  381. ][2022-06-28 13:32:24.521 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  382. SELECT [MigrationId], [ProductVersion]
  383. FROM [__EFMigrationsHistory]
  384. ORDER BY [MigrationId];
  385. ][2022-06-28 13:32:24.616 +02:00 INF Now listening on: http://localhost:5116
  386. ][2022-06-28 13:32:24.619 +02:00 INF Application started. Press Ctrl+C to shut down.
  387. ][2022-06-28 13:32:24.619 +02:00 INF Hosting environment: Development
  388. ][2022-06-28 13:32:24.619 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  389. ][2022-06-28 13:32:27.473 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288
  390. ][2022-06-28 13:32:27.522 +02:00 INF CORS policy execution failed.
  391. ][2022-06-28 13:32:27.522 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  392. ][2022-06-28 13:32:27.533 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  393. ][2022-06-28 13:32:27.550 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  394. ][2022-06-28 13:32:28.087 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
  395. ][2022-06-28 13:32:28.123 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 568.8774ms
  396. ][2022-06-28 13:32:28.124 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  397. ][2022-06-28 13:32:28.126 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288 - 201 - application/json;+charset=utf-8 655.0452ms
  398. ][2022-06-28 13:32:37.267 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae6cb301c4fa3a8d23eb6 - -
  399. ][2022-06-28 13:32:37.270 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  400. ][2022-06-28 13:32:37.276 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  401. ][2022-06-28 13:32:37.367 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  402. ][2022-06-28 13:32:37.370 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 94.2644ms
  403. ][2022-06-28 13:32:37.371 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  404. ][2022-06-28 13:32:37.371 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae6cb301c4fa3a8d23eb6 - - - 200 - application/json;+charset=utf-8 103.8485ms
  405. ][2022-06-28 14:02:05.467 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  406. ][2022-06-28 14:02:05.534 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  407. ][2022-06-28 14:02:05.663 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  408. ][2022-06-28 14:02:05.931 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  409. SELECT 1
  410. ][2022-06-28 14:02:05.953 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  411. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  412. ][2022-06-28 14:02:05.974 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  413. SELECT [MigrationId], [ProductVersion]
  414. FROM [__EFMigrationsHistory]
  415. ORDER BY [MigrationId];
  416. ][2022-06-28 14:02:06.070 +02:00 INF Now listening on: http://localhost:5116
  417. ][2022-06-28 14:02:06.072 +02:00 INF Application started. Press Ctrl+C to shut down.
  418. ][2022-06-28 14:02:06.072 +02:00 INF Hosting environment: Development
  419. ][2022-06-28 14:02:06.072 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  420. ][2022-06-28 14:02:08.770 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  421. ][2022-06-28 14:02:08.913 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  422. ][2022-06-28 14:02:08.913 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  423. ][2022-06-28 14:02:08.916 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 147.6380ms
  424. ][2022-06-28 14:02:08.916 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 2.1166ms
  425. ][2022-06-28 14:02:08.937 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 24.4041ms
  426. ][2022-06-28 14:02:09.115 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  427. ][2022-06-28 14:02:09.215 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 99.9868ms
  428. ][2022-06-28 14:02:15.993 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  429. ][2022-06-28 14:02:16.005 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  430. ][2022-06-28 14:02:16.015 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  431. ][2022-06-28 14:02:16.575 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 555.3109ms
  432. ][2022-06-28 14:02:16.575 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  433. ][2022-06-28 14:02:16.674 +02:00 ERR Element 'InsuranceCompany' does not match any field or property of class Diligent.WebAPI.Data.Entities.InsurerMongo.
  434. ][2022-06-28 14:02:16.678 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 500 - application/json 685.3197ms
  435. ][2022-06-28 14:02:51.235 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/v1.0/insuranceCompanies - -
  436. ][2022-06-28 14:02:51.236 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.InsuranceCompaniesController.GetInsuranceCompanies (Diligent.WebAPI.Host)'
  437. ][2022-06-28 14:02:51.238 +02:00 INF Route matched with {action = "GetInsuranceCompanies", controller = "InsuranceCompanies"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.DTOs.InsuranceCompanyDTOs.InsuranceCompanyReturnDTO]]] GetInsuranceCompanies() on controller Diligent.WebAPI.Host.Controllers.InsuranceCompaniesController (Diligent.WebAPI.Host).
  438. ][2022-06-28 14:02:51.267 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  439. ][2022-06-28 14:02:51.472 +02:00 INF Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  440. SELECT [i].[Id], [i].[City], [i].[Country], [i].[CreatedAtUtc], [i].[DeletedAtUtc], [i].[Fax], [i].[LegalAddress], [i].[LegalEmail], [i].[Name], [i].[PhoneNumber], [i].[PostalCode], [i].[UpdatedAtUtc]
  441. FROM [InsuranceCompanies] AS [i]
  442. ][2022-06-28 14:02:51.553 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.DTOs.InsuranceCompanyDTOs.InsuranceCompanyReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  443. ][2022-06-28 14:02:51.560 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.InsuranceCompaniesController.GetInsuranceCompanies (Diligent.WebAPI.Host) in 321.704ms
  444. ][2022-06-28 14:02:51.560 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.InsuranceCompaniesController.GetInsuranceCompanies (Diligent.WebAPI.Host)'
  445. ][2022-06-28 14:02:51.563 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/v1.0/insuranceCompanies - - - 200 - application/json;+charset=utf-8 327.9357ms
  446. ][2022-06-28 14:03:03.994 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
  447. ][2022-06-28 14:03:03.995 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  448. ][2022-06-28 14:03:03.997 +02:00 INF Route matched with {action = "Get", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  449. ][2022-06-28 14:03:04.024 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  450. ][2022-06-28 14:03:04.026 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 28.3256ms
  451. ][2022-06-28 14:03:04.026 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  452. ][2022-06-28 14:03:04.026 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - - - 200 - application/json;+charset=utf-8 31.6111ms
  453. ][2022-06-28 14:03:37.784 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288
  454. ][2022-06-28 14:03:37.785 +02:00 INF CORS policy execution failed.
  455. ][2022-06-28 14:03:37.785 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  456. ][2022-06-28 14:03:37.786 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  457. ][2022-06-28 14:03:37.798 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  458. ][2022-06-28 14:03:37.883 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
  459. ][2022-06-28 14:03:37.906 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 107.8452ms
  460. ][2022-06-28 14:03:37.906 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  461. ][2022-06-28 14:03:37.906 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288 - 201 - application/json;+charset=utf-8 122.2910ms
  462. ][2022-06-28 14:03:51.802 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62baee19a8290a25d2ea5dd9 - -
  463. ][2022-06-28 14:03:51.802 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  464. ][2022-06-28 14:03:51.805 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  465. ][2022-06-28 14:03:51.845 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  466. ][2022-06-28 14:03:51.847 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 42.3913ms
  467. ][2022-06-28 14:03:51.847 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  468. ][2022-06-28 14:03:51.847 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62baee19a8290a25d2ea5dd9 - - - 200 - application/json;+charset=utf-8 45.5588ms
  469. ][2022-06-28 14:53:20.986 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  470. ][2022-06-28 14:53:21.054 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  471. ][2022-06-28 14:53:21.177 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  472. ][2022-06-28 14:53:21.446 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  473. SELECT 1
  474. ][2022-06-28 14:53:21.468 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  475. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  476. ][2022-06-28 14:53:21.488 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  477. SELECT [MigrationId], [ProductVersion]
  478. FROM [__EFMigrationsHistory]
  479. ORDER BY [MigrationId];
  480. ][2022-06-28 14:53:21.583 +02:00 INF Now listening on: http://localhost:5116
  481. ][2022-06-28 14:53:21.586 +02:00 INF Application started. Press Ctrl+C to shut down.
  482. ][2022-06-28 14:53:21.586 +02:00 INF Hosting environment: Development
  483. ][2022-06-28 14:53:21.586 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  484. ][2022-06-28 14:53:27.741 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  485. ][2022-06-28 14:53:27.889 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  486. ][2022-06-28 14:53:27.889 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  487. ][2022-06-28 14:53:27.893 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 2.6327ms
  488. ][2022-06-28 14:53:27.893 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 155.4386ms
  489. ][2022-06-28 14:53:27.918 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 28.8565ms
  490. ][2022-06-28 14:53:28.104 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  491. ][2022-06-28 14:53:28.195 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 90.9478ms
  492. ][2022-06-28 14:53:43.813 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
  493. ][2022-06-28 14:53:43.824 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  494. ][2022-06-28 14:53:43.834 +02:00 INF Route matched with {action = "Get", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  495. ][2022-06-28 14:53:44.316 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  496. ][2022-06-28 14:53:44.329 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 490.6799ms
  497. ][2022-06-28 14:53:44.329 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  498. ][2022-06-28 14:53:44.329 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - - - 200 - application/json;+charset=utf-8 516.2932ms
  499. ][2022-06-28 14:54:02.328 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288
  500. ][2022-06-28 14:54:02.330 +02:00 INF CORS policy execution failed.
  501. ][2022-06-28 14:54:02.330 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  502. ][2022-06-28 14:54:02.331 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  503. ][2022-06-28 14:54:02.341 +02:00 INF Route matched with {action = "Post", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerSaveDTO) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  504. ][2022-06-28 14:54:02.455 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  505. ][2022-06-28 14:54:02.478 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 136.729ms
  506. ][2022-06-28 14:54:02.478 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
  507. ][2022-06-28 14:54:02.478 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/Insurer application/json 288 - 201 - application/json;+charset=utf-8 149.8060ms
  508. ][2022-06-28 14:54:15.870 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  509. ][2022-06-28 14:54:15.871 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  510. ][2022-06-28 14:54:15.873 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  511. ][2022-06-28 14:54:15.885 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  512. ][2022-06-28 14:54:15.886 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 12.2086ms
  513. ][2022-06-28 14:54:15.886 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  514. ][2022-06-28 14:54:15.886 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 15.4434ms
  515. ][2022-06-28 14:54:27.644 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc - -
  516. ][2022-06-28 14:54:27.645 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  517. ][2022-06-28 14:54:27.647 +02:00 INF Route matched with {action = "Get", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  518. ][2022-06-28 14:54:27.657 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
  519. ][2022-06-28 14:54:27.657 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 9.8137ms
  520. ][2022-06-28 14:54:27.657 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
  521. ][2022-06-28 14:54:27.657 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc - - - 200 - application/json;+charset=utf-8 12.8612ms
  522. ][2022-06-28 14:54:43.224 +02:00 INF Request starting HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc application/json 409
  523. ][2022-06-28 14:54:43.224 +02:00 INF CORS policy execution failed.
  524. ][2022-06-28 14:54:43.224 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  525. ][2022-06-28 14:54:43.224 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  526. ][2022-06-28 14:54:43.226 +02:00 INF Route matched with {action = "Update", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Update(System.String, Diligent.WebAPI.Data.Entities.InsurerMongo) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  527. ][2022-06-28 14:54:43.251 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
  528. ][2022-06-28 14:54:43.251 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 24.6413ms
  529. ][2022-06-28 14:54:43.251 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
  530. ][2022-06-28 14:54:43.251 +02:00 INF Request finished HTTP/1.1 PUT http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc application/json 409 - 200 0 - 27.4296ms
  531. ][2022-06-28 14:54:49.659 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc - -
  532. ][2022-06-28 14:54:49.660 +02:00 INF CORS policy execution failed.
  533. ][2022-06-28 14:54:49.660 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  534. ][2022-06-28 14:54:49.660 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  535. ][2022-06-28 14:54:49.662 +02:00 INF Route matched with {action = "Delete", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Delete(System.String) on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  536. ][2022-06-28 14:54:49.675 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
  537. ][2022-06-28 14:54:49.675 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 13.0114ms
  538. ][2022-06-28 14:54:49.675 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
  539. ][2022-06-28 14:54:49.675 +02:00 INF Request finished HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc - - - 200 0 - 16.1150ms
  540. ][2022-06-28 15:06:32.089 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  541. ][2022-06-28 15:06:32.155 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  542. ][2022-06-28 15:06:32.287 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  543. ][2022-06-28 15:06:32.565 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  544. SELECT 1
  545. ][2022-06-28 15:06:32.586 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  546. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  547. ][2022-06-28 15:06:32.605 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  548. SELECT [MigrationId], [ProductVersion]
  549. FROM [__EFMigrationsHistory]
  550. ORDER BY [MigrationId];
  551. ][2022-06-28 15:06:32.702 +02:00 INF Now listening on: http://localhost:5116
  552. ][2022-06-28 15:06:32.705 +02:00 INF Application started. Press Ctrl+C to shut down.
  553. ][2022-06-28 15:06:32.705 +02:00 INF Hosting environment: Development
  554. ][2022-06-28 15:06:32.705 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  555. ][2022-06-28 15:06:44.665 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 123
  556. ][2022-06-28 15:06:44.711 +02:00 INF CORS policy execution failed.
  557. ][2022-06-28 15:06:44.711 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  558. ][2022-06-28 15:06:44.722 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  559. ][2022-06-28 15:06:44.739 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  560. ][2022-06-28 15:06:45.250 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
  561. ][2022-06-28 15:06:45.286 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 542.7819ms
  562. ][2022-06-28 15:06:45.287 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  563. ][2022-06-28 15:06:45.289 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 123 - 201 - application/json;+charset=utf-8 626.6508ms
  564. ][2022-06-28 15:07:41.017 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  565. ][2022-06-28 15:07:41.083 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  566. ][2022-06-28 15:07:41.213 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  567. ][2022-06-28 15:07:41.483 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  568. SELECT 1
  569. ][2022-06-28 15:07:41.505 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  570. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  571. ][2022-06-28 15:07:41.524 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  572. SELECT [MigrationId], [ProductVersion]
  573. FROM [__EFMigrationsHistory]
  574. ORDER BY [MigrationId];
  575. ][2022-06-28 15:07:41.619 +02:00 INF Now listening on: http://localhost:5116
  576. ][2022-06-28 15:07:41.622 +02:00 INF Application started. Press Ctrl+C to shut down.
  577. ][2022-06-28 15:07:41.622 +02:00 INF Hosting environment: Development
  578. ][2022-06-28 15:07:41.622 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  579. ][2022-06-28 15:07:41.651 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  580. ][2022-06-28 15:07:41.811 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  581. ][2022-06-28 15:07:41.811 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  582. ][2022-06-28 15:07:41.814 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 2.6093ms
  583. ][2022-06-28 15:07:41.814 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 165.0384ms
  584. ][2022-06-28 15:07:41.834 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 23.6661ms
  585. ][2022-06-28 15:07:42.025 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  586. ][2022-06-28 15:07:42.129 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 103.1320ms
  587. ][2022-06-28 15:07:42.337 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  588. ][2022-06-28 15:07:42.344 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 6.8056ms
  589. ][2022-06-28 15:07:42.350 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  590. ][2022-06-28 15:07:42.350 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  591. ][2022-06-28 15:07:42.350 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 0.3234ms
  592. ][2022-06-28 15:07:42.354 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 4.2269ms
  593. ][2022-06-28 15:07:42.406 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  594. ][2022-06-28 15:07:42.418 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 12.3305ms
  595. ][2022-06-28 15:08:13.138 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
  596. ][2022-06-28 15:08:13.149 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  597. ][2022-06-28 15:08:13.159 +02:00 INF Route matched with {action = "Get", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  598. ][2022-06-28 15:08:13.675 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  599. ][2022-06-28 15:08:13.689 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 525.4613ms
  600. ][2022-06-28 15:08:13.689 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  601. ][2022-06-28 15:08:13.689 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - - - 200 - application/json;+charset=utf-8 551.0211ms
  602. ][2022-06-28 15:08:34.584 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  603. ][2022-06-28 15:08:34.585 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  604. ][2022-06-28 15:08:34.587 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  605. ][2022-06-28 15:08:34.616 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  606. ][2022-06-28 15:08:34.619 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 31.4718ms
  607. ][2022-06-28 15:08:34.619 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  608. ][2022-06-28 15:08:34.619 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 35.4398ms
  609. ][2022-06-28 15:08:44.099 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217
  610. ][2022-06-28 15:08:44.100 +02:00 INF CORS policy execution failed.
  611. ][2022-06-28 15:08:44.100 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  612. ][2022-06-28 15:08:44.101 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  613. ][2022-06-28 15:08:44.112 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  614. ][2022-06-28 15:08:44.199 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
  615. ][2022-06-28 15:08:44.224 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 111.7303ms
  616. ][2022-06-28 15:08:44.224 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  617. ][2022-06-28 15:08:44.224 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217 - 201 - application/json;+charset=utf-8 125.5255ms
  618. ][2022-06-28 15:09:19.842 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  619. ][2022-06-28 15:09:19.909 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  620. ][2022-06-28 15:09:20.060 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  621. ][2022-06-28 15:09:20.326 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  622. SELECT 1
  623. ][2022-06-28 15:09:20.347 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  624. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  625. ][2022-06-28 15:09:20.367 +02:00 INF Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  626. SELECT [MigrationId], [ProductVersion]
  627. FROM [__EFMigrationsHistory]
  628. ORDER BY [MigrationId];
  629. ][2022-06-28 15:09:20.458 +02:00 INF Now listening on: http://localhost:5116
  630. ][2022-06-28 15:09:20.461 +02:00 INF Application started. Press Ctrl+C to shut down.
  631. ][2022-06-28 15:09:20.461 +02:00 INF Hosting environment: Development
  632. ][2022-06-28 15:09:20.461 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  633. ][2022-06-28 15:09:22.880 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217
  634. ][2022-06-28 15:09:22.935 +02:00 INF CORS policy execution failed.
  635. ][2022-06-28 15:09:22.935 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  636. ][2022-06-28 15:09:22.950 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  637. ][2022-06-28 15:09:22.968 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  638. ][2022-06-28 15:09:23.463 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
  639. ][2022-06-28 15:09:23.499 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 525.9271ms
  640. ][2022-06-28 15:09:23.500 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  641. ][2022-06-28 15:09:23.502 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217 - 201 - application/json;+charset=utf-8 624.7702ms
  642. ][2022-06-28 15:09:30.043 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  643. ][2022-06-28 15:09:30.134 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 91.1208ms
  644. ][2022-06-28 15:09:30.171 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  645. ][2022-06-28 15:09:30.172 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  646. ][2022-06-28 15:09:30.174 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 1.9753ms
  647. ][2022-06-28 15:09:30.191 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 19.4136ms
  648. ][2022-06-28 15:09:30.248 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  649. ][2022-06-28 15:09:30.328 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 80.3007ms
  650. ][2022-06-28 15:09:38.228 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217
  651. ][2022-06-28 15:09:38.229 +02:00 INF CORS policy execution failed.
  652. ][2022-06-28 15:09:38.230 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  653. ][2022-06-28 15:09:38.230 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  654. ][2022-06-28 15:09:38.230 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  655. ][2022-06-28 15:09:38.243 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
  656. ][2022-06-28 15:09:38.243 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 13.277ms
  657. ][2022-06-28 15:09:38.243 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  658. ][2022-06-28 15:09:38.243 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217 - 201 - application/json;+charset=utf-8 14.9983ms
  659. ][2022-06-28 15:10:40.188 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  660. ][2022-06-28 15:10:40.254 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  661. ][2022-06-28 15:10:40.378 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  662. ][2022-06-28 15:10:40.642 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  663. SELECT 1
  664. ][2022-06-28 15:10:40.664 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  665. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  666. ][2022-06-28 15:10:40.683 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  667. SELECT [MigrationId], [ProductVersion]
  668. FROM [__EFMigrationsHistory]
  669. ORDER BY [MigrationId];
  670. ][2022-06-28 15:10:40.777 +02:00 INF Now listening on: http://localhost:5116
  671. ][2022-06-28 15:10:40.779 +02:00 INF Application started. Press Ctrl+C to shut down.
  672. ][2022-06-28 15:10:40.780 +02:00 INF Hosting environment: Development
  673. ][2022-06-28 15:10:40.780 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  674. ][2022-06-28 15:10:45.881 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217
  675. ][2022-06-28 15:10:45.935 +02:00 INF CORS policy execution failed.
  676. ][2022-06-28 15:10:45.936 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  677. ][2022-06-28 15:10:45.946 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  678. ][2022-06-28 15:10:45.962 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  679. ][2022-06-28 15:10:46.433 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
  680. ][2022-06-28 15:10:46.470 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 503.6907ms
  681. ][2022-06-28 15:10:46.470 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  682. ][2022-06-28 15:10:46.473 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217 - 201 - application/json;+charset=utf-8 594.9879ms
  683. ][2022-06-28 15:11:27.287 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  684. ][2022-06-28 15:11:27.382 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  685. ][2022-06-28 15:11:27.525 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  686. ][2022-06-28 15:11:28.104 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  687. SELECT 1
  688. ][2022-06-28 15:11:28.126 +02:00 INF Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  689. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  690. ][2022-06-28 15:11:28.147 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  691. SELECT [MigrationId], [ProductVersion]
  692. FROM [__EFMigrationsHistory]
  693. ORDER BY [MigrationId];
  694. ][2022-06-28 15:11:28.239 +02:00 INF Now listening on: http://localhost:5116
  695. ][2022-06-28 15:11:28.241 +02:00 INF Application started. Press Ctrl+C to shut down.
  696. ][2022-06-28 15:11:28.241 +02:00 INF Hosting environment: Development
  697. ][2022-06-28 15:11:28.241 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  698. ][2022-06-28 15:11:30.591 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  699. ][2022-06-28 15:11:30.737 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  700. ][2022-06-28 15:11:30.738 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  701. ][2022-06-28 15:11:30.740 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 2.0489ms
  702. ][2022-06-28 15:11:30.740 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 152.4315ms
  703. ][2022-06-28 15:11:30.758 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 20.6240ms
  704. ][2022-06-28 15:11:30.961 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  705. ][2022-06-28 15:11:30.961 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 0.3651ms
  706. ][2022-06-28 15:11:31.071 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  707. ][2022-06-28 15:11:31.221 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 150.1559ms
  708. ][2022-06-28 15:11:40.385 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217
  709. ][2022-06-28 15:11:40.394 +02:00 INF CORS policy execution failed.
  710. ][2022-06-28 15:11:40.394 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  711. ][2022-06-28 15:11:40.397 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  712. ][2022-06-28 15:11:40.413 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  713. ][2022-06-28 15:11:41.098 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
  714. ][2022-06-28 15:11:41.131 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 714.173ms
  715. ][2022-06-28 15:11:41.131 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  716. ][2022-06-28 15:11:41.131 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217 - 201 - application/json;+charset=utf-8 746.9012ms
  717. ][2022-06-28 15:12:11.873 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafe0c232ab4c24307ef57 - -
  718. ][2022-06-28 15:12:11.874 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  719. ][2022-06-28 15:12:11.877 +02:00 INF Route matched with {action = "Get", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  720. ][2022-06-28 15:12:14.622 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 2744.8651ms
  721. ][2022-06-28 15:12:14.623 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  722. ][2022-06-28 15:12:42.118 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  723. ][2022-06-28 15:12:42.186 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  724. ][2022-06-28 15:12:42.314 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  725. ][2022-06-28 15:12:42.580 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  726. SELECT 1
  727. ][2022-06-28 15:12:42.601 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  728. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  729. ][2022-06-28 15:12:42.621 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  730. SELECT [MigrationId], [ProductVersion]
  731. FROM [__EFMigrationsHistory]
  732. ORDER BY [MigrationId];
  733. ][2022-06-28 15:12:42.713 +02:00 INF Now listening on: http://localhost:5116
  734. ][2022-06-28 15:12:42.715 +02:00 INF Application started. Press Ctrl+C to shut down.
  735. ][2022-06-28 15:12:42.716 +02:00 INF Hosting environment: Development
  736. ][2022-06-28 15:12:42.716 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  737. ][2022-06-28 15:12:43.777 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafe0c232ab4c24307ef57 - -
  738. ][2022-06-28 15:12:43.836 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  739. ][2022-06-28 15:12:43.852 +02:00 INF Route matched with {action = "Get", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  740. ][2022-06-28 15:13:25.050 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 41183.9069ms
  741. ][2022-06-28 15:13:25.051 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  742. ][2022-06-28 15:13:26.535 +02:00 ERR Object reference not set to an instance of an object.
  743. ][2022-06-28 15:13:26.558 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafe0c232ab4c24307ef57 - - - 500 - application/json 42782.3722ms
  744. ][2022-06-28 15:13:59.983 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
  745. ][2022-06-28 15:13:59.988 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  746. ][2022-06-28 15:13:59.992 +02:00 INF Route matched with {action = "Get", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  747. ][2022-06-28 15:14:00.026 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  748. ][2022-06-28 15:14:00.037 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 44.3721ms
  749. ][2022-06-28 15:14:00.037 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  750. ][2022-06-28 15:14:00.037 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - - - 200 - application/json;+charset=utf-8 54.3720ms
  751. ][2022-06-28 15:14:25.179 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
  752. ][2022-06-28 15:14:25.180 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  753. ][2022-06-28 15:14:25.182 +02:00 INF Route matched with {action = "GetAll", controller = "Insurer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Diligent.WebAPI.Host.MongoController.InsurerController (Diligent.WebAPI.Host).
  754. ][2022-06-28 15:14:25.195 +02:00 INF Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  755. ][2022-06-28 15:14:25.197 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 14.892ms
  756. ][2022-06-28 15:14:25.197 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
  757. ][2022-06-28 15:14:25.197 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - - - 200 - application/json;+charset=utf-8 17.8001ms
  758. ][2022-06-28 15:14:36.650 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217
  759. ][2022-06-28 15:14:36.651 +02:00 INF CORS policy execution failed.
  760. ][2022-06-28 15:14:36.651 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  761. ][2022-06-28 15:14:36.652 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  762. ][2022-06-28 15:14:36.654 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  763. ][2022-06-28 15:14:36.727 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
  764. ][2022-06-28 15:14:36.751 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 96.4904ms
  765. ][2022-06-28 15:14:36.751 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  766. ][2022-06-28 15:14:36.751 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217 - 201 - application/json;+charset=utf-8 100.7665ms
  767. ][2022-06-28 15:14:50.192 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - -
  768. ][2022-06-28 15:14:50.193 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  769. ][2022-06-28 15:14:50.193 +02:00 INF Route matched with {action = "Get", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  770. ][2022-06-28 15:15:15.814 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  771. ][2022-06-28 15:15:15.881 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  772. ][2022-06-28 15:15:16.011 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  773. ][2022-06-28 15:15:16.276 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  774. SELECT 1
  775. ][2022-06-28 15:15:16.297 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  776. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  777. ][2022-06-28 15:15:16.317 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  778. SELECT [MigrationId], [ProductVersion]
  779. FROM [__EFMigrationsHistory]
  780. ORDER BY [MigrationId];
  781. ][2022-06-28 15:15:16.412 +02:00 INF Now listening on: http://localhost:5116
  782. ][2022-06-28 15:15:16.414 +02:00 INF Application started. Press Ctrl+C to shut down.
  783. ][2022-06-28 15:15:16.414 +02:00 INF Hosting environment: Development
  784. ][2022-06-28 15:15:16.414 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  785. ][2022-06-28 15:15:18.207 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - -
  786. ][2022-06-28 15:15:18.265 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  787. ][2022-06-28 15:15:18.283 +02:00 INF Route matched with {action = "Get", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  788. ][2022-06-28 15:15:18.820 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO'.
  789. ][2022-06-28 15:15:18.852 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 564.1154ms
  790. ][2022-06-28 15:15:18.852 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  791. ][2022-06-28 15:15:18.854 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - - - 200 - application/json;+charset=utf-8 649.5619ms
  792. ][2022-06-28 15:18:05.791 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  793. ][2022-06-28 15:18:05.860 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  794. ][2022-06-28 15:18:05.986 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  795. ][2022-06-28 15:18:06.252 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  796. SELECT 1
  797. ][2022-06-28 15:18:06.274 +02:00 INF Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  798. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  799. ][2022-06-28 15:18:06.295 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  800. SELECT [MigrationId], [ProductVersion]
  801. FROM [__EFMigrationsHistory]
  802. ORDER BY [MigrationId];
  803. ][2022-06-28 15:18:06.387 +02:00 INF Now listening on: http://localhost:5116
  804. ][2022-06-28 15:18:06.390 +02:00 INF Application started. Press Ctrl+C to shut down.
  805. ][2022-06-28 15:18:06.390 +02:00 INF Hosting environment: Development
  806. ][2022-06-28 15:18:06.390 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  807. ][2022-06-28 15:18:09.836 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217
  808. ][2022-06-28 15:18:09.883 +02:00 INF CORS policy execution failed.
  809. ][2022-06-28 15:18:09.883 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  810. ][2022-06-28 15:18:09.895 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  811. ][2022-06-28 15:18:09.911 +02:00 INF Route matched with {action = "Post", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicySaveDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  812. ][2022-06-28 15:18:10.471 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO'.
  813. ][2022-06-28 15:18:10.512 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 595.8674ms
  814. ][2022-06-28 15:18:10.513 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
  815. ][2022-06-28 15:18:10.515 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsurancePolicy application/json 217 - 201 - application/json;+charset=utf-8 681.6366ms
  816. ][2022-06-28 15:18:30.483 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy - -
  817. ][2022-06-28 15:18:30.485 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  818. ][2022-06-28 15:18:30.489 +02:00 INF Route matched with {action = "Get", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  819. ][2022-06-28 15:18:30.517 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  820. ][2022-06-28 15:18:30.521 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 32.5496ms
  821. ][2022-06-28 15:18:30.522 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  822. ][2022-06-28 15:18:30.522 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy - - - 200 - application/json;+charset=utf-8 38.7915ms
  823. ][2022-06-28 15:18:43.680 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/InsurancePolicy/62baff92d26fc3cb4b72952a - -
  824. ][2022-06-28 15:18:43.681 +02:00 INF CORS policy execution failed.
  825. ][2022-06-28 15:18:43.681 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  826. ][2022-06-28 15:18:43.681 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Delete (Diligent.WebAPI.Host)'
  827. ][2022-06-28 15:18:43.684 +02:00 INF Route matched with {action = "Delete", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Delete(System.String) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  828. ][2022-06-28 15:18:43.713 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
  829. ][2022-06-28 15:18:43.713 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Delete (Diligent.WebAPI.Host) in 29.3622ms
  830. ][2022-06-28 15:18:43.713 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Delete (Diligent.WebAPI.Host)'
  831. ][2022-06-28 15:18:43.714 +02:00 INF Request finished HTTP/1.1 DELETE http://localhost:5116/api/mongo/InsurancePolicy/62baff92d26fc3cb4b72952a - - - 200 0 - 33.1929ms
  832. ][2022-06-28 15:19:31.264 +02:00 WRN Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
  833. ][2022-06-28 15:19:31.330 +02:00 WRN No store type was specified for the decimal property 'Premium' on entity type 'InsurancePolicy'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
  834. ][2022-06-28 15:19:31.460 +02:00 INF Entity Framework Core 6.0.3 initialized 'DatabaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.3' with options: SensitiveDataLoggingEnabled
  835. ][2022-06-28 15:19:31.729 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  836. SELECT 1
  837. ][2022-06-28 15:19:31.750 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  838. SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
  839. ][2022-06-28 15:19:31.770 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
  840. SELECT [MigrationId], [ProductVersion]
  841. FROM [__EFMigrationsHistory]
  842. ORDER BY [MigrationId];
  843. ][2022-06-28 15:19:31.869 +02:00 INF Now listening on: http://localhost:5116
  844. ][2022-06-28 15:19:31.871 +02:00 INF Application started. Press Ctrl+C to shut down.
  845. ][2022-06-28 15:19:31.872 +02:00 INF Hosting environment: Development
  846. ][2022-06-28 15:19:31.872 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
  847. ][2022-06-28 15:19:38.070 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - -
  848. ][2022-06-28 15:19:38.128 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  849. ][2022-06-28 15:19:38.145 +02:00 INF Route matched with {action = "Get", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO]] Get(System.String) on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  850. ][2022-06-28 15:19:38.650 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO'.
  851. ][2022-06-28 15:19:38.681 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 531.8141ms
  852. ][2022-06-28 15:19:38.682 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  853. ][2022-06-28 15:19:38.684 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - - - 200 - application/json;+charset=utf-8 616.5715ms
  854. ][2022-06-28 15:59:42.172 +02:00 INF Now listening on: http://localhost:5116
  855. ][2022-06-28 15:59:42.214 +02:00 INF Application started. Press Ctrl+C to shut down.
  856. ][2022-06-28 15:59:42.214 +02:00 INF Hosting environment: Development
  857. ][2022-06-28 15:59:42.214 +02:00 INF Content root path: C:\Users\meris.ahmatovic\Desktop\New folder\Diligent.WebAPI.Host\
  858. ][2022-06-28 16:01:46.455 +02:00 INF Now listening on: http://localhost:5116
  859. ][2022-06-28 16:01:46.489 +02:00 INF Application started. Press Ctrl+C to shut down.
  860. ][2022-06-28 16:01:46.489 +02:00 INF Hosting environment: Development
  861. ][2022-06-28 16:01:46.489 +02:00 INF Content root path: C:\Users\meris.ahmatovic\Desktop\New folder\Diligent.WebAPI.Host\
  862. ][2022-06-28 16:01:54.746 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  863. ][2022-06-28 16:01:54.953 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  864. ][2022-06-28 16:01:54.953 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  865. ][2022-06-28 16:01:54.956 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 2.3274ms
  866. ][2022-06-28 16:01:54.970 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 227.0230ms
  867. ][2022-06-28 16:01:54.998 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 44.9774ms
  868. ][2022-06-28 16:01:55.062 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  869. ][2022-06-28 16:01:55.211 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 148.9400ms
  870. ][2022-06-28 16:02:02.637 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
  871. ][2022-06-28 16:02:02.649 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  872. ][2022-06-28 16:02:02.661 +02:00 INF Route matched with {action = "Get", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  873. ][2022-06-28 16:02:03.372 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  874. ][2022-06-28 16:02:03.386 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 719.8379ms
  875. ][2022-06-28 16:02:03.386 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  876. ][2022-06-28 16:02:03.386 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - - - 200 - application/json;+charset=utf-8 749.1301ms
  877. ][2022-06-28 16:02:56.112 +02:00 INF Now listening on: http://localhost:5116
  878. ][2022-06-28 16:02:56.143 +02:00 INF Application started. Press Ctrl+C to shut down.
  879. ][2022-06-28 16:02:56.144 +02:00 INF Hosting environment: Development
  880. ][2022-06-28 16:02:56.144 +02:00 INF Content root path: C:\Users\meris.ahmatovic\Desktop\New folder\Diligent.WebAPI.Host\
  881. ][2022-06-28 16:03:02.646 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
  882. ][2022-06-28 16:03:02.726 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  883. ][2022-06-28 16:03:02.737 +02:00 INF Route matched with {action = "Get", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  884. ][2022-06-28 16:03:03.766 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  885. ][2022-06-28 16:03:03.796 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 1054.1091ms
  886. ][2022-06-28 16:03:03.797 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  887. ][2022-06-28 16:03:03.800 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - - - 200 - application/json;+charset=utf-8 1156.5113ms
  888. ][2022-06-28 16:03:19.960 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/api/mongo/InsuranceCompany application/json 197
  889. ][2022-06-28 16:03:19.965 +02:00 INF CORS policy execution failed.
  890. ][2022-06-28 16:03:19.966 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  891. ][2022-06-28 16:03:19.966 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
  892. ][2022-06-28 16:03:19.976 +02:00 INF Route matched with {action = "Post", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Post(Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyCreateDTO) on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  893. ][2022-06-28 16:03:20.198 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsuranceCompanyMongo'.
  894. ][2022-06-28 16:03:20.223 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host) in 246.483ms
  895. ][2022-06-28 16:03:20.223 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
  896. ][2022-06-28 16:03:20.223 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/api/mongo/InsuranceCompany application/json 197 - 201 - application/json;+charset=utf-8 263.1102ms
  897. ][2022-06-28 16:03:25.095 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
  898. ][2022-06-28 16:03:25.096 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  899. ][2022-06-28 16:03:25.096 +02:00 INF Route matched with {action = "Get", controller = "InsuranceCompany"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController (Diligent.WebAPI.Host).
  900. ][2022-06-28 16:03:25.130 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsuranceCompanyMongo.InsuranceCompanyReadDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  901. ][2022-06-28 16:03:25.133 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 37.3737ms
  902. ][2022-06-28 16:03:25.133 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
  903. ][2022-06-28 16:03:25.133 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - - - 200 - application/json;+charset=utf-8 38.5454ms
  904. ][2022-06-28 16:29:31.250 +02:00 INF Now listening on: http://localhost:5116
  905. ][2022-06-28 16:29:31.282 +02:00 INF Application started. Press Ctrl+C to shut down.
  906. ][2022-06-28 16:29:31.282 +02:00 INF Hosting environment: Development
  907. ][2022-06-28 16:29:31.282 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
  908. ][2022-06-28 16:32:35.767 +02:00 INF Now listening on: http://localhost:5116
  909. ][2022-06-28 16:32:35.795 +02:00 INF Application started. Press Ctrl+C to shut down.
  910. ][2022-06-28 16:32:35.795 +02:00 INF Hosting environment: Development
  911. ][2022-06-28 16:32:35.796 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
  912. ][2022-06-28 16:32:40.848 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  913. ][2022-06-28 16:32:41.023 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  914. ][2022-06-28 16:32:41.023 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  915. ][2022-06-28 16:32:41.025 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 1.5767ms
  916. ][2022-06-28 16:32:41.025 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 180.1905ms
  917. ][2022-06-28 16:32:41.061 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 38.2111ms
  918. ][2022-06-28 16:32:41.173 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  919. ][2022-06-28 16:32:41.322 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 149.1711ms
  920. ][2022-06-28 16:33:02.091 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/v1.0/InsurancePolicy - -
  921. ][2022-06-28 16:33:02.100 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  922. ][2022-06-28 16:33:02.110 +02:00 INF Route matched with {action = "Get", controller = "InsurancePolicy"}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO]] Get() on controller Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController (Diligent.WebAPI.Host).
  923. ][2022-06-28 16:33:03.316 +02:00 INF Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO, Diligent.WebAPI.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
  924. ][2022-06-28 16:33:03.328 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 1214.1783ms
  925. ][2022-06-28 16:33:03.329 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
  926. ][2022-06-28 16:33:03.329 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/v1.0/InsurancePolicy - - - 200 - application/json;+charset=utf-8 1238.2938ms
  927. ][2022-06-28 16:52:23.548 +02:00 INF User profile is available. Using 'C:\Users\dzenis.hadzifejzovic\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
  928. ][2022-06-28 16:52:23.653 +02:00 INF Now listening on: http://localhost:5116
  929. ][2022-06-28 16:52:23.655 +02:00 INF Application started. Press Ctrl+C to shut down.
  930. ][2022-06-28 16:52:23.655 +02:00 INF Hosting environment: Development
  931. ][2022-06-28 16:52:23.656 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
  932. ][2022-06-28 16:52:46.041 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
  933. ][2022-06-28 16:52:46.181 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
  934. ][2022-06-28 16:52:46.181 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
  935. ][2022-06-28 16:52:46.184 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 2.0963ms
  936. ][2022-06-28 16:52:46.184 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/index.html - - - 200 - text/html;charset=utf-8 145.6360ms
  937. ][2022-06-28 16:52:46.200 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 19.5152ms
  938. ][2022-06-28 16:52:46.332 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
  939. ][2022-06-28 16:52:46.409 +02:00 INF Request finished HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 77.1723ms
  940. ][2022-06-28 16:53:29.233 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addCustomer application/json 134
  941. ][2022-06-28 16:53:29.241 +02:00 INF CORS policy execution failed.
  942. ][2022-06-28 16:53:29.241 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  943. ][2022-06-28 16:53:29.244 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
  944. ][2022-06-28 16:53:29.260 +02:00 INF Route matched with {action = "Create", controller = "Customer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Create(Diligent.WebAPI.Host.DTOs.Customer.CustomerCreateDTO) on controller Diligent.WebAPI.Host.Controllers.CustomerController (Diligent.WebAPI.Host).
  945. ][2022-06-28 16:53:30.281 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host) in 1015.6063ms
  946. ][2022-06-28 16:53:30.282 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
  947. ][2022-06-28 16:53:30.384 +02:00 ERR Role CUSTOMER does not exist.
  948. ][2022-06-28 16:53:30.388 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addCustomer application/json 134 - 500 - application/json 1155.0366ms
  949. ][2022-06-28 16:53:52.196 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addRole?name=Customer - 0
  950. ][2022-06-28 16:53:52.197 +02:00 INF CORS policy execution failed.
  951. ][2022-06-28 16:53:52.197 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  952. ][2022-06-28 16:53:52.197 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
  953. ][2022-06-28 16:53:52.200 +02:00 INF Route matched with {action = "CreateRole", controller = "Customer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] CreateRole(System.String) on controller Diligent.WebAPI.Host.Controllers.CustomerController (Diligent.WebAPI.Host).
  954. ][2022-06-28 16:53:52.373 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
  955. ][2022-06-28 16:53:52.373 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host) in 173.2124ms
  956. ][2022-06-28 16:53:52.373 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
  957. ][2022-06-28 16:53:52.373 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addRole?name=Customer - 0 - 201 0 - 177.3483ms
  958. ][2022-06-28 16:53:58.031 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addCustomer application/json 134
  959. ][2022-06-28 16:53:58.032 +02:00 INF CORS policy execution failed.
  960. ][2022-06-28 16:53:58.032 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  961. ][2022-06-28 16:53:58.032 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
  962. ][2022-06-28 16:53:58.032 +02:00 INF Route matched with {action = "Create", controller = "Customer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Create(Diligent.WebAPI.Host.DTOs.Customer.CustomerCreateDTO) on controller Diligent.WebAPI.Host.Controllers.CustomerController (Diligent.WebAPI.Host).
  963. ][2022-06-28 16:53:58.175 +02:00 WRN User validation failed: DuplicateUserName.
  964. ][2022-06-28 16:53:58.287 +02:00 WRN User validation failed: DuplicateUserName.
  965. ][2022-06-28 16:53:58.294 +02:00 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.SerializableError'.
  966. ][2022-06-28 16:53:58.297 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host) in 265.1298ms
  967. ][2022-06-28 16:53:58.297 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
  968. ][2022-06-28 16:53:58.297 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addCustomer application/json 134 - 400 - application/json;+charset=utf-8 265.9693ms
  969. ][2022-06-28 16:55:30.257 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addRole?name=Customer - 0
  970. ][2022-06-28 16:55:30.257 +02:00 INF CORS policy execution failed.
  971. ][2022-06-28 16:55:30.257 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  972. ][2022-06-28 16:55:30.257 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
  973. ][2022-06-28 16:55:30.257 +02:00 INF Route matched with {action = "CreateRole", controller = "Customer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] CreateRole(System.String) on controller Diligent.WebAPI.Host.Controllers.CustomerController (Diligent.WebAPI.Host).
  974. ][2022-06-28 16:55:30.404 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
  975. ][2022-06-28 16:55:30.404 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host) in 147.0038ms
  976. ][2022-06-28 16:55:30.404 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
  977. ][2022-06-28 16:55:30.404 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addRole?name=Customer - 0 - 201 0 - 147.8634ms
  978. ][2022-06-28 16:57:23.196 +02:00 INF User profile is available. Using 'C:\Users\dzenis.hadzifejzovic\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
  979. ][2022-06-28 16:57:23.319 +02:00 INF Now listening on: http://localhost:5116
  980. ][2022-06-28 16:57:23.322 +02:00 INF Application started. Press Ctrl+C to shut down.
  981. ][2022-06-28 16:57:23.322 +02:00 INF Hosting environment: Development
  982. ][2022-06-28 16:57:23.322 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
  983. ][2022-06-28 16:57:34.289 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addRole?name=Customer - 0
  984. ][2022-06-28 16:57:34.331 +02:00 INF CORS policy execution failed.
  985. ][2022-06-28 16:57:34.331 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  986. ][2022-06-28 16:57:34.343 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
  987. ][2022-06-28 16:57:34.363 +02:00 INF Route matched with {action = "CreateRole", controller = "Customer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] CreateRole(System.String) on controller Diligent.WebAPI.Host.Controllers.CustomerController (Diligent.WebAPI.Host).
  988. ][2022-06-28 16:57:34.964 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
  989. ][2022-06-28 16:57:34.969 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host) in 601.8403ms
  990. ][2022-06-28 16:57:34.969 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
  991. ][2022-06-28 16:57:34.975 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addRole?name=Customer - 0 - 201 0 - 689.2480ms
  992. ][2022-06-28 16:57:57.109 +02:00 INF Request starting HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addCustomer application/json 134
  993. ][2022-06-28 16:57:57.112 +02:00 INF CORS policy execution failed.
  994. ][2022-06-28 16:57:57.112 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
  995. ][2022-06-28 16:57:57.112 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
  996. ][2022-06-28 16:57:57.116 +02:00 INF Route matched with {action = "Create", controller = "Customer"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Create(Diligent.WebAPI.Host.DTOs.Customer.CustomerCreateDTO) on controller Diligent.WebAPI.Host.Controllers.CustomerController (Diligent.WebAPI.Host).
  997. ][2022-06-28 16:57:57.657 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
  998. ][2022-06-28 16:57:57.657 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host) in 541.4726ms
  999. ][2022-06-28 16:57:57.657 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
  1000. ][2022-06-28 16:57:57.658 +02:00 INF Request finished HTTP/1.1 POST http://localhost:5116/v1.0/Customer/addCustomer application/json 134 - 201 0 - 548.6185ms
  1001. ]