Skip to Content
.NET Standard 2.0 Cookbook
book

.NET Standard 2.0 Cookbook

by Fiqri Ismail
May 2018
Intermediate to advanced content levelIntermediate to advanced
394 pages
9h 51m
English
Packt Publishing
Content preview from .NET Standard 2.0 Cookbook

How it works...

In steps 1 to 5, we opened the solution from the previous recipe. We also performed a quick build to check for syntax. Then, in steps 6 to 13, we added an ASP.NET Core Web application to the solution. In steps 14 to 16, we added the reference to the library we built in the previous recipe. This will allow you to use the available functionality from the library in your ASP.NET Core Web application project.

In steps 20 to 24, we added a new Razor Page to the project. A Razor Page contains two files. One is a .chtml file, which contains the look and feel, and the other file contains the code for that Razor file. This is similar to an .aspx page and the code behind the file in an ASP.NET Web Forms application.

In step 27, we added ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 7 and .NET Core 2.0 High Performance

C# 7 and .NET Core 2.0 High Performance

Ovais Mehboob Ahmed Khan
.NET Core 2.0 By Example

.NET Core 2.0 By Example

Neha Shrivastava, Rishabh Verma

Publisher Resources

ISBN: 9781788834667Supplemental Content