dotnet

A collection of 21 post

Complex GET query param objects in Swashbuckle

How to bind complex objects as GET query params in Swashbuckle / Swagger in .Net Core?

Accessing localhost .Net Core WebAPI from a Docker container

How to access a development (localhost) instance of a .Net Core WebAPI from a Docker container?

Detecting anomalies in InfluxDB data using Twitter Anomaly Detection, WebAPI and Azure ML Studio

In this article we look at how to implement anomaly detection in your InfluxDB time-series data in Azure ML Studio without overloading your WebAPI service.

Tuple extension methods in C#7

How to use tuples as the main input argument of an extension method in C#?

Creating and consuming JWT tokens in .Net WebAPI

How to create and consume (read) JWT tokens in .Net WebAPI?

Converting to and from local time in C#/.Net with Noda Time

How to handle timezone conversions between utc and local time in C# / .Net using Noda Time library?

LLBLGen Pro ORM basics

A list of useful to know things about how to use LLBLGen Pro ORM

Fetching nested entities with LLBLGen Pro ORM

How to fetch (prefetch) nested entities in LLBLGen Pro ORM?

Filtering collections by non-existing child entities in LLBLGen Pro ORM

How to filter record collections by non-existing child entities with LLBLGen Pro ORM?

Filtering entity collections with LLBLGen Pro ORM

How to do basic entity filtering in LLBLGen Pro ORM?

Filtering nested entities with LLBLGen Pro ORM

How to filter prefetched (nested / child) entities in LLBLGen Pro ORM?

Filtering collections by LIKE operator in LLBLGen Pro ORM

How to filter record collections by the LIKE operator in LLBLGen Pro ORM?

Filtering collections by multiple field values in LLBLGen Pro ORM

How to filter record collections by multiple field values at the same time in LLBLGen Pro ORM?

Loading embedded resource images into PdfSharp/MigraDoc for non-web projects layers

How to add a solution resource image file into PdfSharp/MigraDoc?

Downloading / Streaming Azure Storage private container blobs to AngularJS through .Net WebAPI

This article explains how to stream private Azure Storage blobs through .Net WebAPI for usage in AngularJS apps.

PdfSharp / MigraDoc to Azure Storage in-memory upload

This blog post explains how to create a PDF in-memory and upload it straight to Azure Storage.

Handling .Net's model state with ValidationFilter attribute

In this article we explore creation of a C# method attribute to process your model objects and throw and return a 422 HTTP status code if the model validation fails. DRY.

Handling WebAPI exceptions with Angular http interceptor

How to implement a centralized place in your AngularJS app to handle all the .Net WebAPI exceptions and bad HTTP status codes that the server might return to the browser.

Invalidating AngularJS template cache with .Net BundleConfig.cs

How to invalidate cached AngularJS templates with BundleConfig.cs in .Net?

Enhancing RESTful WebAPI controllers with RPC style endpoints

How to add extra endpoints to WebAPI controllers besides the standard ones that don't have explicit routes?

Automatic WebAPI property casing serialization

How to change JSON property serialization in .Net WebAPI to lowerCamelCase?