Requiring MFA for Admin Pages in an ASP.NET Core Identity application

Nice article from Damien.

damienbod's avatarSoftware Engineering

This article shows how MFA could be forced on users to access sensitive pages within an ASP.NET Core Identity application. This could be useful for applications where different levels of access exist for the different identities. For example, users might be able to view the profile data using a password login, but an administrator would be required to use MFA to access the admin pages.

Code: https://github.com/damienbod/AspNetCoreHybridFlowWithApi

Blogs in this series

Extending the Login with a MFA claim

The application is setup using ASP.NET Core with Identity and Razor Pages. In this demo, the SQL Server was replaced with SQLite, and the nuget packages were updated. The AddIdentity method is used instead of AddDefaultIdentity one, so…

View original post 344 more words

.Net 5.0 : The future of .Net

In my previous post I added links to get the archived presentations and sessions for .Net Conf 2019 which you can find here. In this quick post we will see what is long term .Net release schedule and what is the near future of .Net. .Net Core 3.0 .Net Core 3.0 is current major release … Continue reading .Net 5.0 : The future of .Net

Archive for .Net Conf 2019 presentations and sessions

You might have followed .Net Conf which is one of the biggest conferences for Microsoft technology stacks. I wrote a small post for .Net Conf before few days which you can find here. Even though you might have followed some sessions from .Net Conf, it is very tough to catch all the sessions as they … Continue reading Archive for .Net Conf 2019 presentations and sessions

Adding external authentication with a Microsoft account

Very nice article: Adding external authentication with a Microsoft account

Sam Smith's avatarSam Learns Azure

Today, we are going to add external authentication to our website, enabling us to restrict some features to logged in users. As we don’t want to manage users and passwords ourselves, we will utilize other authentication services, such as Microsoft Live/Account, Google, Twitter, and Facebook. Today, we will setup the infrastructure and connect to the Microsoft account, and then next week, show how to connect to Google, Twitter and Facebook too.

Upgrading to .Net Core 2.2

Before we start to add the authentication code, we are quickly going to upgrade to .Net Core 2.2, from 2.1. This was surprisingly easy for us – perhaps because of our automated testing. We didn’t have to update any code, except for the compatibility line in startup.cs in our web service and web site. This also gave us an opportunity to upgrade all of the NuGet packages to their latest versions. The automated tests…

View original post 1,132 more words

HDC 2019 – HTTP Security Headers

A nice document on HTTP Security headers by Scott Sauber.

Scott Sauber's avatarScott Sauber

Note: Slides do not tell the whole story of the talk, so take the stand alone slides with a grain of salt. Things may be taken out of context.

Slides: PPTX or PDF

View original post

Azure free e-book

This is a quick post to introduce a free Azure e-book to all who does not know about this. Today I was reading few things online and saw a link on Microsoft LinkedIn account where it was mentioned to download Azure e-book. I downloaded and after reading few pages, I found it very useful so … Continue reading Azure free e-book

First look of Entity Framework Core 3.0

Hello everyone, January is always special for me because I started writing blog posts in January 2014 and my first post just completed 5 years which is here. Now coming back to the current post, We have already seen some early look of Asp .Net Core 3.0 here, now let us see a quick look … Continue reading First look of Entity Framework Core 3.0

Free e-book for Azure tips and tricks

I am writing this post to let you all know that there is an awesome free E-Book available for Azure tips and tricks. This book is basically a combination of different daily posts published by Michael Crump. The free book is available here: ebook.azuredev.tips  The download would start as soon as you click the link. What will … Continue reading Free e-book for Azure tips and tricks

Creating an Angular 7 App with ASP.NET Core(Link to the post)

This is basically a link to the original post which is published on Telerik blogs. Finally, we have a new major version of Angular, which is version 7. The reason I use the word “finally” is not just because people were waiting for the latest major release of Angular, but also because there were quite … Continue reading Creating an Angular 7 App with ASP.NET Core(Link to the post)

Nested forms in Angular 6(Link to the post)

I am glad to announce that I have been added as an author on the Telerik site. This is basically a link to the post which I have written on the Telerik site and the topic is Nested forms in Angular 6. This is a step-by-step guide to use nested forms within the latest version … Continue reading Nested forms in Angular 6(Link to the post)