Book Image

Apps and Services with .NET 7

By : Mark J. Price
Book Image

Apps and Services with .NET 7

By: Mark J. Price

Overview of this book

Apps and Services with .NET 7 is for .NET 6 and .NET 7 developers who want to kick their C# and .NET understanding up a gear by learning the practical skills and knowledge they need to build real-world applications and services. It covers specialized libraries that will help you monitor and improve performance, secure your data and applications, and internationalize your code and apps. With chapters that put a variety of technologies into practice, including Web API, OData, gRPC, GraphQL, SignalR, and Azure Functions, this book will give you a broader scope of knowledge than other books that often focus on only a handful of .NET technologies. It covers the latest developments, libraries, and technologies that will help keep you up to date. You’ll also leverage .NET MAUI to develop mobile apps for iOS and Android as well as desktop apps for Windows and macOS.
Table of Contents (23 chapters)
22
Index

Publishing an Azure Functions project to the cloud

Now, let’s create a function app and related resources in an Azure subscription, then deploy your functions to the cloud and run it there.

If you do not already have an Azure account, then you can sign up for a free one at the following link: https://azure.microsoft.com/en-us/free/.

Using Visual Studio 2022 to publish

Visual Studio 2022 has a GUI to publish to Azure:

  1. In Solution Explorer, right-click the Northwind.AzureFunctions.Service project and select Publish.
  2. In the Where are you publishing today? dialog, for Target, select Azure, and then click Next.
  3. Select Azure Function App (Windows) and click Next.
  4. Sign in and enter your Azure credentials.
  5. Select your subscription.
  6. In the Function Instance section, click the + button that has a tooltip that says Create a new Azure Function….
  7. Complete the dialog box, as shown in Figure 14.12:
    • Name: This must...