What problem does it solve?
This Skill streamlines deploying .NET 8 ASP.NET Core applications to Railway and connecting them to a PostgreSQL service while avoiding common build, runtime, and migration failures.
Core Features & Use Cases
- Railway project setup: guidance to initialize a Railway project, connect a GitHub repository, and deploy via Railway's build pipeline.
- PostgreSQL provisioning & connection: instructions for provisioning Railway PostgreSQL and using internal and external connection strings in runtime and development scenarios.
- Migration strategies: recommended approaches to generate SQL migration scripts, run migrations remotely, or use a migration runner to work around Railway's short command timeouts.
- Troubleshooting: targeted fixes for duplicate publish outputs, Nixpacks detection failures, port configuration mismatches, 502 gateway errors, and missing table/column issues.
Quick Start
Initialize a Railway project, add a PostgreSQL service, set ASPNETCORE_URLS to http://0.0.0.0:8080 and ConnectionStrings__DefaultConnection to your Railway connection string, then push the connected branch to deploy.