Setting up Swagger to support versioned API endpoints in ASP.NET Core

#234 – November 25, 2018

sponsor

You're getting the latest news on C#, but are your skills really up to date?

Just because you can code, doesn't mean you can pass a coding interview. Pramp is a peer-2-peer mock interviews platform, where you can practice your coding skills on demand. Pramp's matching algorithm will make sure you'll get to practice with other awesome engineers like yourself. After a few successful mock interviews, we'll reach out with real job offers at top companies. Practice for FREE and land your dream job.

this week's favorite

Setting up Swagger to support versioned API endpoints in ASP.NET Core

Versioning of your endpoints is important especially if you have 3rd party dependent clients of your REST API service. Any change in your endpoint, for example in data structure may impact clients even if it is backward compatible, clients may process your endpoint data in different ways, so even adding one additional property to your model may also impact functionality of the client which is consuming your endpoint.

Compiling C# to WASM with Mono and Blazor then Debugging .NET Source with Remote Debugging in Chrome DevTools

Blazor quietly marches on. In case you haven't heard (I've blogged about Blazor before) it's based on a deceptively simple idea - what if we could run .NET Standard code in the browsers? No, not Silverlight, Blazor requires no plugins and doesn't introduce new UI concepts. What if we took the AOT (Ahead of Time) compilation work pioneered by Mono and Xamarin that can compile C# to Web Assembly (WASM) and added a nice UI that embraced HTML and the DOM?

Razor support in Visual Studio Code now in Preview

Earlier this week we released a preview of support for working with Razor files (.cshtml) in the C# extension for Visual Studio Code (1.17.1). This initial release introduces C# completions, directive completions, and basic diagnostics (red squiggles for errors) for ASP.NET Core projects.

9 Must Decisions in Desktop Application Development for Windows

Desktop application development dominated the software world for many years. However, with the rise of the internet, web applications took over with an incredible pace. When smartphones became popular, mobile applications came to be in huge demand, pushing desktop applications into third place.

How to easily start using CosmosDB in your C# application in no time with Cosmonaut

I’ve used a lot of document-based NoSQL databases. CosmosDB is by far my favourite, mainly because it’s much more than a simple NoSQL database. Things like the cosmic scale, the different API options, the change feed or even the emulator that Microsoft provides are amazing.

newsletters