Skip to main content

2026

Every post published in 2026, newest first. Pick a month to narrow it down.

Posts
1,054
Topics
114
Reading time
128 h
Active months
6

Posts 1–30 of 1,054 · November 19–20, 2026

Page 1 of 36

November 2026

802 posts

Friday, November 20, 2026

7 posts

  1. How to Show Line Breaks in react-markdown with remark-breaks

    react-markdown follows CommonMark, so a single line ending in your text shows up as a space. Add the remark-breaks plugin to remarkPlugins and every line ending becomes a line break. A small example with the HTML before and after, on react-markdown 10.1.0 and remark-breaks 4.0.0.

  2. How to See an Agent's Tool Calls in an AG-UI Stream

    When a Microsoft Agent Framework agent calls a function tool, its AG-UI stream shows TOOL_CALL_START, TOOL_CALL_ARGS, TOOL_CALL_END and TOOL_CALL_RESULT before the answer. A tiny C# dice-rolling agent shows every field, one call and two calls in one turn, with real streams.

  3. How to Give a Microsoft Agent Framework Tool the Signed-In User in ASP.NET Core

    Let a Microsoft Agent Framework tool read only the signed-in user's data: take who is asking from the request's validated token through IHttpContextAccessor, never from a parameter the AI model fills in. A .NET 10 API with dotnet user-jwts tokens shows Alice and Bob each getting only their own notes.

  4. How to Register a Default Service with TryAddSingleton in .NET C#

    Register a default implementation that the app can still replace: TryAddSingleton adds a service only when nothing is registered for its type yet. A small .NET 10 console app runs four registration orders and shows when TryAddSingleton and AddSingleton keep or replace the app's own service.

  5. How to Add a Function Tool to a Microsoft Agent Framework Agent in C#

    Turn a C# method into a tool your Microsoft Agent Framework agent can call: AIFunctionFactory.Create with a name, Description attributes for the model, and the tools argument of AsAIAgent. Real runs show the agent unable to tell the time in Tokyo without the tool, and right with it.

  6. Fixed: JsonTypeInfo metadata for type was not provided by TypeInfoResolver of type 'Microsoft.Extensions.AI.AIJsonUtilities+JsonContext'

    In a .NET 10 file-based app, AIFunctionFactory.Create threw NotSupportedException for a tool that returns a type of my own. File-based apps target Native AOT, which turns off reflection-based JSON, and Microsoft.Extensions.AI's default JSON options then know only their own types. One #:property line fixes it, and a source-generated JSON context fixes it while keeping Native AOT.

  7. Fixed: react-markdown Ignores Single Line Breaks

    An AI agent wrote each ticket's status, team and latest update on lines of their own, but react-markdown showed them as one run-on line: in CommonMark a single line ending is a soft line break, which browsers show as a space. Adding the remark-breaks plugin kept the lines.

Thursday, November 19, 2026

23 of 57 posts

  1. Build an Overtime Timesheet App in Power Apps — Part 12: Import the Old Excel Timesheet

    Import an old Excel overtime timesheet into a SharePoint list with a Power Automate flow: rows read with ISO dates, UK times converted to UTC across the clock change, departments and people matched, duplicates skipped, entries created and approved, and a summary of what was left out.

  2. How to Make a Text Control Grow to Fit Its Text in Power Apps

    Turn on Auto height so a Power Apps Text control grows with its text instead of cutting it off: where the setting is, the AutoHeight property, Wrap, and why Studio can show a smaller Height than the app uses.

  3. How to Get the Smallest Value in Power Apps with Min

    Get the smallest of several numbers, or across a table, with Min in Power Apps: its general form, and a gallery width that stops at 640 pixels on wide screens and fills the screen on phones.

  4. How to Create an Item in a SharePoint List in Power Automate

    Add an item to a SharePoint list from a cloud flow with Create item: the site and list, one field per column, choice and date columns, optional columns under Advanced parameters, and the new item's ID and ETag for the next actions.

  5. How to Combine Text in Power Automate with concat()

    Join pieces of text into one in a cloud flow with concat(): its general form, fixed text mixed with values from earlier steps, numbers turned into text with string(), and a one-line description of each imported row.

  6. How to Use the equals() Function in Power Automate

    Check whether two values are the same in a cloud flow with equals(): its general form, not() for different, a Condition that compares two hours as text with the same format, and names compared in lower case.

  7. How to Use the less() Function in Power Automate

    Check whether one value is smaller than another in a cloud flow with less(): its general form, numbers and text, and two times compared as HH:mm to spot a shift that ends after midnight.

  8. How to Add Days to a Date in Power Automate with addDays

    Add or subtract days from a date in a cloud flow with addDays(): its general form, the optional format that returns just the date, and a night shift whose finish date is the day after its start.

  9. How to Convert Local Time to UTC in Power Automate with convertToUtc

    Turn a local date and time into UTC in a cloud flow with convertToUtc(): its general form, Windows time zone names such as GMT Standard Time, and a UK night shift across the October clock change that comes out right.

  10. How to Get Excel Dates as Dates, Not Numbers, in Power Automate

    Excel dates and times reach a cloud flow as serial numbers such as 46297 and 0.7916. Set List rows present in a table's DateTime Format to ISO 8601 to get 2026-10-02T00:00:00.000Z instead, and read the date and time parts with formatDateTime.

  11. How to Read Rows from an Excel Table in Power Automate

    Read every row of an Excel table in a cloud flow with List rows present in a table: the connection, the file and table, the date format, pagination for more than 256 rows, and what the output looks like.

  12. Fixed: An Action Meant for After the Loop Runs Inside It in Power Automate

    A summary meant to run once after an Apply to each ran at the start of every iteration and said Imported 0: none. The + under the loop's header adds the loop's first step; the + after the loop's box adds the next step of the flow.

  13. Fixed: Environment Variables Don't Show in Dynamic Content in Power Automate

    A cloud flow in a solution had no Parameters group in dynamic content, and searching for an environment variable said There are no results for your search. Opening the flow from its solution and selecting Edit there listed the variables.

  14. How to Forward the Authorization Header from a Next.js Route Handler

    A Next.js route handler that calls an API for the signed-in user should pass on the browser's Authorization: Bearer header and nothing else. Real output from Next.js 16.4.6 shows the 401 the route answers itself, the headers the API receives, and the API's 401 and 403 reaching the browser.

  15. How to Sign Users Out with MSAL React

    Add a Sign out button to a React or Next.js app that uses MSAL: logoutRedirect with the account clears MSAL's cache, ends the Microsoft Entra ID session without an account picker, and comes back through postLogoutRedirectUri. A live run of every step.

  16. How to Get an Access Token with MSAL React

    Get an access token for your API in a React app with MSAL: acquireTokenSilent first, acquireTokenRedirect when MSAL throws InteractionRequiredAuthError. A live run shows the first call fetching a token with the refresh token and the second coming from MSAL's cache.

  17. How to Set a Cache-Control Header for One Page in Next.js

    Give one page of a Next.js app its own Cache-Control header with a headers() rule in next.config.ts. Real curl output from Next.js 16.4.6 shows a static page's default s-maxage=31536000, the no-store that replaces it, and why the development server can't show the difference.

  18. How to Add the MSAL Redirect Bridge Page to a Next.js App

    MSAL Browser 5 sends sign-in responses to a redirect bridge page that calls broadcastResponseToMainFrame. Add it to a Next.js App Router app the way MSAL's documentation asks: a client component outside MsalProvider, a static title, Cache-Control: no-store, and the matching redirect URI.

  19. How to Sign Users In to a Next.js App with MSAL React

    Add Microsoft Entra ID sign-in to a Next.js App Router app with MSAL React 5: one PublicClientApplication, MsalProvider, AuthenticatedTemplate and UnauthenticatedTemplate, loginRedirect, and the redirect page MSAL Browser 5 needs. Every screen of a real first sign-in.

  20. How to Add an API Permission to an App Registration in Microsoft Entra ID

    Let an app ask for your own API's scope: add a delegated API permission under APIs my organization uses, remove the default Microsoft Graph User.Read, and know when admin consent is needed. Includes az ad app permission add and the warning it prints.

  21. How to Register a Single-Page Application in Microsoft Entra ID

    Register a React, Next.js or other browser app in Microsoft Entra ID as a single-page application: the SPA redirect URI, why it needs no client secret, the permission the portal adds by default, and the same registration with az ad app create and az rest.

  22. How to Send a Bearer Token from a .http File in VS Code and Visual Studio

    Keep the access token out of your .http file: save it in a .env file that Git ignores, and let the editor fill it in with {{$dotenv NAME}} in the Authorization header. Works in VS Code's REST Client and in Visual Studio, with a token from the Azure CLI and a real .NET 10 API.

  23. How to Keep Each User's Conversations Separate in a Microsoft Agent Framework AG-UI Server

    An AG-UI threadId says which conversation to continue, not whose it is. Sign callers in with Microsoft Entra ID, file every conversation under the caller's oid claim with UseClaimsBasedAgentIsolation, and protect MapAGUIServer. Real runs show one user continuing a thread and another caller getting a conversation of their own.