BizStream.Kentico.Xperience.AspNetCore.Components.Metadata 1.0.1-alpha.3a07ded

This is a prerelease version of BizStream.Kentico.Xperience.AspNetCore.Components.Metadata.
There is a newer version of this package available.
See the version list below for details.
dotnet add package BizStream.Kentico.Xperience.AspNetCore.Components.Metadata --version 1.0.1-alpha.3a07ded                
NuGet\Install-Package BizStream.Kentico.Xperience.AspNetCore.Components.Metadata -Version 1.0.1-alpha.3a07ded                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BizStream.Kentico.Xperience.AspNetCore.Components.Metadata" Version="1.0.1-alpha.3a07ded" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BizStream.Kentico.Xperience.AspNetCore.Components.Metadata --version 1.0.1-alpha.3a07ded                
#r "nuget: BizStream.Kentico.Xperience.AspNetCore.Components.Metadata, 1.0.1-alpha.3a07ded"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BizStream.Kentico.Xperience.AspNetCore.Components.Metadata as a Cake Addin
#addin nuget:?package=BizStream.Kentico.Xperience.AspNetCore.Components.Metadata&version=1.0.1-alpha.3a07ded&prerelease

// Install BizStream.Kentico.Xperience.AspNetCore.Components.Metadata as a Cake Tool
#tool nuget:?package=BizStream.Kentico.Xperience.AspNetCore.Components.Metadata&version=1.0.1-alpha.3a07ded&prerelease                

Xperience Metadata Component NuGet Version

This package provides a Mvc ViewComponent implementation for rendering common meta elements from content within Xperience.

Usage

  • Install the package into your Xperience Mvc project:
dotnet add package BizStream.Kentico.Xperience.AspNetCore.Components.Metadata

OR

<PackageReference Include="BizStream.Kentico.Xperience.AspNetCore.Components.Metadata" Version="x.x.x" />
  • Configure services in Startup.cs:
using BizStream.Kentico.Xperience.AspNetCore.Components.Metadata;
using Kentico.Web.Mvc;
using Microsoft.Extensions.DependencyInjection;

// ...

public void ConfigureServices( IServiceCollection services )
{
    services.AddMvc();
    services.AddKentico();

    // ...

    services.AddXperienceMetadataComponent();
}
  • Invoke the component within the <head/> of a Razor View:
<head>
    @* ... *@

    @await Component.InvokeAsync( nameof( XperienceMetadata ) )

    @* OR *@

    @( await Component.InvokeAsync<XperienceMetadata>( ) )

    @* ... *@
</head>

FAQ

  • Will this ViewComponent work if I'm not using Page Routing?

no.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BizStream.Kentico.Xperience.AspNetCore.Components.Metadata:

Package Downloads
BizStream.Kentico.Xperience.AspNetCore.Components

A collection of ASP.NET Core Mvc ViewComponents that integrate with Xperience CMS.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 4,983 7/14/2021
1.0.1-beta.ff8773b 204 9/13/2021
1.0.1-beta.ec965f2 184 7/20/2021
1.0.1-beta.b1e536c 176 7/16/2021
1.0.1-beta.8c6c3a1 273 7/16/2021
1.0.1-beta.8bfe389 227 7/16/2021
1.0.1-beta.4aa17f0 180 9/29/2021
1.0.1-beta.45e07f5 222 7/16/2021
1.0.1-beta.41625fb 192 7/19/2021
1.0.1-beta.181bf86 268 7/16/2021
1.0.1-alpha.440ac6a 183 9/13/2021
1.0.1-alpha.3a07ded 190 7/15/2021