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
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
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
Just blogged:
How to setup an #AspNetCore project with multiple API versions, OpenAPI generation and Azure API Management.
#NSwag #OpenAPI #DotNet #Azure
blog.rsuter.com/versioned-as…
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
“.NET Has a Third-Party Software Problem” by @prosetech
Interesting article about why it’s hard for 3rd party OSS .NET libs.
link.medium.com/Io06NGIwqdb
1
3
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
DNT (DotNetTools) - a .NET global tool to manage projects and solutions, e.g. bump versions and switch from packages to projects - now supports .NET 5.0! #DotNet #DotNet5 @dotnet
github.com/RicoSuter/DNT
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
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
NSwag v13.5.0 released (OpenAPI toolchain for .NET): Many bug fixes and improved System.Text.Json support (schema generator). #DotNet #OpenAPI #Swagger
github.com/RicoSuter/NSwag
System.Text.Json support is not complete yet, open tasks are tracked here: github.com/RicoSuter/NJsonSc…
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
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
Dependency Injection in .NET: A way to work around missing named registrations
blog.rsuter.com/dotnet-depen…
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)
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
Jus blogged about logging with ILogger in .NET: Recommendations and best practices
blog.rsuter.com/logging-with…



