
-
.NET Blazor Performance Recommendations
Blazor is a .NET-based Component Architecture platform that is offered as a potential alternative to other modern frameworks such as Angular or ReactJS for responsive web development. If you are familiar with other Component Architecture frameworks and are also a .NET developer then moving to Blazor should be fairly straightforward. But, there are some caveats…
-
Injecting Claims into the ASP.NET Core Auth Pipeline
Most modern cloud authentication providers (i.e. Microsoft Entra ID, Auth0, Okta, etc.) provide a claims-based user management capability. A user can be assigned roles and permissions and these are surfaced in .NET’s user identity classes as ‘claims’. Although, most of the time, claims can be configured and managed in the identity provider’s management console there…
-
Sending Emails Using Microsoft Graph
With Microsoft iminently shuttering the capability to send emails programmatically via MS Exchange in Azure, developers need to switch to a mechanism that will be supported moving forwards. Enter Microsoft Graph. This article describes how the MS Graph API can be leveraged to replace MS Exchange based mailing for the programmatic sending of emails. In…
-
Implementing the Respository Pattern with Entity Framework and LINQ Expressions
When working with layers of abstraction, especially in modern design structures like Clean Architecture, it can easily become complicated getting a simple database query from the UI to the physcial database provider being queried due to all the abstraction and indirection. An obvious way of abstracting an application from any single underlying data provider is…
-
Defensive Programming
Defensive programming is a set of techniques/guidance on best practices to ensure your applications are secure, as bug free as possible, and respond gracefully to unexpected events (i.e. software exceptions).
-
Modern HTML Tool-tip That Works With Pointers and Touch Devices
A simple code snippet that allows tool-tips to be displayed on HTML controls when the mouse hovers over them or when the control is clicked (e.g. touched on a mobile device). Useful in scenarios where you want a simple, modern, tool-tip without the weight of a 3rd party library.
-
Convert DOCX to PDF Using Microsoft Graph API
Converting a file from DOCX to another format (such as PDF) had long been a pain in SharePoint and usually led to resorting to using Word Automation Services (WAS). Fortunately, modern SharePoint (Online) and the Microsoft Graph API mean you can do it with a few Web API calls.
-
Creating an NPM Package for Distribution
This article walks through creating an NPM project that can be uploaded to a public or private NPM feed as reusable package.
-
Investigating Issues with IISExpress Not Running on Some SSL Ports
IISExpress, bundled with Visual Studio, provides a lighter-weight web server than the full IIS (Internet Information Services) Windows service, and is useful for running up and debugging web code projects.
-
Introduction to Redux (for ReactJS)
Redux is a toolkit for ReactJS that offers application-level state management features and can help overcome event bubbling performance issues in complex component architecture based Single Page (Web) Applications (SPA).
.NET .NET Tutorials AAD Active Directory ASP.NET MVC Azure Azure Active Directory Bootstrap CAML Communications CSS Databases Error Handling Gulp Hints and Tips IIS IT Security Jasmine JavaScript jQuery JSX Microsoft 365 Microsoft Graph API NPM OData PowerShell ReactJS Serialisation Servers SharePoint SharePoint Add-ins SharePoint Online TypeScript ULS Logs Unit Testing User Profiles VB Script Web Development WF4 Windows Communications Foundation Windows Presentation Foundation Windows Workflow WinForms WPF XML