How to read Bearer Tokens Claims in dotnetcore

So you were able to generate a bearer token for your authenticated users, in your frontend you put the the token in the header for make every single request authenticated good… but what if you need to get the info of the user that is requesting the information ? Here’s a code snipped for having […]

Fetching emails with MailKit

I want to integrate a few mail capabilities into a project and looking for some libraries to do the trick I found MailKit by Jeffrey Stedfast which is terrific. Went to create the API/Middleware for my project, and when I connected to Zoho Mail, Google and Microsoft, everything working as expected with a custom implementation […]

Blazor .Net Core 3.1 Validations with DataAnnotations

Recently started to migrate a kinda big project done in dot.net core 3.1 MVC to use Blazor, the new (not so new at the time of creating this post) framework from Microsoft for creating Single Page Applications (SPA). All went great, maybe in a separate post will explain how did I manage to have the […]

Fixing an issue with Xamarin.Forms.GoogleMaps and latest packages

Recently I decided to update one of my projects to upgrade all the nuget packages to latest version. Surprisely, everything went just fine (even on Android). The only issue was with Xamarin.iOS. I was unable to build the iOS project due to some error reported by Xamarin.Forms.GoogleMaps plugin, To fix the issue, I downloaded the […]

Reacting (Just an opinion)

So… ReactJS, right…I get it, is the new way of working, if you have tried Blazor and React, you probably noted things are pretty similar, everything is a Component and so. The framework is good, pretty, good. but making things performs with a “standarized” fashion is kinda a challenge. Especially when you use a library […]

Secure your custom domains on Azure with a SSL at no cost!

https://azure.microsoft.com/en-us/updates/secure-your-custom-domains-at-no-cost-with-app-service-managed-certificates-preview/ On the link on the top of this post, Microsoft have created a service for assign SSL to any domain you have with any website at not cost, the steps are by far more easy than using Let’s Encrypt (which is also a good option). Is in preview but worth the try. According to […]

.NET Core Entity Framework quick Database first Scaffold

Hey, a quick tip for those dealing with .NET Core on Mac or Linux, even on Windows with Visual Studio code. The following snipped will help you generate the entire database as models for you to use. In your project or in the machine, make sure you have dotnet ef installed Open a Terminal/Console Navigate […]

Dealing with Malware in WordPress on BlueHost

Recently, I one of the hosting service I had with BlueHost was subject to malware infection, so they decide to just deactivate my account instead of just clean up for me (but better charge you for that, right?). Things to have in mind when dealing with this: WordFence helps you protect your site (remember to […]

Make URL Text Label clickable on Xamarin.Forms (CodeSnipp)

Hi everyone, So we are still on the XamarinUIJuly, the guys are delivering such a good set of post regarding of what Xamarin.Forms is capable of and I belive it was a good time to send this snipped too. I was requested to provide the capability of make partial text clickable say for example we […]