Book Image

C# 8 and .NET Core 3 Projects Using Azure - Second Edition

By : Paul Michaels, Dirk Strauss, Jas Rademeyer
Book Image

C# 8 and .NET Core 3 Projects Using Azure - Second Edition

By: Paul Michaels, Dirk Strauss, Jas Rademeyer

Overview of this book

.NET Core is a general-purpose, modular, cross-platform, and opensource implementation of .NET. The latest release of .NET Core 3 comes with improved performance and security features, along with support for desktop applications. .NET Core 3 is not only useful for new developers looking to start learning the framework, but also for legacy developers interested in migrating their apps. Updated with the latest features and enhancements, this updated second edition is a step-by-step, project-based guide. The book starts with a brief introduction to the key features of C# 8 and .NET Core 3. You'll learn to work with relational data using Entity Framework Core 3, before understanding how to use ASP.NET Core. As you progress, you’ll discover how you can use .NET Core to create cross-platform applications. Later, the book will show you how to upgrade your old WinForms apps to .NET Core 3. The concluding chapters will then help you use SignalR effectively to add real-time functionality to your applications, before demonstrating how to implement MongoDB in your apps. Finally, you'll delve into serverless computing and how to build microservices using Docker and Kubernetes. By the end of this book, you'll be proficient in developing applications using .NET Core 3.
Table of Contents (13 chapters)

Creating a resource group

Now that we've installed the Azure workload and the logic apps extension, a few more features are available; one of which is the ability to create a new project of type: a resource group in Visual Studio. Let's do that now:


Once this is created, you'll be presented with a second dialog asking exactly what you want to create. Select Logic App, as shown in the following screenshot:

The project that is created has three files and will look like this:

Deploy-AzureResourceGroup.ps1 is a PowerShell script that will deploy your logic app into Azure. The other two files are the logic app template itself, described as JSON.


If you wish, you can edit the JSON directly. This works well if you have a very small change to make, or if you wish to compare or merge changes, but trying to create your logic app like this would be challenging to say...