This article shows how to implement a Microsoft Account as an external provider in an IdentityServer4 project using ASP.NET Core Identity with a SQLite database. Setting up the App Platform for the Microsoft Account To setup the app, login using your Microsoft account and open the My Applications link https://apps.dev.microsoft.com/?mkt=en-gb#/appList Click the Add an app button. Give the application a name and add your email. This app is called microsoft_id4_enrico. After you clicked the create button, you need to generate a new password. Save this somewhere for the application configuration.…
Search Results for: microsoft identity
Blazor integration with Identity Server
I share the code for a Blazor integration with Identity Server and BFF. All browsers don’t allow to share or save an authentication token
Configure IdentityServer for Xamarin Forms
In this new post, I explain how to configure IdentityServer for Xamarin Forms to integrate Web Authenticator using Xamarin Essentials
Authentication in Xamarin Forms with IdentityServer
I want to start to use Visual Studio 2022 Preview and create a base Xamarin Forms project integrated with IdentityServer
Secure Blazor WebAssembly with IdentityServer4
I’m going to explain how to secure a Blazor WebAssemble application with IdentityServer4. Also, how to secure API calls
Authentication in ShinyProxy with IdentityServer
In this post I explain how to use the authentication in ShinyProxy with IdentityServer and set up roles for each application.
Integration with Identity in AdminLTE project
I continue to add more features to the integration of AdminLTE with Identity and IdentityServer in AdminLTE in an ASP.NET Core project
Meet the Microsoft Pluton processor
The role of the Windows PC and trust in technology are more important than ever as our devices keep us connected and productive across work and life. Windows 10 is the most secure version of Windows ever, built with end-to-end security for protection from the edge to the cloud all the way down to the hardware. Advancements like Windows Hello biometric facial recognition, built-in Microsoft Defender Antivirus, and firmware protections and advanced system capabilities like System Guard, Application Control for Windows and more have helped Microsoft keep pace with the evolving threat landscape. Today, Microsoft alongside our…
Implement security workflow with Identity Server
The goal of this post is to implement security workflow with Identity Server 4 and C# among projects and services. With a bunch of examples, I’m going to show, practically, how to do it.
Connect ASP.NET MVC 4.6.2 project to IdentityServer4
I have a website running on ASP.NET MVC 4.5.2. I have an IdentityServer4 server running but when I try and authenticate against it I get an: invalid_request I googled a bit but I can’t find a solution. Finally, I found the way. First, in your IdentityServer4 you have to create a new client: public static IEnumerable GetClients() { return new List<client> { new Client { ClientId = “yourid”, AllowedScopes = new List<string> { “openid” }, AllowedGrantTypes = GrantTypes.Hybrid, RedirectUris = new List { “https://yoururl/signin-oidc” }, } } } When you…
NET8, Blazor and Custom User Management
I will show how to create custom user management with NET8 and Blazor based on Microsoft Identity. Here is how to add custom fields for users
Custom User Management with NET8 and Blazor
In this new series of posts, I will show how to create custom user management with NET8 and Blazor based on Microsoft Identity.
External providers in AdminLTE project
In this post I talk about the integration with external providers in the AdminLTE project such as Microsoft, Facebook, Google and Twitter
Integrating AdminLTE with ASP.NET Core
I explain how integrating AdminLTE with ASP.NET Core 3.1 MVC or really any other Bootstrap based UI Frameworks completely from scratch
APIs with Entity Framework Core: PUT
Continue the tutorial about APIs with Entity Framework Core and in particular how to implemente the PUT to update a record with dependencies.
APIs with Entity Framework Core
I want to give a complete example of minimal APIs in Blazor with Entity Framework Core with complex objects.
PendingModelChangesWarning with NET9
I am creating with NET9 using Entity Framework Core that returns PendingModelChangesWarning. Here how to understand this error and fix it
Deploy MAUI apps on a real device
Developing applications with NET8 MAUI, we want to deploy apps on a real device. Here are all the necessary steps without wasting time.
MAUI Push Notifications using Azure Notification Hub
Here how implement in NET8 MAUI the push notifications using Azure Notification Hub without any external package for Windows. Very hard work!
Call API Management from Blazor
The title ”Call API Management from Blazor” is not explain fully what I’m going to explain in this post but it is only a title. So, consider the following scenario. Scenario On Azure API Management Service you have your APIs. For more protection, you want to add another level of security asking to the API Management to validate the user token for each request. The token is validated again your own Identity Server. Once the API Management is configured to use Identity Server for the validation, you want to call…
Query in Azure DevOps for work items
It is possible to write custom query in Azure DevOps for work items using the Work Item Query Language (WIQL) a language close to SQL language
Dynamically add JavaScript from Blazor components
In this new post, I show you the code to dynamically add JavaScript from a Blazor components coming from the component itself or another URL
Markdown Editor component for Blazor
I have created a new Markdown Editor component flexible and rich of functionalities for Blazor WebAssembly and Blazor Server with .NET6.
DataTable component for Blazor
I have just released a new DataTable component for Blazor WebAssembly and Blazor Server. The NuGet package is available here. The source code will be available soon on GitHub. This component supports client/server side paging, filtering and sorting. DataTable in action Installation So, first install the package from NuGet or execute this command or Then, open your index.html or _Host.cshtml and add the CSS in the head of the page and then the script at the bottom of the page Then, add in your _Imports.razor file the following using: Also, in the…
Creating log files with R
In this short post I explain how creating log files with R using log4r is a fast, lightweight, object-oriented approach to logging in R based