You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

platz

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

platz

0.11.4
unpublished
nugetNuGet
Maintainers
0
Source

[Out of date] Thank you for using Platz.

Installation process.

  • Install PlatzServerSide nuget package to your Blazor Server App project

    Important: You should see folders [Platz.Example.Link] and [Platz.Config.Link] in your project with code samples, configs and scripts

  • Modify your project startup.cs file add [using Pc.Platform;] and add code to ConfigureServices method: services.AddServerSidePlatz(); services.AddPlatzApplicationParts("Pc."); // if you want to use examples from Platz.Example.Link without changing namespace services.AddPlatzApplicationParts("BlazorApp1"); // put root namespace of your project instead of BlazorApp1

    Important: Change "BlazorApp1" to your root namespace (project name). Also don't forget to add [using Pc.Platform;]

  • Modify _Imports.razor and add references: @using MatBlazor @using Pc.Platz.Rendering.Components

  • Modify _Host.cshtml and add to tag before your css link

  • For SqlExpress Local DB Run:

5.1 Copy configuration sections from [Platz.Config.Link\appsettings.localdb.json] to your project appsettings.json 5.2 Run Windows Command Prompt and execute commands from [Platz.Config.Link\localdb.cmd] to create required sql objects

  • File [Platz.Example.Link\SampleFlow1.cs] contains a sample flow with model, form and rule

  • Modify [Pages\Counter.razor] file adding razor tag:

Run your project

More configuration options:

  • For Microsoft SqlServer Run: *. - ignore step 5.

8.1 Copy configuration sections from [Platz.Config.Link\appsettings.mssql.json] to your project appsettings.json, modify connection strings pointing it to your sql database 8.2 Run sql script [Platz.Config.Link\SqlServerScripts.sql] in your sql database to create required sql objects

  • If you want to use Postgres Sql flow storage configuration install Platz.Postgres nuget package

  • If you want to use CosmosDB flow storage configuration install Platz.Cosmos nuget package

Keywords

blazor

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts