Loading...

How Dev Proxy teaches you to make your apps more resilient

How Dev Proxy teaches you to make your apps more resilient

I added Microsoft Dev Proxy to my Mermaid → Dataverse converter, because I wanted to test how it handled rate limits and API errors. What I got instead was literally an intervention.

For everyone who doesn’t know what this solution is about: The converter takes an Entity-Relationship-Diagram written with MermaidJS as an input, parses the information and passes everything into the Dataverse Web API so that all the tables, relationships, columns, global choices and more are created automatically. Additionally, I built an easy rollback process, that allows users to granularly undo the creation of global choices, tables, solution and publisher.

So now let’s discuss what this has to do with Dev Proxy: Dev Proxy didn’t just test resilience, but it forced me to see how fragile my app really was in some regards. Timeouts, blocking rollbacks, and missing feedback: everything that quietly worked until real stress hit.

The moment of truth

When Dev Proxy started simulating rate limiting and random API failures, my easy rollback process fell apart. Azure killed long-running connections after 230 seconds, throwing 504 errors even though the rollback still finished in the background. Users thought it failed. In fact, it hadn’t. That sparks confidence! /s

So I rebuilt it properly:

  • Async rollback pattern: returns 202 Accepted immediately and runs in the background
  • Status tracking: added /api/rollback/:id/status with progress across five phases: relationships, entities, global choices, solution, and publisher
  • Frontend polling: updated the UI to check progress every 2 seconds

Now I do not get any fake failures, no more hanging requests, but a smoother experience all around.

Once Dev Proxy had me sweating, other weak spots showed up fast. Rate limiting revealed that some rollbacks could take up to ten minutes, so I bumped the API timeout - thank Dataverse API for not allowing any concurrent actions 😘. Every test Dev Proxy threw at me exposed another spot where I’d trusted luck instead of design. A result of that is, that I implemented the changes that now make the solution way more resilient.

My two cents

Dev Proxy didn’t just test my app; it taught me how to handle reality better.

Every simulated failure revealed an assumption I didn’t know I was making in the first place. So they say it’s a testing tool, but it’s more an architectural therapist. It doesn’t just break things but helps you understand why they were fragile in the first place.

Happy coding!

Published on:

Learn more
Need help with this product?

We can help you with How Dev Proxy teaches you to make your apps more resilient

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

Luise Freese: Consultant & MVP
Luise Freese: Consultant & MVP

Recent content on Luise Freese: Consultant & MVP

Share post:

Related posts

You are holding GitHub Copilot Wrong!

Most developers think that one can’t really use GitHub Copilot wrong. There is a chat interface that lets you also choose a model, so th...

8 months ago

You are holding GitHub Copilot Wrong!

Part 0 showed why constant prompting, re-prompting, and steering GitHub Copilot feels fragile. Not because Copilot is unreliable, but because ...

8 months ago

Building a Multi-Hierarchy Ticket Classification System (Because Keywords Aren't Enough)

Look, I love a good keyword-based system as much as the next developer. They’re fast, predictable, and when your user says “VPN,&r...

8 months ago

Secretless cross-tenant dataverse access

Client secrets are like hiding your house key under the mat; easy to grab and impossible to audit. Certificates are just slightly better, beca...

10 months ago

How Azure CLI handles your tokens and what you might be ignoring

Running az login feels like magic. A browser pops up, you pick an account, and from then on, everything just works. No more passwords, no more...

10 months ago

Building Azure functions that never store secrets — ever

What if your function could hit Microsoft Graph with no client secrets, no certs, and no Key Vault entries? That is exactly what a Managed id...

11 months ago

Introducing Mermaid to Dataverse Converter

Why diagrams matter (and why they usually fail us) Entity-Relationship Diagrams (ERDs) are the universal shorthand for talking about data mode...

11 months ago

It’s OK to be seen trying

It’s OK to be seen trying Somewhere along the way, we started believing that you’re only allowed to speak after you’ve figured everything out....

1 year ago

Stuck in pilot - Part 1: no foundations, no future

“We just need to test the AI. We’ll figure out the data later.” That sentence has quietly killed more AI pilots than any model failure ever ...

1 year ago

The MVP trap: AI lets you do more, but often worse

There’s a narrative floating around right now: With AI, one person can do the work of a whole team. Code? Done. Design? Prompted. Copy? Gener...

1 year ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.