This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
comfilepi:dotnet_core_development [2023/11/22 12:21] COMFILE Technology [Install the .NET SDK on a Development PC] |
comfilepi:dotnet_core_development [2023/11/22 12:25] (current) COMFILE Technology [Create, Build, and Publish a .NET Application for the ComfilePi] |
||
---|---|---|---|
Line 13: | Line 13: | ||
{{ :comfilepi:comfiletech.comfilepi.io.zip |Download the source Code}} for the application demonstrated in the video above. | {{ :comfilepi:comfiletech.comfilepi.io.zip |Download the source Code}} for the application demonstrated in the video above. | ||
- | See also the [[https://docs.microsoft.com/en-us/dotnet/api/?view=iot-dotnet-1.5|.NET IoT Libraries API Reference]]. | + | See also the [[https://learn.microsoft.com/en-us/dotnet/api/?view=iot-dotnet-latest|.NET IoT Libraries API Reference]]. |
===== Install the .NET SDK on the ComfilePi ===== | ===== Install the .NET SDK on the ComfilePi ===== | ||
Line 49: | Line 49: | ||
===== Create, Build, and Publish a .NET Application for the ComfilePi ===== | ===== Create, Build, and Publish a .NET Application for the ComfilePi ===== | ||
- | .NET 7 projects can be created using the ''dotnet'' command line interface (a.k.a. the .Net CLI) or using the Visual Studio project creation templates. | + | .NET projects can be created using the ''dotnet'' command line interface (a.k.a. the .Net CLI) or using the Visual Studio project creation templates. |
==== Using Visual Studio ==== | ==== Using Visual Studio ==== | ||
Line 55: | Line 55: | ||
=== Creating and Building a Project === | === Creating and Building a Project === | ||
- | To create a .NET 7 Server-size Blazor application using Visual Studio, create a new //Blazor App// project. | + | To create a .NET Server-size Blazor application using Visual Studio, create a new //Blazor App// project. |
| {{:comfilepi:blazor_app.png?450|}} | {{:comfilepi:blazor_server.png?450|}} | | | {{:comfilepi:blazor_app.png?450|}} | {{:comfilepi:blazor_server.png?450|}} | | ||
Line 63: | Line 63: | ||
=== Publish a Project for the ComfilePi === | === Publish a Project for the ComfilePi === | ||
- | To publish a .NET 7 project using Visual Studio, right-click the project in Visual Studio's Solution Explorer and choose the //Publish// option. In the //Advanced Settings// choose the //linux-arm// runtime. If the .NET 7 SDK or runtime is already installed on the ComfilePi, choose the //Framework Dependent// development mode. | + | To publish a .NET project using Visual Studio, right-click the project in Visual Studio's Solution Explorer and choose the //Publish// option. In the //Advanced Settings// choose the //linux-arm// runtime. If the .NET SDK or runtime is already installed on the ComfilePi, choose the //Framework Dependent// development mode. |
| {{:comfilepi:publish_target.png?450|}} | {{:comfilepi:publish_advanced.png?450|}} | | | {{:comfilepi:publish_target.png?450|}} | {{:comfilepi:publish_advanced.png?450|}} | |