Skip to content

Commit

Permalink
Spanify DynamicQueryable (#485)
Browse files Browse the repository at this point in the history
This fixes the current analyser suggestions/warnings when building AspNetCore hosting about several places in query deserialisation where span's should be used instead of substring.

Performance and allocations might be better, but the main driver is to remove build output when building the AspNetCore hosting project.

Apart from that it also changes naming of private fields to better match the rest of the code base

* Add System.Collections.Immutable nuget dependency to WCF Hosting and update other dependencies
  • Loading branch information
Daniel-Svensson authored Feb 8, 2024
1 parent 46b789d commit d9710a1
Show file tree
Hide file tree
Showing 8 changed files with 302 additions and 229 deletions.
7 changes: 6 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Unreleased
# Unreleased (5.5.0)

### Server
* Reduced allocatgions when parsing queries on server (both WCF and AspNetCore hosting) in https://github.com/OpenRIAServices/OpenRiaServices/pull/485
* Update nuget dependencies and add new dependencies to OpenRiaServices.Hosting.Wcf
* `System.Collections.Immutable` and `System.Memory` are new dependencies of Wcf hosting

* .NET Framework builds now includes the smaller portable pdb's instead of of the old "full" windows style pdb's
* NOTE: For .NET Framework apps ensure that *supportedRuntime* in *app.config* and corresponding setting in *web.config* does not specify an older runtime if you wan't line numbers in stack traces.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
</description>
<summary>Open RIA Services - Server-side assemblies and configuration</summary>
<releaseNotes>For release notes see https://github.com/OpenRIAServices/OpenRiaServices/releases</releaseNotes>
<copyright>2019 Outercurve Foundation</copyright>
<copyright>2024 .NET Foundation</copyright>
<language>en-US</language>
<tags>WCF RIA Services RIAServices Server aspnet OpenRiaServices</tags>
<dependencies>
<group targetFramework="net472">
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="8.0.0"/>
<dependency id="OpenRiaServices.Server" version="$version$"/>
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="7.0.0"/>
<dependency id="System.Collections.Immutable" version="8.0.0" />
<dependency id="System.Memory" version="4.5.5"/>
</group>
</dependencies>
</metadata>
Expand All @@ -33,4 +35,4 @@
<file src="..\..\src\bin\Release\net472\OpenRiaServices.Hosting.Wcf.pdb" target="lib\net472\OpenRiaServices.Hosting.Wcf.pdb" />
<file src="..\..\src\bin\Release\net472\OpenRiaServices.Hosting.Wcf.xml" target="lib\net472\OpenRiaServices.Hosting.Wcf.xml" />
</files>
</package>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
<ProjectReference Include="..\..\..\Test\Desktop\OpenRiaServices.Common.DomainServices.Test\OpenRiaServices.Common.DomainServices.Test.csproj" />
<ProjectReference Include="..\..\Framework\OpenRiaServices.Hosting.AspNetCore.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\..\OpenRiaServices.Hosting.Wcf\Test\Linq\*.cs" LinkBase="Linq" />
</ItemGroup>
</Project>
Loading

0 comments on commit d9710a1

Please sign in to comment.