Learning Swift
Today I decided to learn about Swift. That’s it, that’s the post 🙂
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 […]
.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 […]
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 […]
Zebra Bluetooth Printer and Xamarin
Hi everyone, recently I was assigned to make an app on Xamarin that can communicate with a Zebra Printer via Bluetooth, It wasn’t exactly the most straight forward experience, since the documentation is lacking of structure let say, but have to mention that the response time of the Zebra team on Xamarin repository on GitHub […]
Xamarin NSTextView to HTML
Sometimes you want to use all the power of NSTextView with all formatting style and everything. var htmlAttr = new NSAttributedStringDocumentAttributes () { DocumentType = NSDocumentType.HTML }; var range = new NSRange (0, txtNoteView.TextStorage.Length); var att = txtNoteView.AttributedString; var error = new NSError (); var html = txtNoteView.TextStorage.GetData (range, htmlAttr,out error); The html obj now […]
NSTextField positioning the cursor
Hi everyone, This is a quick one, so I was in the need of change the position of the cursor of one NSTextField, because it pre-fill the field with a partial value which came from another field (Let’s say I selected a country on one field and the state field had to came with the […]