In this post, I’d like to show you a scenario, where OData makes perfect sense. This will be a React application with .Net Core 3.1 back-end with just a single endpoint serving filtered results. What is OData OData is a convention of building REST-ful interfaces, that define how resources should be exposed and how should… Continue reading OData as a flexible data feed for React search
Tag: .net core
Entity Framework Core health check
Health check are important, both of our selves, but also of ourrrrr micro-services. This is something I came across lately – a health check of your connection to a database via EF Core context. Let’s check this out! To add a health check to EF Core you need a project: WebAPI with .Net Core, I’m… Continue reading Entity Framework Core health check
12 things you need to know about .Net Core
.Net Core is an exciting framework to work with and if you’re wondering what is this fuss about, I’ll explain everything in just 12 statements. Let’s not wait anymore and start! 1. .Net Core is a completely new framework .Net Framework and .Net Core are completely separate frameworks. But why Microsoft decided to create something… Continue reading 12 things you need to know about .Net Core
Pimp your repo with GitHub Actions!
Do you have a GitHub account with a repository? Improve it with GitHub Actions! GitHub Actions lets you build your own workflows triggered by all kinds of events from your repositories. If you go and check this website, it looks very promising. Let’s start with a build To start working with GitHub Actions, just go… Continue reading Pimp your repo with GitHub Actions!
ASP.Net Core 3 – configuration
In this chapter, we will cover how we can use configuration in ASP.Net Core 3. But before diving in, let’s see for a moment how it looked in plain old ASP.Net Configuration before .Net Core In old ASP.Net configuration was handled typically in only one XML file – Web.config. It was a place where everything… Continue reading ASP.Net Core 3 – configuration
ASP.Net Core 3 – Dependency Injection
Dependency Injection is a fundamental concept in computer programming. Successfully implemented in many programming languages. What makes it so useful and how .Net Core 3 supports it? Let’s start with the definition. Dependency Injection is a software design pattern where dependencies are not created by the client, but rather passed to the client. In common… Continue reading ASP.Net Core 3 – Dependency Injection
ASP.Net Core 3 – pass parameters to actions
Passing parameters to actions is an essential part of building RESTful Web API. .Net Core offers multiple ways to pass parameters to methods, that represent your endpoints. Let’s see what they are. Pass parameter as a part of an url When passing a parameter in a url, you need to define a routing that would contain… Continue reading ASP.Net Core 3 – pass parameters to actions
.Net Core Global Tools – your custom app from nuget package
I love .net core. It is an awesome concept and a great, light framework to work with. One essential part of the framework environment is a .Net Core CLI. It’s a set of cross-platform tools and commands that can create, build and publish you app. Along with the platform comes also Global Tools, a concept… Continue reading .Net Core Global Tools – your custom app from nuget package
.Net Core – introduction
A .Net Core is a catchphrase that you can hear more and more often in both developer discussions and job offers. You probably already heard that it’s fast, simple and runs on multiple platforms. In this post, I’d like to sum everything up and highlight what I like the most about it. Why new framework?… Continue reading .Net Core – introduction
Code review #4 – in-memory caching
This is a post on a series about great code review feedback, that I either gave or received. You can go ahead and read the previous ones here: https://www.michalbialecki.com/2019/06/21/code-reviews/ The context Caching is an inseparable part of ASP.net applications. It is the mechanism that makes our web pages loading blazing fast with a very little… Continue reading Code review #4 – in-memory caching