Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
166142 stories
·
33 followers

Azure SDK Release (November 2026)

1 Share

Thank you for your interest in the new Azure SDKs! We release new features, improvements, and bug fixes every month. Subscribe to our Azure SDK Blog RSS Feed to get notified when a new release is available.

You can find links to packages, code, and docs on our Azure SDK Releases page.

This roundup also includes initial JavaScript provisioning releases that weren’t covered in October’s post.

Release highlights

Azure Core 1.64.0 for .NET

AKS identity binding support in WorkloadIdentityCredential is now generally available. The WorkloadIdentityCredentialOptions.IsAzureProxyEnabled option no longer requires suppressing experimental diagnostic AZID0002. Identity binding remains opt-in and requires constructing WorkloadIdentityCredential directly; it isn’t supported by DefaultAzureCredential or ManagedIdentityCredential. This release also fixes CA certificate reloads for an already-used Kubernetes token proxy so subsequent requests use the updated trust configuration.

Identity 1.27.0 for Python

Python applications can enable AKS identity binding by constructing WorkloadIdentityCredential with enable_azure_proxy=True. The AKS proxy handles federated identity credential exchanges on behalf of pods, addressing the per-managed-identity limit on federated identity credentials; this mode isn’t supported through DefaultAzureCredential. The release also fixes Azure Developer CLI error parsing, persistent token cache isolation on macOS, and safe token reuse between asynchronous OnBehalfOfCredential instances with the same user assertion. Identity 1.19.0 for Java adds WorkloadIdentityCredentialBuilder.enableAzureProxy() and improves proxy certificate validation, CA rotation, and transport error handling.

AI Projects 2.10.0 for Python

AI Projects adds optional soundscapes for Voice Agents, input-transcript profanity filtering, and Azure Speech streaming transcription for cascaded text-model conversations. Streaming transcription requires an explicit language and isn’t supported with realtime speech-to-speech models. Hosted text agents can declare the VOICE_CONVERSATION_ENGINE endpoint protocol to serve as Voice Agent conversation engines, while HostedAgentDefinition.enable_memory_snapshot lets hosted-agent sessions start from a snapshot of the initialized process. The release also fixes tracing of valid zero-valued sampling settings and exposes the service-required max_samples setting for simulation-seed data generation.

Initial stable releases

Initial beta releases

Release notes

The post Azure SDK Release (November 2026) appeared first on Azure SDK Blog.

Read the whole story
alvinashcraft
just a second ago
reply
Pennsylvania, USA
Share this story
Delete

Build AI Prompt Inputs in Blazor with Telerik PromptBox

1 Share

The Blazor PromptBox component helps connect people with AI models, with three input modes, customization and integration with your favorite AI model.

Nowadays, it is increasingly common to see more and more applications that integrate features using AI to make things easier for users. An essential component for this to work is the text box in which the user can write instructions for the AI model to process their request.

Internally, that component can be very simple or incorporate complex features. In this article, we will analyze the Progress Telerik UI for Blazor PromptBox component, designed for communication between people and AI. Let’s see what it is about.

What Is the Telerik PromptBox Component?

The Telerik PromptBox component is built for AI-based applications. One advantage it offers is that it combines text input, speech recognition, file selection and an action button that toggles between send and stop.

Its main features include:

  • Allows specifying the input mode
  • Integrates a button to start speech-to-text recognition
  • Includes a button to select files with built-in validation
  • Has an action button with loading states
  • Among other features

Let’s see some of the most important features in action.

Creating a Project and Configuring It to Use Blazor PromptBox

The first thing you should do to work with the PromptBox component is create a new project using the Telerik pre-created template, or if you already have an existing project, installing the Telerik components into your existing project.

Another important point is to install the packages necessary to use generative AI models. In my case, since I will use Azure OpenAI, I will install the packages:

Microsoft.Extensions.AI
Microsoft.Extensions.AI.OpenAI
Azure.AI.OpenAI

To carry out the configuration of an AI model, it is recommended to register a service of type IChatClient, so it can be injected into any component we want. We will do this by going to Program.cs, reading the key from the configuration:

...
builder.Services.AddTelerikBlazor();

#region AI configuration

var openAiKey = builder.Configuration["OPENAI_API_KEY"];
var azureKey = builder.Configuration["AZURE_OPENAI_API_KEY"];

if (!string.IsNullOrEmpty(openAiKey))
{
    builder.Services.AddChatClient(new OpenAIClient(
            new ApiKeyCredential(openAiKey))
        .GetChatClient("gpt-4o-mini")
        .AsIChatClient());
}
else if (!string.IsNullOrEmpty(azureKey))
{
    builder.Services.AddChatClient(new AzureOpenAIClient(
            new Uri("https://your-endpoint.openai.azure.com/"),
            new ApiKeyCredential(azureKey))
        .GetChatClient("gpt-4.1")
        .AsIChatClient());
}
else
{
    Debug.WriteLine("Warning: no AI key configured.");
}

#endregion


var app = builder.Build();
...

In the code above, we read two possible configuration keys, one to read the OpenAI API Key, and another for Azure OpenAI. Depending on the value found, the method AddChatClient is used to configure the corresponding client with the necessary values.

If no keys are found configured, a warning will be shown. With the model configured, it’s time to try the component.

Using the PromptBox Component in a Blazor Project

Let’s start by creating a component style page called Playground.razor, defining the basic structure of the page:

@page "/playground"

@using Microsoft.Extensions.AI
@inject IChatClient ChatClient

<PageTitle>PromptBox AI Playground</PageTitle>

<h1 class="mb-1">PromptBox AI Playground</h1>
<p class="text-secondary mb-4">
    Compose prompts with the Telerik PromptBox and send them to a real AI model.
    Switch the input mode to see how the component adapts.
</p>

In the previous code section, we make sure to inject the IChatClient instance so we can talk to an LLM model.

Configuring Selection Mode

The PromptBox component allows users to interact in three ways, through the parameter PromptBoxMode:

  1. Auto (default): Starts as a single-line input and transforms into a multi-line area if the content requires it.
  2. SingleLine: A single-line input with horizontal scrolling. Height remains constant.
  3. MultiLine: A multi-line text area that grows vertically.

To see them in action at the same time, I’ll use the fantastic Telerik components TelerikButtonGroup and TelerikChip to create a section that allows me to select between the different modes:

...
<div class="d-flex align-items-center gap-3 flex-wrap mb-3">
    <span class="fw-semibold">Input mode:</span>
    <TelerikButtonGroup>
        <ButtonGroupToggleButton Selected="@(SelectedMode == PromptBoxMode.SingleLine)"
                                 OnClick="@(() => SelectedMode = PromptBoxMode.SingleLine)">
            Single line
        </ButtonGroupToggleButton>
        <ButtonGroupToggleButton Selected="@(SelectedMode == PromptBoxMode.MultiLine)"
                                 OnClick="@(() => SelectedMode = PromptBoxMode.MultiLine)">
            Multi line
        </ButtonGroupToggleButton>
        <ButtonGroupToggleButton Selected="@(SelectedMode == PromptBoxMode.Auto)"
                                 OnClick="@(() => SelectedMode = PromptBoxMode.Auto)">
            Auto
        </ButtonGroupToggleButton>
    </TelerikButtonGroup>
    <TelerikChip Size="@ThemeConstants.Chip.Size.Small"
                 ThemeColor="@ThemeConstants.Chip.ThemeColor.Info"
                 Rounded="@ThemeConstants.Chip.Rounded.Full"
                 Selectable="false"
                 Text="@($"Mode: {SelectedMode}")">
    </TelerikChip>
</div>

@code {
    private PromptBoxMode SelectedMode = PromptBoxMode.Auto;
}

Once the mode selection part is defined, we can implement the PromptBox component in the project using the tag TelerikPromptBox. For this demonstration, we’re going to enable all its features, including the modes parameter, the loading state, voice recognition, file selection and an initial template:

...
<TelerikPromptBox @bind-Value="@Prompt"
                  Mode="@SelectedMode"
                  Rows="4"
                  MaxTextAreaHeight="220px"
                  Width="100%"
                  IsLoading="@IsProcessing"
                  EnableSpeechToText="true"
                  EnableFileSelect="true"
                  Placeholder="Ask anything  type, dictate, or attach a file"
                  OnPromptAction="@OnPromptAction">
    <PromptBoxSettings>
        <PromptBoxFileSelectButtonSettings Multiple="true"
                                           AllowedExtensions="@AllowedExtensions" />
        <PromptBoxSpeechToTextButtonSettings Lang="en-US" />
    </PromptBoxSettings>
    <PromptBoxStartAffixTemplate>
        <TelerikSvgIcon Icon="@SvgIcon.Sparkles" />
    </PromptBoxStartAffixTemplate>
</TelerikPromptBox>
@code {
    ...
    private string Prompt = string.Empty;
    private bool IsProcessing;
    private List<string> AllowedExtensions = new() { ".txt", ".pdf", ".png", ".jpg", ".jpeg" };

    private async Task OnPromptAction(PromptBoxActionButtonEventArgs args)
    {
    }
}

In the previous code, we can notice the usage of some important parameters:

  • Mode is bound to SelectedMode, allowing the mode to change automatically.
  • IsLoading allows showing whether a response is being generated, giving good feedback to the user that their request is being processed.
  • EnableSpeechToText and EnableFileSelect enable the microphone and attach-file buttons.
  • <PromptBoxSettings> is a tag that allows configuring details for each button of the component. For example, PromptBoxFileSelectButtonSettings limits allowed extensions as well as whether multiple file selection is allowed, while PromptBoxSpeechToTextButtonSettings defines the language for voice recognition.
  • <PromptBoxStartAffixTemplate> is a section where we can add adornments to the component. In our example we add an icon at the start of the text box. Here you could add any content, such as buttons or a status indicator.

When running the application, the component already displays correctly, configured as specified:

PromptBox component demo with controls to choose the input mode.

By pressing each of the modes, you can notice how the size of the text box changes to adapt. Now let’s see how to converse with the AI model.

Interacting with an AI Model Using PromptBox

We’ll keep a conversation with the AI model by maintaining a list of messages. To make it more interactive, we’ll display the user’s messages on the right, and those generated by the AI model on the left. Similarly, we’ll implement a loader to show while a response is being generated:

...
<div class="mt-4">
    @if (Messages.Count == 0)
    {
        <div class="text-center text-secondary py-5 border rounded-3 bg-light">
            <TelerikSvgIcon Icon="@SvgIcon.Sparkles" Size="@ThemeConstants.SvgIcon.Size.ExtraLarge" />
            <p class="mt-2 mb-0">Send a prompt to see the model's response here.</p>
        </div>
    }
    else
    {
        @foreach (var message in Messages)
        {
            <div class="d-flex mb-3 @(message.IsUser ? "justify-content-end" : "justify-content-start")">
                <div class="p-3 rounded-3 shadow-sm @(message.IsUser ? "bg-primary text-white" : "bg-white border")"
                     style="max-width: 75%; white-space: pre-wrap;">
                    @message.Text
                    @if (message.Attachments.Count > 0)
                    {
                        <div class="mt-2 d-flex flex-wrap gap-1">
                            @foreach (var fileName in message.Attachments)
                            {
                                <TelerikChip Size="@ThemeConstants.Chip.Size.Small"
                                             Icon="@SvgIcon.Paperclip"
                                             Selectable="false"
                                             Text="@fileName">
                                </TelerikChip>
                            }
                        </div>
                    }
                </div>
            </div>
        }

        @if (IsProcessing)
        {
            <div class="d-flex justify-content-start mb-3">
                <div class="p-3 rounded-3 border bg-white d-flex align-items-center">
                    <TelerikLoader Size="@ThemeConstants.Loader.Size.Small"></TelerikLoader>
                    <span class="ms-2 text-secondary fst-italic">Thinking </span>
                </div>
            </div>
        }
    }
</div>
@code {
    ...
    private List<PromptMessage> Messages = new();
    ...
    private record PromptMessage(bool IsUser, string Text, List<string> Attachments);
}

In the previous code, if the list is empty, a message is shown so the user knows they should send a prompt. Otherwise, if the list has data, it iterates through the list and aligns left or right depending on who sent the message.

For user messages, if any have attached files, they are displayed as a list of TelerikChip. Also, if IsProcessing is true, a TelerikLoader is shown with a message indicating that a response is being generated.

To populate the message list, we need to add the interaction logic with the AI model, which we’ll do next.

Conversing with AI Models Using the PromptBox Component

For everything to work correctly, we must implement the method OnPromptAction. This event handler receives an argument of type PromptBoxActionButtonEventArgs that contains information such as the text, the action to send or stop, as well as attached files. The method is as follows:

private CancellationTokenSource? _cts;

private async Task OnPromptAction(PromptBoxActionButtonEventArgs args)
{
    //1.
    if (args.Action == PromptBoxActionType.Stop)
    {
        _cts?.Cancel();
        IsProcessing = false;
        return;
    }

    //2.
    if (string.IsNullOrWhiteSpace(args.Text) || IsProcessing)
        return;

    //3.
    var attachments = args.Files?.Select(file => file.Name).ToList() ?? new List<string>();
    Messages.Add(new PromptMessage(IsUser: true, Text: args.Text, Attachments: attachments));

    Prompt = string.Empty;
    IsProcessing = true;

    //4.
    var client = ChatClient;
    if (client is null)
    {
        Messages.Add(new PromptMessage(IsUser: false,
            Text: "No AI model is configured. Set the OPENAI_API_KEY (or AZURE_OPENAI_API_KEY) value to receive live responses.",
            Attachments: new List<string>()));
        IsProcessing = false;
        return;
    }

    _cts = new CancellationTokenSource();

    //5.
    try
    {
        var response = await client.GetResponseAsync(args.Text, cancellationToken: _cts.Token);
        Messages.Add(new PromptMessage(IsUser: false, Text: response.Text, Attachments: new List<string>()));
    }    
    catch (OperationCanceledException)
    {
        Messages.Add(new PromptMessage(IsUser: false, Text: "Generation stopped.", Attachments: new List<string>()));
    }
    catch (Exception ex)
    {
        Messages.Add(new PromptMessage(IsUser: false, Text: $"Something went wrong: {ex.Message}", Attachments: new List<string>()));
    }
    finally
    {
        IsProcessing = false;
    }
}

In the previous method, we do the following:

  1. We check whether the received action is Stop, in which case we cancel the CancellationTokenSource to stop message generation.
  2. We verify that the text is not empty and that there is no request in progress.
  3. We add the user’s message to the list, including the names of attached files.
  4. We verify an AI model has been configured beforehand.
  5. In the try block, we invoke GetResponseAsync passing the prompt text and the cancellation token. We also catch possible exceptions, and add either a success message or an error message to the messages list, always resetting IsProcessing at the end of execution.

Once we apply the changes and test the application, this is the result of the execution:

Interacting with an AI model using the PromptBox component.

In the image above, you can see that the AI model generates a response correctly.

Conclusion

Throughout this article, you have seen how the PromptBox component helps connect people with AI models. We saw its three input modes, how to customize it, and how to connect it to an AI model, thanks to Microsoft.Extensions.AI. With just a few lines of code, we achieved a professional experience that would otherwise take a long time to develop.

Try Telerik UI for Blazor

You can experiment with the PromptBox plus 120 other Telerik UI for Blazor components with the free 30-day trial. 

Try Now

Read the whole story
alvinashcraft
22 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

What I Learned Building a Static Site Generator in Rust

1 Share

There seems to be a trend of apps moving to Rust for speed and reliability. Build tools, linters, bundlers, even parts of Node.js tooling have been getting rewritten in Rust, and the speed numbers people post are hard to ignore.

So I got curious. How fast would a static site generator written in Rust be? And how far could I get with the idea?

I'd already built a couple of personal desktop apps with Tauri and Rust (like MeterMaid), and I liked the experience. I've also had a long-time passion for content management systems and site-building tools. Over the years, I've built several CMSs of my own, in classic ASP, ASP.NET and Node.js. A site generator in Rust felt like a natural next experiment. And if the experiment worked, I hoped it would be something other people would find useful, too.

I also had a second goal, and it turned out to matter more than the first. I believe strongly in creating delightful experiences for the people who use the things I make. I wanted to build something unique and genuinely enjoyable to use, not just fast.

What happened next surprised me. Twelve days after the first commit, I threw out the Rust core and rewrote the generator in TypeScript on Node.js. And it got better.

Let's talk about how that happened, and what I learned.

Meet SiteSquatch

SiteSquatch, a hand-drawn Sasquatch with a deadpan stareSiteSquatch (ssqch on the command line) is a static site generator: large, quick, and rarely photographed. You write pages in Markdown and a template language you like (Jinja, Edge.js, Liquid, Nunjucks, Handlebars, Mustache or EJS), configure the site in JavaScript, and ssqch build turns it all into plain HTML.

What I'm most excited about is how it feels to use. Apps ought to be fun, and I hope SiteSquatch brings a little joy to the folks who use it.

  • Puns, by the forest-full: it reports like a park ranger who has seen some things. Facts first, with the occasional large footprint in the log. The dev server answers to Squatch Watch, and yes, Sass support is Sassquatch.
  • Illustrations: SiteSquatch and friends show up in hand-drawn illustrations throughout the docs.
  • A developer experience that helps: errors point at the file and line, with carets under the problem and a guess at what you meant (did you mean /contact/?). Every build checks front matter schemas and links, and ssqch diff shows exactly what a change did to every page.
  • Responsive images by default: every <img> becomes a <picture> with AVIF, WebP and fallback sources, cached so later builds skip the encoding.

This blog runs on it! If you're reading this, SiteSquatch built the page.

Version one: a single Rust binary

The first version was a single Rust binary with no runtime to install. Like Eleventy, the config was still JavaScript, run by QuickJS, a small JavaScript engine embedded inside the binary. Templates, Markdown, front matter, the minifier and the image pipeline were all written in Rust.

The very first test was porting this blog from Eleventy, which happened the same day as the first commit. Two days later, the blog was building on Netlify with a native SiteSquatch config.

And it was fast. On a synthetic site with 10,000 pages, the Rust version built everything in 1.15 seconds. Eleventy took 7.78 seconds for the same site.

I was blown away by those first benchmark results, and really excited to bring the app to life!

Then I tried it on other people's websites

A generator that only builds my blog isn't very useful. So I had Claude port a bunch of real, public sites to SiteSquatch, including v8.dev, a11yproject.com, lit.dev, eslint.org and the Rust blog. The goal for the Eleventy sites was an exact port: the same output, byte for byte, from the same templates and content.

Every port kept a log of what went wrong.

I expected smooth sailing. Each new site would need a few more features, and the Rust app would grow to support it. Instead, I was shocked to find that the more I tried to make the app universal, the more friction it created.

Sites bring their own tools. A site built with Eleventy uses markdown-it plugins, Nunjucks filters, npm packages, and Node built-ins like fs and crypto. QuickJS isn't Node, so a lot of that either ran slowly or didn't run at all. Out of 21 tools the next round of migrations would need (React for MDX, Vue, Shiki, sharp, Tailwind 4, esbuild, TypeScript files, and others), QuickJS could run 4. Real Node runs all 21.

The exact ports needed 687 lines of workaround code that existed only because the JavaScript ran on QuickJS.

Watching those workarounds pile up, I began to see where this was headed. Eventually, I'd basically have to support all of Node.js in Rust. Which is pretty silly.

The question that changed everything

On November 17, Claude and I stepped back and did a proper architecture study. The first answer it came back with treated "one binary, no Node" as SiteSquatch's identity, and recommended staying Rust-first.

Reading that report made me stop and think, "What am I really trying to build?"

That's when I realized the true "why" behind SiteSquatch: the least amount of friction for the developers building sites (and, more and more, the coding agents helping them), and the most joy in using it. The single binary was never the point. Making it Rust-first was an experiment. Speed was icing on the cake.

With the goal stated that way, the answer flipped: move the core of the generator to Node.js.

Measure before you rewrite

"Rewrite it in JavaScript" sounds like giving up the speed. So before committing, we built two quick prototypes (spikes): one all Node, and one hybrid that kept Rust for the hot paths. Both read the test sites' unchanged configs and had to produce byte-identical output.

10,000-page site, unless notedRust (0.7)Eleventy 3.1.8All Node, 1 threadHybrid, 1 thread
Plain site1.15 s7.78 s1.30 s1.12 s
50 filter calls a page1.75 s7.93 s1.34 s1.10 s
v8.dev, exact port (326 pages)1.72 s0.72 s0.54 s0.53 s

Note: These are medians of five runs on one machine. The Rust version used all 15 cores; the Node spikes used one thread. Your site will have its own numbers.

The all-Node prototype landed within 0.15 seconds of the Rust core on the plain site. And look at the v8.dev row! That site uses markdown-it and Prism, and on QuickJS those were slow. On real Node, the same exact port built more than three times faster than the Rust version, and faster than Eleventy.

The next day, November 18, SiteSquatch 0.8.0 shipped as a TypeScript program on Node, installed from npm. The blog, the example sites and the starters built to the same bytes as the Rust version (apart from image bytes, since sharp encodes the images now).

What I learned

Lesson 1: Running the real library beats a perfect port

I went in expecting a Rust equivalent of each library to be faster, better, superior. What I learned is that matching a site's output means running that site's libraries.

When SiteSquatch re-implemented a JavaScript library in Rust (Nunjucks on a Rust Jinja engine, Markdown on a Rust parser, YAML front matter), the Rust version often behaved a little differently. In the trial logs, about a quarter of the problems that were SiteSquatch's own fault came from exactly this, and 13 of them produced wrong output with no error at all.

Running markdown-it is markdown-it. There's nothing to keep in sync.

Lesson 2: Speed was icing (and the slow part wasn't the language)

The Rust core really was fast. Against Eleventy, it was four to seven times faster on large synthetic sites. But against a well-built Node core using the same libraries, the lead nearly disappeared. A build is mostly reading and writing files, and Node's thread pool writes files while JavaScript renders the next page.

I was genuinely shocked that Node.js performed so close to Rust in so many scenarios. And Node already has so many well-trusted libraries. It didn't make sense to build a bunch of bridges between Rust and Node (or Bun, or any other JavaScript runtime) and pay for copying data back and forth across them.

Even the images told the same story. This blog's cold build (every image encoded from scratch) took 94 seconds on Eleventy and 21 seconds on the Rust version. That looks like a win for Rust! But when we tested sharp on Node with the same images, it took about the same time as the Rust pipeline. The 94 seconds came from Eleventy's image plugin and its settings, not from Node.

Today, with images cached, this blog (168 pages, a feed and a sitemap) rebuilds in under a second.

Lesson 3: Use Rust where it earns its place

Rust didn't leave the project. It moved to where it pays off.

SiteSquatch's own Markdown engine, syntax highlighter, HTML minifier and Sass compiler are still written in Rust, compiled to WebAssembly, and run inside Node. One .wasm file works on every platform, with no native binary to build for each operating system.

Plugins can be written in Rust, too, and compiled the same way. In the spikes, a Rust plugin ran unchanged in either design.

Lesson 4: Say what the goal really is

Everything changed the moment I set "single binary" aside and named the real goal: least friction, most delight. Before that, every design question was really "how do we keep the Rust?" After that, the question became "what makes this easiest for the person building a site?" Same project, completely different answers.

Building it with Claude Code

I can't write about SiteSquatch without talking about how it was built. Claude is co-author on about 700 of the project's 802 commits, which all landed in about 25 days. Roughly 200 of those commits were the Rust version, before the rewrite.

I have to admit, I got a little obsessed with driving Claude as a product and project manager. It was very exciting to see all the progress! Once I felt like this was a viable app, and I started digging into the puns and the experience, I really hoped I could turn it into something other people would love to use.

The most surprising moment didn't come from Claude. It was realizing that the Rust-only path was frustrating me, and the app wasn't turning out to be what I'd hoped. Claude was doing everything it could to make it happen. I was the one who had to take a step back and look at the problem differently. (That's where "What am I really trying to build?" came from.)

I also wanted to make sure that, in this modern era of building apps, AI agents are treated as first-class citizens. SiteSquatch should be just as approachable from an agent as it is for a person. The docs on sitesquatch.dev are available as Markdown, ssqch capabilities --format json lists what ssqch supports (template filters, generators it can move a site from, and more), and the reports come in JSON too (with none of the ranger's jokes, so an agent never has to parse a pun).

Try SiteSquatch

SiteSquatch needs Node.js 22.18 or newer. To add it to a site:

npm install --save-dev ssqch

Or start a new blog or docs site with ssqch init. The docs at sitesquatch.dev cover the rest, including moving a site over from Eleventy, Jekyll, Hugo and others. The source is on GitHub.

It's still young (0.x), so expect some breaking changes between minor versions. If you try it, I'd love to hear about it! Especially the first error message that confused you, a template language or plugin from your current site that didn't work, or a site you'd like to see ported.

Happy building, and if you spot SiteSquatch in the wild, grab a blurry photo for me!

Read the whole story
alvinashcraft
28 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Zip Files in Memory, Done Right: Streaming Downloads and Safe Uploads in ASP.NET Core

1 Share
"Download all as zip" and "upload a zip to import" are two of the most common features in business apps, and two of the easiest to get subtly wrong. Here is the MemoryStream bug that produces corrupt archives, how to stream a zip straight to the response with the async ZIP APIs added in .NET 10, and how to read an uploaded zip without trusting what is inside it.
Read the whole story
alvinashcraft
39 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Yes, You Do Need Scenes And Sequels In Memoirs

1 Share

Learn why scenes and sequels are essential to memoir writing, and discover how to use them to structure your story and keep readers engaged.

Just as a novel is made up of action scenes and reaction scenes (sequels), so is your memoir.

In a previous post, I discussed why you need to write your memoir like fiction. You need to plot it and pace it and add suspense. You need to consider how you describe settings and how you write dialogue. Above all, you need to entertain your readers.

Scenes And Sequels In Memoirs

You also need to divide your memoir into scenes and sequels. Scenes show what happened. Sequels show how you reacted. Together, they help you build a story that keeps readers interested.

An average novel is 80 000 words and has an average of 60 scenes. An average memoir is 65 000 words and has an average of 50 scenes.

Remember that this is just a framework to begin plotting your memoir. You may write a much longer or shorter memoir.

1. Scenes In Memoirs

Like scenes in novels, scenes in memoirs are about action. This is where you chose to do something and show what happens as a result. This is where you argued, fought, escaped, loved, hated, survived, and searched. This is where you were attacked and abused. Scenes take up about 50-60% of your memoir.

2. Sequels In Memoirs

Like sequels in novels, sequels in memoirs are about your reactions. This is where you planned, thought, reflected, processed, rested, and made peace. You can also use sequels to show your setting, add backstory, and reinforce the theme of your memoir. Sequels take up about 40-50% of your memoir.

An Important Note

  1. In novels, you have more scenes than sequels.
  2. In memoirs, you will probably end up with an even amount of scenes and sequels. A memoir is naturally more reflective than a novel.

How To Use Scenes And Sequels To Plan Your Memoirs

  1. Create a timeline for your memoir. Remember that a memoir is not an autobiography. It is not your whole life story. It is about an event or series of events tied together by a theme. Creating a timeline will help you organise your memoir and decide which events belong in your story.
  2. Include the most important scenes and sequels. Work out the most important events and place them on your timeline. Use these to build your memoir. You will obviously have to leave out a lot, but that is normal when you write a memoir. Many of the scenes you have to omit will be similar. For example, if you were abused for five years, you cannot include every incident. You need to write one that shows what happened – normally the first time it happens, and then select others that reveal something different about the abuse. Perhaps the relationship between you and the abuser changed over time.
  3. Use the scenes to show what happened. Use dialogue. Show us what you did and what you said. Show the conflict in your story. Use the senses to make the story come alive for your readers.
  4. Use the sequels to tell us how you felt. Show your readers how you reacted to what happened. What did you think? What did you learn? How did the experience change you? But do not have a pity party here. Readers will empathise with you if you show strength and resolve along with the misery.
  5. Make sure every scene and sequel relates to your theme. You should be able to put your theme into one sentence. If your theme is ‘Addicts rush in where angels fear to tread’, make sure everything you include reflects this. Your scenes will show what you did as an addict. Your sequels will show you reflecting on your actions and their consequences.

The Last Word

Scenes and sequels are an excellent plotting tool. Scenes show readers what happened. Sequels show them why it mattered. Both are essential if you want to turn your memories into a memoir that reads like a story. Use them to shape your experiences into a story that readers want to finish.

Top Tip: If you want to learn how to write a memoir, look into our Secrets of a Memoirist course.


by Amanda Patterson
© Amanda Patterson

More posts from Amanda:

  1. The Sense Of An Ending – How To Finish Writing Your Book
  2. 6 Simple Ways To Handle Viewpoint Changes
  3. The 12 Question Fiction Writing Conflict Test
  4. 5 Things Beginner Novelists Get Wrong
  5. 6 Unusual Romantic Sub-Plots
  6. 6 Characteristics Of Strong Female Protagonists
  7. 5 Ways To Create Conflict That Counts In Fiction
  8. Why Writers Should Be Readers
  9. 5 Mistakes Beginner Writers Make When Creating Characters
  10. What Does A Literary Agent Do?

Top Tip: Sign up for our free daily writing links.

The post Yes, You Do Need Scenes And Sequels In Memoirs appeared first on Writers Write.

Read the whole story
alvinashcraft
54 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Daily Reading List – December 1, 2026 (#919)

1 Share

Today was a “multi agent” day judging by many of the items below. Whether those agents are in factory or something else, it’s a big part of the future.

[blog] From Files to Cited Answers in One API Call: Managed Ingestion and SearchDocuments in Agent Retrieval. This is a big deal for people using blobs of content in their AI solutions. Instead of building your own processing pipeline and vector system for retrieval, we do it all for you.

[blog] MCP Gateway: How Snap Checks Both the Person and the Agent. Snap’s got a gateway that employees and agents use to access internal tools. This post looks at the evolution of the service, and what it does.

[blog] Google Cloud Next 2027 registration is officially open. Already? Yes, and this event will sell out well before it starts. I hope to see many of you there.

[blog] A Practitioner’s Cheat Sheet to Multi-Agent Workflows in Google Antigravity. We’ve given you a lot of options. Too many? Probably. I can imagine that we’ll compress this as the use cases become clearer. This post explains the current decision process.

[blog] Introducing Amazon Ergo. Surprise! Here’s a big, fast, cheap open model from Amazon.

[blog] CellGemma: Predicting cell responses to help accelerate cancer research. Another open model! Different goals than Ergo. This one is used by researchers in lab work.

[blog] Understanding Go: Inside encoding/json/v2. This is possibly my favorite tech blog genre. Deeply technical, well-written, educational, and enlightening.

[blog] A2UI vs. Traditional UI: How Generative UI Changes Frontend Development. Good overview, and it makes sense that widget and component vendors would jump into this domain.

[blog] How agents are reshaping software engineering. Fresh insights from Varun here and worthwhile reading, regardless of your chosen tech stack.

[blog] What Are Agent Swarms? Ignore exactly how you do it, what is a swarm? Philipp does a solid job explaining the unique parts and how they work, and when to use them.

[blog] From Prototype to Production: Hardening an MCP, A2A & ADK Multi-Agent System on Google Cloud. We need more content like this that shows how we go from single-player prototypes to real production quality systems and workflows.

[blog] Multiagent coding is the future. Experienced engineers who really dig into this space with fresh eyes see the potential.

[blog] Self-hosted software development factory. Dmitry wanted agentic work off his laptop and onto an always-on machine. On-prem, cloud, whatever, this is likely the future.

[blog] What happens when every engineer on the team runs their own software factory. The key heres seems to be that engineers may run some of their own bits (a coding harness) but the brain and workflow is shared.

[blog] From Vibe Coding to Software Factory. I liked this look at what it looks like to go from single-player with a terminal to an engineering system with agents.

Want to get this update sent to you every day? Subscribe to my RSS feed or subscribe via email below:



Read the whole story
alvinashcraft
1 minute ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories