tRPC

tRPC is a TypeScript-first framework for building end-to-end typesafe APIs, enabling developers to define API endpoints with TypeScript types that are automatically inferred and shared between client and server. It eliminates the need for manual API schema generation or code generation tools by leveraging TypeScript's type system to ensure type safety across the entire stack. This approach simplifies API development by providing a seamless developer experience with autocompletion, type checking, and error prevention in real-time.

Also known as: trpc, tRPC, TypeScript RPC, typesafe RPC, t-rpc
🧊Why learn tRPC?

Developers should learn tRPC when building full-stack TypeScript applications where maintaining type safety between client and server is critical, such as in modern web apps using React, Next.js, or other frontend frameworks. It is particularly useful for projects that require rapid iteration and reduced boilerplate, as it streamlines API development by automatically inferring types from server procedures, reducing bugs and improving productivity. Use cases include real-time applications, internal tools, and any scenario where end-to-end type safety can enhance reliability and developer velocity.

See how it ranks →

Compare tRPC

Learning Resources

Related Tools

Alternatives to tRPC

Other API Protocols

View all →
.NET Core
.NET Core is a free, open-source, cross-platform framework for building modern applications, including web, cloud, mobile, desktop, IoT, and AI solutions. It is developed by Microsoft and supports multiple programming languages like C#, F#, and Visual Basic, with a modular architecture that enables high performance and scalability. It includes a runtime, libraries, and tools for developing and deploying applications on Windows, Linux, and macOS.
.NET Core
.NET Core is a free, open-source, cross-platform framework for building modern applications, developed by Microsoft. It supports the development of web apps, microservices, APIs, and cloud-based solutions using languages like C#, F#, and Visual Basic. It is designed to be modular, high-performance, and runs on Windows, Linux, and macOS.
.NET Framework
.NET Framework is a proprietary software framework developed by Microsoft that runs primarily on Windows. It provides a large class library called Framework Class Library (FCL) and language interoperability across several programming languages, enabling developers to build a wide range of applications, including desktop, web, and mobile. It includes features like memory management, security, and exception handling, and supports languages such as C#, VB.NET, and F#.
.NET Framework
.NET Framework is a proprietary software framework developed by Microsoft that runs primarily on Windows. It provides a large class library called Framework Class Library (FCL) and language interoperability across several programming languages, enabling developers to build a wide range of applications, including desktop, web, and mobile. It includes features such as memory management, security, and exception handling, and supports languages like C#, VB.NET, and F#.
.NET MAUI
.NET MAUI is Microsoft's open-source (MIT-licensed) UI framework, the direct successor to Xamarin.Forms (Xamarin itself retired May 1, 2024, forcing migration). Current release is .NET MAUI 10, shipped alongside .NET 10 on November 11, 2025; latest servicing patch is 10.0.80 (June 24, 2026). Free, distributed with the .NET SDK, maintained by Microsoft on GitHub (dotnet/maui, 23.3k stars). Architecturally it wraps native platform controls (UIKit/AppKit, Android Views, WinUI 3) instead of rendering its own control set the way Skia-based rivals do. Native AOT compilation has been available (opt-in, via the PublishAot MSBuild property, applied on `dotnet publish` only) for iOS/Mac Catalyst builds since .NET 9 — it is not the default build path. Android has no Native AOT option at all; it still runs on Mono AOT, with CoreCLR slated to become the default mobile runtime across Android, iOS, and Mac Catalyst starting .NET 11. .NET 10 added a compile-time XAML source generator. Targets iOS, Android, Windows, and macOS (Mac Catalyst) only — no Linux or WebAssembly target. Current version/status: 10.0.80 (June 24, 2026) — .NET MAUI 10, shipped with .NET 10 GA Nov 11, 2025. License: MIT. Maintained by Microsoft (open source, dotnet/maui on GitHub).
.NET MAUI
.NET MAUI (Multi-platform App UI) is a cross-platform framework for building native mobile and desktop applications using C# and XAML. It allows developers to create a single codebase that can target Android, iOS, macOS, and Windows, leveraging the .NET ecosystem and providing a unified development experience. It is the evolution of Xamarin.Forms, integrated directly into the .NET platform.