[{"id":"36578901058","type":"IssueCommentEvent","actor":{"id":292014,"login":"andrewdavey","display_login":"andrewdavey","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","avatar_url":"https://avatars.githubusercontent.com/u/292014?"},"repo":{"id":103168458,"name":"imazen/imageflow-dotnet","url":"https://api.github.com/repos/imazen/imageflow-dotnet"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57","repository_url":"https://api.github.com/repos/imazen/imageflow-dotnet","labels_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/comments","events_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/events","html_url":"https://github.com/imazen/imageflow-dotnet/issues/57","id":2186310994,"node_id":"I_kwDOBiY5ys6CUHVS","number":57,"title":"ImageJob seems slow","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-03-14T12:55:06Z","updated_at":"2024-03-15T09:03:38Z","closed_at":"2024-03-15T09:03:38Z","author_association":"NONE","active_lock_reason":null,"body":"My ASP.NET Core web application is using `ImageJob` to resize images. I have a controller action result to handle the image processing.\r\n\r\nFor jpeg images that are 1 or 2MB, resizing to 200px wide (command string `w=200`), I'm seeing request times taking over 1 second. When a groups of image requests come in at once, they get progressively slower to run as well.\r\n\r\nThe web server is running in AWS ECS. Linux container. 2 vCPU. 4GB memory.\r\n\r\nMy project references Imageflow.AllPlatforms version 0.12.0.\r\n\r\nAm I doing anything badly, which would cause such slow responses?\r\n\r\n```c#\r\nclass ImageResult : IActionResult\r\n{\r\n readonly Stream imageSource;\r\n readonly string fileName;\r\n readonly string contentType;\r\n readonly string commandString;\r\n readonly ILogger logger;\r\n\r\n /// \r\n /// Supports commands like \"width=100&mode=max\"\r\n /// \r\n public ImageResult(\r\n Stream imageSource,\r\n string fileName,\r\n string contentType,\r\n string commandString,\r\n ILogger logger\r\n )\r\n {\r\n this.imageSource = imageSource;\r\n this.fileName = fileName;\r\n this.contentType = string.IsNullOrEmpty(contentType)\r\n ? InferMediaTypeFromFilename(fileName)\r\n : contentType;\r\n this.commandString = commandString;\r\n this.logger = logger;\r\n }\r\n\r\n public async Task ExecuteResultAsync(ActionContext context)\r\n {\r\n var response = context.HttpContext.Response;\r\n\r\n response.StatusCode = 200;\r\n\r\n var headers = response.GetTypedHeaders();\r\n headers.ContentDisposition = new ContentDispositionHeaderValue(\"inline\")\r\n {\r\n FileName = fileName\r\n };\r\n headers.ContentType = new MediaTypeHeaderValue(contentType);\r\n\r\n await SendImage(response.Body);\r\n }\r\n\r\n async Task SendImage(Stream outputStream)\r\n {\r\n var stopwatch = Stopwatch.StartNew();\r\n using var imageJob = new ImageJob();\r\n await imageJob\r\n .BuildCommandString(\r\n source: new StreamSource(imageSource, true),\r\n dest: new StreamDestination(outputStream, true),\r\n commandString: commandString\r\n )\r\n .Finish()\r\n .InProcessAndDisposeAsync();\r\n logger.LogDebug(\r\n \"ImageJob for {FileName} {commandString} took {Elapsed}ms\",\r\n fileName,\r\n commandString,\r\n stopwatch.ElapsedMilliseconds\r\n );\r\n }\r\n\r\n static string InferMediaTypeFromFilename(string fileName)\r\n {\r\n var ext = Path.GetExtension(fileName)?.ToLowerInvariant();\r\n return ext switch\r\n {\r\n \".png\" => \"image/png\",\r\n \".jpg\" or \".jpeg\" => \"image/jpeg\",\r\n \".gif\" => \"image/gif\",\r\n _ => \"application/octet-stream\"\r\n };\r\n }\r\n}\r\n```","reactions":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/timeline","performed_via_github_app":null,"state_reason":"completed"},"comment":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/comments/1999215748","html_url":"https://github.com/imazen/imageflow-dotnet/issues/57#issuecomment-1999215748","issue_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57","id":1999215748,"node_id":"IC_kwDOBiY5ys53KZyE","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"created_at":"2024-03-15T09:03:38Z","updated_at":"2024-03-15T09:03:38Z","author_association":"NONE","body":"Thank you for the fast response. I'll investigate using ImageFlow.NET Server, and close this issue.\r\n\r\nOut of interest, how well does ImageFlow.NET Server perform within a AWS Lambda? I guess there could be similar issues to ECS. Image requests are only a small percentage of my app's traffic. It would be great if running a lambda meant I didn't need to have a large EC2 instance running 24/7.","reactions":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/comments/1999215748/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-15T09:03:39Z","org":{"id":1761920,"login":"imazen","gravatar_id":"","url":"https://api.github.com/orgs/imazen","avatar_url":"https://avatars.githubusercontent.com/u/1761920?"}},{"id":"36578900788","type":"IssuesEvent","actor":{"id":292014,"login":"andrewdavey","display_login":"andrewdavey","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","avatar_url":"https://avatars.githubusercontent.com/u/292014?"},"repo":{"id":103168458,"name":"imazen/imageflow-dotnet","url":"https://api.github.com/repos/imazen/imageflow-dotnet"},"payload":{"action":"closed","issue":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57","repository_url":"https://api.github.com/repos/imazen/imageflow-dotnet","labels_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/comments","events_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/events","html_url":"https://github.com/imazen/imageflow-dotnet/issues/57","id":2186310994,"node_id":"I_kwDOBiY5ys6CUHVS","number":57,"title":"ImageJob seems slow","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-03-14T12:55:06Z","updated_at":"2024-03-15T09:03:38Z","closed_at":"2024-03-15T09:03:38Z","author_association":"NONE","active_lock_reason":null,"body":"My ASP.NET Core web application is using `ImageJob` to resize images. I have a controller action result to handle the image processing.\r\n\r\nFor jpeg images that are 1 or 2MB, resizing to 200px wide (command string `w=200`), I'm seeing request times taking over 1 second. When a groups of image requests come in at once, they get progressively slower to run as well.\r\n\r\nThe web server is running in AWS ECS. Linux container. 2 vCPU. 4GB memory.\r\n\r\nMy project references Imageflow.AllPlatforms version 0.12.0.\r\n\r\nAm I doing anything badly, which would cause such slow responses?\r\n\r\n```c#\r\nclass ImageResult : IActionResult\r\n{\r\n readonly Stream imageSource;\r\n readonly string fileName;\r\n readonly string contentType;\r\n readonly string commandString;\r\n readonly ILogger logger;\r\n\r\n /// \r\n /// Supports commands like \"width=100&mode=max\"\r\n /// \r\n public ImageResult(\r\n Stream imageSource,\r\n string fileName,\r\n string contentType,\r\n string commandString,\r\n ILogger logger\r\n )\r\n {\r\n this.imageSource = imageSource;\r\n this.fileName = fileName;\r\n this.contentType = string.IsNullOrEmpty(contentType)\r\n ? InferMediaTypeFromFilename(fileName)\r\n : contentType;\r\n this.commandString = commandString;\r\n this.logger = logger;\r\n }\r\n\r\n public async Task ExecuteResultAsync(ActionContext context)\r\n {\r\n var response = context.HttpContext.Response;\r\n\r\n response.StatusCode = 200;\r\n\r\n var headers = response.GetTypedHeaders();\r\n headers.ContentDisposition = new ContentDispositionHeaderValue(\"inline\")\r\n {\r\n FileName = fileName\r\n };\r\n headers.ContentType = new MediaTypeHeaderValue(contentType);\r\n\r\n await SendImage(response.Body);\r\n }\r\n\r\n async Task SendImage(Stream outputStream)\r\n {\r\n var stopwatch = Stopwatch.StartNew();\r\n using var imageJob = new ImageJob();\r\n await imageJob\r\n .BuildCommandString(\r\n source: new StreamSource(imageSource, true),\r\n dest: new StreamDestination(outputStream, true),\r\n commandString: commandString\r\n )\r\n .Finish()\r\n .InProcessAndDisposeAsync();\r\n logger.LogDebug(\r\n \"ImageJob for {FileName} {commandString} took {Elapsed}ms\",\r\n fileName,\r\n commandString,\r\n stopwatch.ElapsedMilliseconds\r\n );\r\n }\r\n\r\n static string InferMediaTypeFromFilename(string fileName)\r\n {\r\n var ext = Path.GetExtension(fileName)?.ToLowerInvariant();\r\n return ext switch\r\n {\r\n \".png\" => \"image/png\",\r\n \".jpg\" or \".jpeg\" => \"image/jpeg\",\r\n \".gif\" => \"image/gif\",\r\n _ => \"application/octet-stream\"\r\n };\r\n }\r\n}\r\n```","reactions":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/timeline","performed_via_github_app":null,"state_reason":"completed"}},"public":true,"created_at":"2024-03-15T09:03:38Z","org":{"id":1761920,"login":"imazen","gravatar_id":"","url":"https://api.github.com/orgs/imazen","avatar_url":"https://avatars.githubusercontent.com/u/1761920?"}},{"id":"36550051973","type":"IssuesEvent","actor":{"id":292014,"login":"andrewdavey","display_login":"andrewdavey","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","avatar_url":"https://avatars.githubusercontent.com/u/292014?"},"repo":{"id":103168458,"name":"imazen/imageflow-dotnet","url":"https://api.github.com/repos/imazen/imageflow-dotnet"},"payload":{"action":"opened","issue":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57","repository_url":"https://api.github.com/repos/imazen/imageflow-dotnet","labels_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/comments","events_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/events","html_url":"https://github.com/imazen/imageflow-dotnet/issues/57","id":2186310994,"node_id":"I_kwDOBiY5ys6CUHVS","number":57,"title":"ImageJob seems slow","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2024-03-14T12:55:06Z","updated_at":"2024-03-14T12:55:06Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"My ASP.NET Core web application is using `ImageJob` to resize images. I have a controller action result to handle the image processing.\r\n\r\nFor jpeg images that are 1 or 2MB, resizing to 200px wide, I'm seeing request times taking over 1 second. When a groups of image requests come in at once, they get progressively slower to run as well.\r\n\r\nThe web server is running in AWS ECS. Linux container. 2 vCPU. 4GB memory.\r\n\r\nMy project references Imageflow.AllPlatforms version 0.12.0.\r\n\r\nAm I doing anything badly, which would cause such slow responses?\r\n\r\n```c#\r\nclass ImageResult : IActionResult\r\n{\r\n readonly Stream imageSource;\r\n readonly string fileName;\r\n readonly string contentType;\r\n readonly string commandString;\r\n readonly ILogger logger;\r\n\r\n /// \r\n /// Supports commands like \"width=100&mode=max\"\r\n /// \r\n public ImageResult(\r\n Stream imageSource,\r\n string fileName,\r\n string contentType,\r\n string commandString,\r\n ILogger logger\r\n )\r\n {\r\n this.imageSource = imageSource;\r\n this.fileName = fileName;\r\n this.contentType = string.IsNullOrEmpty(contentType)\r\n ? InferMediaTypeFromFilename(fileName)\r\n : contentType;\r\n this.commandString = commandString;\r\n this.logger = logger;\r\n }\r\n\r\n public async Task ExecuteResultAsync(ActionContext context)\r\n {\r\n var response = context.HttpContext.Response;\r\n\r\n response.StatusCode = 200;\r\n\r\n var headers = response.GetTypedHeaders();\r\n headers.ContentDisposition = new ContentDispositionHeaderValue(\"inline\")\r\n {\r\n FileName = fileName\r\n };\r\n headers.ContentType = new MediaTypeHeaderValue(contentType);\r\n\r\n await SendImage(response.Body);\r\n }\r\n\r\n async Task SendImage(Stream outputStream)\r\n {\r\n var stopwatch = Stopwatch.StartNew();\r\n using var imageJob = new ImageJob();\r\n await imageJob\r\n .BuildCommandString(\r\n source: new StreamSource(imageSource, true),\r\n dest: new StreamDestination(outputStream, true),\r\n commandString: commandString\r\n )\r\n .Finish()\r\n .InProcessAndDisposeAsync();\r\n logger.LogDebug(\r\n \"ImageJob for {FileName} {commandString} took {Elapsed}ms\",\r\n fileName,\r\n commandString,\r\n stopwatch.ElapsedMilliseconds\r\n );\r\n }\r\n\r\n static string InferMediaTypeFromFilename(string fileName)\r\n {\r\n var ext = Path.GetExtension(fileName)?.ToLowerInvariant();\r\n return ext switch\r\n {\r\n \".png\" => \"image/png\",\r\n \".jpg\" or \".jpeg\" => \"image/jpeg\",\r\n \".gif\" => \"image/gif\",\r\n _ => \"application/octet-stream\"\r\n };\r\n }\r\n}\r\n```","reactions":{"url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/imazen/imageflow-dotnet/issues/57/timeline","performed_via_github_app":null,"state_reason":null}},"public":true,"created_at":"2024-03-14T12:55:08Z","org":{"id":1761920,"login":"imazen","gravatar_id":"","url":"https://api.github.com/orgs/imazen","avatar_url":"https://avatars.githubusercontent.com/u/1761920?"}},{"id":"35663236221","type":"IssueCommentEvent","actor":{"id":292014,"login":"andrewdavey","display_login":"andrewdavey","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","avatar_url":"https://avatars.githubusercontent.com/u/292014?"},"repo":{"id":313752068,"name":"belav/csharpier","url":"https://api.github.com/repos/belav/csharpier"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/belav/csharpier/issues/1177","repository_url":"https://api.github.com/repos/belav/csharpier","labels_url":"https://api.github.com/repos/belav/csharpier/issues/1177/labels{/name}","comments_url":"https://api.github.com/repos/belav/csharpier/issues/1177/comments","events_url":"https://api.github.com/repos/belav/csharpier/issues/1177/events","html_url":"https://github.com/belav/csharpier/issues/1177","id":2131945771,"node_id":"I_kwDOErN6BM5_Eukr","number":1177,"title":"editorconfig dotnet_sort_system_directives_first = false ignored","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-02-13T10:09:06Z","updated_at":"2024-02-14T09:08:15Z","closed_at":"2024-02-14T09:08:15Z","author_association":"NONE","active_lock_reason":null,"body":"I've upgraded the dotnet-csharpier tool from 0.23.0 to 0.27.2. It now wants to change the sort order of all my `using` directives.\r\n\r\nMy `.editorconfig` has:\r\n\r\n```\r\ndotnet_sort_system_directives_first = false\r\n```\r\n\r\nBut it seems this is ignored by csharpier.\r\n\r\nIs there anyway to avoid needing to reformat every file in my repository?\r\n","reactions":{"url":"https://api.github.com/repos/belav/csharpier/issues/1177/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/belav/csharpier/issues/1177/timeline","performed_via_github_app":null,"state_reason":"completed"},"comment":{"url":"https://api.github.com/repos/belav/csharpier/issues/comments/1943343858","html_url":"https://github.com/belav/csharpier/issues/1177#issuecomment-1943343858","issue_url":"https://api.github.com/repos/belav/csharpier/issues/1177","id":1943343858,"node_id":"IC_kwDOErN6BM5z1RLy","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"created_at":"2024-02-14T09:08:15Z","updated_at":"2024-02-14T09:08:15Z","author_association":"NONE","body":"Thank you for the quick response on this. I'll apply the new formatting.","reactions":{"url":"https://api.github.com/repos/belav/csharpier/issues/comments/1943343858/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-02-14T09:08:16Z"},{"id":"35663236009","type":"IssuesEvent","actor":{"id":292014,"login":"andrewdavey","display_login":"andrewdavey","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","avatar_url":"https://avatars.githubusercontent.com/u/292014?"},"repo":{"id":313752068,"name":"belav/csharpier","url":"https://api.github.com/repos/belav/csharpier"},"payload":{"action":"closed","issue":{"url":"https://api.github.com/repos/belav/csharpier/issues/1177","repository_url":"https://api.github.com/repos/belav/csharpier","labels_url":"https://api.github.com/repos/belav/csharpier/issues/1177/labels{/name}","comments_url":"https://api.github.com/repos/belav/csharpier/issues/1177/comments","events_url":"https://api.github.com/repos/belav/csharpier/issues/1177/events","html_url":"https://github.com/belav/csharpier/issues/1177","id":2131945771,"node_id":"I_kwDOErN6BM5_Eukr","number":1177,"title":"editorconfig dotnet_sort_system_directives_first = false ignored","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-02-13T10:09:06Z","updated_at":"2024-02-14T09:08:15Z","closed_at":"2024-02-14T09:08:15Z","author_association":"NONE","active_lock_reason":null,"body":"I've upgraded the dotnet-csharpier tool from 0.23.0 to 0.27.2. It now wants to change the sort order of all my `using` directives.\r\n\r\nMy `.editorconfig` has:\r\n\r\n```\r\ndotnet_sort_system_directives_first = false\r\n```\r\n\r\nBut it seems this is ignored by csharpier.\r\n\r\nIs there anyway to avoid needing to reformat every file in my repository?\r\n","reactions":{"url":"https://api.github.com/repos/belav/csharpier/issues/1177/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/belav/csharpier/issues/1177/timeline","performed_via_github_app":null,"state_reason":"completed"}},"public":true,"created_at":"2024-02-14T09:08:16Z"},{"id":"35640086151","type":"IssuesEvent","actor":{"id":292014,"login":"andrewdavey","display_login":"andrewdavey","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","avatar_url":"https://avatars.githubusercontent.com/u/292014?"},"repo":{"id":204887173,"name":"mailslurp/mailslurp-client-csharp","url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp"},"payload":{"action":"opened","issue":{"url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp/issues/5","repository_url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp","labels_url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp/issues/5/comments","events_url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp/issues/5/events","html_url":"https://github.com/mailslurp/mailslurp-client-csharp/issues/5","id":2132538171,"node_id":"I_kwDODDZUhc5_G_M7","number":5,"title":"Upgrade to RestSharp 110.2.0","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2024-02-13T15:06:19Z","updated_at":"2024-02-13T15:06:19Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"My application depends on a package, which has recently upgraded to depend on RestSharp 110.2.0.\r\n\r\nThis new version contains an incompatibly with 108.0.2, which results in exceptions like:\r\n\r\n```\r\nSystem.MissingMethodException : Method not found: 'RestSharp.RestRequest RestSharp.RestRequestExtensions.AddFile(RestSharp.RestRequest, System.String, Byte[], System.String, System.String, RestSharp.FileParameterOptions)'.\r\n```\r\n\r\nI had a quick look at bumping the version for mailslurp, but this also involves changes to `CustomJsonCodec` because `ISerializer` changed.","reactions":{"url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp/issues/5/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/mailslurp/mailslurp-client-csharp/issues/5/timeline","performed_via_github_app":null,"state_reason":null}},"public":true,"created_at":"2024-02-13T15:06:21Z","org":{"id":47079142,"login":"mailslurp","gravatar_id":"","url":"https://api.github.com/orgs/mailslurp","avatar_url":"https://avatars.githubusercontent.com/u/47079142?"}},{"id":"35630623386","type":"IssuesEvent","actor":{"id":292014,"login":"andrewdavey","display_login":"andrewdavey","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","avatar_url":"https://avatars.githubusercontent.com/u/292014?"},"repo":{"id":313752068,"name":"belav/csharpier","url":"https://api.github.com/repos/belav/csharpier"},"payload":{"action":"opened","issue":{"url":"https://api.github.com/repos/belav/csharpier/issues/1177","repository_url":"https://api.github.com/repos/belav/csharpier","labels_url":"https://api.github.com/repos/belav/csharpier/issues/1177/labels{/name}","comments_url":"https://api.github.com/repos/belav/csharpier/issues/1177/comments","events_url":"https://api.github.com/repos/belav/csharpier/issues/1177/events","html_url":"https://github.com/belav/csharpier/issues/1177","id":2131945771,"node_id":"I_kwDOErN6BM5_Eukr","number":1177,"title":"editorconfig dotnet_sort_system_directives_first = false ignored","user":{"login":"andrewdavey","id":292014,"node_id":"MDQ6VXNlcjI5MjAxNA==","avatar_url":"https://avatars.githubusercontent.com/u/292014?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewdavey","html_url":"https://github.com/andrewdavey","followers_url":"https://api.github.com/users/andrewdavey/followers","following_url":"https://api.github.com/users/andrewdavey/following{/other_user}","gists_url":"https://api.github.com/users/andrewdavey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdavey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdavey/subscriptions","organizations_url":"https://api.github.com/users/andrewdavey/orgs","repos_url":"https://api.github.com/users/andrewdavey/repos","events_url":"https://api.github.com/users/andrewdavey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdavey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2024-02-13T10:09:06Z","updated_at":"2024-02-13T10:09:06Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"I've upgraded the dotnet-csharpier tool from 0.23.0 to 0.27.2. It now wants to change the sort order of all my `using` directives.\r\n\r\nMy `.editorconfig` has:\r\n\r\n```\r\ndotnet_sort_system_directives_first = false\r\n```\r\n\r\nBut it seems this is ignored by csharpier.\r\n\r\nIs there anyway to avoid needing to reformat every file in my repository?\r\n","reactions":{"url":"https://api.github.com/repos/belav/csharpier/issues/1177/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/belav/csharpier/issues/1177/timeline","performed_via_github_app":null,"state_reason":null}},"public":true,"created_at":"2024-02-13T10:09:07Z"}]