Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "feloff"

Problem found - had a helper app service that had a public access modifier. Not sure why it caused it to bomb, but fixed when corrected to internal.

got the same error with first swagger check after updating. his solution might work for me... many thanks

subsequent refresh gave the following error:

INFO 2019-07-24 21:22:05,069 [47 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://0.0.0.0:22742/
INFO 2019-07-24 21:22:05,074 [47 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'insuralise.Web.Controllers.HomeController.Index (insuralise.Web.Host)' INFO 2019-07-24 21:22:05,075 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing action insuralise.Web.Controllers.HomeController.Index (insuralise.Web.Host) INFO 2019-07-24 21:22:05,075 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method insuralise.Web.Controllers.HomeController.Index (insuralise.Web.Host) - Validation state: Valid INFO 2019-07-24 21:22:05,075 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method insuralise.Web.Controllers.HomeController.Index (insuralise.Web.Host), returned result Microsoft.AspNetCore.Mvc.RedirectToActionResult in 0.0396ms. INFO 2019-07-24 21:22:05,075 [47 ] ft.AspNetCore.Mvc.RedirectToActionResult - Executing RedirectResult, redirecting to /Ui. INFO 2019-07-24 21:22:05,075 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action insuralise.Web.Controllers.HomeController.Index (insuralise.Web.Host) in 0.7216ms INFO 2019-07-24 21:22:05,076 [47 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'insuralise.Web.Controllers.HomeController.Index (insuralise.Web.Host)' INFO 2019-07-24 21:22:05,076 [47 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 6.9385ms 302 INFO 2019-07-24 21:22:05,081 [47 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://0.0.0.0:22742/Ui
INFO 2019-07-24 21:22:05,086 [47 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'insuralise.Web.Controllers.UiController.Index (insuralise.Web.Host)' INFO 2019-07-24 21:22:05,087 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Route matched with {action = "Index", controller = "Ui", area = ""}. Executing action insuralise.Web.Controllers.UiController.Index (insuralise.Web.Host) INFO 2019-07-24 21:22:05,095 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method insuralise.Web.Controllers.UiController.Index (insuralise.Web.Host) - Validation state: Valid INFO 2019-07-24 21:22:05,669 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method insuralise.Web.Controllers.UiController.Index (insuralise.Web.Host), returned result Microsoft.AspNetCore.Mvc.ViewResult in 574.3107ms. INFO 2019-07-24 21:22:05,673 [47 ] Core.Mvc.ViewFeatures.ViewResultExecutor - Executing ViewResult, running view Index. INFO 2019-07-24 21:22:05,676 [47 ] Core.Mvc.ViewFeatures.ViewResultExecutor - Executed ViewResult - view Index executed in 4.2552ms. INFO 2019-07-24 21:22:05,676 [47 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action insuralise.Web.Controllers.UiController.Index (insuralise.Web.Host) in 589.0476ms INFO 2019-07-24 21:22:05,676 [47 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'insuralise.Web.Controllers.UiController.Index (insuralise.Web.Host)' INFO 2019-07-24 21:22:05,676 [47 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 594.9533ms 200 text/html; charset=utf-8 INFO 2019-07-24 21:22:08,231 [47 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://0.0.0.0:22742/swagger/index.html
INFO 2019-07-24 21:22:08,235 [47 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 4.5466ms 200 text/html INFO 2019-07-24 21:22:08,610 [50 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://0.0.0.0:22742/swagger/v1/swagger.json
ERROR 2019-07-24 21:22:08,952 [50 ] nostics.DeveloperExceptionPageMiddleware - An unhandled exception has occurred while executing the request. System.ArgumentException: An item with the same key has already been added. Key: x-schema at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value) at insuralise.Web.Swagger.SwaggerOperationFilter.Apply(Operation operation, OperationFilterContext context) in /Users/eloffs/Documents/Frederik Dev/insuralise 6.8.0/aspnet-core/src/insuralise.Web.Core/Swagger/SwaggerOperationFilter.cs:line 32 at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.CreateOperation(ApiDescription apiDescription, ISchemaRegistry schemaRegistry) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.CreatePathItem(IEnumerable1 apiDescriptions, ISchemaRegistry schemaRegistry) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer`1 comparer) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwagger(String documentName, String host, String basePath, String[] schemes) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware.<>c__DisplayClass0_0.<

Question

Would I be correct in assuming that cached items aren't tenancy safe, i.e. if one tenant loaded an entity into the cache, retrieving that entity can be done by all tenants?

E.g. if entity 1 belongs to tenant 1, and tenant 2 tries to load entity 1 from the database the tenant filter will block that request, but if entity1 is already stored in the entity cache created for that type of entity, there is no more tenantID filter and the entity can be retrieved from the cache by all tenants?

A simple workaround would be to append the tenant id to the key used, but that would mean not being able to use the EntityCache base classs?

Before I embark on my caching journey - could someone please confirm whether a entity cached property gets invalidated when the navigation properties change or only when the entity itself is updated or deleted? Searched the docs/support but couldn't confirm either way and don't want to implement based on the results of any potential experiments I can perform only Many thanks

Answer

Angular version. Restarted pc as a last resort and it stopped the overlay over the modals. Not been able to reproduce since. Suspect it was a simply a glitch, but will reopen if it returns.

Question

Just upgraded to 6.8 and my modal components are now hidden by the overlay. Especially for nested components i.e. I have a main component that contains sub components, where the sub components that display the modal components now hide the modal under the overlay. Any suggestions/help please.

Once it happens it happens to all modals. Attach a screen shot for adding a user.

Hi, In the ChatController (Web.Host Project) controller. Method: GetUploadedObject (Angular + Core project version 6.2.1) Kind regards,

There seems to be no validation for downloading binary objects using this method (used for downloading chat attachments). Is leaving all binary objects free for download not too big a hole in the security?

Answer
Question

I realised the "Add Friend" button shows an overlay over the entire screen (modal-backdrop fade in show). You can see the users matching the filtertext is loaded, but it is not possible to select anything or exit, i.e. you need to refresh the page to get rid of the overlay. I haven't made any changes to the sidebar/chat or related parts, and there aren't any errors.

This is the latest v6 angular.

I also tested "Add A Friend" with a test project: the commonlookupmodal that looks for users gives the same overlay, i.e. can't select and application is basically disabled, requiring a window refresh.

Please advice. Many thanks

Showing 21 to 30 of 32 entries