dotNET Weekly
Add a link
LoginRegister
PrevJune 2020Next
WSMTWTFS
2331123456
2478910111213
2514151617181920
2621222324252627
272829301234

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!

BlakeOnLan - A 100-line Wake-on-LAN app using Blazor Server to wake your devices remotely on your home network.

by yugabe, 2020-05-28T14:30:52.879Z

I use Remote Desktop in the house to RDP onto our HTPC in the living room, but sometimes the TV is already in use. If the device is not awake, I have to go over and power it on. Lazyness prevails, as from now I don't have to go over, just push the Wake button on this app :) I wanted to make the source as small as possible, and managed to only need two files in total (plus the .csproj file): the Pages\_Host.cshtml (22 lines) for hosting the Blazor Server app, and an App.razor file (78 lines), which contains the only component of the app, for a grand total of exactly 100 lines of source code! This was just a fun experiment to see how much boilerplate could be omitted. No wwwroot, Program.cs (the App.razor contains the Main method) or Startup.cs (the services and pipeline are configured inline in the Main method)! For the full source, visit my repo at: https://github.com/yugabe/BlakeOnLan

asp.net-coreblazor

Blazor how-to’s: create a chat application – part 1: introduction

by mizrael@yahoo.it, 2020-05-26T20:01:10.968Z

Here we are for another episode of Blazor how-to's! This time we'll see how we can easily create a chat application with Blazor and .NET Core.

.net-coreasp.net-coreblazorc#

Build native apps for any device with .NET

by bill-s, 2020-05-29T01:25:59.708Z

Learn about recent Xamarin features and Visual Studio productivity gains you can take advantage of today, as well as peek into the future of building native, cross-platform apps with .NET.

xamarin

C# Tutorial - Make a flappy bird game in windows form

by bill-s, 2020-05-29T01:27:54.694Z

This is one of the first tutorials I've written for MOOICT, now its on the fully explained tutorials. This video will take you through how to make the flappy bird game in visual studio with Windows form and C# programming. All of the components, images, data types, events and functions are written and explained in the video. Hope you like the video and see you on the next one.

.net

Fluent Validation in ASP.NET Core 3 – Powerful Validations

by iammukeshm, 2020-05-29T18:05:52.992Z

When it comes to Validating Models, aren’t we all leaning towards Data Annotations? There are quite a lot of serious issues with this approach for a scalable system. There is a library, Fluent Validations that can turn up the validation game to a whole new level, giving you total control. In this article, we will talk about Fluent Validation and it’s implementation in ASP.NET Core Applications. We will discuss the preferred alternative to Data Annotations and implement it in an ASP.Net core API.

.net-core

Cærostris, a Blazor WebAssembly Spotify client

by tresoneur, 2020-05-28T16:07:16.630Z

Cærostris is an open-source PWA (Progressive Web App) created with Blazor, running on WebAssembly. Build your own Spotify client in C# by using Cærostris' Razor Class Library, SpotifyService.

.net.net-coreblazorc#open-source

Event Sourcing in .NET Core - part 4: query models

by mizrael@yahoo.it, 2020-05-25T22:04:28.387Z

Hi All! Welcome to the fourth part of the series about Event Sourcing. This time we'll see how we can leverage the events to refresh our Query Models.

.net-coreasp.net-coredddevents

From Microsoft Teams to Fluid Framework—here’s what’s new and coming soon to Microsoft 365

by bill-s, 2020-05-29T02:01:49.234Z

It’s opening day for Build, and the first time we’re holding our annual developer conference entirely online. In this era of remote everything, technology is enabling us to keep providing experiences like Build even though we can’t meet in person. As CEO Satya Nadella put it recently, “We’ve seen two years’ of digital transformation in two months.” And as a company, we are so excited to translate what we’ve learned into new features and enhancements that help our customers stay productive and connected. At a moment when we’re all adapting to an evolving reality, these experiences are designed to enable you to keep work moving, no matter what.

tools

How does ASP.NET Core processes a request?

by bill-s, 2020-05-29T02:03:57.957Z

In this post, I’ll explain how a request comes into the ASP.NET Core web server and how it returns a response to the browser.

asp.net-core

Introducing App Service Static Web Apps

by bill-s, 2020-05-29T01:58:49.558Z

Modern web apps are increasingly adopting static front-end design patterns with client-side processing powered by JavaScript. This paradigm requires us to think differently about how we deploy and host web apps that don’t rely on web servers and consequently require a new structure of supporting cloud resources. This week at Build, our annual celebration of all things developer, we are happy to announce that Azure App Service has been expanded with a new hosting offer tailored specifically for static web apps, empowering developers to focus on the business logic that differentiates their apps rather than the infrastructure that hosts them. App Service Static Web Apps is now available in preview for developers building modern, full-stack JavaScript web apps with static front-ends and optional dynamic back-ends powered by serverless APIs.

azure

How Microsoft is making Edge the best browser for PWAs

by bill-s, 2020-05-29T02:05:46.437Z

In recent years Progressive Web Apps have become a growing trend, pushed by web giants and mobile developers alike, as they allow to bring native-like experiences to any platform.

.net

Introducing .NET Multi-platform App UI

by bill-s, 2020-05-29T01:26:45.852Z

You can build anything with .NET. It’s one of the main reasons millions of developers choose .NET as the platform for their careers, and companies invest for their businesses. With .NET 5 we begin our journey of unifying the .NET platform, bringing .NET Core and Mono/Xamarin together in one base class library (BCL) and toolchain (SDK).

.net

Manage your cloud and hybrid environments like a pro with event-based automation

by bill-s, 2020-05-29T01:59:54.485Z

Azure Functions support for PowerShell brings a common event-driven platform that developers & IT pros can use to orchestrate automation tasks through an end-to-end development experience within Visual Studio Code and integration with other Azure services - such as Logic Apps, Event Grid, or Azure Monitor. Join us to learn some canonical scenarios of event-based automation that will help you and your teams automate tasks, control costs, or processing alerts in real-time without polling for them.

azure

Serilog in ASP.NET Core 3.1 – Structured Logging Made Easy

by iammukeshm, 2020-05-27T16:50:20.759Z

In this article, let’s go through Serilog in ASP.NET Core 3.1 and it’s implementations. Now by default, ASP.NET Core comes with some basic logging features built-in. You must have seen the ILogger interface throughout your ASP.NET Core Application. But what if we want more control over how and where to log the details? That is where Logging Frameworks / Libraries come into play. Out of all of them, Serilog is one of the most popular Libraries for ASP.NET Core Applications.

.net-core

Refresh Tokens in ASP.NET Core APIs – JWT Authentication

by iammukeshm, 2020-05-27T16:49:41.505Z

To enhance the security of APIs that already use JWT Tokens, even more, we use something called Refresh Tokens. What are they? Refresh Tokens are random numbers/strings/combinations that are sent as a response along with the JSON Web Token back to the client, with which a user can request for valid JWT. Issues it solves. What if an attacker gets hold of your JWT Token? With this token, he could potentially access a secured API mimicking your usage, and compromise the entire service if he wants to. This is bad. With JWT Token, it is advised that they must expire is less than a day (due to the above security concern). Usually, the standard is a few hours tops. So what happens when the token expires? The user get's logged out of the system and is prompted to log in again with his/her credentials. Now that is bad user experience in today's world. I have written a detailed Article/ Guide on Refresh Tokens in ASP.NET Core APIs. Give it a look.

.net-core

The Windows Subsystem for Linux BUILD 2020 Summary

by bill-s, 2020-05-29T02:00:10.646Z

This year at an all virtual BUILD conference we had many exciting announcements for the Windows Subsystem for Linux (WSL)! This blog post gives you a summary of all the WSL news, including what’s available now and what you can expect in the future.

.net

Tackle Big-O Notation in .NET Core

by bill-s, 2020-05-29T01:57:15.395Z

Performance sensitive code is often overlooked in business apps. This is because high-performance code might not affect outcomes. Concerns with execution times are ignorable if the code finishes in a reasonable time. Apps either meet expectations or not, and performance issues can go undetected. Devs, for the most part, care about business outcomes and performance is the outlier. When response times cross an arbitrary line, everything flips to less than desirable or unacceptable.

.net-core

Using Azure Key Vault with ASP.NET Core

by yekuta, 2020-05-28T07:13:35.401Z

In this post, I will explain how to access Azure Key Vault from an ASP.NET Core application which runs on the local development environment.

asp.netasp.net-coreazure

Visual Studio 2019: New Windows Terminal has arrived, how to enhance it with posh-git for GIT usage?

by anthonygiretti, 2020-05-25T02:24:17.585Z

The new Windows Terminal has arrived on Visual Studio 2019 16.6 for Windows and Visual Studio 8.6 for Mac. In this article I will show how to enhance it with posh-git for a better experience with GIT commands.

visual-studio

Welcome to C# 9.0

by bill-s, 2020-05-29T01:27:03.172Z

C# 9.0 is taking shape, and I’d like to share our thinking on some of the major features we’re adding to this next version of the language.

.net

NewslettersAboutPrivacy Policy