Andreas Nägeli ed607b702d [genhttp] Update to 10.2 (#10393) 3 days ago
..
akazawayun.pro fb3e557c52 akazawayun.pro updates version. (#10327) 2 weeks ago
appmpower 761a47ac52 Upgrade to .NET 10.0.1 (#10382) 6 days ago
aspnetcore e605445baa Update .NET version to 10.0 for CSharp/aspnetcore (#10241) 2 weeks ago
aspnetcore-mono a050d10624 Update the set of broken implementations (#10268) 1 month ago
beetlex 45dadf82f7 Bump Microsoft.Extensions.Caching.Memory 1 year ago
ben 1011ac3bd6 Revert "Update connection string (#6567)" (#6576) 4 years ago
carter 0096f84ee9 Config for the new toolset (#6259) 5 years ago
celerio 6823e07aa4 Add Celerio C# framework benchmark (#10129) 2 months ago
easyrpc 023723455d Upgrading to EasyRpc 5.0.0 (#6525) 4 years ago
embedio fced31e613 Update some CSharp frameworks to latest (#10184) 1 month ago
evhttp-sharp f4b141265b [ci skip] Update the set of broken implementations (#7969) 2 years ago
fastendpoints 939321d3a6 [CSharp] Migrate `FastEndpoints` to .NET 9 (#9566) 9 months ago
genhttp ed607b702d [genhttp] Update to 10.2 (#10393) 3 days ago
nancy 79dc06489f [CSharp] Update Nancy to NET 7.0 (#7776) 3 years ago
netcoreserver fced31e613 Update some CSharp frameworks to latest (#10184) 1 month ago
reaper 8ce95456d2 Csharp/Reaper - Update to .NET 9 / Latest Version (#9432) 1 year ago
revenj a050d10624 Update the set of broken implementations (#10268) 1 month ago
servicestack-v6 df657eedab [CSharp] add `ServiceStack v6` json/plaintext tests (#7050) 3 years ago
simplew 136a9a668c Add simplew framework (#10237) 1 month ago
sisk 732b6bf7d3 update versions (#10331) 2 weeks ago
touchsocket b0ad9a31a6 update(touchsocket):display name (#10379) 6 days ago
watson 72cffb8bbb Fix and update Watson to latest (#10183) 1 month ago
wiredio 578ba1353a Adjust worker threads (#10352) 2 weeks ago
.editorconfig 3b1a34487f [C#][aspnetcore] feat - Upgrade to .NET 6 LTS (#6914) 3 years ago
.gitignore 7dd3c03941 Update .NET Dockerfiles to use Microsoft Container Registry (#4919) 6 years ago
README.md 03b1cea4da Update ASP.Net Core version to 3.1 (LTS) (#5339) 6 years ago

README.md

C# (CSharp) Frameworks

The information below contains information specific to C#. For further guidance, review the documentation.

Infrastructure Software Versions

Adding a New C# Framework

Different Mono Versions

While we have not currently run into the need to have multiple simultaneous Mono installations, it is possible

Debugging Mono + NuGet

Mono understands an environment variable MONO_LOG_LEVEL=debug that is helpful for checking that mono is properly working e.g. loading necessary DLL's.

Most NuGet commands understand a -Verbosity flag, which is great because the error messages can be completely mystifying when working with Mono too. Use this would enable all the debugging you can:

$ MONO_LOG_LEVEL=debug mono NuGet2.exe update -Verbosity "detailed" -self

For example, aspnet was constantly failing with this message:

Could not connect to the feed specified at 'https://www.nuget.org/api/v2/'. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity.`. 

Using -Verbosity "detailed" shows that the real error is actually a Mono library problem, as so:

System.InvalidOperationException: Could not connect to the feed specified at 'https://www.nuget.org/api/v2/'. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity. ---> System.Net.WebException: libMonoPosixHelper.so ---> System.DllNotFoundException: libMonoPosixHelper.so
  at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative:CreateZStream (System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr)
  <snip>

More helpful info is here, here

Limited Travis-CI Verification

Because the verification system uses the linux-only Travis-CI service, verifying Windows-only tests has to be done manually and is very time consuming.

Consider including an additional test, likely based on Mono and FastCGI (e.g. xsp), that can run on Linux when submitting a new framework. This will drastically speed up our ability to merge in your pull request.

Get Help

C# Experts

There aren't any C# experts listed, yet. If you're an expert, add yourself!

C# Community

Discord: http://aka.ms/csharp-discord

Resources

If you stumble upon some helpful links or discussions, add them for easy reference for future contributors.

Note about this ServiceStack test

Only the default ngnix test for linux remains in the benchmark_config as it is the only one that has consistently appeared in final round results. The xsp tests and nginx database tests are not currently working, though the supporting files remain. Pull requests to fix these implementations are welcome!