Skip to content

Commit 3b9a088

Browse files
authored
Merge pull request #350 from aspnetzero/introducing-react-for-asp-net-zero
Add new blog post React UI has arrived in ASP.NET Zero
2 parents a745900 + 8e32154 commit 3b9a088

5 files changed

Lines changed: 210 additions & 0 deletions

File tree

574 KB
Loading
210 KB
Loading
212 KB
Loading
219 KB
Loading
Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
**Title:** React UI has arrived in ASP.NET Zero
2+
**Description:** ASP.NET Zero introduces React UI, a modern, enterprise ready frontend built with React, Vite, Ant Design, and TypeScript. Deliver scalable applications faster with the same backend infrastructure.
3+
4+
# React UI has arrived in ASP.NET Zero
5+
6+
We’re excited to introduce **React UI for ASP.NET Zero**, a new frontend option designed for teams that prefer the React ecosystem and need the full power of an enterprise ready backend.
7+
8+
With this release, ASP.NET Zero now offers **Angular, MVC, and React** frontends all backed by the same, production infrastructure. You can choose the UI technology that best fits your team, without compromising on features, scalability, or security.
9+
10+
By providing React as a native and fully integrated UI option, ASP.NET Zero helps teams reduce upfront development effort, shorten time to market, and avoid the hidden costs of building and maintaining an enterprise frontend from scratch.
11+
12+
Instead of assembling and maintaining a complex React enterprise stack from scratch, teams start with a production ready frontend that provides built in support for authentication, authorization, multi-tenancy, and localization.
13+
14+
15+
> **Who is this for?**
16+
>
17+
> This release is designed for teams building a new React based enterprise application or launching a SaaS product who want to avoid spending months assembling core enterprise frontend capabilities and administration UI from scratch.
18+
19+
20+
<img src="/Images/Blog/react-tenant-dashboard.png" alt="React Dashboard" class="img-thumbnail" />
21+
22+
## Why React for ASP.NET Zero?
23+
24+
React has become the frontend of choice for many development teams. Beyond its popularity, React offers tangible advantages for enterprise applications:
25+
26+
* **Strong ecosystem and hiring pool** – Easier onboarding and long term maintainability
27+
* **Component driven architecture** – Clean, reusable UI patterns
28+
* **High performance** – Efficient rendering and predictable state updates
29+
* **TypeScript support** – Safer, more maintainable codebases
30+
31+
By adding React UI, ASP.NET Zero meets developers where they already are, enabling teams to build modern enterprise applications using familiar tools and workflows.
32+
33+
Teams often underestimate how much enterprise functionality must live in the frontend.
34+
35+
What starts as a simple React setup can quickly grow into significant additional effort once core enterprise concerns such as authentication, permissions, and multi tenant navigation are introduced.
36+
37+
## Built on a Modern React Stack
38+
39+
The React UI is built from the ground up using technologies from the React ecosystem, carefully chosen for performance, scalability, and developer experience.
40+
41+
All of these technologies come preconfigured and integrated, allowing teams to focus on delivering business value instead of spending weeks on setup and architectural decisions.
42+
43+
Instead of evaluating and integrating each of these technologies independently, the React UI provides a pre wired, opinionated setup that is already aligned with ASP.NET Zero’s backend architecture.
44+
45+
### Vite for Fast Development and Optimized Builds
46+
47+
The React UI uses **Vite** as its build tool to provide a fast and efficient development experience. Fast startup times, efficient hot module replacement, and optimized production builds help reduce feedback cycles, particularly in large scale applications.
48+
49+
Leveraging native ES modules and modern bundling approaches, Vite enables faster development cycles while maintaining build quality and performance.
50+
51+
### Ant Design for Enterprise Ready UI Components
52+
53+
The UI is built on **Ant Design**, a widely used React component library commonly adopted in enterprise applications. It provides a broad set of components with a consistent design language, strong TypeScript support, and built in theming options.
54+
55+
This allows teams to focus on business logic and application behavior rather than implementing common UI patterns from scratch.
56+
57+
### State Management with Redux Toolkit
58+
59+
Application state is managed using **Redux Toolkit**, providing a centralized approach to state management. The setup includes simplified APIs, DevTools support, and TypeScript integration.
60+
61+
This ensures consistent behavior, easier debugging, and long term maintainability as applications grow.
62+
63+
64+
### Routing with React Router
65+
66+
Routing is handled using **React Router**. The configuration includes declarative route definitions, lazy loaded pages, protected routes based on authentication and permissions, and nested layouts.
67+
68+
This structure provides a consistent approach to organizing application navigation.
69+
70+
## Metronic Theme
71+
72+
As with Angular and MVC, the React UI is integrated with **Metronic 8**. It includes **13 predefined theme variations**, responsive layouts, and configurable layout options.
73+
74+
Core layout and appearance options are configurable through the UI, while deeper customization and layout extensions remain code based.
75+
76+
This ensures visual and behavioral consistency across Angular, MVC, and React frontends, making it easier for teams to switch or run multiple UIs without redefining design standards.
77+
78+
This integration provides a ready to use UI foundation that aligns with the existing ASP.NET Zero frontends.
79+
80+
81+
<img src="/Images/Blog/metronic-13-themes.png" alt="Metronic 13 Themes" class="img-thumbnail" />
82+
83+
84+
## Authentication, Administration, and Configuration
85+
86+
The UI includes built in authentication and security features supporting standard login flows, multi factor authentication, and common external authentication providers. Administrative functionality includes user management, roles, permissions, organization units, tenants, editions, and feature configuration.
87+
88+
Host and tenant level settings include security policies, email configuration, appearance options, and integrations such as LDAP. Configuration options available in Angular and MVC are also present in the React UI.
89+
90+
<img src="/Images/Blog/react-roles.png" alt="React Roles Page" class="img-thumbnail" />
91+
92+
## Internationalization (i18n)
93+
94+
Localization support is available in the React UI. Applications can switch languages dynamically, leverage Ant Design’s localized components, and display dates and times based on the selected locale.
95+
96+
This makes it straightforward to build fully multilingual enterprise applications.
97+
98+
99+
## Real Time Notifications with SignalR
100+
101+
Built in **SignalR integration** supports real time communication scenarios within the application. Notifications can be sent to individual users or groups, with a management interface available for viewing notification history.
102+
103+
## Audit Logging and Entity History
104+
105+
The React UI fully supports ASP.NET Zero’s auditing infrastructure, providing detailed insight into system activity. User actions, entity changes, and login attempts are recorded and presented through searchable and filterable views.
106+
107+
These capabilities support compliance requirements, security reviews, and operational monitoring.
108+
109+
## Payments and Subscriptions
110+
111+
For SaaS scenarios, the React UI provides support for payments and subscriptions. Integrations with Stripe and PayPal enable recurring billing, while subscription lifecycle and invoice management can be handled through the admin interface.
112+
113+
This helps teams launch and operate SaaS products with reduced UI development effort.
114+
115+
<img src="/Images/Blog/react-subscription-management.png" alt="Subscription Management" class="img-thumbnail" />
116+
117+
## Developer Experience
118+
119+
Developer experience was a key focus when designing the React UI.
120+
121+
### TypeScript and Tooling
122+
123+
The frontend is written in **TypeScript** with strict typing enabled by default. Backend APIs are consumed via NSwag generated, type safe **service proxies**, helping establish clear contracts between the frontend and backend.
124+
125+
This approach helps improve code quality, minimize certain classes of runtime errors, and support long term maintainability.
126+
127+
The React UI follows the same modular and layered architectural principles used across ASP.NET Zero, ensuring predictable extension points and long term maintainability.
128+
129+
### Custom Hooks and Project Structure
130+
131+
Reusable custom React hooks simplify common concerns such as authentication, permissions, theming, localization, and data table behavior. The project structure is clean and scalable, making it easy to navigate, extend, and maintain as the application grows.
132+
133+
In addition to these, a range of other established patterns and utilities are included to support developers in building and maintaining complex React applications.
134+
135+
## Getting Started
136+
137+
Starting with React UI is straightforward:
138+
139+
1. Download your ASP.NET Zero solution
140+
2. Configure the database connection and apply the required database migrations.
141+
3. Install frontend dependencies
142+
4. Start the development server
143+
5. Build for production when ready
144+
145+
[React UI Getting Started Guide](https://docs.aspnetzero.com/aspnet-core-react/latest/Getting-Started-React)
146+
147+
Hot module replacement is enabled to provide an efficient development experience.
148+
149+
Whether you are starting a new project or modernizing an existing one, React UI allows you to move faster with a predictable cost model and no surprises down the road.
150+
151+
## Feature Comparison
152+
153+
| Feature | Angular | MVC | React |
154+
| --------------------- | ------- | --- | ----- |
155+
| Metronic Theme ||||
156+
| Multi-tenancy ||||
157+
| User Management ||||
158+
| Role Management ||||
159+
| Organization Units ||||
160+
| Audit Logging ||||
161+
| ... | ... | ... | ... |
162+
| Custom Dashboards ||||
163+
| SignalR Notifications ||||
164+
| Payment Integration ||||
165+
| UI Customization ||||
166+
167+
Choosing React does not mean giving up any enterprise capability. It simply provides an alternative frontend workflow while preserving the same backend features and infrastructure.
168+
169+
For more details and the complete feature set, visit the [Features page](https://aspnetzero.com/features).
170+
171+
All frontends provide the same enterprise feature set. React UI focuses on **modern frontend workflows, faster iteration, and the React ecosystem**.
172+
173+
## What’s Next?
174+
175+
React UI is actively developed to maintain long term parity with existing ASP.NET Zero frontends while continuously improving developer experience.
176+
177+
This release is just the beginning. Upcoming improvements on our roadmap include:
178+
179+
* Power Tools support for React
180+
* More sample applications
181+
* Social login integrations
182+
* QR code-based login integrations
183+
* Passwordless login integrations
184+
185+
These items will be delivered incrementally as part of ongoing React UI development.
186+
187+
## Conclusion
188+
189+
React UI marks an important milestone for ASP.NET Zero, enabling teams to build enterprise grade applications using Angular, MVC, or React on the same proven backend foundation.
190+
191+
For existing customers, this means adopting React without evaluating or assembling a separate enterprise frontend stack. For teams evaluating ASP.NET Zero, React UI provides a modern, production ready React ecosystem while preserving the scalability, security, and long term maintainability of the ASP.NET Zero platform.
192+
193+
We look forward to seeing what you build.
194+
To learn more about the architecture, features, and setup of the React UI, you can visit the dedicated React page:
195+
196+
👉 [Explore React UI](https://aspnetzero.com/react)
197+
198+
If you want to see which ASP.NET Zero edition best fits your needs, you can explore our pricing options and choose the plan that matches your project scale and requirements.
199+
200+
👉 [View Pricing](https://aspnetzero.com/pricing)
201+
202+
For questions or feedback, contact us at:
203+
📩 **[info@aspnetzero.com](mailto:info@aspnetzero.com)**
204+
205+
## Additional Resources
206+
207+
* React: [https://aspnetzero.com/react](https://aspnetzero.com/react)
208+
* Documentation: [https://docs.aspnetzero.com](https://docs.aspnetzero.com)
209+
* GitHub: [https://github.com/aspnetzero/aspnet-zero-core](https://github.com/aspnetzero/aspnet-zero-core)
210+
* Support Portal: [https://support.aspnetzero.com](https://support.aspnetzero.com)

0 commit comments

Comments
 (0)