| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001 |
- [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.
- ][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'.
- ][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
- ][2022-06-28 12:51:49.742 +02:00 INF Executed DbCommand (17ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 12:51:49.765 +02:00 INF Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 12:51:49.786 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 12:51:50.045 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 12:51:50.048 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 12:51:50.049 +02:00 INF Hosting environment: Development
- ][2022-06-28 12:51:50.049 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 12:51:50.170 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 12:51:50.402 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui.css - -
- ][2022-06-28 12:51:50.407 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/swagger-ui-bundle.js - -
- ][2022-06-28 12:51:50.407 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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 - -
- ][2022-06-28 12:51:50.421 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][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
- ][2022-06-28 12:51:50.500 +02:00 INF Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A'
- ][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
- ][2022-06-28 12:51:50.503 +02:00 INF Sending file. Request path: '/swagger-ui-standalone-preset.js'. Physical path: 'N/A'
- ][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
- ][2022-06-28 12:51:50.510 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][2022-06-28 12:51:50.514 +02:00 INF Sending file. Request path: '/swagger-ui-bundle.js'. Physical path: 'N/A'
- ][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
- ][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
- ][2022-06-28 12:51:50.708 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 12:51:58.132 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 12:51:58.143 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 12:51:59.072 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 914.2983ms
- ][2022-06-28 12:51:59.073 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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.
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 12:54:17.465 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 12:54:17.489 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 12:54:17.509 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 12:54:17.603 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 12:54:17.606 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 12:54:17.606 +02:00 INF Hosting environment: Development
- ][2022-06-28 12:54:17.606 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 12:55:09.023 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 12:55:09.092 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 12:55:11.785 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 2677.1634ms
- ][2022-06-28 12:55:11.786 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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.
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 12:56:50.824 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 12:56:50.846 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 12:56:50.866 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 12:56:50.959 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 12:56:50.962 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 12:56:50.962 +02:00 INF Hosting environment: Development
- ][2022-06-28 12:56:50.962 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 12:56:51.105 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 12:56:51.260 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][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
- ][2022-06-28 12:56:51.270 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][2022-06-28 12:56:51.496 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][2022-06-28 12:56:51.509 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/favicon-32x32.png - -
- ][2022-06-28 12:56:51.515 +02:00 INF Sending file. Request path: '/favicon-32x32.png'. Physical path: 'N/A'
- ][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
- ][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
- ][2022-06-28 12:57:38.329 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 12:57:38.343 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 12:57:41.580 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 3222.8058ms
- ][2022-06-28 12:57:41.580 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 13:03:12.609 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 13:03:12.630 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 13:03:12.650 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 13:03:12.742 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 13:03:12.745 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 13:03:12.745 +02:00 INF Hosting environment: Development
- ][2022-06-28 13:03:12.745 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 13:03:15.589 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 13:03:15.747 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][2022-06-28 13:03:15.747 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][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
- ][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
- ][2022-06-28 13:03:15.936 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 13:03:29.835 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:03:29.846 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:03:30.338 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 475.9824ms
- ][2022-06-28 13:03:30.338 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:03:40.268 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:03:40.268 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:03:40.269 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:03:40.374 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
- ][2022-06-28 13:03:40.398 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 118.2654ms
- ][2022-06-28 13:03:40.398 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:03:59.358 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:03:59.358 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:03:59.375 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 16.6945ms
- ][2022-06-28 13:03:59.375 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:04:10.834 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae00cfe47fa08d538eb56 - -
- ][2022-06-28 13:04:10.835 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:04:10.868 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 13:04:10.868 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 30.5804ms
- ][2022-06-28 13:04:10.868 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:04:20.121 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae00cfe47fa08d538eb56 - -
- ][2022-06-28 13:04:20.121 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:04:20.121 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:04:20.121 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:04:20.141 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
- ][2022-06-28 13:04:20.141 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 18.0401ms
- ][2022-06-28 13:04:20.141 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:04:29.108 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:04:29.108 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:04:29.111 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 2.9855ms
- ][2022-06-28 13:04:29.111 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 13:10:21.573 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 13:10:21.594 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 13:10:21.614 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 13:10:21.709 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 13:10:21.712 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 13:10:21.712 +02:00 INF Hosting environment: Development
- ][2022-06-28 13:10:21.712 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 13:10:22.707 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 13:10:22.857 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][2022-06-28 13:10:22.857 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][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
- ][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
- ][2022-06-28 13:10:23.057 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 13:10:29.749 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:10:29.760 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:10:30.244 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 470.84ms
- ][2022-06-28 13:10:30.245 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:10:40.585 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:10:40.585 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:10:40.586 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:10:40.692 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
- ][2022-06-28 13:10:40.713 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 115.9402ms
- ][2022-06-28 13:10:40.713 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:10:49.803 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
- ][2022-06-28 13:10:49.803 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:10:49.847 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 13:10:49.850 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 43.499ms
- ][2022-06-28 13:10:49.850 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:11:13.012 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:11:13.012 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:11:13.012 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:11:13.048 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
- ][2022-06-28 13:11:13.048 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 33.5726ms
- ][2022-06-28 13:11:13.048 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:11:22.497 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
- ][2022-06-28 13:11:22.497 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:11:22.504 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 13:11:22.505 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 7.176ms
- ][2022-06-28 13:11:22.505 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:11:29.115 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:11:29.115 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:11:29.119 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 3.3133ms
- ][2022-06-28 13:11:29.119 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:11:41.513 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
- ][2022-06-28 13:11:41.513 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:11:41.513 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:11:41.513 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:11:41.528 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
- ][2022-06-28 13:11:41.529 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 13.3274ms
- ][2022-06-28 13:11:41.529 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:11:43.170 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
- ][2022-06-28 13:11:43.170 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:11:43.170 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:11:43.170 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:11:43.232 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 61.9309ms
- ][2022-06-28 13:11:43.232 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][2022-06-28 13:11:43.325 +02:00 ERR Policy not found
- ][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
- ][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
- ][2022-06-28 13:11:56.403 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:11:56.403 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:11:56.403 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:11:56.435 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 31.3771ms
- ][2022-06-28 13:11:56.435 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][2022-06-28 13:11:56.491 +02:00 ERR Insurer not found
- ][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
- ][2022-06-28 13:12:03.647 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae1b0372696205c2f7f96 - -
- ][2022-06-28 13:12:03.648 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:12:03.680 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 32.5862ms
- ][2022-06-28 13:12:03.681 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][2022-06-28 13:12:03.744 +02:00 ERR Policy not found
- ][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
- ][2022-06-28 13:12:27.178 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:12:27.179 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:12:27.182 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 3.5344ms
- ][2022-06-28 13:12:27.182 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 13:29:38.577 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 13:29:38.599 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 13:29:38.619 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 13:29:38.711 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 13:29:38.714 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 13:29:38.714 +02:00 INF Hosting environment: Development
- ][2022-06-28 13:29:38.714 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 13:29:40.119 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][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
- ][2022-06-28 13:29:40.402 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][2022-06-28 13:29:40.403 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][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
- ][2022-06-28 13:29:40.480 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 13:29:48.475 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:29:48.487 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:29:49.004 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 502.9557ms
- ][2022-06-28 13:29:49.004 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:29:58.184 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:29:58.184 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:29:58.185 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:29:58.291 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
- ][2022-06-28 13:29:58.314 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 119.029ms
- ][2022-06-28 13:29:58.314 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:30:20.872 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae6361f6f63a76f4dec9b - -
- ][2022-06-28 13:30:20.872 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:30:20.926 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 13:30:20.929 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 53.6518ms
- ][2022-06-28 13:30:20.929 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:30:50.554 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:30:50.554 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:30:50.554 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:30:50.686 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 129.0582ms
- ][2022-06-28 13:30:50.686 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][2022-06-28 13:30:50.784 +02:00 ERR 'string' is not a valid 24 digit hex string.
- ][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
- ][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
- ][2022-06-28 13:31:11.554 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:31:11.554 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:31:11.555 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:31:11.566 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
- ][2022-06-28 13:31:11.566 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 11.1867ms
- ][2022-06-28 13:31:11.566 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:31:20.061 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 13:31:20.061 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 13:31:20.066 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 4.7958ms
- ][2022-06-28 13:31:20.066 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:31:38.900 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:31:38.900 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:31:38.900 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:31:38.910 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsuranceCompanyMongo'.
- ][2022-06-28 13:31:38.915 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host) in 13.0223ms
- ][2022-06-28 13:31:38.915 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:31:56.252 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:31:56.252 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:31:56.252 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:31:56.257 +02:00 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'.
- ][2022-06-28 13:31:56.258 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 5.2429ms
- ][2022-06-28 13:31:56.258 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 13:32:08.794 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:32:08.794 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:32:08.794 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:32:08.794 +02:00 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'.
- ][2022-06-28 13:32:08.794 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 0.3288ms
- ][2022-06-28 13:32:08.794 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 13:32:24.479 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 13:32:24.500 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 13:32:24.521 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 13:32:24.616 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 13:32:24.619 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 13:32:24.619 +02:00 INF Hosting environment: Development
- ][2022-06-28 13:32:24.619 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][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
- ][2022-06-28 13:32:27.522 +02:00 INF CORS policy execution failed.
- ][2022-06-28 13:32:27.522 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 13:32:27.533 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:32:28.087 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
- ][2022-06-28 13:32:28.123 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 568.8774ms
- ][2022-06-28 13:32:28.124 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 13:32:37.267 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62bae6cb301c4fa3a8d23eb6 - -
- ][2022-06-28 13:32:37.270 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 13:32:37.367 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 13:32:37.370 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 94.2644ms
- ][2022-06-28 13:32:37.371 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 14:02:05.931 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 14:02:05.953 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 14:02:05.974 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 14:02:06.070 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 14:02:06.072 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 14:02:06.072 +02:00 INF Hosting environment: Development
- ][2022-06-28 14:02:06.072 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 14:02:08.770 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 14:02:08.913 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][2022-06-28 14:02:08.913 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][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
- ][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
- ][2022-06-28 14:02:09.115 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 14:02:15.993 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 14:02:16.005 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 14:02:16.575 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 555.3109ms
- ][2022-06-28 14:02:16.575 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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.
- ][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
- ][2022-06-28 14:02:51.235 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/v1.0/insuranceCompanies - -
- ][2022-06-28 14:02:51.236 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.InsuranceCompaniesController.GetInsuranceCompanies (Diligent.WebAPI.Host)'
- ][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).
- ][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
- ][2022-06-28 14:02:51.472 +02:00 INF Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- 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]
- FROM [InsuranceCompanies] AS [i]
- ][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]]'.
- ][2022-06-28 14:02:51.560 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.InsuranceCompaniesController.GetInsuranceCompanies (Diligent.WebAPI.Host) in 321.704ms
- ][2022-06-28 14:02:51.560 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.InsuranceCompaniesController.GetInsuranceCompanies (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 14:03:03.994 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
- ][2022-06-28 14:03:03.995 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 14:03:04.026 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 28.3256ms
- ][2022-06-28 14:03:04.026 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 14:03:37.785 +02:00 INF CORS policy execution failed.
- ][2022-06-28 14:03:37.785 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 14:03:37.786 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 14:03:37.883 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurerMongo'.
- ][2022-06-28 14:03:37.906 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 107.8452ms
- ][2022-06-28 14:03:37.906 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 14:03:51.802 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62baee19a8290a25d2ea5dd9 - -
- ][2022-06-28 14:03:51.802 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 14:03:51.845 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 14:03:51.847 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 42.3913ms
- ][2022-06-28 14:03:51.847 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 14:53:21.446 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 14:53:21.468 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 14:53:21.488 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 14:53:21.583 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 14:53:21.586 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 14:53:21.586 +02:00 INF Hosting environment: Development
- ][2022-06-28 14:53:21.586 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 14:53:27.741 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 14:53:27.889 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][2022-06-28 14:53:27.889 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][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
- ][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
- ][2022-06-28 14:53:28.104 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 14:53:43.813 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
- ][2022-06-28 14:53:43.824 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 14:53:44.329 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 490.6799ms
- ][2022-06-28 14:53:44.329 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 14:54:02.330 +02:00 INF CORS policy execution failed.
- ][2022-06-28 14:54:02.330 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 14:54:02.331 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 14:54:02.455 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 14:54:02.478 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host) in 136.729ms
- ][2022-06-28 14:54:02.478 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 14:54:15.870 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 14:54:15.871 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 14:54:15.886 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 12.2086ms
- ][2022-06-28 14:54:15.886 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 14:54:27.644 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc - -
- ][2022-06-28 14:54:27.645 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 14:54:27.657 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurerMongo.InsurerReturnDTO'.
- ][2022-06-28 14:54:27.657 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host) in 9.8137ms
- ][2022-06-28 14:54:27.657 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 14:54:43.224 +02:00 INF CORS policy execution failed.
- ][2022-06-28 14:54:43.224 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 14:54:43.224 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 14:54:43.251 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
- ][2022-06-28 14:54:43.251 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host) in 24.6413ms
- ][2022-06-28 14:54:43.251 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Update (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 14:54:49.659 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/Insurer/62baf9ea505d4c540a6974cc - -
- ][2022-06-28 14:54:49.660 +02:00 INF CORS policy execution failed.
- ][2022-06-28 14:54:49.660 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 14:54:49.660 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 14:54:49.675 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
- ][2022-06-28 14:54:49.675 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host) in 13.0114ms
- ][2022-06-28 14:54:49.675 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.Delete (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:06:32.565 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:06:32.586 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:06:32.605 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:06:32.702 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:06:32.705 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:06:32.705 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:06:32.705 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][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
- ][2022-06-28 15:06:44.711 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:06:44.711 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:06:44.722 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:06:45.250 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
- ][2022-06-28 15:06:45.286 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 542.7819ms
- ][2022-06-28 15:06:45.287 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:07:41.483 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:07:41.505 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:07:41.524 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:07:41.619 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:07:41.622 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:07:41.622 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:07:41.622 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 15:07:41.651 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 15:07:41.811 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][2022-06-28 15:07:41.811 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][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
- ][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
- ][2022-06-28 15:07:42.025 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 15:07:42.337 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][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
- ][2022-06-28 15:07:42.350 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][2022-06-28 15:07:42.350 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][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
- ][2022-06-28 15:07:42.406 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 15:08:13.138 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
- ][2022-06-28 15:08:13.149 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 15:08:13.689 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 525.4613ms
- ][2022-06-28 15:08:13.689 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:08:34.584 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 15:08:34.585 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 15:08:34.619 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 31.4718ms
- ][2022-06-28 15:08:34.619 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 15:08:44.100 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:08:44.100 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:08:44.101 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:08:44.199 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
- ][2022-06-28 15:08:44.224 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 111.7303ms
- ][2022-06-28 15:08:44.224 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:09:20.326 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:09:20.347 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:09:20.367 +02:00 INF Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:09:20.458 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:09:20.461 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:09:20.461 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:09:20.461 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][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
- ][2022-06-28 15:09:22.935 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:09:22.935 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:09:22.950 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:09:23.463 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
- ][2022-06-28 15:09:23.499 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 525.9271ms
- ][2022-06-28 15:09:23.500 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:09:30.043 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][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
- ][2022-06-28 15:09:30.171 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][2022-06-28 15:09:30.172 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][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
- ][2022-06-28 15:09:30.248 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][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
- ][2022-06-28 15:09:38.229 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:09:38.230 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:09:38.230 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:09:38.243 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
- ][2022-06-28 15:09:38.243 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 13.277ms
- ][2022-06-28 15:09:38.243 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:10:40.642 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:10:40.664 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:10:40.683 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:10:40.777 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:10:40.779 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:10:40.780 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:10:40.780 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][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
- ][2022-06-28 15:10:45.935 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:10:45.936 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:10:45.946 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:10:46.433 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
- ][2022-06-28 15:10:46.470 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 503.6907ms
- ][2022-06-28 15:10:46.470 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:11:28.104 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:11:28.126 +02:00 INF Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:11:28.147 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:11:28.239 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:11:28.241 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:11:28.241 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:11:28.241 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 15:11:30.591 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 15:11:30.737 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][2022-06-28 15:11:30.738 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][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
- ][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
- ][2022-06-28 15:11:30.961 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][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
- ][2022-06-28 15:11:31.071 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][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
- ][2022-06-28 15:11:40.394 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:11:40.394 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:11:40.397 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:11:41.098 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
- ][2022-06-28 15:11:41.131 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 714.173ms
- ][2022-06-28 15:11:41.131 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:12:11.873 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafe0c232ab4c24307ef57 - -
- ][2022-06-28 15:12:11.874 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:12:14.622 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 2744.8651ms
- ][2022-06-28 15:12:14.623 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:12:42.580 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:12:42.601 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:12:42.621 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:12:42.713 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:12:42.715 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:12:42.716 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:12:42.716 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 15:12:43.777 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafe0c232ab4c24307ef57 - -
- ][2022-06-28 15:12:43.836 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:13:25.050 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 41183.9069ms
- ][2022-06-28 15:13:25.051 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][2022-06-28 15:13:26.535 +02:00 ERR Object reference not set to an instance of an object.
- ][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
- ][2022-06-28 15:13:59.983 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
- ][2022-06-28 15:13:59.988 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 15:14:00.037 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 44.3721ms
- ][2022-06-28 15:14:00.037 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:14:25.179 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/Insurer - -
- ][2022-06-28 15:14:25.180 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 15:14:25.197 +02:00 INF Executed action Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host) in 14.892ms
- ][2022-06-28 15:14:25.197 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoController.InsurerController.GetAll (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 15:14:36.651 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:14:36.651 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:14:36.652 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:14:36.727 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsurancePolicyMongo'.
- ][2022-06-28 15:14:36.751 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 96.4904ms
- ][2022-06-28 15:14:36.751 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:14:50.192 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - -
- ][2022-06-28 15:14:50.193 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:15:16.276 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:15:16.297 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:15:16.317 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:15:16.412 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:15:16.414 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:15:16.414 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:15:16.414 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 15:15:18.207 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - -
- ][2022-06-28 15:15:18.265 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:15:18.820 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO'.
- ][2022-06-28 15:15:18.852 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 564.1154ms
- ][2022-06-28 15:15:18.852 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:18:06.252 +02:00 INF Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:18:06.274 +02:00 INF Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:18:06.295 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:18:06.387 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:18:06.390 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:18:06.390 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:18:06.390 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][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
- ][2022-06-28 15:18:09.883 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:18:09.883 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:18:09.895 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:18:10.471 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO'.
- ][2022-06-28 15:18:10.512 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host) in 595.8674ms
- ][2022-06-28 15:18:10.513 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:18:30.483 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy - -
- ][2022-06-28 15:18:30.485 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 15:18:30.521 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 32.5496ms
- ][2022-06-28 15:18:30.522 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:18:43.680 +02:00 INF Request starting HTTP/1.1 DELETE http://localhost:5116/api/mongo/InsurancePolicy/62baff92d26fc3cb4b72952a - -
- ][2022-06-28 15:18:43.681 +02:00 INF CORS policy execution failed.
- ][2022-06-28 15:18:43.681 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 15:18:43.681 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Delete (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:18:43.713 +02:00 INF Executing StatusCodeResult, setting HTTP status code 200
- ][2022-06-28 15:18:43.713 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Delete (Diligent.WebAPI.Host) in 29.3622ms
- ][2022-06-28 15:18:43.713 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Delete (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][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'.
- ][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
- ][2022-06-28 15:19:31.729 +02:00 INF Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT 1
- ][2022-06-28 15:19:31.750 +02:00 INF Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
- ][2022-06-28 15:19:31.770 +02:00 INF Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
- SELECT [MigrationId], [ProductVersion]
- FROM [__EFMigrationsHistory]
- ORDER BY [MigrationId];
- ][2022-06-28 15:19:31.869 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:19:31.871 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:19:31.872 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:19:31.872 +02:00 INF Content root path: C:\Users\ermin.bronja\Desktop\Projekat\Diligent.WebAPI.Host\
- ][2022-06-28 15:19:38.070 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsurancePolicy/62bafebcc00af48281b2119a - -
- ][2022-06-28 15:19:38.128 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 15:19:38.650 +02:00 INF Executing ObjectResult, writing value of type 'Diligent.WebAPI.Host.MongoDTOs.InsurancePolicyMongo.InsurancePolicyReturnDTO'.
- ][2022-06-28 15:19:38.681 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 531.8141ms
- ][2022-06-28 15:19:38.682 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 15:59:42.172 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 15:59:42.214 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 15:59:42.214 +02:00 INF Hosting environment: Development
- ][2022-06-28 15:59:42.214 +02:00 INF Content root path: C:\Users\meris.ahmatovic\Desktop\New folder\Diligent.WebAPI.Host\
- ][2022-06-28 16:01:46.455 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 16:01:46.489 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 16:01:46.489 +02:00 INF Hosting environment: Development
- ][2022-06-28 16:01:46.489 +02:00 INF Content root path: C:\Users\meris.ahmatovic\Desktop\New folder\Diligent.WebAPI.Host\
- ][2022-06-28 16:01:54.746 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 16:01:54.953 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][2022-06-28 16:01:54.953 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][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
- ][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
- ][2022-06-28 16:01:55.062 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 16:02:02.637 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
- ][2022-06-28 16:02:02.649 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 16:02:03.386 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 719.8379ms
- ][2022-06-28 16:02:03.386 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 16:02:56.112 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 16:02:56.143 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 16:02:56.144 +02:00 INF Hosting environment: Development
- ][2022-06-28 16:02:56.144 +02:00 INF Content root path: C:\Users\meris.ahmatovic\Desktop\New folder\Diligent.WebAPI.Host\
- ][2022-06-28 16:03:02.646 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
- ][2022-06-28 16:03:02.726 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 16:03:03.796 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 1054.1091ms
- ][2022-06-28 16:03:03.797 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 16:03:19.965 +02:00 INF CORS policy execution failed.
- ][2022-06-28 16:03:19.966 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 16:03:19.966 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 16:03:20.198 +02:00 INF Executing CreatedAtActionResult, writing value of type 'Diligent.WebAPI.Data.Entities.InsuranceCompanyMongo'.
- ][2022-06-28 16:03:20.223 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host) in 246.483ms
- ][2022-06-28 16:03:20.223 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Post (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 16:03:25.095 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/api/mongo/InsuranceCompany - -
- ][2022-06-28 16:03:25.096 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 16:03:25.133 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host) in 37.3737ms
- ][2022-06-28 16:03:25.133 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsuranceCompanyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][2022-06-28 16:29:31.250 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 16:29:31.282 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 16:29:31.282 +02:00 INF Hosting environment: Development
- ][2022-06-28 16:29:31.282 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
- ][2022-06-28 16:32:35.767 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 16:32:35.795 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 16:32:35.795 +02:00 INF Hosting environment: Development
- ][2022-06-28 16:32:35.796 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
- ][2022-06-28 16:32:40.848 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 16:32:41.023 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][2022-06-28 16:32:41.023 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][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
- ][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
- ][2022-06-28 16:32:41.173 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][2022-06-28 16:33:02.091 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/v1.0/InsurancePolicy - -
- ][2022-06-28 16:33:02.100 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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).
- ][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]]'.
- ][2022-06-28 16:33:03.328 +02:00 INF Executed action Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host) in 1214.1783ms
- ][2022-06-28 16:33:03.329 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.MongoControllers.InsurancePolicyController.Get (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][2022-06-28 16:52:23.653 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 16:52:23.655 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 16:52:23.655 +02:00 INF Hosting environment: Development
- ][2022-06-28 16:52:23.656 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
- ][2022-06-28 16:52:46.041 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/index.html - -
- ][2022-06-28 16:52:46.181 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_framework/aspnetcore-browser-refresh.js - -
- ][2022-06-28 16:52:46.181 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/_vs/browserLink - -
- ][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
- ][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
- ][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
- ][2022-06-28 16:52:46.332 +02:00 INF Request starting HTTP/1.1 GET http://localhost:5116/swagger/v1/swagger.json - -
- ][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
- ][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
- ][2022-06-28 16:53:29.241 +02:00 INF CORS policy execution failed.
- ][2022-06-28 16:53:29.241 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 16:53:29.244 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 16:53:30.281 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host) in 1015.6063ms
- ][2022-06-28 16:53:30.282 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
- ][2022-06-28 16:53:30.384 +02:00 ERR Role CUSTOMER does not exist.
- ][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
- ][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
- ][2022-06-28 16:53:52.197 +02:00 INF CORS policy execution failed.
- ][2022-06-28 16:53:52.197 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 16:53:52.197 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 16:53:52.373 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
- ][2022-06-28 16:53:52.373 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host) in 173.2124ms
- ][2022-06-28 16:53:52.373 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 16:53:58.032 +02:00 INF CORS policy execution failed.
- ][2022-06-28 16:53:58.032 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 16:53:58.032 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 16:53:58.175 +02:00 WRN User validation failed: DuplicateUserName.
- ][2022-06-28 16:53:58.287 +02:00 WRN User validation failed: DuplicateUserName.
- ][2022-06-28 16:53:58.294 +02:00 INF Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.SerializableError'.
- ][2022-06-28 16:53:58.297 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host) in 265.1298ms
- ][2022-06-28 16:53:58.297 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 16:55:30.257 +02:00 INF CORS policy execution failed.
- ][2022-06-28 16:55:30.257 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 16:55:30.257 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 16:55:30.404 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
- ][2022-06-28 16:55:30.404 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host) in 147.0038ms
- ][2022-06-28 16:55:30.404 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
- ][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
- ][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.
- ][2022-06-28 16:57:23.319 +02:00 INF Now listening on: http://localhost:5116
- ][2022-06-28 16:57:23.322 +02:00 INF Application started. Press Ctrl+C to shut down.
- ][2022-06-28 16:57:23.322 +02:00 INF Hosting environment: Development
- ][2022-06-28 16:57:23.322 +02:00 INF Content root path: C:\Users\dzenis.hadzifejzovic\Desktop\Try\Diligent.WebAPI.Host\
- ][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
- ][2022-06-28 16:57:34.331 +02:00 INF CORS policy execution failed.
- ][2022-06-28 16:57:34.331 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 16:57:34.343 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 16:57:34.964 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
- ][2022-06-28 16:57:34.969 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host) in 601.8403ms
- ][2022-06-28 16:57:34.969 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.CreateRole (Diligent.WebAPI.Host)'
- ][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
- ][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
- ][2022-06-28 16:57:57.112 +02:00 INF CORS policy execution failed.
- ][2022-06-28 16:57:57.112 +02:00 INF Request origin http://localhost:5116 does not have permission to access the resource.
- ][2022-06-28 16:57:57.112 +02:00 INF Executing endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
- ][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).
- ][2022-06-28 16:57:57.657 +02:00 INF Executing StatusCodeResult, setting HTTP status code 201
- ][2022-06-28 16:57:57.657 +02:00 INF Executed action Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host) in 541.4726ms
- ][2022-06-28 16:57:57.657 +02:00 INF Executed endpoint 'Diligent.WebAPI.Host.Controllers.CustomerController.Create (Diligent.WebAPI.Host)'
- ][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
- ]
|