.NET Application Types
On This Page
The .NET platform provides a robust and versatile environment for developing a wide range of application types. Whether you're building modern web experiences, rich desktop applications, scalable cloud services, or even embedded systems, .NET offers the tools and frameworks to succeed.
Web Applications
ASP.NET Core is the modern, cross-platform framework for building web applications and services. It's highly performant, modular, and supports both server-side rendering and API development.
- Razor Pages: A page-focused model for building dynamic web UIs with C# and HTML.
- MVC (Model-View-Controller): A well-established pattern for building scalable and maintainable web applications.
- Blazor: Allows you to build interactive client-side web UI with .NET and C#.
- Web APIs: Create robust RESTful services and HTTP endpoints.
Desktop Applications
.NET supports the development of feature-rich desktop applications for Windows, macOS, and Linux.
- WPF (Windows Presentation Foundation): A powerful UI framework for building Windows desktop applications with rich graphics and rich user experiences.
- Windows Forms: A classic, easy-to-use framework for building Windows desktop applications.
- MAUI (.NET Multi-platform App UI): A cross-platform framework for building native mobile and desktop applications from a single shared codebase.
// Example: Basic WPF Window
Mobile Applications
With .NET MAUI, you can build native iOS, Android, macOS, and Windows applications from a single, unified project. This significantly reduces development time and effort for cross-platform mobile development.
Previously, Xamarin was the primary framework for cross-platform mobile development with .NET. MAUI builds upon the lessons learned from Xamarin to provide a more streamlined and integrated experience.
Cloud Services
.NET is a first-class citizen on major cloud platforms like Azure, AWS, and Google Cloud. You can build scalable, resilient, and cost-effective cloud-native applications and services.
- Azure Functions: Build event-driven applications and microservices without managing infrastructure.
- Containerization: Package your .NET applications with Docker for easy deployment to cloud environments.
- Microservices: Design and build distributed systems using .NET.
IoT Applications
.NET can be used to develop applications for Internet of Things (IoT) devices. With frameworks like .NET IoT Libraries, you can interact with hardware, process sensor data, and build intelligent edge solutions.
Other Application Types
Beyond the common categories, .NET also supports:
- Console Applications: Simple command-line tools and utilities.
- Background Services: Long-running applications that perform tasks without direct user interaction.
- Machine Learning: Integrate machine learning models into your applications using ML.NET.