How To Publish A Blazor Component To Nuget Gallery

Ankit Sharma
Dec 11, 2018 · 6 min read

Introduction

Prerequisites

Source Code

Configuring Project Properties

Required fields

Optional fields

Image for post
Image for post

Creating Nuget package

Generate API Key for Nuget

Image for post
Image for post
Image for post
Image for post

Publishing the package

nuget push BlazorGrid.1.0.0.nupkg oy2klaw3g67amlbxp3qwkzr4exypy3bhxy6w6x6 -Source https://api.nuget.org/v3/index.json

Troubleshooting publishing errors

Installing and using BlazorGrid

Install-Package BlazorGrid
@addTagHelper *,BlazorGridComponent
<BlazorGrid Items="objectList" PageSize="a positive integer">
<GridHeader>
<th>header 1</th>
<th>header 2</th>
</GridHeader>
<GridRow>
<td>@context.objProperty1</td>
<td>@context.objProperty2</td>
</GridRow>
</BlazorGrid>

Conclusion

See Also

Image for post
Image for post

This story is published in The Startup, Medium’s largest entrepreneurship publication followed by +398,714 people.

Subscribe to receive our top stories here.

Image for post
Image for post

The Startup

Medium's largest active publication, followed by +683K people. Follow to join our community.

Sign up for Top Stories

By The Startup

A newsletter that delivers The Startup's most popular stories to your inbox once a month. Take a look

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Ankit Sharma

Written by

Senior Member Technical at ADP | GDE for Angular and web technology | C# Corner MVP | Author | Speaker | Passionate Programmer https://ankitsharmablogs.com/

The Startup

Medium's largest active publication, followed by +683K people. Follow to join our community.

Ankit Sharma

Written by

Senior Member Technical at ADP | GDE for Angular and web technology | C# Corner MVP | Author | Speaker | Passionate Programmer https://ankitsharmablogs.com/

The Startup

Medium's largest active publication, followed by +683K people. Follow to join our community.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store