Reading through the article will reveal that Synapse Analytics is set to be the new end to end analytics solution in Microsoft Azure. Having said that, in this article, we will dive into it hands-on. Let’s take a first look at Synapse Analytics. Accordingly, we will see how to load data into the Synapse. Step1: … Continue reading A First Look At Azure Synapse Analytics
This post is different than regular technical posts but at this situation we should help each other by spreading the technology which may help us. I came across a post on Twitter by which I got to know about a watsapp alert service powered by World health organization: I tried it out by following this … Continue reading Whatsapp alert service by World Health Organization(WHO) for COVID-19(Corona virus)
source: Medium In this article, we will see how we can skip Identity server 4 login page if we have integrated Azure AD with identity server 4. First let me explain the problem and then I will explain the solution for the same. Problem: We use Identity server 4 for authentication and we have integrated … Continue reading Skip Identity server login page for Azure AD(Auto login)
This article shows how to create certificates for an IdentityServer4 application to use for signing and token validation. The certificates are created using the CertificateManager nuget package. Both RSA and ECDsa certificates can be used for signing in IdentityServer4.
Creating the Certificates in .NET Core
A simple .NET Core console application is used to create the certificates. This type of application can run on most of the standard operating systems. Create a new console application and add the package CertificateManager. The package Microsoft.Extensions.DependencyInjection is also required to initialize the package.
Creating a RSA certificate
A self signed RSA certificate can be created using the CertificateManager NewRsaSelfSignedCertificate method. The key size must be at least 2048. The following example also adds TLS server and client authentication OID extensions, so that the certificate could also be used for client authentication.
View original post 172 more words
You can use Fallback Policies in ASP.NET Core 3.0+ to require an Authenticated User by default. Conceptually, you can think of this as adding an
[Authorize] attribute by default to every single Controller and Razor Page ONLY WHEN no other attribute is specified on a Controller or Razor Page (like
[Authorize(PolicyName="PolicyName")]). See lines 9-11 below.
A Quick Lap Around the [Authorize] and [AllowAnonymous] Attributes
In ASP.NET Core (and even previously in ASP.NET), we’ve had the ability to add a
[Authorize] attribute to a resource (such as a Controller or Razor Page) in order to tell ASP.NET Core not to let a user access that resource unless they are authenticated.
[Authorize] attribute can also take a PolicyName parameter that tells it what Authorization Policy to execute. The Policy below says only Admins can access this page.
You can follow this link to learn more how to…
View original post 775 more words
Nice article from Damien.
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.
Blogs in this series
- Force ASP.NET Core OpenID Connect client to require MFA
- Send MFA signin requirement to OpenID Connect server using ASP.NET Core Identity and IdentityServer4
- Requiring MFA for Admin Pages in an ASP.NET Core Identity application
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
As we all know C# 8.0 was released a few days back which has come up with the many exciting features along with this release of C# there are significant amount of changes in interfaces have also been happened so with this article let’s try to explore the new feature and try to learn how … Continue reading Interfaces In C# 8.0