dotNET Weekly
Add a link
LoginRegister
PrevApril 2020Next
WSMTWTFS
142930311234
15567891011
1612131415161718
1719202122232425
18262728293012

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!

Autoencoders for Content-based Image Retrieval with Keras and TensorFlow

by bill-s, 2020-03-30T18:52:51.131Z

In this tutorial, you will learn how to use convolutional autoencoders to create a Content-based Image Retrieval system (i.e., image search engine) using Keras and TensorFlow.

machine-learning

Displaying enum as select list in ASP.NET Core

by bill-s, 2020-03-30T18:56:15.436Z

Some properties of model classes come as enums and we want to show enum values in select list when edit form is opened. Sometimes we want enum element names but sometimes we want to use custom names or even translations. his blog post demonstrates how to get enum element names to select list on ASP.NET Core.

asp.net-core

Getting Started With .NET Localization

by bill-s, 2020-03-30T18:56:59.930Z

I have a dirty little secret to admit, and I hope you don’t think less of me for saying so. I have never localized any application that I’ve ever built. Phew, I feel better getting that off my chest. I like to think it’s something we’ve all done. We start our projects with the best intentions of helping as many users as possible, only to hardcode our labels, messages, and documentation. It begins innocently enough, “I’ll just hardcode it for now and come back to it later.” We never come back to “it”. Now we’ve limited the number of potential users we can help because we only target our native tongue. In this post, we’ll see how straightforward it is to add localization to any .NET application. Our code will be more readable, appeal to a broader userbase, and we’ll be better developers for taking the extra step of localization.

.net

gRPC & ASP.NET Core 3.1: How to create a gRPC service ?

by bill-s, 2020-03-30T19:02:47.658Z

RPC & ASP.NET Core 3.1: What’s gRPC ? (introduction) gRPC & ASP.NET Core 3.1: How to create a gRPC service ? gRPC & ASP.NET Core 3.1: How to create a gRPC client ? gRPC & ASP.NET Core 3.1: What’s gRPC-web & how to create a gRPC-web service ? gRPC & ASP.NET Core 3.1: How to create a gRPC-web client ? Examples with Angular 8 and HttpClient gRPC & ASP.NET Core 3.1: Global error Handling in gRPC & gRPC status codes gRPC & ASP.NET Core 3.1: Resiliency with Polly gRPC & ASP.NET Core 3.1: Audit, logging, tracing & metrics gRPC & ASP.NET Core 3.1: Application Insights gRPC & ASP.NET Core 3.1: Manage Authentication and Authorization gRPC & ASP.NET Core 3.1: Inputs validation gRPC & ASP.NET Core 3.1: CRUD operations with Entity framework gRPC & ASP.NET Core 3.1: Healthchecks gRPC & ASP.NET Core 3.1: Versionning gRPC & ASP.NET Core 3.1: Unit testing gRPC & ASP.NET Core 3.1: Integration testing gRPC & ASP.NET Core 3.1: Upload / download files gRPC & ASP.NET Core 3.1: Caching gRPC & ASP.NET Core 3.1: Building streaming services with gRPC & Worker Services

asp.net-core

gRPC & ASP.NET Core 3.1: Resiliency with Polly

by anthonygiretti, 2020-04-01T03:27:59.388Z

gRPC clients in .NET Core are definitely compatible compatible with Polly.Let's see they work together

.net-core

gRPC & ASP.NET Core 3.1: What’s gRPC-web & how to create a gRPC-web service ?

by anthonygiretti, 2020-03-30T05:31:58.050Z

In the summer of 2016, both a team at Google and Improbable independently started working on implementing something that could be called “gRPC for the browser”. This article discussed on how to create a gRPC-web service in ASP.NET Core 3.1

asp.net-core

.NET for Apache Spark

by bill-s, 2020-03-31T17:09:42.950Z

.NET for Apache Spark provides high performance APIs for using Apache Spark from C# and F#. With these .NET APIs, you can access the most popular Dataframe and SparkSQL aspects of Apache Spark, for working with structured data, and Spark Structured Streaming, for working with streaming data. .NET for Apache Spark is compliant with .NET Standard - a formal specification of .NET APIs that are common across .NET implementations. This means you can use .NET for Apache Spark anywhere you write .NET code allowing you to reuse all the knowledge, skills, code, and libraries you already have as a .NET developer. .NET for Apache Spark runs on Windows, Linux, and macOS using .NET Core, or Windows using .NET Framework. It also runs on all major cloud providers including Azure HDInsight Spark, Amazon EMR Spark, AWS & Azure Databricks. Note: We currently have a Spark Project Improvement Proposal JIRA at SPIP: .NET bindings for Apache Spark to work with the community towards getting .NET support by default into Apache Spark. We highly encourage you to participate in the discussion.

.net

NLog Tutorial - The essential guide for logging from C#

by ThomasArdal, 2020-03-31T06:37:20.040Z

The ultimate tutorial for NLog. Learn about everything from logging and structured log messages to layout renderers and configuration of common targets.

.net.net-corec#

Offline storage in a PWA

by bill-s, 2020-03-30T18:09:16.606Z

When you are building any kind of application it's typical to want to store information which persists beyond a single user session. Sometimes that will be information that you'll want to live in some kind of centralised database, but not always. Also, you may want that data to still be available if your user is offline. Even if they can't connect to the network, the user may still be able to use the app to do meaningful tasks; but the app will likely require a certain amount of data to drive that. How can we achieve this in the context of a PWA?

javascript

Pluralsight Skills is FREE all April!!

by bill-s, 2020-04-01T16:05:57.785Z

The way we work and live has changed a lot in the past few weeks, but we’re all in this together. With so much uncertainty it's even more important than ever to help your users sharpen their skills. That’s why we’re making all of our video courses and more FREE for the month of April. And we mean free. No credit card required. No watch limits. Although things are weird right now, you can make the best of it by investing in yourself and your skills. What can your users do with a free month of Pluralsight? * Grow their career with 7,000+ expert-led video courses on top tech topics * See where their skills stand and what they need to work on with Pluralsight IQ * Build the right skills in the right order with paths that streamline skill development

.net

Optimize database traffic with future results in NHibernate

by bill-s, 2020-03-30T18:59:47.206Z

One nice feature that NHibernate has is future results. It is technically a capability to put queries on hold until data is actually asked. When data is asked from one delayed query then all queries are sent to database server as one batch and results are read also as one batch of multiple result sets. This blog post explains how to use future results with NHibernate.

performance

Hosting and ASP.NET Core API in a Container Part 1 of 2 – Building the Container

by bill-s, 2020-03-30T18:53:31.981Z

ASP.NET Core is a cross-platform, open-source framework for building modern , cloud-based, connected applications. With ASP.NET core you can build web apps, API APS, Microservices, mobile backends, and IoT apps. You can use your development tools of choice on Windows MacOS, and Linux. You can deploy in any cloud or on premises. You can run in native cloud services such as Azure Web Apps, Linux, or, Containers. Today we will build and demonstrate hosting an ASP.NET core api app “Blue Yonder Hotel Service” in a Docker Containers. The api will expose api service endpoint to call hotel services.

asp.net-core

Publish Nuget packages in Azure DevOps Pipelines

by bill-s, 2020-03-30T18:55:26.698Z

In Azure DevOps, Pipelines can be used to build your solution, create a Nuget package and publish the Nuget package to the Nuget feed for further usage. This post shows how you can implement this and use the new Nuget package in Visual Studio. Setup Azure DevOps project and git Repo Open the required Azure DevOps project, or create a new Azure DevOps project. Add a Pipeline build. This demo will create a Nuget package from a .NET Standard library using .NET Core. The yml file is created and added to the git source code. The dotnet core pipeline is used.

azure

Using the OAuth 2.0 device flow to authenticate users in desktop apps

by bill-s, 2020-03-30T18:54:54.129Z

OpenID Connect is an authentication layer built on top of OAuth 2.0, which means that you have to use one of the OAuth 2.0 authorization flows. A few years ago, there were basically two possible flows that you could use in a desktop client application to authenticate a user: Resource Owner Password Credentials Authorization Code The password flow is pretty easy to use (basically, just exchange the user’s login and password for a token), but it requires that the client app is highly trusted, since it gets to manipulate the user’s credentials directly. This flow is now disallowed by OAuth 2.0 Security Best Current Practice.

.net

NewslettersAboutPrivacy Policy