example of net application

Ecommerce Solutions

Open Source Development

  • Mobile Application Development

CMS Development

  • Quality Engineering
  • Web Development
  • Shopify Development

Bigcommerce Development

Magento Development

Woocommerce Development

  • Laravel Development

React Js-Development

Android App Development

IPhone App Development

React Native

Flutter Apps

WordPress Development

Headless CMS

Test Automation

  • Angular js Development
  • LMS Development
  • Hire React Developers
  • Austin Wb Design

></center></p><h2>Real-World Examples of .NET Applications in Action 2023</h2><p><center><img style=

  • Published May 21, 2023

Table of Contents

Software development has grown tremendously, with numerous frameworks and technologies emerging to meet the increasing demand for efficient and scalable applications. The .NET framework has emerged as a powerful and versatile platform for building various applications.

.NET, developed by Microsoft, provides developers with robust tools, libraries, and languages to create applications for various domains and industries. Its popularity stems from its ability to streamline development, enhance productivity, and deliver high-performance applications.

This article aims to dig deep into the .NET website and application examples using real-world implications that showcase the framework’s capabilities. We will explore different industries where .NET has made significant contributions, from business and healthcare to education, gaming, and the Internet of Things (IoT).

By examining these practical applications, we aim to illustrate how .NET empowers developers to create feature-rich, reliable, and scalable solutions that meet the diverse needs of today’s rapidly evolving digital landscape.

Whether you are a developer seeking inspiration, a business owner exploring technology options, or simply curious about the potential of .NET, this article will provide valuable insights into the real-world impact of .NET applications.

What is .NET Application Development?

.NET application development refers to creating software applications using the .NET framework, a comprehensive platform developed by Microsoft.

The .NET application framework provides developers with a rich set of tools, libraries, and languages to build a wide range of applications, including web applications, desktop applications, mobile application development , and more.

Businesses and industries hire .NET developers to create robust applications to make processes streamlined and more efficient.

The key components of .NET application development include:

  • Common Language Runtime (CLR) provides a runtime environment for code execution, memory management, security, and other essential tasks. The CLR allows developers to write applications in multiple languages, such as C#, VB.NET, F#, and more, while ensuring interoperability and consistent language behavior.
  • Base Class Library (BCL) is a collection of reusable classes, types, and APIs that provide various functionalities required for application development. It includes components for data access, networking, file I/O, security, user interface, and much more.
  • Microsoft provides Visual Studio , a powerful and feature-rich Integrated Development Environment (IDE), for .NET application development. Visual Studio offers comprehensive tools to streamline the development process , including code editors, debugging capabilities, project management, and integrated testing frameworks. It enables developers to write, debug, and deploy .NET applications efficiently.
  • The .NET ecosystem offers a vast collection of libraries and frameworks that extend the framework’s capabilities. These include ASP.NET for web development , Windows Presentation Foundation (WPF) for building desktop applications with rich user interfaces, Xamarin for cross-platform mobile app development , and many more. These libraries and frameworks provide ready-made solutions and abstractions for common application requirements, saving development time and effort.

.NET application development follows a structured approach that involves designing the application architecture, writing code using the chosen programming language (such as C#), utilizing relevant libraries and frameworks, testing the application, and deploying it to the desired platform.

Depending on the application requirements, the development process may involve working with databases, web services, user interfaces, and other components.

  • How to hire .Net Developers

Types of .NET Applications

example of net application

.NET applications can be categorized into several types depending on their usage and the framework for development.

Some of the types that a professional .NET development company creates or utilizes include:

Type 1: Console Applications:

These are command-line applications that run in a console window. They are typically used for simple tasks and automation scripts.

Type 2: Windows Forms (WinForms) Applications:

WinForms is a graphical user interface (GUI) framework for creating desktop applications on Windows. It provides a drag-and-drop visual designer to create user interfaces.

Type 3: Windows Presentation Foundation (WPF) Applications:

WPF is a more modern GUI framework for creating rich desktop applications on Windows. It offers advanced graphics, multimedia, and data-binding capabilities.

Type 4: ASP.NET Web Forms Applications:

Web Forms is a framework for building web applications using a drag-and-drop visual designer. It follows a stateful programming model and is based on server-side controls.

Type 5: ASP.NET MVC Applications:

MVC (Model-View-Controller) is a web application framework that separates the application into three components: the model (data and business logic), the view (user interface), and the controller (handles user input and coordinates the model and view).

Type 6: ASP.NET Core Applications:

ASP.NET Core is a cross-platform, open-source framework for building web applications. It supports both MVC and Razor Pages for creating dynamic web pages.

Type 7: Windows Communication Foundation (WCF) Applications:

WCF is a framework for building service-oriented applications. It enables you to create distributed systems using various communication protocols and transports.

Type 8: Windows Services:

Windows services are long-running background processes that do not have a user interface. They can be used for system monitoring, data synchronization, or running scheduled jobs.

Type 9: Xamarin Applications:

Xamarin is a framework for building cross-platform mobile applications using .NET. It allows you to write code in C# and share it across multiple platforms, including Android, iOS, and Windows.

Type 10: Universal Windows Platform (UWP) Applications:

UWP is a platform for building applications that run on multiple Windows devices, such as desktops, tablets, smartphones, and IoT devices. UWP applications can be distributed through the Microsoft Store.

Examples of .NET Applications Used in Real-World Implications

.net applications in business.

.NET Applications in Business

The .NET framework has become a popular choice for developing business applications due to its versatility, scalability, and robustness. It provides various tools and technologies that empower developers to create efficient solutions for various business needs. Here are some examples of .NET in the business domain:

  • Enterprise Resource Planning (ERP) Systems
  • Customer Relationship Management (CRM) Systems
  • Financial Management Systems
  • Business Intelligence and Analytics
  • Supply Chain Management
  • Document Management Systems
  • E-commerce Solutions for robust B2B ecommerce  platforms

Best Examples

Example 1: microsoft office suite:.

Microsoft Office applications like Word, Excel, PowerPoint, and Outlook are built using .NET technologies, making them widely used productivity tools across businesses.

Example 2: SharePoint:

SharePoint is a collaboration and content management platform developed by Microsoft. It is built on the .NET framework and provides a range of features for document management, intranet portals, enterprise search, and workflow automation.

Example 3: ASP.NET-based e-commerce platforms:

Many popular e-commerce platforms, such as nopCommerce, Sitecore Commerce, and Virto Commerce, are built using ASP.NET, a framework within the .NET ecosystem. These platforms offer robust features for online shopping, inventory management, payment integration, and customer engagement.

Example 4: Trello:

Trello is a web-based project management application that uses ASP.NET on the server side. It provides a flexible and intuitive interface for organizing tasks, collaborating with team members, and managing projects efficiently.

Example 5: Tableau:

Tableau, a popular business intelligence and data visualization tool, uses the .NET framework extensively. It enables organizations to analyze and present data visually appealing and interactively, helping them gain valuable insights.

Example 6: ADP Workforce Now:

ADP Workforce Now is a cloud-based human capital management (HCM) solution for businesses. It leverages .NET technologies to provide functionalities such as payroll management, time and attendance tracking, benefits administration, and talent management.

.NET Applications in Healthcare

example of net application

The healthcare industry relies heavily on technology to streamline processes, improve patient care, and enhance operational efficiency. The .NET framework offers a robust platform for developing healthcare applications that meet the unique challenges and requirements of the industry. Here are some examples of .NET applications in the healthcare domain:

  • Electronic Health Records (EHR) Systems
  • Telemedicine Platforms
  • Medical Billing and Coding Software
  • Clinical Decision Support Systems (CDSS)
  • Health Information Exchange (HIE) Systems
  • Patient Engagement and Wellness Applications
  • Medical Imaging and Picture Archiving and Communication Systems (PACS)

Example 1: Epic Systems:

Epic Systems is a leading electronic health record (EHR) vendor. Their EHR software, used by many hospitals and healthcare organizations, is built on the .NET framework. It provides comprehensive functionality for patient records management, clinical workflows, scheduling, billing, and more.

Example 2: Cerner Millennium:

Cerner Millennium is another widely adopted EHR system that utilizes .NET technologies. It enables healthcare providers to store and access patient data, manage medication orders, track lab results, and facilitate communication between healthcare professionals.

Example 3: Allscripts:

Allscripts offers a range of healthcare software solutions, including EHR systems, practice management tools, and patient engagement platforms. Their applications are built on .NET, allowing healthcare organizations to streamline clinical operations, enhance patient care, and improve administrative efficiency.

Example 4: Meditech:

Meditech is a prominent provider of integrated EHR and hospital management systems. Developed on the .NET framework, their solutions offer modules for various departments such as pharmacy, laboratory, radiology, and billing, helping healthcare institutions optimize workflows and deliver quality care.

Example 5: eClinicalWorks:

eClinicalWorks is a popular EHR and practice management software provider. Their solutions, powered by .NET, enable healthcare providers to manage patient information, automate billing processes, schedule appointments, and facilitate secure patient communication.

.NET Applications in Education

.NET Applications in Education

The education sector has witnessed significant technological advancements, transforming how students learn, and educators teach. The .NET framework offers powerful tools and frameworks for developing applications that enhance the educational experience.

Here are some examples of .NET applications in the education domain:

  • Learning Management Systems (LMS)
  • Student Information Systems (SIS)
  • Online Courseware Platforms
  • Virtual Learning Environments (VLE)
  • Academic Research and Collaboration Platforms
  • School Administration and Management Systems

Example 1: Blackboard Learning Management System (LMS):

Blackboard is a widely used learning management system in educational institutions. It offers a comprehensive platform for online course delivery, content management, communication, and assessment. Blackboard leverages .NET technologies to provide a robust and scalable e-learning solution.

Example 2: Canvas:

Canvas is another popular learning management system utilized by educational institutions worldwide. Built on the .NET framework, Canvas offers a user-friendly interface, collaborative features, and extensive customization options for course management, content creation, and student engagement.

Example 3: PowerSchool:

PowerSchool is a student information system used by schools and districts to manage student data, attendance, grading, and scheduling. It is built using .NET technologies and provides educators with a centralized platform to track student progress and communicate with parents.

Example 4: Moodle:

Moodle is an open-source learning management system that is widely adopted in the education sector. While primarily built on PHP , it utilizes .NET technologies for specific components and integrations. Moodle enables educators to create online courses, manage assessments, and engage students in collaborative activities.

.NET Applications in Gaming

.NET Applications in Gaming

The gaming industry has grown exponentially, driven by technological advancements and increasing demand for immersive and interactive gaming experiences. The .NET framework offers a range of tools and frameworks for developing games across different platforms. Here are some examples of .NET applications in the gaming domain:

  • Game Development Engines
  • Game Design and Development Tools
  • Mobile Game Development
  • Augmented Reality (AR) and Virtual Reality (VR) Games
  • Game Testing and Quality Assurance

Example 1: Unity Game Engine:

Unity is one of the most popular game engines for developing 2D and 3D games across multiple platforms. It supports the .NET framework, allowing developers to write game logic and scripts using C#.

Example 2: GameMaker Studio:

GameMaker Studio is a game development platform that enables the creation of 2D games. It supports the .NET framework, allowing developers to extend game functionality using C#.

Example 3: MonoGame:

MonoGame is an open-source framework that allows developers to build cross-platform games. It is built on the .NET framework and is a powerful tool for creating games that can run on various platforms, including Windows, macOS, Linux, iOS, Android, and more.

.NET Applications in the Internet of Things (IoT)

The Internet of Things  (IoT) has revolutionized how we interact with and control physical objects and devices. The .NET framework provides a solid foundation for developing robust and scalable IoT applications. Here are some examples of .NET applications in the IoT domain:

  • IoT Device Management
  • Home Automation
  • Industrial IoT (IIoT)
  • Healthcare IoT
  • Agriculture IoT
  • Energy Management

Example 1: Azure IoT Suite:

Azure IoT Suite is a comprehensive platform Microsoft provides for building and managing IoT solutions. It offers various services and tools built on the .NET framework, including device connectivity, data ingestion, analytics, and remote device management.

Example 2: Raspberry Pi with Windows 10 IoT Core:

Windows 10 IoT Core is a version of Windows 10 designed specifically for IoT devices. It supports .NET Core and enables developers to create IoT solutions using standard .NET technologies. Raspberry Pi, a popular single-board computer, can be used with Windows 10 IoT Core to build IoT applications.

Example 3: Philips Hue Lighting System:

The Philips Hue lighting system allows users to control and automate their lighting setup using smartphones or other devices. The system utilizes the .NET framework to provide APIs and SDKs for developers to create custom applications and integrate the lighting system with other IoT devices.

Example 4:  Nest Thermostat:

Nest Thermostat is a smart home device that learns and adjusts temperature settings based on user preferences. It utilizes the .NET framework for its underlying software and allows users to control and monitor their thermostats remotely via mobile apps or other connected devices.

Example 5:  Bosch IoT Suite:

Bosch IoT Suite is a platform that enables developing and managing IoT applications across various industries. It offers services and tools built on .NET technologies, including device connectivity, data processing, and analytics for building scalable and secure IoT solutions.

.NET framework offers a wide range of opportunities for developing applications across various industries and domains. We have explored some key areas where .NET applications have significantly impacted.

The versatility, scalability, and robustness of the .NET framework make it a powerful tool for developers across industries.

Whether business applications, healthcare solutions, educational platforms, gaming experiences, or IoT, various examples of .NET applications  display necessary tools and libraries to create innovative and reliable software.

As technology continues to evolve, we can expect the .NET framework to evolve alongside it, offering even more capabilities and possibilities for application development.

With its extensive ecosystem and community support, .NET remains a valuable asset for developers seeking to build robust, scalable, and secure applications to meet the ever-changing digital world demands.

Azeem haider

Azeem Haider is a team lead at ClickySoft’s development team, he spends his free time writing and publishing all things related to web & app development.

Consult our Experts Now

Want to hire resources to work with you, looking for ui/ux & graphic design solutions.

  • Project Management
  • Web Portals
  • E-Commerce Solutions
  • .NET Development

Staff Augmentation

  • Hire Developers
  • Hire Shopify Developers
  • Hire Laravel Developers
  • Hire Full Stack Developers
  • Hire React Native Developers
  • Hire Ecommerce Developers
  • Hire PHP Developers
  • Houston App Development
  • Houston Andriod App
  • Houston iOS App
  • Houston Web Design
  • Houston Web Development
  • Dallas Web Design
  • Austin Web Design

example of net application

  • +1 (832) 847-6000
  • [email protected]
  • 15500 Voss Rd, Sugar Land,
  • United States
  • Follow Us on
  • Privacy Policy
  • © 2023 Clickysoft. All rights reserved.

goodfirms-logo.png

Top 7 Examples of .NET Applications

Phenomenal results - that's what one of the companies experienced after switching to .NET. Explore 7 most interesting examples of .NET applications along with the curious details about apps and results they brought.

A QUICK SUMMARY – FOR THE BUSY ONES

Examples of .NET applications

These 7 companies used .NET in their projects:

  • Forza Horizon
  • Academy of Motion Picture Arts and Sciences
  • BBC Good Food
  • Allegiance Consulting
  • American Cancer Society

Read on to learn more about these apps along with successes and problems .NET generated in the projects.

TABLE OF CONTENTS

Are you thinking of switching to .Net to build your applications? If yes, this article covers examples of .Net applications and why the developers chose the toolset. 

But first, let's see why you should consider the switch.

The mobile app market is projected to generate revenues of $935 billion in 2023. This comes as no surprise as applications have become a key part of people's personal and professional lives. 

There are approximately 3.8 billion smartphone users across the globe. And the average smartphone owner uses ten apps daily. 

As a software engineer, the market offers tremendous opportunities. However, you need to have the right tools to build apps. 

This is why many developers are now turning to .NET. It's a powerful, feature-packed toolset for building desktop and mobile apps, web apps, and gaming and IoT solutions. 

GoDaddy is a US-based company that helps businesses succeed by offering industry-leading domain registration and hosting services. Its focus is on small independent businesses for which it provides a dedicated cloud platform.

According to GoDaddy, it has over 6,000 employees and 17 million-plus clients across the globe. Along with being robust and having great features, it is highly secure and intuitive, enhancing customer experience. 

Why Did They Choose .NET?

As a hosting provider for small businesses, GoDaddy is committed to offering highly efficient and scalable solutions. By using .NET Core with C#, GoDaddy is able to improve production performance, develop more solutions in a shorter period, and scale better. 

Beyond this, GoDaddy enjoys greater freedom to capitalize on new infrastructure technologies on Linux, such as Docker and Kubernetes. 

Here's what GoDaddy's Principal Software Architect, Jeremiah Gowdy has to say about .Net.

"I was able to quickly remediate 99 percent of the incompatibilities just by shifting from older APIs to the more preferred APIs that we use today."

With over a century under its belt, UPS is one of the largest package delivery companies. It handles over 19 million deliveries to over 220 countries and territories daily. 

To ensure it continues to deliver exemplary delivery services to its ever-increasing customer base, UPS invests $1 billion annually in innovative technologies. The UPS Mobile app is one such solution. It allows customers to manage, track, nickname shipments, estimate costs and delivery times, find UPS service locations, and create shipping labels on the go. 

Why Did UPS Choose .NET?

UPS had to deal with a fragmented web development process, as with most companies. As a result, pushing new features across multiple device platforms required a lot of work and time. 

However, after consolidating its codebase with a combination of tools, including .NET, UPS now enjoys faster time to market, enhanced efficiency, etc. 

Here's what Katie Duffy, the Application Architect of UPS, has to say:

"Conversation as a platform is the future, so it's great that we're already offering it to our customers using the Bot Framework and Azure. Even though we're just getting started with our bot, we believe we are the first in the shipping industry to offer this type of technology on social media."

3. Forza Horizon

Among the best examples of .NET applications is Forza Horizon, a racing video game developed by Playground Games and Turn 10 Studios. The game is published by Xbox Game Studios and was first released in 2012.

With each new release, it gains more and more fans. For example, when Forza Horizon 5 was released, it had over 10 million concurrent players, marking the biggest week for an Xbox Game Studios release. 

Why Forza Horizon Uses .NET

As Forza Horizon continues to gain popularity and grow in size, the infrastructure needed to support it also increases. Also, players expect top-notch graphics, efficient gameplay, and improvements with each release. 

While this was a challenge early on, things are much easier since Forza Horizon moved its code based on the .NET Framework and Internet Information Services (IIS) to Azure Cloud Services (Classic).  

Now Forza Horizon enjoys an ultra-low latency, accelerated networking, and a lower CPU utilization thanks to a high-performance path that reduces jitter. 

Tyler Hennessy, the Principal Software Engineering Lead of Turn 10 Studios, commented as follows:

"At launch, when we had over 1 million concurrent users, all 17 services autoscaled and end-to-end latency never went above 100 milliseconds."

4. Academy of Motion Picture Arts and Sciences

The Academy of Motion Picture Arts and Sciences sets the bar when it comes to the movie world. One of its most popular features is the Oscars, an annual awards ceremony that celebrates the best performances.

Why the Academy of Motion Pictures and Arts Uses .NET

In the past, most of the Academy of Motion Picture Arts and Sciences' data existed in isolated on-premise databases and even on paper. As you can imagine, that's highly inefficient.

After migrating to the cloud, it now enjoys streamlined IT development and can serve the members better. This comes via responsive online experiences across different types of devices.  

One of the reasons the Academy chose to use Azure is because Microsoft is best placed to understand .NET and SQL. 

Here's what Bev Kite, the Chief Information Officer of the Academy, said about the transitions:

"Azure gave us built-in scalability and high availability, which allowed us to take more risks. We were able to go from streaming just a few award categories to streaming all award categories, including Best Picture. Even better, because Azure is subscription-based, we no longer need to pay for more scalability before we need it."

5. BBC Good Food

BBC Good Food is a product of the BBC Worldwide brand. So as you can imagine, it's a provider of food-related content online. The content touches on recipes, health, family, and travel. 

While everyone loves a good meal, getting the time to plan for it or come up with a delicious recipe is rarely available. BBC Good Food helps with this as it provides all the necessary information that's accessible remotely.

Why BBC Good Food Uses .NET

With over 10,000 recipes and millions of visitors monthly, BBC Good Food knows that it can remain so popular by improving customer engagement and loyalty. 

By using .NET, the company was able to create a mobile-first solution that enhances the customer experience by offering personalized recommendations. 

Matt Pickering, the Managing Director of NV Interactive, best captures the intention and results:

"BBC Good Food wanted to move fast, and the only way to do that was to take a single platform approach. We knew Visual Studio Tools for Xamarin was the best choice for fast development while still helping ensure native-quality apps."

6. Allegiance Consulting

Allegiance Consulting (Pty) Ltd is a fintech company that provides complex financial planning systems based in South Africa. It started operations in 1999 with legal and business consultants. 

After years of continued growth, it now features UX specialists, quants, and talented developers to build advanced financial planning solutions. 

Why Allegiance Consulting Chose .NET

As the demand for financial planning systems increased, there was a need to accelerate the development process. In addition to the speed, it was important for solutions to be scalable and highly secure. 

Another reason the company turned to .NET is the need to reduce time to market and reach international markets with ideal solutions. 

The CEO of Allegiance Consulting, Kobus Barnard, explains:

"Our next steps? Automate our infrastructure layer that is hosted on Azure. We want to ensure that we can spin up new environments without human interaction, so we can deploy continuously using Azure DevOps as our base pipeline layer. We are also currently at IoT devices on the edge for enhanced security using FIDO keys and AI to further enhance the user experience on our SaaS applications."

7. American Cancer Society

On its mission to rid the world of cancer, the American Cancer Society greatly relies on volunteers. The organization uses mobile apps to keep them informed and actively support the cause.

Why the American Cancer Society Chose .NET

Due to high database costs, slow development, and disorganized processes, the society's IT team decided to adopt Microsoft Azure DevOps along with .NET Core as an open-source technology. 

As a result, data storage deployment costs have reduced significantly while funds raised have increased.

Ben Kaplan, the Senior Director of Digital Products at the American Cancer Society, puts it best:

"Results … have been simply phenomenal. The first year, we did 86 percent more revenue year over year. Last year, we did over 55 percent more revenue."

Some of the frequently asked questions about the examples of .NET applications include:

1. What are the types of .NET applications?

You can use .NET to create different types of apps, including console, Windows GUI, Windows Presentation Foundation, Windows services, ASP.NET, workflow-enabled, and service-oriented apps.

2. What are NET-based applications?

These are applications built on .NET, a cross-platform, open-source developer platform.

3. What is NET example?

There are many examples of .NET applications such as GoDaddy, UPS, and Forza Horizon.

4. What are the three applications that can be developed under the .NET platform?

You can use .NET to build desktop and mobile apps, web apps, and gaming and IoT solutions.

When it comes to app development, .NET allows you to offer enhanced performance and customer experience while reducing costs. However, to enjoy such benefits, you'll need a reliable partner.

Brainhub is a company that's committed to helping businesses build scalable web and mobile applications. Get in touch with us today to accelerate your development. 

https://dotnet.microsoft.com/en-us/platform/customers

https://artelogic.net/blog/top-7-web-resources-built-using-net

Frequently Asked Questions

Our promise

Every year, Brainhub helps 750,000+ founders, leaders and software engineers make smart tech decisions. We earn that trust by openly sharing our insights based on practical software engineering experience.

example of net application

Software development enthusiast with 8 years of professional experience in this industry.

Top reads this month

Get smarter in engineering and leadership in less than 60 seconds.

Join 300+ founders and engineering leaders, and get a weekly newsletter that takes our CEO 5-6 hours to prepare.

Previous post

No previous chapters

No next chapters

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

.NET samples and tutorials

  • 21 contributors

The .NET documentation contains a set of samples and tutorials that teach you about .NET. This article describes how to find, view, and download .NET, ASP.NET Core, and C# samples and tutorials. Find resources to learn the F# programming language on the F# Foundation's site . If you're interested in exploring C# using an online code editor, start with this interactive tutorial and continue with C# interactive tutorial . For instructions on how to view and download sample code, see the Viewing and downloading samples section.

Unit Testing in .NET Core using dotnet test

This guide shows you how to create an ASP.NET Core web app and associated unit tests. It starts by creating a simple web service app and then adds tests. It continues with creating more tests to guide implementing new features. The completed sample is available in the dotnet/samples repository on GitHub.

Tutorial: Create a .NET console application using Visual Studio Code

This tutorial shows how to create and run a .NET console application by using Visual Studio Code and the .NET CLI. Project tasks, such as creating, compiling, and running a project are done by using the .NET CLI.

Tutorial: Create a .NET class library using Visual Studio Code

This tutorial shows how to write libraries for .NET using Visual Studio Code and the .NET CLI. Project tasks, such as creating, compiling, and running a project are done by using the .NET CLI.

For more .NET tutorials, see Learn .NET and the .NET SDK tools .

ASP.NET Core

See the ASP.NET Core tutorials . Many articles in the ASP.NET Core documentation have links to samples written for them.

C# language

This sample demonstrates the syntax and features for creating and consuming C# iterators. The completed sample is available in the dotnet/samples repository on GitHub.

This sample demonstrates the syntax and features for C# indexers. The completed sample is available in the dotnet/samples repository on GitHub.

Delegates and Events

This sample demonstrates the syntax and features for C# delegates and events. The completed sample is available in the dotnet/samples repository on GitHub. A second sample focused on events is also in the same repository.

Expression Trees

This sample demonstrates many of the problems that can be solved by using Expression Trees. The completed sample is available in the dotnet/samples repository on GitHub.

LINQ Samples

This series of samples demonstrate many of the features of Language Integrated Query (LINQ). The completed sample is available in the dotnet/samples repository on GitHub.

Managed COM server Sample

The COM server sample demonstrates the creation of a managed COM server and how it can be globally registered or consumed via RegFree COM.

Microsoft Office PIA Sample

The ExcelDemo sample demonstrates the consumption of Microsoft Office PIAs in .NET Core.

Console Application

This tutorial demonstrates Console I/O, the structure of a console app, and the basics of the task-based asynchronous programming model. The completed sample is available in the dotnet/samples repository on GitHub.

REST Client

This tutorial demonstrates web communications, JSON serialization, and object-oriented features of the C# language. The completed sample is available in the dotnet/samples repository on GitHub.

Working with LINQ

This tutorial demonstrates many of the features of LINQ and the language elements that support it. The completed sample is available in the dotnet/samples repository on GitHub.

Creating a .NET Core application that supports plugins

This tutorial shows you how to build a simple application on .NET Core that supports a plugin architecture. The completed sample is available in the dotnet/samples repository on GitHub.

Deploy to containers

Running ASP.NET MVC Applications in Windows Docker Containers

This tutorial demonstrates how to deploy an existing ASP.NET MVC app in a Windows Docker Container.

View and download samples

Many topics show source code and samples that are available for viewing or download from GitHub. To view a sample, just follow the sample link. To download the code, follow these instructions:

  • Download a ZIP of the repository to your local system. Un-ZIP the compressed archive.
  • Fork the repository and clone the fork to your local system. Forking and cloning permits you to make contributions to the documentation by committing changes to your fork and then creating a pull request for the official docs repository. For more information, see the .NET Documentation Contributing Guide and the ASP.NET Core Docs Contributing Guide .
  • Clone the repository locally. If you clone a docs repository directly to your local system, you won't be able to make commits directly against the official repository, so you won't be able to make documentation contributions later. Use the fork and clone procedure previously described if you want to preserve the opportunity to contribute to the documentation later.
  • Navigate within the repository's folders to the sample's location. The relative path to the sample's location appears in your browser's address bar when you follow the link to the sample.
  • Use the .NET CLI : In a console window, navigate to the sample's folder and use dotnet CLI commands.
  • Use Visual Studio or Visual Studio for Mac : Open the sample by selecting File > Open > Project/Solution from the menu bar, navigate to the sample project folder, and select the project file ( .csproj or .fsproj ).
  • Use Visual Studio Code : Open the sample by selecting File > Open Folder from the menu bar and selecting the sample's project folder.
  • Use a different IDE that supports .NET projects.

Submit and view feedback for

Additional resources

author-ela-mazurkiewicz

What is .NET used for? 9 Examples of .NET Applications

Are you thinking about choosing the .NET framework and its tools for your new development project but aren’t sure if it would be a good choice? <br> We’ve prepared nine different examples of projects that were either built from scratch or modernized using the powers of .NET to show you just how versatile the framework can be.

dotnet-apps-examples-blog

Over the past few years, .NET has firmly held the top slot in the Stack Overflow survey in the “Other frameworks” category. For example, in the  Stack Overflow 2022 survey , almost 35% of professional developers picked .NET as their most often used framework. Considering how  flexible, reliable, but also developer-friendly  the framework is, this popularity shouldn’t be anything surprising.

Let’s take a look at a few companies that have used .NET in their projects with success.

Stack Overflow

Our first example will be Stack Overflow, a community-based Q&A website for developers.  The Stack Overflow team has used the .NET framework to power its website from the very beginning.  In 2018, though, they announced that they were  migrating their system architecture to  .NET Core  in order to solve some of the problems plaguing the older technology.

What has Stack Overflow gained from using .NET applications?

Among the major changes following the migration is that their  infrastructure has become much faster . Thanks to this, the Stack Overflow team can now build applications faster, but it also takes less time for users to find the information they need.

But what has really made the difference for them is that now they can  build and run applications on different operating systems   and deploy them via the Azure cloud platform .

Nick Craver

Architecture Lead at Stack Overflow

With .NET Core 3.0, we can build an app and then run it on our Windows developers’ machines, design computers on Mac, and the enterprise cloud in Linux. We can build the application in one way, and that’s tremendous.

Another thing .NET core helped them with is by  making Stack Overflow applications more modular . With the modules, the Stack Overflow team can host different parts of an application in separate places and also experiment with Kubernetes and Docker.

.NET Core also made testing applications easier for the development team.  Now they can test a method, end-to-end, or server with ease – something they struggled with on the older version of the .NET framework.

With .Net Core, I’m not fighting all of the meta of building software. We can actually just go and build the software.

ups

UPS is one of the largest package delivery companies Worldwide, handling over 24 million deliveries daily to over 220 countries and territories.  To improve customer service and increase its IT staff efficiency, UPS decided to run two projects:

  • Building a faster, consolidated version of  UPS Mobile  so the app would work smoothly on different devices, reducing the amount of work developers needed to maintain the app code.
  • Designing a  UPS Bot  that would let customers find information about shipments, rates, and UPS locations via text or voice commands.

Both of those projects were run on .NET, Azure, and Visual Studio Tools for Xamarin.

What has UPS gained from using .NET applications?

With the new version of their mobile app,  the amount of code that UPS developers need to maintain has dropped by half . What’s more, developers now also need  only a few weeks  at most to implement new features to their apps  compared to months previously.

Also, UPS’s new app has significantly  improved the user experience  – customers can use the application on multiple devices, both iOS and Android.

The UPS Bot, meanwhile (built with the .NET framework),  made the support team’s job much easier  as it handles the majority of simple and repetitive questions for them. Customers can also talk with the chatbot either by using the text field or by giving it voice commands, whichever is more convenient for them.

UPS Architect

Conversation as a platform is the future, so it’s great that we’re already offering it to our customers using the Bot Framework and Azure. Even though we’re just getting started with our bot, we believe we are the first in the shipping industry to offer this type of technology on social media.

Forza Horizon 5

What about games in which users expect top-notch graphics, smooth gameplay, and outstanding performance? Would the .NET framework and its applications also be helpful here? Forza Horizon 5’s success proves just that –  the .NET framework can also be an excellent choice for video games.

Forza Horizon is a racing game developed by Playground Games and Turn 10 Studios, released in 2012. The latest edition, Forza Horizon 5, was released in November 2021 and immediately became a massive hit. In the very first week, the game had  10 million concurrent players  – a new Xbox and Game Pass record.

However, the game’s growing popularity started becoming a problem for the developers as they struggled to scale up the infrastructure. That’s why they decided to migrate their entire code base to Azure Cloud Services with virtual machines and eventually to Azure Kubernetes.

What has Forza Tech gained from using .NET applications?

Thanks to the migration, the studio can take advantage of ultra-low latency, accelerated networking, and lower CPU utilization for better performance.  Moreover, with autoscaling Azure Kubernetes service clusters, the game can automatically adapt to changing demands.

But what made the ForzaTech developers especially happy is that  Kubernetes enabled them to run stress testing much more efficiently . Previously, they needed at least half an hour to swap out old images on the VMs and prepare them for load. With Azure Kubernetes, this process takes seconds, allowing the developers to make changes in a flash.

Daniel Adent

General Manager of ForzaTech

With our compute, storage, and data stacks all on Azure, our engineering teams can now spend more time building new experiences for our players rather than managing our infrastructure.

Academy of Motion Picture Arts and Sciences

the-academy

The Academy of Motion Picture Arts and Sciences is best known for its annual awards ceremony, the Oscars®. As hard as it might be to believe, however,  for years the vast majority of tasks related to picking nominees and category winners were done offline and most of their data was either held in on-premise databases or paper documents .

In 2014, the Academy decided it was high time to  modernize its website  and also  design a new mobile app  for Academy members. So, after analyzing their options, the Academy decided to move its infrastructure to the Azure Cloud platform.

What has the Academy gained from using .NET applications?

The Academy’s .NET Framework applications now run in Azure App Service. Thanks to its deployment slots,  they no longer need to put applications on downtime  whenever they need to add new content to the member portal. Moreover, Academy members can now watch movies (even from the “Best Picture”) category and cast their votes across various devices.

The data that used to reside in on-premises SQL Server databases, meanwhile, now is stored in Azure SQL, which shares its code base and SQL query language with SQL Server.  This enabled the Academy’s team to quickly and safely migrate the entire database to the cloud.

But what the academy points out is that  the migration also helped them move to work remotely  during the Covid-19 pandemic.

Chief Information Officer

Everything we do now is through the cloud, including ongoing software development. Azure helped us keep going during Covid-19. If we had still been on-premises, it would have been more difficult. We’ve managed to increase our ability to respond to member needs because we’re a lot more agile and flexible now.

Allegiance Consulting

Another company that also mentions Covid-19 as the main driver behind the decision to move to the cloud is Allegiance Consulting, a South African  fintech company  specializing in complex financial planning systems.

The forced move to remote work brought three challenges for them:

  • Staying in touch  with their employees and clients during lockdown times
  • Developing applications on a  highly secure  but also  flexible infrastructure
  • Reassuring their anxious clients that the consulting company was working as usual

The Azure cloud service turned out to be the perfect solution to all those problems.

What has Allegiance Consulting gained from using .NET applications?

One of the things they did to put their clients at ease was  to   create an application using the Blazor web framework . The application worked as a diagnostic tool that also gave users tips on how to deal with a health crisis financially and what they should do to stay safe. That way, the company could stay in touch with its clients during the lockdown periods.

Kobus Barnard

CEO at Allegiance Consulting

We deployed the application on Microsoft Azure, which gave us the scalability and security needed for an enterprise-level application in the financial services sector.

The company also moved its financial advice platform, Avalon, from a private cloud (which they have been using for ten years) to Azure. The benefits of the migrations were visible almost immediately –  significant savings on infrastructure costs and the ability to scale applications up or down whenever they needed .

GE Digital FlightPulse

GE-flight

GE Digital is a global leader in airline manufacturing, avionics, electrical power, and mechanical systems for aircraft. To make the skies safer and pilots more confident, GE Digital wanted to  build an application through which pilots could easily access data coming from aircraft systems and sensors .

Building such a complex solution the traditional way could take years, though. So instead, GE Digital built and deployed the application using Microsoft developer tools, GitHub, and Microsoft Azure.

What has GE Digital gained from using .NET applications?

GE built the backend APIs for FlightPulse using ASP .NET Core and then used Blazor to build its Config Console App. For the code editor, meanwhile, they used Microsoft Visual Studio Code and the platform’s extensions, such as Live Share for real-time coediting and IntelliCode for AI code completion.

Additionally, the GE team uses Azure Key Vault, Azure SQL Database, and Azure Storage to store airline data. The results?

Principal Architect at GE

We were able to build the app faster and work more efficiently given the componentization that we were able to use out of the box with Blazor. And it worked a lot more seamlessly than some of the stuff we’d done previously in Angular.

Geocaching.com

Geocaching is a game of hide-and-seek where players leave boxes in specific places and other players try to find them.

Initially, geocaching.com was meant just as a simple website through which players could find geocaches in their area. As mobile devices with in-built GPS became widespread though, the company started to grow rapidly as well –  going from serving thousands to millions of players .  Thus, the company needed to scale up its web application quickly to meet the growing demand.

.NET provided a perfect solution to their needs.

What has geocaching.com gained from using .NET applications?

Now,  their entire backend is built with .NET web APIs . By using the .NET framework, they can create web APIs that can  smoothly handle millions of players all over the world, 24/7 . The geocaching database also  stores over a billion geocache logs  now.

Director of Engineering

.NET has been the cornerstone for us because it’s been helping us grow and scale along with our customer base. It’s reliable. It does what I want it to do. It’s secure, and everyone knows how to use it. It performs. It’s my favorite platform.

The Postage

postage-graphic

The Postage is a startup website that allows people to create and store information that can be used in the future by their families, such as:

  • Last will and funeral preferences
  • Financial information
  • Medical records
  • Online passwords
  • Other legal documents

Before their idea became a real product, however, they needed to secure funding for the project. And for this, the startup needed to create a working product demo first.

Since they knew they would be storing  plenty of sensitive information, making the application as secure as possible was a priority . What’s more, the ready application also needed to be easy to use, scalable, and offered high availability as well. Microsoft .NET had everything they needed for the task.

What has The Postage gained from using .NET applications?

To bring this idea to life, Ken Myers (now the company’s Chief Technology Officer) started analyzing the platforms they could work on and ultimately decided to use Microsoft Azure.

Chief Technology Office

I knew we wanted to use .NET, and Azure is the best cloud for NET. What’s more, with .NET, we would get access to Blazor and Xamarin, which let us use C# across the entire application stack, from the front end to the back end to mobile. That approach has proven to be very effective in terms of both speed and cost.

By using Blazor, their small development team could work both on the front end and the back end of the solution without having to hire two separate groups for the development. The beta version of the application went live in June 2020, and the complete application was released three months later.

Emily Cisek

Chief Executive Officer

We’re seeing strong growth in terms of site traffic, account subscriptions, and general interest in the overall platform. And those people who do subscribe are actively uploading documents, adding their accounts and passwords, and saving messages for loved ones. It’s all coming together as we had hoped – we’re hearing stories about how it’s helping people change how they plan for the future, which is exactly what we set out to achieve.

Siemens Healthineers

Our last example will be a company from the healthcare sector – Siemens Healthineers. One of their main products, Digital Ecosystem, is intended to help healthcare providers offer better care to patients by giving the providers better quality insights derived from healthcare data.

Yet, as healthcare companies must comply with several data security and privacy laws, they must be extra careful when migrating data to the cloud.  That’s why Siemens Healthineers thoroughly researched their options to ensure its clients would be comfortable with having their private data stored in the cloud.

Ultimately, they selected Microsoft Azure, since the platform has many security certifications that helped the company reassure their customers that cloud storage is as secure as any other on-premises data center.

What has Siemens Healthineers gained from using .NET applications?

For deploying and managing their applications, Siemens Healthineers uses Azure Kubernetes Service (AKS). Using this service,  developers can quickly and easily work with their applications  without taking them offline for maintenance or upgrading, reducing downtime significantly.

Their development team also appreciates that  they can comfortably scale up  the Kubernetes environment  and scale it back down again when they don’t need the extra computing power . Siemens Healthineers also uses other Azure services for their applications, such as the Azure Cosmos database.

Thomas Gossler

Lead Architect

Azure Cosmos DB is an amazing technology. The biggest benefit for us is that we can have one database for anonymous data that is replicated worldwide into all regions that are relevant to us.

As you can see,  .NET development  can be tailored to virtually any industry or project.  Healthcare, gaming, or maybe fintech? Whatever project you have in mind, the .NET framework and the applications running on it can give you outstanding performance and customer experience.

To enjoy all the benefits .NET can bring to your project though, you’ll need a reliable partner like our talented .NET developers at Inwedo. So how about  meeting our team  for a short chat, so we could show you how you can bring the full potential of .NET?

Sources:  https://dotnet.microsoft.com/en-us/platform/customers

Maybe these pieces of content will also be worth reading?

net-blog

Piotr Zieliński

March 30 2023

What Makes .NET a Popular Choice Among Our Clients?

Are you stuck trying to decide whether .NET is the right development platform for your next big project? It can be hard to pick what’s best for you, but .NET technology may well hold the answer. From its versatility and scalability to compatibility across multiple operating systems, discover why .NET might just be the perfect development option for your needs.

angular-vs-react-blog

Marcin Szwajcowski

April 26 2023

Angular vs React – Which one is better for your front-end needs?

As the world of technology continues to evolve, new systems, approaches, and tools are constantly emerging. It might be challenging for beginners to select a JavaScript framework for their project or know where to start learning. That’s where this article comes in! It provides a helpful overview of Angular and React so that you can compare and contrast their unique characteristics.

building-custom-software-blog

Ela Mazurkiewicz

December 21 2022

How long does it take to build custom software?

You don’t need to be an Einstein to agree that time is relative. A long period for you may be a brief moment for the software development team, depending on various factors. How will it affect your deadlines? Check our take on one of the most problematic aspects of every commercial project – time.

24 Sample Web Application for .NET Clients

This chapter provides step-by-step instructions to create a simple Windows ASP.NET Web application that uses the Coherence for .NET library.

General Instructions

Developing and configuring a Windows ASP.NET web application that uses Coherence for .NET requires six basic steps:

Create an ASP.NET Project

Add a reference to the coherence for .net library, configure the web.config file, create coherence for .net configuration files, create the web form.

Implement the Web Application .

The following sections describe each of these steps in detail.

To create a new ASP.NET web application, follow these steps:

Choose File->New->Web site in Visual Studio 2005.

Under the " Templates ", select " ASP.NET Web Site ".

Select the language that you are most familiar with.

Select the location (type and full path) where you want to store your application.

Click the OK button to generate a new solution and empty ASP.NET application.

To use the Coherence for .NET library in your .NET application, you first need to add a reference to the Coherence.dll library:

In your project go to Project->Add Reference ... or right click References in the Solution Explorer and choose Add Reference... .

In the Add Reference window that appears, choose the Browse tab and find the Coherence.dll library on your file system.

Figure 24-1 Coherence.dll File in the Add Reference Window

Description of Figure 24-1 follows

To correctly configure the Coherence for .NET library, you must configure the Web.config XML file with the appropriate file names for each configuration file used by the Coherence for .NET library. Example 24-2 illustrates a valid Web.config configuration file:

Example 24-1 Sample Web.config Configuration File

In the <configSections> you must specify a class that handles access to the Coherence for .NET configuration section.

Elements within the Coherence for .NET configuration section are:

cache-factory-config —contains the path to a configuration descriptor used by the CacheFactory to configure the ( IConfigurableCacheFactory and Logger ) used by the CacheFactory .

cache-config —contains the path to a cache configuration descriptor which contains the cache configuration described earlier (see "Configuring Coherence*Extend on the Client" ). This cache configuration descriptor is used by the DefaultConfigurableCacheFactory .

pof-config —contains the path to a configuration descriptor used by the ConfigurablePofContext to register custom types used by the application.

Example 24-2 illustrates a sample coherence.xml configuration file:

Example 24-2 Sample coherence.xml Configuration File

Example 24-3 illustrates a sample cache-config.xml configuration file:

Example 24-3 Sample cache-config.xml Configuration File

Example 24-4 illustrates a sample pof-config.xml configuration file:

Example 24-4 Sample pof-config.xml Configuration File

Having creating these configuration files, everything is now in place to connect to a Coherence cluster and perform all operations supported by Coherence for .NET.

Switch to the Design tab for the Default.aspx page and from the Toolbox pane add the appropriate controls by dragging and dropping them on the page. You will need TextBox controls for the Name , Street , City , State , and Zip fields and corresponding label controls for each. This is illustrated in Figure 24-2 .

Figure 24-2 Adding Controls for the .aspx Page

Description of Figure 24-2 follows

After placing them on the page, you should change the ID and Text property for each control. As we won't be using labels in the code, you can leave their ID property values as generated, and just put appropriate labels in the Text property. You should name the ID and TextBox controls txtName , txtStreet , and so on. Add one button and rename its ID to btnSave and Text property to Save . This is illustrated in Figure 24-3 .

Figure 24-3 Changing IDs and Properties for Data Controls

Description of Figure 24-3 follows

Add one button and rename its ID to btnClear and Text property to Clear . This is illustrated in Figure 24-4

Figure 24-4 Adding a "Clear" Button to the Application

Description of Figure 24-4 follows

Add label and rename its ID to lblTotal . This label will be used to display the cache size. We have to add a RequiredFieldValidator from the Validation list of controls on the Toolbox pane and set its properties. This is illustrated in Figure 24-5 :

Figure 24-5 Adding a Field Validator and Setting its Properties

Description of Figure 24-5 follows

Please note that ControlToValidate property is set to the txtName control.

From the Data list of controls on the Toolbox pane, add a GridView control and an ObjectDataSource (named dsContact ). This is illustrated in Figure 24-6 .

Figure 24-6 Adding a GridView Control and an ObjectDataSource

Description of Figure 24-6 follows

Example 24-5 illustrates code for the GridView control source:

Example 24-5 Code for the GridView Data Control

Example 24-6 illustrates the ObjectDataSource code.

Example 24-6 ObjectDataSource Code

Now, let's add a Search pane by dragging and dropping a few labels, one DropDownList for a filter column, and a TextBox for filter criteria. This is illustrated in Figure 24-7 .

Figure 24-7 Search Pane

Description of Figure 24-7 follows

Implement the Web Application

Global.asax file.

In order to free up resources in the cluster when your ASP.NET application terminates, you need to call CacheFactory.Shutdown() within the Application_End event handler in Global.asax . Example 24-7 illustrates a Global.asax file and shows you how to do that, and also adds the call which redirects the user to an error page if an exception occurs.

Example 24-7 Redirecting a User to an Error Page

Business Object Definition

Example 24-8 illustrates the definition of the ContactInfo business object.

Example 24-8 Sample Business Object Definition File

Service Layer Implementation

Example 24-9 illustrates a class that will provide data to the data bind control. It must have a public GetData() method that will return an ICollection of data to the data bind control:

Example 24-9 Providing Data to the Data Bind Control

Code-behind the ASP.NET Page

Add an event handler that creates an inner object that provide data to the data bind control. This is illustrated in Example 24-10 .

Example 24-10 Event Handler to Provide Data to the Data Bind Control

The method illustrated in Example 24-11 refreshes the GridView displayed on the page, refreshes the total label lblTotal , and makes the btnClear and all buttons visible if there are objects in the cache:

Example 24-11 Method to Refresh the Grid View

The method illustrated in Example 24-12 handles page load events. If there is a getKey value in the Request , then the value mapped to the specified key in the cache is retrieved and the appropriate fields populated with its properties. If there is a removeKey value in the Request , the value mapped to the specified key is removed from the cache.

Example 24-12 Method to Handle Page Load Events

The helper method illustrated in Example 24-13 retrieves an ContactInfo object from the cache by a specified key:

Example 24-13 Retrieving a Business Object from the Cache through a Specified Key

Example 24-14 illustrates an the event handler for the btnSave button:

Example 24-14 Event Handler for a "Save" Button

Example 24-15 illustrates the event handler for the btnClear button:

Example 24-15 Event Handler for a :Clear" Button

Example 24-16 illustrates the event handler for the btnSearch button:

Example 24-16 Event Handler for a "Search" Button

Example 24-17 illustrates the event handler for the btnClearFilter button:

Example 24-17 Event Handler for a "Clear Filter" Button

Finally, you should add an ConnectionError.html page to the project with an appropriate error message in it.

Scripting on this page enhances content navigation, but does not change the content in any way.

Search code, repositories, users, issues, pull requests...

Provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

Sample ASP.NET Core 7.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.

dotnet-architecture/eShopOnWeb

Name already in use.

Use Git or checkout with SVN using the web URL.

Work fast with our official CLI. Learn more about the CLI .

  • Open with GitHub Desktop
  • Download ZIP

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

@jamesmontemagno

  • 755 commits

Microsoft eShopOnWeb ASP.NET Core Reference Application

Sample ASP.NET Core reference application, powered by Microsoft, demonstrating a single-process (monolithic) application architecture and deployment model. If you're new to .NET development, read the Getting Started for Beginners guide.

A list of Frequently Asked Questions about this repository can be found here .

Overview Video

Steve "ardalis" Smith recorded a live stream providing an overview of the eShopOnWeb reference app in October 2020.

This reference application is meant to support the free .PDF download ebook: Architecting Modern Web Applications with ASP.NET Core and Azure , updated to ASP.NET Core 7.0 . Also available in ePub/mobi formats .

You can also read the book in online pages at the .NET docs here: https://docs.microsoft.com/dotnet/architecture/modern-web-apps-azure/

example of net application

The eShopOnWeb sample is related to the eShopOnContainers sample application which, in that case, focuses on a microservices/containers-based application architecture. However, eShopOnWeb is much simpler in regards to its current functionality and focuses on traditional Web Application Development with a single deployment.

The goal for this sample is to demonstrate some of the principles and patterns described in the eBook . It is not meant to be an eCommerce reference application, and as such it does not implement many features that would be obvious and/or essential to a real eCommerce application.

VERSIONS The main branch is currently running ASP.NET Core 7.0. Older versions are tagged.

Topics (eBook TOC)

  • Introduction
  • Characteristics of Modern Web Applications
  • Choosing Between Traditional Web Apps and SPAs
  • Architectural Principles
  • Common Web Application Architectures
  • Common Client Side Technologies
  • Developing ASP.NET Core MVC Apps
  • Working with Data in ASP.NET Core Apps
  • Testing ASP.NET Core MVC Apps
  • Development Process for Azure-Hosted ASP.NET Core Apps
  • Azure Hosting Recommendations for ASP.NET Core Web Apps

Running the sample using Azd template

The store's home page should look like this:

eShopOnWeb home page screenshot

The Azure Developer CLI ( azd ) is a developer-centric command-line interface (CLI) tool for creating Azure applications.

You need to install it before running and deploying with Azure Developer CLI.

Linux/MacOS

And you can also install with package managers, like winget, choco, and brew. For more details, you can follow the documentation: https://aka.ms/azure-dev/install .

After logging in with the following command, you will be able to use the azd cli to quickly provision and deploy the application.

Then, execute the azd init command to initialize the environment.

Run azd up to provision all the resources to Azure and deploy the code to those resources.

According to the prompt, enter an env name , and select subscription and location , these are the necessary parameters when you create resources. Wait a moment for the resource deployment to complete, click the web endpoint and you will see the home page.

  • Considering security, we store its related data (id, password) in the Azure Key Vault when we create the database, and obtain it from the Key Vault when we use it. This is different from directly deploying applications locally.
  • The resource group name created in azure portal will be rg-{env name} .

You can also run the sample directly locally (See below).

Running the sample locally

Most of the site's functionality works with just the web application running. However, the site's Admin page relies on Blazor WebAssembly running in the browser, and it must communicate with the server using the site's PublicApi web application. You'll need to also run this project. You can configure Visual Studio to start multiple projects, or just go to the PublicApi folder in a terminal window and run dotnet run from there. After that from the Web folder you should run dotnet run --launch-profile Web . Now you should be able to browse to https://localhost:5001/ . The admin part in Blazor is accessible to https://localhost:5001/admin

Note that if you use this approach, you'll need to stop the application manually in order to build the solution (otherwise you'll get file locking errors).

After cloning or downloading the sample you must setup your database. To use the sample with a persistent database, you will need to run its Entity Framework Core migrations before you will be able to run the app.

You can also run the samples in Docker (see below).

Configuring the sample to use SQL Server

By default, the project uses a real database. If you want an in memory database, you can add in the appsettings.json file in the Web folder

Ensure your connection strings in appsettings.json point to a local SQL Server instance.

Ensure the tool EF was already installed. You can find some help here

Open a command prompt in the Web folder and execute the following commands:

These commands will create two separate databases, one for the store's catalog data and shopping cart information, and one for the app's user credentials and identity data.

Run the application.

The first time you run the application, it will seed both databases with data such that you should see products in the store, and you should be able to log in using the [email protected] account.

Note: If you need to create migrations, you can use these commands:

Running the sample in the dev container

This project includes a .devcontainer folder with a dev container configuration , which lets you use a container as a full-featured dev environment.

You can use the dev container to build and run the app without needing to install any of its tools locally! You can work in GitHub Codespaces or the VS Code Dev Containers extension.

Learn more about using the dev container in its readme .

Running the sample using Docker

You can run the Web sample by running these commands from the root folder (where the .sln file is located):

You should be able to make requests to localhost:5106 for the Web project, and localhost:5200 for the Public API project once these commands complete. If you have any problems, especially with login, try from a new guest or incognito browser instance.

You can also run the applications by using the instructions located in their Dockerfile file in the root of each project. Again, run these commands from the root of the solution (where the .sln file is located).

Community Extensions

We have some great contributions from the community, and while these aren't maintained by Microsoft we still want to highlight them.

eShopOnWeb VB.NET by Mohammad Hamdy Ghanem

Contributors 74

@efleming18

  • Dockerfile 0.3%

Sample applications for .NET

To run your own .NET applications, use the instructions for the verification programs, substituting your application name in place of the sample applications.

  • A put message application
  • A get message application
  • A 'hello world' application
  • A publish/subscribe application
  • An application using message properties

All these sample applications are supplied in the C# language, and some are also supplied in C++ and Visual Basic. You can write applications in any language supported by .NET .

  • The name of a queue (required), for example, SYSTEM.DEFAULT.LOCAL.QUEUE
  • The name of a queue manager (optional)
  • The definition of a channel (optional), for example, SYSTEM.DEF.SVRCONN/TCP/hostname(1414)
  • The name of a queue (optional), for example, SYSTEM.DEFAULT.LOCAL.QUEUE or SYSTEM.DEFAULT.MODEL.QUEUE
  • A channel definition (optional), for example, SYSTEM.DEF.SVRCONN/TCP/hostname(1414)
  • A channel definition (optional)

You can verify your installation by compiling and running these applications.

Installation locations

MQ_INSTALLATION_PATH \Tools\dotnet\samples\cs\nmqswrld.cs

MQ_INSTALLATION_PATH \Tools\dotnet\samples\cs\nmqsput.cs

MQ_INSTALLATION_PATH \Tools\dotnet\samples\cs\nmqsget.cs

MQ_INSTALLATION_PATH \Tools\dotnet\samples\cs\MQPubSubSample.cs

MQ_INSTALLATION_PATH \Tools\dotnet\samples\cs\MQMessagePropertiesSample.cs

MQ_INSTALLATION_PATH \Tools\dotnet\samples\mcp\mmqswrld.cpp

MQ_INSTALLATION_PATH \Tools\dotnet\samples\mcp\mmqsput.cpp

MQ_INSTALLATION_PATH \Tools\dotnet\samples\mcp\mmqsget.cpp

MQ_INSTALLATION_PATH \Tools\dotnet\samples\vb\vmqswrld.vb

MQ_INSTALLATION_PATH \Tools\dotnet\samples\vb\vmqsput.vb

MQ_INSTALLATION_PATH \Tools\dotnet\samples\vb\vmqsget.vb

MQ_INSTALLATION_PATH \Tools\dotnet\samples\vb\xmqswrld.vb

MQ_INSTALLATION_PATH \Tools\dotnet\samples\vb\xmqsput.vb

MQ_INSTALLATION_PATH \Tools\dotnet\samples\vb\xmqsget.vb

Building the sample applications

To build the sample applications, a batch file is supplied for each language.

MQ_INSTALLATION_PATH \Tools\dotnet\samples\cs\bldcssamp.bat

MQ_INSTALLATION_PATH \Tools\dotnet\samples\mcp\bldmcpsamp.bat

MQ_INSTALLATION_PATH \Tools\dotnet\samples\vb\bldvbsamp.bat

Samples for using IBM MQ with Microsoft .NET Core

From IBM MQ 9.2.0 , IBM MQ supports .NET Core for IBM MQ .NET applications in Windows environments. IBM MQ classes for .NET Standard, including samples, are installed by default as part of the standard IBM MQ installation.

The sample applications for IBM MQ .NET are installed in &MQINSTALL_PATH&/samp/dotnet/samples/cs/core/base . A script is also provided, which can be used to compile the samples.

  • MQ\tools\dotnet\samples\cs\core\base\SimpleGet
  • MQ\tools\dotnet\samples\cs\core\base\SimplePut

For more infromation about using IBM MQ with Microsoft .NET Core , see Installing IBM MQ classes for .NET Standard .

We have been recently reported numerous fraud incidents, in particular in India, using our name and brand attributes. It was identified that swindlers under our brand are running hiring campaigns in India, Bangalore, and then asking training fees from misled people. In the light of this, we want to outline a few important facts: ⚠️ WE HAVE NO OPERATIONS IN INDIA, including representatives or employees. ⚠️ WE DON’T HAVE any open positions in India, both on-site and remote, and don’t run any hiring campaigns. ⚠️ WE NEVER CHARGE any fees for training or other onboarding activities. Should you be contacted by anyone claiming to work for Artelogic from an email domain other than artelogic.net, as well as ask to pay any kind of fee for whatever reason, you’re likely being affected. Please ignore these attempts as fraudulent and warn anyone you know who may also have been targeted.

Top 7 Web Resources built using .NET

Advantages And Disadvantages Of Tailor-made Software

If it goes to building web applications, .NET development has become a competent and reliable approach. Today, it is difficult to find a better toolset for building powerful and feature-packed Windows apps than .NET. As a matter of fact, web apps, desktop, and mobile apps, gaming and IoT solutions, and .Net stack cover them all.

That is why there is no wonder why we can find a number of corporations, that by using .NET technology have turned their software products into well-established businesses.  But what about .NET for startup development? Are there any successful startups built using the NET framework? Let’s try to find startups that have been developed by means of this technology.

.NET Startup Pros And Cons

But before we jump into today’s post, let’s resume the major .NET startup pros and cons.

  • Scalability. Scaling your startup project is really easy with .NET. Plus, the whole process of scaling is believed to be more efficient than that with Ruby, for example. In fact, if you expect your product to scale pretty fast, .NET is your best way to go.
  • Ease of use, advanced functionality, and security. ASP.NET MVC ensures safe development and makes it easier to spot mistakes and solve common problems without hassle.
  • Huge choice and space for creation. You can use multiple languages, different editors, and many libraries if you develop with .Net. As a result, many different types of applications can be built using .Net technologies.
  • One consistent API. A base set of APIs – .NET Standard is common to all .NET implementations. By the way, adopting other APIs specific to the operating systems it runs on is also possible.
  • Entity Framework . It drops the need for most data-access code developers must write regularly.
  • The possibility to benefit from Microsoft’s developers’ tools and startup programs. You can take advantage of Bizspark program , which lets you launch your business without worrying about license fees and the likes for your first years. Visual Studio Team Services allows you to have up to 5 free members.
  • No open standards. The lack of open standards significantly slows down the whole software development process.
  • Costly licensing and no open-source resources. You need to pay for the licenses to develop with this technology.
  • Platform lock-in . The developers of.Net make you too dependent on their platform.

It is of vital importance to stress that despite the mentioned above disadvantages, there are still technology companies that have chosen .NET for their startup development as they feel truly comfortable with this and other Microsoft technologies.

For example, Artelogic’s team developed an innovative multi-factor authentication platform for the startup that uses the power of 3D Facial authentification and machine learning to track down fraudulent behavior.

Still, it goes without saying that today you can hardly find anything written in one pure programming language as only in combination with the latest technologies can you stay competitive.

example of net application

Famous Web Resources Built Using .NET  

So, the famous technology companies the solutions of which were built using .NET are as follows: 

  • Microsoft . Without a shadow of a doubt, the world-famous company has used its best technologies and developer tools for building its website. Everything is clear and consistent there; the site is responsive and it runs smoothly and straightforwardly.
  • Outlook . Similar to its predecessor, Outlook is also the creation of Microsoft Corporation, so we may count on best in-build technologies usage. This email app is powerful, feature-packed and secure.
  • StackOverflow.  One of the best Q&A platforms for computer-related specialists who are trying to solve technical problems. Everything began with just a blog, but today, it has fast turned into a huge business. It’s for sure that it’s a truly useful learning platform for any software engineer, where one can pick up lots of handy tips and hints, and find the best suiting solution for the compiled code, python ruby and any other case. NET developers, Android app developers, and any other software engineer will find something handy to read or argue about. The service allows you to read what others think about any particular technology, comment, and find the right solution for your case. Still, the novel user can find it tough to get started as the newcomer is expected to gain a reputation to become a full-right member of the developers’ community.
  • GoDaddy. A US-based, industry-leading, online domain registrar and hosting company, which runs a cloud platform dedicated to small, independent ventures. Today, the company boasts more than 17 million customers along with 6,000+ employees around the globe. There’s also a wide internet community where you can both stay updated with the latest news and pick up some latest technology-related useful ideas. This solution is robust, intuitive, and secure at the same time.
  • Dell. A well-known portal of the famous PC provider. But we have to admit that these days, Dell has become more than just a PC manufacturer. Indeed, if we take a closer look at its site, we will see that the company boasts dozens of software solutions, including cloud computing. The site, which is written by means of .NET framework, comes with a variety of features. Don’t believe us? Come and check!
  • Xero. One of the leading accounting software solutions to manage your business on the go. The company’s software solutions are tailored to small and medium-sized businesses. The product is powerful, consistent, and reliable.
  • W3schools.com. A popular open-source programming platform , which hosts thousands of code examples. HTML, CSS, and JavaScript, SQL server and other common programmer issues, W3schools.com covers them all. Use it to learn, test and implement cool things in a simple and most efficient way. Avoid errors and code in a smart way,  Actually, many IT related people consider it to be one of the best web services to gain IT expertise.

To sum up, the solutions of all of the listed above companies using feature-rich and thoroughly battle-tested .NET technology,  have become a success, but we have to admit that they also used to be startups once. Thus, it can be said without exaggeration, the NET framework can become the right platform for a startup venture. By the way, if you want to build a product using .NET MVC, Artelogic is a great IT partner. Our engineering team has extensive expertise in NET application development and is always at your disposal.

P.S. Of course, there are dozens of others famous companies which use Microsoft technologies, in particular, .NET as it comes with a variety of options and leaves space for further development.  These are only a small part of them. Can you name any other .NET-powered product that is well worth mentioning here? Please share your thoughts below!

SHARE ARTICLE

Oleksandr Trofimov

Top 5 Web3 Applications

Top 5 Web3 Applications

Contact Person

12 Essential Skills for Developers to Succeed in Web 3.0

Contact Person

Time and Materials vs. Fixed Fee

Custom Marketplace Development in 2023

Custom Marketplace Development in 2023

The E-Commerce Trends 2023

The E-Commerce Trends 2023

IT Support 2023: What to do if a user wants an instant response?

IT Support 2023: What to do if a user wants an instant response?

Contact Person

Successful UX Audit: Tips and Best Practices

Modern software development: Coffee, laptop, and AI

Modern software development: Coffee, laptop, and AI

CTO as a Service. What is worth knowing?

CTO as a Service. What is worth knowing?

Contact Person

Guru99

ASP.NET First Program Example: Hello World

Christina Tyler

ASP.NET Hello World Program with Example

Let’s look at an example of how we can implement a simple “hello world” application. For this, we would need to implement the below-mentioned steps.

Step 1) The first step involves the creation of a new project in Visual Studio. After launching Visual Studio, you need to choose the menu option New->Project.

ASP.Net Hello World Program

  • In the project dialog box, you can see various options for creating different types of projects. Click the Web option on the left-hand side.
  • When we click the Web option in the previous step, we will be able to see an option for ASP.Net Web Application. Click this option.
  • We then give a name for the application, which in our case is DemoApplication. We also need to provide a location to store our application.
  • Finally, we click the ‘OK’ button to let Visual Studio to create our project.

ASP.Net Hello World Program

Step 3) In the next screen, you have to choose the type of ASP.net web application that needs to be created. In our case, we are going to create a simple Web Form application.

  • First, choose the project type as ‘Empty’. This will ensure that we start with a basic application which is simple to understand.
  • We choose the option “web Forms”. This adds the basic folders. These are required for a basic Web Forms Application.
  • Finally, we click the ‘OK’ button to allow Visual Studio to create our application.

ASP.Net Hello World Program

If the above steps are followed, you will get the below output in Visual Studio.

ASP.Net Hello World Program

In the Solution Explorer, you will be able to see the DemoApplication Solution. This solution will contain 2 project files as shown above. At the moment, one of the key files in the project is the ‘ Global.asax.cs’ . This file contains application specific information. In this file, you would initialize all application specific variables to their default values.

Step 4) Now, it’s time to add a Web Form file to the project. This is the file which will contain all the web-specific code for our project.

  • Right-click on the DemoApplication project and
  • Choose Add->Web Form from the context menu.

ASP.Net Hello World Program

Step 5) In the next screen we are going to be prompted to provide a name for the web form.

  • Give a name for the Web Form. In our case, we are giving it a name of Demo.
  • Click the Ok button.

ASP.Net Hello World Program

Automatically Visual Studio will create the Demo Web Form and will open it in Visual Studio.

Step 6) The next step is to add the code, which will do the work of displaying “Hello World.” This can be done by just adding one line of code to the Demo.aspx file.

ASP.Net Hello World Program

Code Explanation:-

  • The Response object in ASP.Net is used to send information back to the user. So in our case, we are using the method “Write” of the Response object to write the text “Hello World.” The <% and %> markers are used to add ASP.net specific code.

If you follow all of the above steps and run your program in Visual Studio , you will get the following output.

ASP.Net Hello World Program

From the output, you can clearly see that ‘Hello World’ was displayed in the browser.

  • ASP.NET Application & PAGE Life Cycle
  • ASP.NET Web Forms Tutorial: User Controls Examples
  • Insert, Update, Delete: ASP.NET Database Connection Tutorial
  • How to Host a Website on IIS: Setup & Deploy Web Application
  • Asp.Net Page Level Tracing, Debugging, Error Handling [Example]

IMAGES

  1. Aws Website Templates

    example of net application

  2. Creating ASP.NET Web API with MVC 6

    example of net application

  3. Introduction of ASP .Net Web Form

    example of net application

  4. Common web application architectures

    example of net application

  5. Sample Web Application for .NET Clients

    example of net application

  6. Sample Web Application for .NET Clients

    example of net application

VIDEO

  1. ASP net Day 1 2

  2. Net practice on basics

  3. Lecture 1 : ASP.NET Introduction

  4. 26-ASP.NET (State Management Session

  5. Learn Asp.Net Core and get high paid Jobs

  6. Day 10: Learn ASP.NET Core MVC-Full Course |- Zero to Hero Course for Dot Net

COMMENTS

  1. How Do You Calculate Net Carbs?

    Net carbohydrates are the total amount of carbohydrates a food contains minus the amount of fiber the food contains, and it is measured in grams. For example, a 1-ounce serving of almonds contains 6.1 grams of carbohydrates and 3.4 grams of...

  2. What Is an Example of an Application of Trigonometry in Everyday Life?

    One of the most common applications of trigonometry in everyday life is the use of triangulation to determine the height of buildings, mountains, trees and other very tall or distant objects.

  3. What Is an Example of the Application of Archimedes’ Principle in Daily Life?

    Every time a person takes a bath, Archimedes’ principle is observed as the tub is filled to a certain level and, once the bather enters the water, it rises based on the volume of water weight that the person’s body displaces.

  4. Real-World Examples of .NET Applications in Action 2023

    .NET Applications in the Internet of Things (IoT) · Best Examples · Example 1: Azure IoT Suite: · Example 2: Raspberry Pi with Windows 10 IoT

  5. Top 7 Examples of .NET Applications [2023]

    Top 7 Examples of .NET Applications · 1. GoDaddy · 2. UPS · 3. Forza Horizon · 4. Academy of Motion Picture Arts and Sciences · 5. BBC Good Food.

  6. .NET samples and tutorials

    This tutorial shows how to create and run a .NET console application by using Visual Studio Code and the .NET CLI. Project tasks, such as

  7. What is .NET used for? 9 Examples of .NET Applications

    What is .NET used for? 9 Examples of .NET Applications · Stack Overflow · UPS · Forza Horizon 5 · Academy of Motion Picture Arts and Sciences.

  8. 24 Sample Web Application for .NET Clients

    24 Sample Web Application for .NET Clients · General Instructions · Create an ASP.NET Project · Add a Reference to the Coherence for .NET Library · Configure

  9. 4 Best Examples How You Can Use .Net In 2020

    4 Best Examples of .NET Applications Developed for Businesses · Logistics Web Application · 2. Social Media Platform for Digital Content

  10. Microsoft eShopOnWeb ASP.NET Core Reference Application

    Sample ASP.NET Core 7.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model.

  11. Sample applications for .NET

    The sample applications for IBM MQ .NET are installed in &MQINSTALL_PATH&/samp/dotnet/samples/cs/core/base. A script is also provided, which can be used to

  12. Top 7 Web Resources built using .NET

    Our engineering team has extensive expertise in NET application development and is always at your disposal.

  13. Good Examples of .NET Desktop Applications

    Good Examples of .NET Desktop Applications [closed] · Visual Studio (The copy website form is one example.) · Team Explorer UI · Paint.NET

  14. ASP.NET First Program Example: Hello World

    Let's look at an example of how we can implement a simple "hello world" application. For this, we would need to implement the