Rico Suter (@RicoSuter) header
Rico Suter (@RicoSuter) profile picture

Independent Software Engineer and Architect focusing on .NET and Microsoft technologies. Creator of NSwag, NJsonSchema & other OSS, https://nitter.cf/t.co/QXH92jly5D, Microsoft MVP

Switzerland
Joined October 2009
Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)Photo by Rico Suter (@RicoSuter)
NSwag v13.15.0 released: Now with much faster code generation using Fluid liquid library. Warning: Syntax of templates changed slightly because of the new dependency. Thanks @markolahma for all the help and @sebastienros for the great Fluid library. github.com/RicoSuter/NSwag
1
8
1
21
Hey .NET experts: How can we copy XML Docs from referenced NuGet packages to the output folder? Is there a .csproj config for that? #dotnet
2
2
2
For context: NSwag (OpenAPI) needs these files to generate documentation, so currently e.g. ProblemDetails have no descriptions. I think this behavior changed in the .NET Core 3 release.
NSwag v13.14.0 now fully supports .NET 6 #nswag #openapi #swagger #dotnet Now the OpenAPI/Swagger and Client Code generator can be used with the latest .NET version! Here's how to use it in Minimal APIs:
4
45
3
223
Cool, Saunter - an AsyncAPI spec generator for .NET - is now using NJsonSchema for schema gen. Check it out and start describing the API of your event driven services. It's like #OpenAPI/#Swagger for message/event, queue based systems. #DotNET #AsyncAPI github.com/tehmantra/saunter
1
2
6
Replying to @pete_codes
@pete_codes wanted to say thx for the .NET 5 install script for raspberry pi (works on raspi 4). Tried on my old Model B Rev 2 until i figured it’s ARMv6..
1
1
Same problem I see with MS choosing Swashbuckle over NSwag in the default Web API project template (.NET 5).. hard to compete this way..
1
2
NSwag v13.9, the OpenAPI/Swagger spec generator for ASP NET Core now supports .NET 5.0! Too bad it's not an option to choose from when creating a new API project in VS 2019... #DotNet #DotNet5 #AspNetCore github.com/RicoSuter/NSwag
2
5
11
Additionally we improved Nullable Reference Type support in the schema generator and dropped .NET Core 1.0, 1.1 and 2.0 support...
1
1
Hey .NET devs: If you want more insights about a NuGet package, navigate to its details page and replace “nuget.org” with “apimundo.com” to discover all its namespaces, types (.NET APIs) and where it’s used... ex: apimundo.com/organizations/n… #dotnet #nuget
3
3
6
Replying to @AppInsights
@AppInsights is there some docs how to generate AI query links, i.e. how to encode the query for the links?
Yay, I’ve been reawarded as a Microsoft MVP and my new project apiverse.io has all MVP features: Full NuGet index, microservice api docs and monitoring (OpenAPI/gRPC/GraphQL) and Git/csproj dependency scanning. What do you think? apiverse.io/organizations/nu… #MVPBuzz
6
5
1
18
.NET OSS developers can link to the package page so that they always have an up-to-date documentation of their package and the contained .NET types (with xml docs) Microservice implementors can document their service endpoints and the dependencies of the .NET projects and NuGets
DNT (DotNetTools) - a .NET global tool to manage projects snd solutions, eg bump versions and switch from packages to projects - now supports .NET Core 3.1! #DotNet #DotNetCore github.com/RicoSuter/DNT
2
4
NSwag v13.1.0 now fully supports .NET Core 3.0! Start generating OpenAPI/Swagger specs in #AspNetCore 3.0 now... The latest version even supports the new C# 8's Nullable Reference Types feature (screenshot). github.com/RicoSuter/NSwag #DotNetCore #dotNETConf #OpenAPI #CSharp8
2
57
1
137
Dependency Injection in .NET: A way to work around missing named registrations blog.rsuter.com/dotnet-depen…
1
1
Will F# also support/compile C# 8 Nullable Reference Types metadata attributes? github.com/dotnet/roslyn/blo… /cc @isaac_abraham
1
#NJsonSchema v10 now supports reflecting Null Reference Types when generating JSON Schemas from #DotNet types. Soon also available in #NSwag v13. #CSharp github.com/RicoSuter/NJsonSc… (it uses the latest C# 8 compiler preview and thus might break if it changes in the future)
1
1
1
6
BTW: The used NRT (Null Reference Types) reflection API is in an own library: github.com/RicoSuter/Namotio…
Shortest way to do a parameter null check in #CSharp? public void Foo(string bar) { _ = bar ?? throw new ArgumentNullException(nameof(bar)); The _ will throw away the result and instructs the compiler to optimize away the assignment. #DotNet sharplab.io/#v2:CYLg1APgAgTA…
4