dotNET Weekly
Add a link
LoginRegister
PrevMarch 2020Next
WSMTWTFS
923242526272829
101234567
11891011121314
1215161718192021
1322232425262728
142930311234

Want to receive every Tuesday the best .NET links?

Once subscribed you can login, submit a link and receive the weekly newsletter.

Join more than 4847 .NET professionals!

CQRS + Event Sourcing – Step by Step

by bill-s, 2020-02-28T04:11:33.189Z

A common issue I see is understanding the flow of commands, events and queries within a typical CQRS ES based system. The following post is designed to clear up what happens at each step. Hopefully this will help you to reason about your code and what each part does.

.net

Deploying Machine Learning Models – pt. 3: gRPC and TensorFlow Serving

by bill-s, 2020-02-28T03:20:51.748Z

In the previous articles, we explored how we can serve TensorFlow Models with Flask and how we can accomplish the same thing with Docker in combination with TensorFlow Serving. Both of these approaches utilized REST API. We were able to explore some good things regarding this approach. However, we also detected some shortcomings. The major ones are scalability and speed. In this article, we address both of those problems. Also, sometimes it feels unnatural to serve deep learning models with REST API because these are usually embedded within some kind of microservice. That is where gRPC comes into the picture. First, let’s get familiar with this technology and then we explore how we can use it in combination with TensorFlow Serving.

tools

Dependency Injection in Azure Functions with C#

by Layla-P, 2020-02-25T21:24:35.601Z

How to add Dependency Injection to Azure Functions

.net-core

Getting Started with CORS in ASP.NET Core

by bill-s, 2020-02-28T03:19:39.190Z

If you are using an API in your application, you probably have come across CORS at some point. And no, we are not talking about the successful Irish band that had many top hits in the 90s. That’s a different spelling anyways. We are talking about Cross-Origin Resource Sharing (CORS).

asp.net-core

Generate a PDF from ASP.NET Core for free

by ThomasArdal, 2020-02-25T06:16:19.674Z

Show you how to generate a PDF file from ASP.NET for free. There are a lot of paid components out there, but it doesn't have to cost you anything.

.net-coreasp.net-coreasp.net-mvc

GrandNode - e-commerce platform based on .NET Core and MongoDB

by pporabik, 2020-02-26T08:16:25.545Z

GrandNode seems to be one of the most advanced e-commerce platforms based on .NET Core and MongoDB. Without external plugins you can create marketplace with commissions for vendors, knowledge base, auction portal, portal with online courses.

.net-core

Null API Responses and HTTP 204 Results in ASP.NET Core

by bill-s, 2020-02-28T03:26:28.764Z

ASP.NET Core 3.x has a behavior that results in API results that return null from the controller action returning a HTTP 204 - No Content response rather than a null JSON result. Presumably the idea is that if you return null from an API, your intention is to return 'no content' and that sort of make sense in some cases. Except... when you're building an API null may actually have a meaning on the client or the client at minimum may be expecting a proper JSON response.

asp.net-core

Reinforcement Learning with Unity ML Agents

by bill-s, 2020-02-28T04:34:40.513Z

A couple of years ago Unity started working on a framework, that would enable training machine learning algorithms in virtual environments: ML-Agents Toolkit. It is used by a number of companies across the world, including famous DeepMind, to aid research in computer vision and robotics in such tasks as autonomous driving. In this post we present an example bot built with C# and TensorFlow framework, that learns to play a game in a simple Unity-based virtual environment using one of the state of the art reinforcement learning algorithms: soft actor-critic.

c#

Saving basic data in Blazor

by mirceateodor.oprea@gmail.com, 2020-02-26T10:47:17.261Z

In this tutorial, you will learn how to use Blazor to render a form, and save the data from it in a database, using Entity Framework.

raspberry-pi-3

Software architecture is like dominoes

by jpetrakovich, 2020-02-24T17:09:54.544Z

The author shares an analogy between dominoes and the popular line-of-business app architectures circulating in the .NET world.

.net

Visual Studio Online

by bill-s, 2020-02-28T04:26:22.768Z

Whether you’re part of a team or you’re a team of one, with Visual Studio Online you can easily plan, create, construct, build, test, and monitor seriously demanding applications, from anywhere. You don’t need a large infrastructure team, and you don’t need to touch a single server. As someone who has performed hundreds of Team Foundation Server (TFS) installations and upgrades as a consultant, I love how the drudgery of that kind of routine maintenance is now a thing of the past. Visual Studio Online is updated with the newest features automatically and continuously, so you can focus on what you need to do most: construct your applications!

vs

VS Code Integration with GitHub and Azure

by bill-s, 2020-02-28T04:33:57.238Z

In this episode, Robert is joined by Aaron Powell, who demonstrates Visual Studio Code and its integrations with GitHub and Azure. Aaron shows that VS Code provides a complete developer experience that enables you to spend more time and effort on coding and less time switching between tools. Visual Studio developers are used to this. Now, Visual Studio Code developers have this experience as well.

vs

Web Workers, comlink, TypeScript and React

by bill-s, 2020-02-28T04:12:12.843Z

JavaScript is famously single threaded. However, if you're developing for the web, you may well know that this is not quite accurate. There are Web Workers: A worker is an object created using a constructor (e.g. Worker()) that runs a named JavaScript file — this file contains the code that will run in the worker thread; workers run in another global context that is different from the current window. Given that there is a way to use other threads for background processing, why doesn't this happen all the time? Well there's a number of reasons; not the least of which is the ceremony involved in interacting with Web Workers. Consider the following example that illustrates moving a calculation into a worker:

javascript

NewslettersAboutPrivacy Policy