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
by [email protected], 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.
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.
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.
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.
by [email protected], 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.
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.
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.
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.
by bill-s, 2020-05-29T01:58:49.558Z
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.