Simple way to use icon fonts in Xamarin Forms projects
Almost all apps use some kind of graphic icons to make the UI more attractive and easy to use. Here I will demonstrate a quick way of adding icon fonts in Xamarin applications.
Breaking change in AspNetCore 2.2 for SignalR and CORS
To get authenticated SignalR hubs to work, you need to allow credentials in CORS, so your aspnetcore code might look like this: services.AddCors(action => action.AddPolicy(policyName, builder => builder .AllowAnyMethod() .AllowAnyHeader() .AllowAnyOrigin() .AllowCredentials())); As of 2.2. you can no longer combine AllowAnyOrigin and AllowCredentials! You will see a warning in the debug output: warn: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[11] The […]
Solving “Could not create SSL/TLS secure channel” error in .NET 4.6.x
Could not create SSL/TLS secure channel Recently, a legacy ASP.NET Web API application that we support started logging an exception and also giving back a HTTP 500 response on some of its API endpoints. The exception, or at least an inner exception within it, was: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure […]
Vision Framework for Face Landmarks detection using Xamarin.iOS
Mobile devices are getting better and better at solving sophisticated tasks. Not only because of better hardware, but also due to modern trends towards AI – such tasks as face detection, barcode recognition, rectangle detection, text recognition, etc. are now supported on the operating system level making it really simple to solve them in your app. […]
Expandable UITableView with Xamarin iOS
Expandable UITableViewCells with variable height, beautiful animations and no 3rd party libraries – all with just a few lines of code. Interested? Let me show you how I got all of these. Let’s start by taking a look at the final result: There are four animations here to get this effect done. When users tap […]
Working from Home for Fun and Profit
I’ve been working remotely–or telecommuting, as it is often known–for nearly 10 years, and in that time I’ve learned a few DOs and DON’Ts for being a successful remote worker. I’m far from perfect, and am still learning and getting it wrong at times, but I wanted to share some of my observations and see […]
What is .NET Standard & Does it Relate to .NET Core?
When I talk to .NET developers, I find that there’s still a lot of confusion about what .NET Standard is and how it relates to .NET Core. In fact, this weekend I’ll be giving a talk at the Music City Tech conference in Nashville, Tennessee about just that. I thought I’d share some of the […]
AspNetCore – multi tenant tips and tricks
In two recent posts, I blogged about SignalR in .AspNet Core 2.1, and automating boilerplate multitenancy code in Entity Framework Core 2.1. Both these blogs alluded to knowing the identity of the calling user through claims and dependency injection. This blogs ties together those loose ends to show how that can be done. Authenticating the […]
Entity Framework Core 2.1 – Automate all that boring boiler plate!
In any real world enterprise application, you end up writing a lot of similar, tedious boilerplate code for bookkeeping . This logic results in a data model where each table is adorned with a lot of non-domain specific columns – does this look familiar? There are three common patterns at work here: Auditing – […]
Hello, ASP.NET Core 2.1
UPDATE, 2018 May 30: It’s alive. The dotnet team officially announces 2.1 on their blog! The newest version of ASP.NET Core will be released in just a few days, the team announced this week. They’re targeting Wednesday, May 30, 2018, with an early-access release available already. I’m excited about many of the new features in […]