ASP.NET Core AI SEO Blog Writer and Autoblog
One minimal-API endpoint — signed articles arrive as JSON.
Can you auto-publish blog posts to an ASP.NET Core app? Yes — via a signed webhook
ASP.NET Core renders the blog; DraftSEO delivers the posts. The recipe is a MapPost minimal-API endpoint in Program.cs — a StreamReader over req.Body gives you the raw body, HMACSHA256 plus CryptographicOperations.FixedTimeEquals verify it, and you store the post. No extra packages: System.Security.Cryptography ships with .NET.
| Connection | A minimal-API endpoint — MapPost in Program.cs, recipe provided |
|---|---|
| Security | HMAC-signed + timestamped — FixedTimeEquals over ${timestamp}.${rawBody}, replay-window protected |
| Payload | Full article JSON — title, HTML, images, meta, slug, language |
| Images | DraftSEO CDN URLs — URLs ride in the payload; rehost to your own storage if you prefer |
| Framework fit | Minimal API or MVC — same check works in a controller action too |
Who does what
What DraftSEO automates for your ASP.NET Core blog
DraftSEO handles Automated
- Keyword research and an automatic publishing schedule
- Complete SEO articles delivered as clean HTML
- Images generated, their URLs carried in each payload
- Meta title, description and slug beside the article body
- Signed delivery with retries so no publish is dropped
You handle One-time: a short receiver
Paste the MapPost endpoint, verify the HMAC over the raw body a StreamReader gives you, then save the post with EF Core. After the green test, zero effort per article.
Your DbContext and Razor views stay entirely yours.
Setup
How to connect an ASP.NET Core app to DraftSEO
Add your endpoint in DraftSEO
Connect a site → ASP.NET Core. You get a signing secret and the minimal-API recipe.
~1 minute
Add the endpoint
Paste the MapPost handler into Program.cs, read the raw body, verify the signature with FixedTimeEquals and store the post.
~10 minutes
Verify the signed test delivery
DraftSEO sends a signed test event; a green check confirms the connection.
~1 minute
Turn on autopilot
Every generated article is delivered to your endpoint on cadence.
Ongoing · zero clicks
FAQ
Frequently asked questions
What is in the payload?
A JSON body { event, deliveryId, data } — data holds the title, HTML article, slug, language, meta fields and image URLs, which JsonDocument.Parse (or your DTO) reads directly.
How is delivery secured?
Each request is HMAC-signed over ${timestamp}.${rawBody} with a timestamp header; you recompute it with HMACSHA256 and compare using CryptographicOperations.FixedTimeEquals, rejecting anything past the 5-minute replay window.
Minimal API or MVC controller?
Either. The recipe uses a MapPost minimal-API endpoint, but the identical signature check drops into an MVC controller action — read the raw request body first, verify, then bind the parsed payload.
Ship the endpoint — first article free
No card required. Signed test delivery in under a minute.