by nickproud180, 2020-11-10T22:44:53.387Z
I’ve been recently working on a gateway service hosted in Azure that is primarily a TCP server. One of the key requirements of the project is that it allows clients running a desktop-based windows service to initiate a handshake over TCP when their respective service is started, and then keeps a connection open between the client and server for the receipt of messages at any given time.
However, this presented a problem. Azure doesn’t like me doing this.
by bill-s, 2020-11-09T20:46:37.583Z
Had my first experience with setting up a GraphQL API in ASP.NET Core 3.1 today using GraphQL-DotNet. Using their examples as inspiration to get started you'll find that there's nothing in the .NET Core sample regarding on how-to protect the endpoint that their middleware maps to. So in this post I'll show how you can leverage the ASP.NET Core Routing & Endpoints construct to require authorization against a middleware.
by robertinoc, 2020-11-11T00:19:43.163Z
What's new in .NET 5? Learn how .NET Core and .NET Framework evolve into the new cross-platform framework.
by bill-s, 2020-11-09T20:44:34.420Z
Make JSON greppable!
gron transforms JSON into discrete assignments to make it easier to grep for what you want and see the absolute 'path' to it. It eases the exploration of APIs that return large blobs of JSON but have terrible documentation.
by bill-s, 2020-11-09T20:43:02.904Z
Last week, when speaking at .NET Developer Days, I got a question about the query cache in Entity Framework Core – is it shared across DbContexts or is it per instance? With this question I realized I know how the cache work(ed) in Entity Framework 6, but I’m not entirely sure how it’s done in Entity Framework Core. Time to explore! And you can go with me.
by mizrael, 2020-11-09T03:33:35.362Z
Hi All! Today I want to show a quick’n’dirty way to easily deploy your projects to Azure using Powershell.
I’ve been working a lot recently with Azure Functions and Web Apps. And of course, each time I’m confident with my code, I want to see it deployed on the Cloud.
by bill-s, 2020-11-09T20:42:37.417Z
Progressive Web Apps (PWAs) enables a website to make make a lot of interactions that are app-like. Among these are Push Notifications. This is a functionality that enables you to make native notifications for many different devices and to invoke these notifications even when the browser is not active. A lot of websites like the Twitter web app use this functionality with its original intent, but there are of cause also sites who use it maliciously. In this article, we will show how you can subscribe to Push Notifications using ASP.NET Core and how you can send Push Notifications from .NET as well.
by mizrael, 2020-11-10T21:10:13.586Z
How to migrate Blazor Webassembly to .NET 5
by bill-s, 2020-11-09T20:49:02.231Z
Like Redux, Recoil is a state management library in React. Let’s look at the differences and how to make the switch when you’re ready.
Managing complex state in React can sometimes be hard, which is why some of us use Redux or similar libraries like MobX to manage state in React.
Recoil is another state management library that is closely modeled towards React’s Hooks API. It allows you to define the shared state as atoms, and computed state which it refers to as selectors. If you want to learn about the limitation the team at Facebook faced and how they tried to solve it with recoil, you can watch this video.
by bill-s, 2020-11-09T20:48:32.232Z
by miguelbernard, 2020-11-10T16:14:42.136Z
.NET 5 is here, and it's incredible! But... yes, there's a but. With all good things also come to some less good things. After all, it's impossible to make an omelet without breaking a few eggs, and .NET 5 is no exception. If you try to migrate from .NET Core 3.1 to .NET 5 you may run into a few breaking changes. Before jumping in with that migration and taking advantage of all the new features, make sure you have considered what may break first.
by Ramiro.nd, 2020-11-09T12:37:01.384Z
An in-depth look at some of the (many) challenges of implementing a dependable WebSocket solution for .NET client apps.
by iammukeshm, 2020-11-09T10:59:29.313Z
In this article, we will learn about Using Entity Framework Core and Dapper in ASP.NET Core together in the same application. Another major point of discussion will be Transactions. By the end of the article, we will have an application that works with both Entity Framework Core and Dapper alongside each other, but also intelligent enough to rollback data whenever there is an exception with the process.
We will also take a look at ValidatR, a simple Library for .NET Core that can make you code clean and readable by eliminating the use of IF Clauses unnecessarily.
Topics Covered -
1. Dapper vs Entity Framework Core
2. Important Aspect to Handle – Transactions
3. Using Entity Framework Core and Dapper in ASP.NET Core
4. Setting up the Solution and Project
5. Adding the Domain Entities
6. Designing the Interfaces
7. Setting up EntityFrameworkCore & Dapper
8. Wiring up with the Controller
9. Introducing ValidatR – One Line Exception Thrower