.Net application development specialists
asp.net, c#, vb.net, html, javascript, jquery, html, xhtml, css, oop, design patterns, sql server, mvc and much more
contact: admin@paxium.co.uk

Paxium is the company owned by myself, Dave Amour and used for providing IT contract development services including


  • Application development - Desktop, Web, Services - with Classic ASP, Asp.net WebForms, Asp.net MVC, Asp.net Core
  • Html, Css, JavaScript, jQuery, React, C#, SQL Server, Ado.net, Entity Framework, NHibernate, TDD, WebApi, GIT, IIS
  • Database schema design, implementation & ETL activities
  • Website design and hosting including email hosting
  • Training - typically one to one sessions
  • Reverse Engineering and documentation of undocumented systems
  • Code Reviews
  • Performance Tuning
  • Located in Cannock, Staffordshire
Rugeley Chess Club Buying Butler Cuckooland Katmaid Pet Sitting Services Roland Garros 60 60 Golf cement Technical Conformity Goofy MaggieBears Vacc Track Find Your Smart Phone eBate Taylors Poultry Services Lafarge Rebates System Codemasters Grid Game eBate DOFF

Hosting React + .NET 8 API on IIS

To serve your React app at www.example.com and a .NET 8 Web API under www.example.com/api, publish the API into its own folder and configure IIS with Add Application.

# 1. Publish your API
dotnet publish -c Release -o .\publish

# 2. Copy folders to server
D:\Sites\MySite\react-build   (React build output)
D:\Sites\MySite\api           (Web API publish output)

# 3. IIS setup
- Root site → points to react-build
- Add Application → Alias: api → Physical path: D:\Sites\MySite\api
- Assign a dedicated App Pool (No Managed Code)

# 4. SPA rewrite rule (exclude /api)
<rule name="SPA" stopProcessing="true">
  <match url=".*" />
  <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    <add input="{REQUEST_URI}" pattern="^/api($|/)" negate="true" />
  </conditions>
  <action type="Rewrite" url="/index.html" />
</rule>

# 5. Test
https://www.example.com/api/health

Keep the API and React app in separate subfolders under the same site root. This keeps deployments clean and avoids routing conflicts.