C# Digest #406: Adding authentication and authorisation to ASP.NET Core web applications

And more news, tutorials and articles about C# and .NET in this week's issue.

#406 — March 14, 2022 View in browser

C# Digest

Spread the word, build the community, share the knowledge – invite your friends.

sponsor

Create a better interface for any business problem with Retool

You don't have to be a frontend expert to build beautiful apps. Retool provides a powerful platform to build your UI, connect your data, and publish your app 10x faster. Skip the boilerplate code with 90+ pre-built UI components, and write custom code nearly anywhere to customize how your apps look and work.

this week's favorite

Adding authentication and authorisation to ASP.NET Core web applications

One feature that a lot of web applications will need to include is the ability restrict access to certain resources within the application to authorised users only. To do this, we need to be able to authenticate users by letting them register and log in. Once authenticated, the server will be able to determine which resources the user should have access to.

PriorityQueue in .NET 6

I am honestly surprised that after seeing for several years the different implementations of PriorityQueue included internally in Microsoft Frameworks, now they have been exposed publicly, and this thanks to the arrival of .NET 6. In this article, we are going to know the possibilities of PriorityQueue.

Loop around index with C# collections

This post will show two implementations for building an IndexAtLooped extension method for the IList interface.

Zack.DotNetTrimmer

This application can be used for trimming .NET Core applications. Although .NET Core has the capability of tailoring unused code, however, because it is implemented using static analysis, its tailoring is not optimal. In contrast, Zack.DotNetTrimmer supports Windows Forms and WPF. It analyzes the assemblies loaded by an application at runtime to check which assemblies are not being used, so it not only deletes more assemblies that are not being used, but also naturally supports reflection.

Performance vs. scalability

Performance and scalability are two related but separate aspects of a system. However, there is a lot of confusion around the two terms, which often leads to architectural mistakes. This article talks about the difference between the two concepts and how to improve them.

how did you like this issue?

1 = didn't like it at all and 5 = loved it and shared it with everyone I know

newsletters


© 2022 Bonobo Press
Would you like to advertise or post a job with us? Check out our latest media kit.
If you no longer wish to receive these emails, click to unsubscribe.

Older messages

C# Digest #405: Modelling workflows with Finite State Machines in .NET

Sunday, March 6, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #405 — March 07, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

C# Digest #404: Making illegal states unrepresentable

Sunday, February 27, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #404 — February 28, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite

C# Digest #403: Range & Index — C#8 features under the radar

Sunday, February 20, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #403 — February 21, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite

C# Digest #402: What is the cost of casting in C#?

Sunday, February 13, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #402 — February 14, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite

C# Digest #401: Colors in .NET: In-depth guide

Sunday, February 6, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #401 — February 07, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite

You Might Also Like

🐍 New Python tutorials on Real Python

Saturday, January 11, 2025

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Iterators and Iterables in Python: Run Efficient

Life Update: Me. In Shorts. In Antarctica [Pics Inside 🧊]

Saturday, January 11, 2025

And yes, I jumped in. It taught me a lot 😅 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Google Researcher Uncovers Zero-Click Exploit Targeting Android Devices

Saturday, January 11, 2025

THN Daily Updates Newsletter cover The Kubernetes Book: Navigate the world of Kubernetes with expertise , Second Edition ($39.99 Value) FREE for a Limited Time Containers transformed how we package and

📧 Working with LLMs in .NET using Microsoft.Extensions.AI

Saturday, January 11, 2025

​ Working with LLMs in .NET using Microsoft․Extensions․AI Read on: m​y website / Read time: 6 minutes The .NET Weekly is brought to you by: ​Transform your database performance with RavenDB​:

iOS Dev Weekly – Issue 694

Friday, January 10, 2025

Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1664 [Easy]

Friday, January 10, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. A permutation can be specified by an array P , where P[i] represents the

Spyglass Dispatch: The Case for a For-Profit OpenAI

Friday, January 10, 2025

RIP Venu • A More Political and Real Time Threads • An OpenAI Auction • Apple's Tough 2025 The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely topics

⌨️ 10 Mods to Improve Your Mechanical Keyboard — How to Set Up Quick Share on Windows

Friday, January 10, 2025

Also: Why Are Tech Companies Trying to Sell Me Expensive Clocks? How-To Geek Logo January 10, 2025 Did You Know Famed biologist Charles Darwin and US President Abraham Lincoln were born on the same day

Your best friends in design

Friday, January 10, 2025

​ Working With Designers Product manager & UX designer collaboration guide. How members of your product team work together is just as important as the work itself. A fundamental relationship within

Charted | How Canada Would Rank as the 51st State 📊

Friday, January 10, 2025

Donald Trump has floated the idea that Canada should be the 51st state. Here's how it compares statistically. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power AI's