You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #56460 (comment) we are making SignalR server compatible with native AOT. Investigating the extra 2.2 MB of app size in a SignalR app over the dotnet new webapiaot template, the largest difference that can be trimmed is from cutting System.Text.RegularExpressions out of the app. The reason it gets pulled in is because this calls AddRouting and not AddRoutingCore.
In the past investigations, Regex adds roughly 750 KB of app size in native AOT (see #46142 and #46227). We added AddRoutingCore for this specific reason.
In #56460 (comment) we are making SignalR server compatible with native AOT. Investigating the extra
2.2 MB
of app size in a SignalR app over thedotnet new webapiaot
template, the largest difference that can be trimmed is from cuttingSystem.Text.RegularExpressions
out of the app. The reason it gets pulled in is because this callsAddRouting
and notAddRoutingCore
.aspnetcore/src/SignalR/common/Http.Connections/src/ConnectionsDependencyInjectionExtensions.cs
Lines 21 to 23 in 0da8ea7
In the past investigations, Regex adds roughly
750 KB
of app size in native AOT (see #46142 and #46227). We addedAddRoutingCore
for this specific reason.cc @BrennanConroy
The text was updated successfully, but these errors were encountered: