<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Rest-Api | The .NET Blog</title><link>https://thedotnetblog.com/tags/rest-api/</link><description>Articles, tutorials and insights from the .NET community.</description><generator>Hugo</generator><language>en</language><managingEditor>@thedotnetblog (The .NET Blog)</managingEditor><webMaster>@thedotnetblog</webMaster><lastBuildDate>Fri, 17 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thedotnetblog.com/tags/rest-api/index.xml" rel="self" type="application/rss+xml"/><item><title>Data API Builder Custom Paths Let You Design APIs for Humans, Not Tables</title><link>https://thedotnetblog.com/news/emiliano-montesdeoca/data-api-builder-custom-paths-domain-first/</link><pubDate>Fri, 17 Jul 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/news/emiliano-montesdeoca/data-api-builder-custom-paths-domain-first/</guid><description>Compound REST paths in DAB are a small feature with big architectural impact for domain-oriented API design.</description><content:encoded>&lt;p&gt;Original source: &lt;a href="https://devblogs.microsoft.com/azure-sql/data-api-builder-custom-rest-paths/"&gt;Compose your API surface with Data API builder custom paths&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The new &lt;strong&gt;compound REST path&lt;/strong&gt; support in Data API Builder might look like a minor configuration improvement, but it actually solves a long-standing API design tension: database topology leaking into public endpoint design.&lt;/p&gt;
&lt;p&gt;Default entity-based routes are great for quick starts. They are often wrong for long-term product APIs. Real systems need route structures that match business concepts, ownership boundaries, and consumer mental models.&lt;/p&gt;
&lt;p&gt;That is why this DAB change matters. You can keep generated API convenience while presenting a cleaner domain-first surface.&lt;/p&gt;
&lt;p&gt;My opinionated take is simple: &lt;strong&gt;if your API path structure mirrors raw table names in production&lt;/strong&gt;, you are usually optimizing for backend convenience at the expense of client clarity.&lt;/p&gt;
&lt;p&gt;With custom paths, teams can model better boundaries, such as sales, billing, support, or partner-specific surfaces. This does not replace proper API governance, but it gives DAB users a practical way to align route design with product language.&lt;/p&gt;
&lt;h3 id="practical-guidance-for-teams-adopting-this-feature"&gt;Practical guidance for teams adopting this feature&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Define a naming policy&lt;/strong&gt; before adding paths ad hoc. Inconsistent subsegments become long-term clutter.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Map endpoints to bounded contexts&lt;/strong&gt;, not organizational charts. Teams change; domain semantics should be stable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Treat path structure as part of your versioning strategy&lt;/strong&gt; and document breaking changes explicitly.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Validate authorization behavior&lt;/strong&gt; along custom route structures so route clarity is paired with security clarity.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;What I appreciate in DAB generally is the &lt;strong&gt;leverage model&lt;/strong&gt;: you get pagination, filtering, projection, and other endpoint mechanics without writing repetitive controller code. Custom paths make that leverage more production-ready by reducing one of the biggest objections from API architects.&lt;/p&gt;
&lt;p&gt;There is one &lt;strong&gt;caveat&lt;/strong&gt;. Better path composition can tempt teams to expose too much too quickly because generation feels easy. Guardrails still matter: keep entity exposure deliberate, apply policy centrally, and avoid building accidental public contracts from internal schema experiments.&lt;/p&gt;
&lt;p&gt;For .NET organizations under delivery pressure, this feature is a productivity unlock if used with discipline. You can move faster than handcrafted API layers while still preserving a coherent and business-friendly endpoint surface.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; DAB custom paths are not about prettifying URLs. They are about &lt;strong&gt;reclaiming API design intent&lt;/strong&gt; while keeping the operational efficiency of generated endpoints.&lt;/p&gt;</content:encoded></item></channel></rss>