Skip to main content

Custom REST API development in .NET

I build custom REST APIs in .NET and connect your application, even if it’s on .NET Framework, to your ERP, your online shop or a supplier. Before programming, we agree in writing what data travels and what happens if something fails. For companies all over Spain, with blocks of hours at €44 to €55/h depending on size, plus VAT.

Projects, meetings and documentation are in Spanish. This English version is for companies based in Spain.

Jorge Santos · senior freelance .NET developer · Zaragoza, remote for SpainUpdated

Sound familiar?

Your programs do their job, but they don’t talk to each other, or they talk badly. I have been programming in .NET since 2012: I connect them without rebuilding them, and before writing any code we decide what happens when something fails.

What’s included

  • Your own API

    A REST API in your application so other systems can read from it or write to it.

  • Third-party connection

    The code that calls the API of your ERP, your online shop or a supplier.

  • Written contract

    What data travels, in which direction, when, and which system wins if they don’t match.

  • Failures without duplicates

    Retries that don’t repeat orders, error logging and alerts.

  • Security

    HTTPS only, one credential per system and permissions per operation.

  • OpenAPI documentation

    Each operation described in the standard that other programs and programmers read.

What’s not included

  • Licences and fees for the systems being connected: they’re at your expense and in your accounts.
  • Configuring the inside of your ERP or a third party’s program.
  • Guaranteeing what depends on the other system: its outages, its limits or its changes.
  • 24/7 on-call or support outside working hours.
  • Penetration tests or certified security audits.

What needs agreeing before connecting?

Four things, in writing and before programming: what travels, in which direction and when, which system wins if the data doesn’t match and what happens if something fails. It’s the integration contract: with it I give you an estimate in hours and we know what needs testing.

What travels
The data for each operation (an order, a stock change, a new customer) and the identifier that distinguishes it.
Direction and timing
From which system to which, and whether immediately or at intervals, sending only what has changed. An order is best passed on immediately; stock can wait.
Who wins
Which system holds the correct data when the two don’t match.
If it fails
How many times it’s retried, how creating the same thing twice is avoided (what’s known as idempotency) and who gets alerted.

Your own API or connecting to someone else’s?

It depends on who calls whom, and often it’s both at once: your application receives orders from an online shop through its own API and, at the same time, passes them to the ERP by calling the ERP’s.

Your own API

Your application opens a door so other systems can read from it or write to it: your online shop, a customer’s application or a partner’s.

How: I design it with you and hand it over documented in OpenAPI.

Connecting to another

Your application calls the API of your ERP, a payment gateway or a supplier, and stores what it receives.

How: the first step is a real call in their test environment.

What if it’s on .NET Framework?

An API can be added to it without migrating it: ASP.NET Web API 2 is still supported by Microsoft, with no end date and 12 months’ notice before it’s retired. If the application is going to be migrated, the API can be built on .NET 10 from the start, alongside the old one.

If you don’t know what state your application is in, before adding anything to it, a technical .NET code audit fits, at a fixed price from €990, plus VAT. The dates for each version are in which .NET versions are supported today.

Sources: ASP.NET support policy (Web API 2 and MVC 5, no end date; 12 months’ notice) and .NET support policy, from Microsoft, checked on 3 December 2026.
Your applicationSupportWhere the API goes
.NET Framework 4.84.7 to 4.8.1, WebForms or MVC 5SupportedInside it, with ASP.NET Web API 2; or alongside it, on .NET 10, if it’s going to be migrated.
.NET 6, 8 or 9Out of supportIn ASP.NET Core, after upgrading it to .NET 10, which is a version upgrade.
.NET 10SupportedIn the same project, with ASP.NET Core.

How I work

Not a single line of code until the integration contract is in writing and you’ve approved it.

  1. First conversation

    30 minutes, free

    You tell me which systems you want to connect, whether they have an API and what is copied by hand today.

    You get: whether they can be connected and where I’d start.

  2. Integration contract

    With the 10-hour block

    I read the other system’s documentation, test a real call in its test environment and write the contract.

    You get: the contract in writing and the estimate in hours.

  3. Development and testing

    Whichever block fits the estimate

    I program the API or the connection and test it with dummy data, failures included: outages and repeats.

    You get: the tested integration and the hours log up to date.

  4. Go-live

    When you approve it

    I deploy it on your server or on Azure App Service, with error logging and alerts working.

    You get: the OpenAPI documentation and everything in your accounts.

How I work and what I don’t do

What an integration contract looks like

I write it before programming and you approve it. Each row is an operation: what travels, in which direction, when and what happens if it fails.

Integration contract · orders between the application and the ERPIllustrative example, not a real client
What travelsDirectionWhenIf it fails
New orderApplication → ERPImmediatelyIt’s retried with the same identifier: the ERP doesn’t receive it twice
Order statusERP → applicationEvery 15 minutes, only those that have changedIt’s picked up on the next run
Stock per productERP → applicationEvery hour, only what has changedThe last good figure is kept and an alert is sent
New customerApplication → ERPImmediatelyIf data is missing, it stays pending and the admin team is alerted
If the data doesn’t match, the ERP wins · email alert after 3 failed attempts

From €550

To start, the 10-hour block: €550 to write the integration contract and test the first real call. For the integration and its improvements over six months, the 40-hour block: €1,880 and six months to use it.

10-hour block

€550
  • €55/h
  • To use within 1 month
  • The integration contract or one-off fixes

40-hour block Recommended

€1,880
  • €47/h
  • To use within 6 months
  • Development and ongoing improvements over six months
  • 30 minutes of monthly follow-up not deducted

VAT not included. Blocks of hours at €44 to €55/h depending on size; single hours, €60/h. Paid in advance, with no lock-in, and unused hours expire at the end of their block’s term.

Rates and blocks of hours

Frequently asked questions about integrations

What happens if the connection fails halfway through a send?

It's retried without duplicating: each send carries an identifier and, before anything is created, it checks whether it has already arrived. Microsoft warns about this in its resilience documentation: retrying a request that creates a record can duplicate it. Whatever keeps failing is logged and you're alerted.

What if the other program has no API?

There's usually another way: files that are exchanged, an intermediate table in the database or an old web service. The one chosen is whichever the program's vendor allows in writing, because touching its database without their approval can leave you without their support.

How much does it cost to connect two systems?

It depends on how many operations there are, in which direction the data travels and whether the other system has a documented API and a test environment. With the contract I give you an estimate in hours, and it's paid for with a block of hours: €44 to €55/h depending on size, plus VAT.

How is the API protected?

HTTPS only, with a different credential for each system that uses it, permissions per operation and a request limit. Credentials are kept out of the code and in your accounts, and the OpenAPI documentation isn't left open in production, as Microsoft recommends.

Can you connect to a system you don't know?

Yes, if it has documentation or a test environment. The first step is a real test call, before estimating the rest. If its vendor provides neither access nor documentation, I'll tell you before you spend any hours.

What do you want to connect?

Tell me which systems they are and what is copied by hand today. The first conversation lasts 30 minutes and is free.

Go to contact

You may also find useful.NET application maintenanceCustom web applications with .NETRates and blocks of hours

Cookies

I use analytics cookies (Google Analytics) to understand how the site is used. They are only activated if you accept. See the cookie policy