dotNET Weekly
Add a link
LoginRegister
PrevJanuary 2019Next
WSMTWTFS
1303112345
26789101112
313141516171819
420212223242526
5272829303112

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!

Background tasks in ASP.NET Core

by bill-s, 2019-01-15T06:13:33.040Z

This post is about running background tasks in ASP.NET Core. In .NET Core 2.1, Microsoft introduced a new feature called IHostedService to allow developers to run a background service that can have a managed lifetime to its caller, be it from an ASP.NET Core or a console.

.net-core

Creating a top menu search bar in Blazor

by mirceateodor.oprea@gmail.com, 2019-01-13T14:54:08.853Z

In this article, Mircea Oprea goes through basic Blazor concepts by creating a simple application that searches through a feed of posts.

.net

Fixing .NET middle-age crisis with Java ReferenceQueue and Cleaner

by chrisnas, 2019-01-17T16:14:27.673Z

This post describe how to implement Java pattern in C# and solve the "middle-crisis" symptoms of the Garbage Collector in your applications.

.netdebuggingperformance

Find, Fix, and Avoid Memory Leaks in C# .NET: 8 Best Practices

by bill-s, 2019-01-15T08:41:55.770Z

Anyone who worked on a big enterprise project knows memory leaks are like rats in a big hotel. You might not notice when there are few of them, but you always have to be on guard in case they overpopulate, break into the kitchen, and poop on everything.

.net

Hosted Services In ASP.net Core

by bill-s, 2019-01-15T09:06:41.395Z

Hosted Services in the .NET Core world mean background tasks in everyday developer terms. If you’re living in the C# world, and even the Azure world, you actually already have a couple of options for doing background style tasks. Problems that you can solve using Hosted Services are probably similar to the problems you currently solve using Windows Services or Azure WebJobs. So first, let’s take a look at some comparisons.

.net

How You Can Create a .NET Core Application Using Entity Framework Core with Oracle

by julias, 2019-01-15T08:18:42.795Z

While Entity Framework support is already a quite common feature of different data provider products, support for Entity Framework Core is not yet as widely available. Especially if it concerns Entity Framework Core on .NET Core. Today I will tell you about an ADO.NET provider for Oracle that provides such features.

.net

Let's Encrypt - Looking Forward to 2019

by bill-s, 2019-01-15T07:05:23.400Z

Let’s Encrypt had a great year in 2018. We’re now serving more than 150 million websites while maintaining a stellar security and compliance track record. Most importantly though, the Web went from 67% encrypted page loads to 77% in 2018, according to statistics from Mozilla. This is an incredible rate of change!

tools

Policy-based Authorization in ASP.NET Core – A Deep Dive

by bill-s, 2019-01-15T06:16:29.300Z

Authentication and Authorization are two terms you would often come across when reading about the security of web applications. While the former is used to validate a user’s credentials, the latter is used to grant access to one or more resources of the application to a user. There are two ways in which you can implement authorization in ASP.NET Core. These include role-based authorization and policy-based authorization. Role-based authorization has been in use from the previous versions of ASP.NET. Policy-based authorization has been newly introduced in ASP.NET Core and provides a rich, expressive and reusable authorization model to secure applications developed in ASP.NET Core. This article presents a discussion on how you can work with policy-based authorization in ASP.NET Core.

asp.net-core

Running async tasks on app startup in ASP.NET Core (Part 1)

by bill-s, 2019-01-15T06:47:50.051Z

Sometimes you need to perform one-off initialisation logic before your app starts up properly. For example, you might want to validate your configuration is correct, populate a cache, or run database migrations. In this post, I look at the options available and show some simple methods and extension points that I think solve the problem well. I start by describing the built-in solution to running synchronous tasks with IStartupFilter. I then walk through the various options for running asynchrnous tasks. You could (but possibly shouldn't) use IStartupFilter or IApplicationLifetime events to run asynchronous tasks. You could use the IHostedService interface to run one-off tasks without blocking app startup. However the only real solution is to run the tasks manually in program.cs. In my next post I'll show a suggested proposal that makes this process a little easier.

asp.net-core

TWC9: Unlimited Free Private GitHub Repos, Python in Azure App Service, CES Highlights and more

by bill-s, 2019-01-12T07:53:42.815Z

[00:20] Microsoft Ignite: The Tour continues to ramp up. [00:48] Microsoft IoT and AI stuff at CES 2019 and some Windows device highlightsfrom CES. [01:37] GitHub Offers Unlimited Free Private Repos [02:40] Updates to GitHub Pull Request Extension for VS Code [03:05] Python 2.7 Support for App Service on Linux and more on native Python support on Azure App Service [03:34] Starting the .NET Open Source Revolution [04:23] Deploy Externally Generated R Models to Azure Machine Learning Studio Web Services [04:35] Five Microsoft Learn Modules for Getting Started with Azure [04:42] The IoT Show: Microsoft Professional Program for Azure IoT [04:50] Xamarin Show: Essential API of the Week, Connectivity [04:55] Azure Friday: Interning in Azure Engineering [05:06] DevOps Interviews: Agile Planning [05:23] Christina's Pick of the Week: The Slightly Sketchy 1990s 'Computer Fairs,' A Major Part Of My Gaming History

.net

TypeScript 2.8: Conditional Types

by bill-s, 2019-01-13T03:09:24.449Z

TypeScript 2.8 introduced conditional types, a powerful and exciting addition to the type system. Conditional types let us express non-uniform type mappings, that is, type transformations that differ depending on a condition.

.net

NewslettersAboutPrivacy Policy