PowerPortalsPro.AspNetCore.Templates
6.0.0
dotnet new install PowerPortalsPro.AspNetCore.Templates@6.0.0
Power Portals Pro Templates
Project templates for creating a Power Portals Pro web app, with Fluent UI and Dataverse integration. Two flavors ship in this package:
powerportalspro— Blazor (Server, WebAssembly, or Auto) with Razor Components and FluentUI for Blazor.powerportalspro-react— ASP.NET Core host + React + Vite + TypeScript SPA, sharing the same/api/*surface via the@powerportalspro/*workspace packages.
Installation
Install the PowerPortalsPro.AspNetCore.Templates package by running:
dotnet new install PowerPortalsPro.AspNetCore.Templates
Creating a new project
Blazor
dotnet new powerportalspro -o {your project name}
React + Vite
dotnet new powerportalspro-react -o {your project name}
Both templates accept --empty to skip the sample pages and --use-program-main to emit an explicit public static void Main(string[] args) instead of top-level statements.
Machine translation (optional)
Both templates accept --IncludeMachineTranslation to wire up machine translation for the Localization Admin page's Translate a file panel. It adds the chosen provider's PowerPortalsPro.Web.Server.Translation.* package reference and the registration to the server Program.cs. Choose the provider with --MachineTranslationProvider: Azure (the default), DeepL, or Google.
dotnet new powerportalspro-react --IncludeMachineTranslation --MachineTranslationProvider DeepL
Supply the provider's key via configuration / user-secrets under Azure:Translation:Key, DeepL:Translation:Key, or Google:Translation:Key to match the provider you chose. When the option is omitted, the Localization Admin page still works (pipeline overview + downloads) — only the translate panel stays hidden, and the registration ships as commented-out guidance so you can enable it later.
From Visual Studio
In Visual Studio 2022, select either the Power Portals Pro Web App or Power Portals Pro React Web App template from the File → New → Project dialog.
Uninstalling
dotnet new uninstall PowerPortalsPro.AspNetCore.Templates
Documentation
For full documentation, see:
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.