atpyk

Results comments of atpyk

Same issue. I have an asp.net webapi backend service. The stacks are asp.net mvc, autofac, automapper, castle.dynamicproxy, entity framework core. All memory will be eaten, then service crash. Version is...

@wanton7 Many thanks. I will try your solutions.

I updated to 2.1.2 and deploy on Microsoft Azure webapp with win-x64, but no effect. @wanton7 ![dotnetcorememory](https://user-images.githubusercontent.com/7655860/43872770-edecbb74-9bb5-11e8-8cd5-50825722367b.png)

We use .net core MVC. @wanton7 I am doing analyze the memory. Maybe the Castle Dynamic Proxy lead to memory leak. ![memroy1](https://user-images.githubusercontent.com/7655860/43881892-505caa38-9be0-11e8-875a-6c32e2a40e47.png) ![memroy2](https://user-images.githubusercontent.com/7655860/43881905-5b29f448-9be0-11e8-86e3-66e863812b29.png) ![memroy3](https://user-images.githubusercontent.com/7655860/43881909-5ecdfcca-9be0-11e8-8b27-445f14a6392d.png) ![dynamicproxy](https://user-images.githubusercontent.com/7655860/43881916-61c483ae-9be0-11e8-8f29-8d0f05b9d6b6.png)

@sebastienros I think I have found the root cause that is the incorrect usage for Castle Dynamic Proxy. I have used the Autofac.Extras.DynamicProxy instead. So far, the memory maintained in...

@Ronan-Farrell How did you fix that issue, I ran into the same issue too. The .net core 1.0.3 installer cannot work.

services.AddIdentity(config => { config.Tokens.EmailConfirmationTokenProvider = TokenOptions.DefaultEmailProvider; }).AddEntityFrameworkStores()

Snapshot1: It takes too long time that is about 15mins. ![](https://raw.githubusercontent.com/atpyk/LinksOutside/master/gatewaytimeout.png) Snapshot2: ![](https://raw.githubusercontent.com/atpyk/LinksOutside/master/gatewaytimeout2.png)

It's my configuration for OpenId middle ware: ``` app.UseOpenIdConnectAuthentication(new OpenIdConnectOptions { AuthenticationScheme = "oidc", SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme, AutomaticAuthenticate = false, Authority = Settings["AuthorityUrl"], RequireHttpsMetadata = false, ClientId = "*****.dashboard", ClientSecret...

I forget to remove "OnMessageReceived" section, thanks for your mention.