Repository: aspnet/Blazor.Docs
Branch: master
Commit: aea3b94c7051
Files: 100
Total size: 345.5 KB
Directory structure:
gitextract_t_iy0_rr/
├── .gitattributes
├── .github/
│ ├── ISSUE_TEMPLATE.md
│ └── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── CNAME
├── CONTRIBUTING.md
├── LICENSE
├── LICENSE-CODE
├── README.md
├── ThirdPartyNotices
├── api/
│ ├── .gitignore
│ └── index.md
├── appveyor.yml
├── community.md
├── docfx.json
├── docs/
│ ├── common/
│ │ └── samples/
│ │ └── 3.x/
│ │ └── BlazorSample/
│ │ ├── App.cshtml
│ │ ├── BlazorSample.csproj
│ │ ├── Components/
│ │ │ ├── ListViewTemplate.cshtml
│ │ │ ├── Tab.cshtml
│ │ │ ├── TabSet.cshtml
│ │ │ └── TableTemplate.cshtml
│ │ ├── JsInteropClasses/
│ │ │ ├── ExampleJsInterop.cs
│ │ │ └── HelloHelper.cs
│ │ ├── Pages/
│ │ │ ├── BlazorRocks.cshtml
│ │ │ ├── BlazorRocksBase.cs
│ │ │ ├── BlazorRoute.cshtml
│ │ │ ├── CascadingValuesParametersTabSet.cshtml
│ │ │ ├── CascadingValuesParametersTheme.cshtml
│ │ │ ├── ChildComponent.cshtml
│ │ │ ├── FetchData.cshtml
│ │ │ ├── HeadingComponent.cshtml
│ │ │ ├── Index.cshtml
│ │ │ ├── JSInterop.cshtml
│ │ │ ├── ParentComponent.cshtml
│ │ │ ├── RazorTemplates.cshtml
│ │ │ ├── RouteParameter.cshtml
│ │ │ ├── TemplatedComponents.cshtml
│ │ │ └── _ViewImports.cshtml
│ │ ├── Program.cs
│ │ ├── README.md
│ │ ├── Shared/
│ │ │ ├── CascadingValuesParametersLayout.cshtml
│ │ │ ├── MainLayout.cshtml
│ │ │ └── NavMenu.cshtml
│ │ ├── Startup.cs
│ │ ├── UIInterfaces/
│ │ │ └── ITab.cs
│ │ ├── UIThemeClasses/
│ │ │ └── ThemeInfo.cs
│ │ ├── _ViewImports.cshtml
│ │ └── wwwroot/
│ │ ├── css/
│ │ │ └── site.css
│ │ ├── exampleJsInterop.js
│ │ ├── index.html
│ │ └── sample-data/
│ │ └── weather.json
│ ├── component-libraries.md
│ ├── components/
│ │ └── index.md
│ ├── debugging.md
│ ├── dependency-injection.md
│ ├── get-started.md
│ ├── host-and-deploy/
│ │ ├── configure-linker.md
│ │ └── index.md
│ ├── hosting-models/
│ │ └── samples_snapshot/
│ │ └── Startup.cs
│ ├── hosting-models.md
│ ├── index.md
│ ├── introduction/
│ │ ├── faq.md
│ │ └── index.md
│ ├── javascript-interop.md
│ ├── layouts.md
│ ├── routing.md
│ ├── toc.md
│ └── tutorials/
│ ├── build-your-first-blazor-app/
│ │ └── samples/
│ │ └── 3.x/
│ │ └── BlazorApp1/
│ │ ├── App.cshtml
│ │ ├── BlazorApp1.csproj
│ │ ├── Pages/
│ │ │ ├── Counter.cshtml
│ │ │ ├── FetchData.cshtml
│ │ │ ├── Index.cshtml
│ │ │ ├── ToDo.cshtml
│ │ │ └── _ViewImports.cshtml
│ │ ├── Program.cs
│ │ ├── README.md
│ │ ├── Shared/
│ │ │ ├── MainLayout.cshtml
│ │ │ ├── NavMenu.cshtml
│ │ │ └── SurveyPrompt.cshtml
│ │ ├── Startup.cs
│ │ ├── TodoItem.cs
│ │ ├── _ViewImports.cshtml
│ │ └── wwwroot/
│ │ ├── css/
│ │ │ ├── open-iconic/
│ │ │ │ ├── FONT-LICENSE
│ │ │ │ ├── ICON-LICENSE
│ │ │ │ ├── README.md
│ │ │ │ └── font/
│ │ │ │ └── fonts/
│ │ │ │ └── open-iconic.otf
│ │ │ └── site.css
│ │ ├── index.html
│ │ └── sample-data/
│ │ └── weather.json
│ └── build-your-first-blazor-app.md
├── includes/
│ └── razor-components-preview-notice.md
├── index.md
├── releaseDocs.sh
├── src/
│ ├── Microsoft.AspNetCore.Blazor.Browser.xml
│ ├── Microsoft.AspNetCore.Blazor.Server.xml
│ ├── Microsoft.AspNetCore.Blazor.xml
│ └── Microsoft.JSInterop.xml
├── template/
│ ├── index.html.tmpl
│ └── styles/
│ └── main.css
└── toc.yml
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
*.ico binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
================================================
FILE: .github/ISSUE_TEMPLATE.md
================================================
================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
================================================
FILE: .gitignore
================================================
_build/
_site/
Properties/
# Use git add -f to force override .sln when required. Not needed in most cases.
# git add -f myProj.sln
*.sln
Project_Readme.html
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
*.vscode/
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
# Visual Studo 2015 cache/options directory
.vs/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding addin-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# Windows Azure Build Output
csx/
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
*.[Cc]ache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
project.lock.json
**/sample/**/wwwroot/lib/
**/samples/**/wwwroot/lib/
__pycache__/
#Mac OSX
.DS_Store
# Windows thumbnail cache files
Thumbs.db
# DocFx
api/.manifest
_exported_templates/
================================================
FILE: CNAME
================================================
blazor.net
================================================
FILE: CONTRIBUTING.md
================================================
# Contributing to the Blazor documentation
This document covers the process for contributing to the articles and code samples that are hosted at http://blazor.net. Contributions may be as simple as typo corrections or as complex as new articles.
## How to make a simple correction or suggestion
Articles are stored in the repository as markdown files. Simple changes to the content of a markdown file can be made in the browser by selecting the **Improve this Doc** link in the upper-right corner of the browser window, editing the doc on GitHub, and then submitting a pull request (PR) for the change. We will review the PR and accept it or suggest changes.
## How to make a more complex submission
You'll need a basic understanding of [Git and GitHub.com](https://guides.github.com/activities/hello-world/).
* Open an [issue](https://github.com/aspnet/Blazor.Docs/issues/new) describing what you want to do, such as change an existing article or create a new one. Wait for approval from the team before you invest much time. We usually request an outline for a new topic proposal.
* Fork the [aspnet/Blazor.Docs](https://github.com/aspnet/Blazor.Docs/) repo and create a branch for your changes.
* Submit a pull request (PR) to master with your changes.
* If your PR has the label 'cla-required' assigned, [complete the Contribution License Agreement (CLA)](https://cla.dotnetfoundation.org/)
* Respond to PR feedback.
## Markdown syntax
Articles are written in [DocFx-flavored Markdown (DFM)](http://dotnet.github.io/docfx/spec/docfx_flavored_markdown.html), which is a superset of [GitHub-flavored Markdown (GFM)](https://guides.github.com/features/mastering-markdown/). For examples of DFM syntax for UI features commonly used in the Blazor documentation, see [Metadata and Markdown Template](https://github.com/dotnet/docs/blob/master/styleguide/template.md) in the .NET repo style guide.
## Folder structure conventions
For each markdown file, there may be a folder for images and a folder for sample code. For example, if the article is *tutorials/build-your-first-blazor-app.md*, the images are in *tutorials/build-your-first-blazor-app/\_static* and the sample app project files are in *tutorials/build-your-first-blazor-app/samples/2.x* (for a 2.x versioned sample). An image in the *tutorials/build-your-first-blazor-app.md* file is rendered by the following markdown.
```

```
**All** images should have [alt text](https://wikipedia.org/wiki/Alt_attribute).
Markdown file names and image file names should be all lower case. Use dashes to separate words in file names.
## Internal links
Internal links should use the `uid` of the target article with an xref link:
```
[link_text](xref:uid_of_the_topic)
```
For more informatin, see the [DocFX Cross Reference](http://dotnet.github.io/docfx/spec/docfx_flavored_markdown.html#cross-reference).
## Code snippets
Articles frequently contain code snippets to illustrate points. DFM lets you copy code into the Markdown file or refer to a separate code file. We prefer to use separate code files whenever possible to minimize the chance of errors in the code. The code files should be stored in the repo using the folder structure described above for sample projects.
Here are some examples of [DFM code snippet syntax](http://dotnet.github.io/docfx/spec/docfx_flavored_markdown.html#code-snippet) that would be used in a *tutorials/build-your-first-blazor-app.md* file.
To render an entire code file as a snippet:
```
[!code-csharp[Main](tutorials/build-your-first-blazor-app/sample/Program.cs)]
```
To render a portion of a file as a snippet by using line numbers:
```
[!code-csharp[Main](tutorials/build-your-first-blazor-app/sample/Program.cs?range=1-10,20,30,40-50]
[!code-html[Main](tutorials/build-your-first-blazor-app/sample/Pages/Index.cshtml?range=1-10,20,30,40-50]
```
For C# snippets, you can reference a [C# region](https://docs.microsoft.com/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-region). Whenever possible, use regions rather than line numbers because line numbers in a code file tend to change and become out of sync with line number references in markdown. C# regions can be nested; and if you reference the outer region, the inner `#region` and `#endregion` directives aren't rendered in a snippet.
To render a C# region named "snippet_Example":
```
[!code-csharp[Main](tutorials/build-your-first-blazor-app/sample/Program.cs?name=snippet_Example)]
```
To highlight selected lines in a rendered snippet (usually renders as yellow background color):
```
[!code-csharp[Main](tutorials/build-your-first-blazor-app/sample/Program.cs?name=snippet_Example&highlight=1-3,10,20-25)]
[!code-csharp[Main](tutorials/build-your-first-blazor-app/sample/Program.cs?range=10-20&highlight=1-3]
[!code-html[Main](tutorials/build-your-first-blazor-app/sample/Pages/Index.cshtml?range=10-20&highlight=1-3]
[!code-javascript[Main](tutorials/build-your-first-blazor-app/sample/BlazorApp1.csproj?range=10-20&highlight=1-3]
```
## Test your changes with DocFX
Test your changes with the [DocFX command-line tool](https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html#2-use-docfx-as-a-command-line-tool), which creates a locally-hosted version of the site. DocFX doesn't render style and site extensions created for docs.microsoft.com.
DocFX requires the .NET Framework on Windows or Mono for Linux/macOS.
### Windows instructions
* Download and unzip *docfx.zip* from [DocFX releases](https://github.com/dotnet/docfx/releases).
* Add DocFX to your PATH.
* In a console window, navigate to root of the repo (where the *docfx.json* file resides) and run the following command:
```
docfx --serve
```
* In a browser, navigate to `http://localhost:8080`.
### Mono instructions
* Install Mono via Homebrew:
```
brew install mono
```
* Download the [latest version of DocFX](https://github.com/dotnet/docfx/releases).
* Extract the archive to *$HOME/bin/docfx*.
* Create a pair of aliases for **docfx** in a bash shell. The first alias is used to build the documentation. The second alias is used to build and serve the documentation.
```
alias docfx='mono $HOME/bin/docfx/docfx.exe'
alias docfx-serve='mono $HOME/bin/docfx/docfx.exe --serve'
```
* Execute `docfx` from the root of the repo to build the site. Execute `docfx-serve` to view the site at `http://localhost:8080`.
## Voice and tone
Our goal is to write documentation that is easily understandable by the widest possible audience. To that end, we've established guidelines for writing style that we ask our contributors to follow. For more information, see [Voice and tone guidelines](https://github.com/dotnet/docs/blob/master/styleguide/voice-tone.md) in the .NET repo.
## Microsoft Writing Style Guide
The [Microsoft Writing Style Guide](https://docs.microsoft.com/style-guide/welcome/) provides writing style and terminology guidance for all forms of technology communication, including the Blazor documentation.
================================================
FILE: LICENSE
================================================
Attribution 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More_considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as a contract, You are
granted the Licensed Rights in consideration of Your acceptance of
these terms and conditions, and the Licensor grants You such rights in
consideration of benefits the Licensor receives from making the
Licensed Material available under these terms and conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
d. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
g. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
i. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's
License You apply must not prevent recipients of the Adapted
Material from complying with this Public License.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.
================================================
FILE: LICENSE-CODE
================================================
The MIT License (MIT)
Copyright (c) Microsoft Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
================================================
FILE: README.md
================================================
# Blazor Docs
The Blazor docs have moved to the https://github.com/aspnet/AspNetCore.Docs repo and are published at https://docs.microsoft.com/en-us/aspnet/core/blazor.
For an overview of the many projects being worked on by the Blazor community page check out the [Awesome Blazor](https://github.com/AdrienTorris/awesome-blazor) page.
================================================
FILE: ThirdPartyNotices
================================================
##Legal Notices
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
[LICENSE-CODE](LICENSE-CODE) file.
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.
Privacy information can be found at https://privacy.microsoft.com/en-us/
Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents,
or trademarks, whether by implication, estoppel or otherwise.
================================================
FILE: api/.gitignore
================================================
###############
# temp file #
###############
*.yml
================================================
FILE: api/index.md
================================================
---
title: Blazor API
description: Find information on the Blazor API.
uid: api
---
# Blazor API
[!INCLUDE[](~/includes/razor-components-preview-notice.md)]
Welcome to the Blazor API area!
## Namespaces
Use the namespace links in the Table of Contents.
================================================
FILE: appveyor.yml
================================================
skip_tags: true
image: Visual Studio 2017
clone_depth: 1
branches:
only:
- live
install:
- cinst docfx --version 2.40.7
build_script:
- docfx
deploy_script:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GITHUB_ACCESS_TOKEN):x-oauth-basic@github.com`n"
- git config --global user.email %GITHUB_EMAIL%
- git config --global user.name "Blazor doc agent"
- bash releaseDocs.sh
================================================
FILE: community.md
================================================
# Blazor community resources
[!INCLUDE[](~/includes/razor-components-preview-notice.md)]
Below is a list of projects and resources from the Blazor community (links in each section are alphabetical). If you know about a Blazor project that isn't listed, please let us know. We're happy to add it to the list.
## Libraries
* [BlazorBits](http://blazorbits.net) ([GitHub repo](https://github.com/blazorbits)) – Components including [Monaco editor](https://github.com/Microsoft/monaco-editor).
* [BlazorComponents](https://github.com/muqeet-khan/BlazorComponents) – A demonstration of [Chart.js](https://github.com/chartjs/Chart.js) interop.
* [BlazorConfirm](https://github.com/ctrl-alt-d/BlazorConfirm) ([Demo](https://ctrl-alt-d.github.io/BlazorConfirm/)) – A Blazor wrapper for JavaScript's `window.confirm()` and `onbeforeunload`.
* [BlazorContextMenu](https://github.com/stavroskasidis/BlazorContextMenu) – A context menu for blazor.
* [BlazorDB](https://github.com/chanan/BlazorDB) – In-memory, persisted to local storage, database for Blazor.
* [Blazored.LocalStorage](https://github.com/blazored/LocalStorage) – A library to provide access to local storage in Blazor apps.
* [Blazored.Menu](https://github.com/Blazored/Menu) – A JavaScript-free menu library for Blazor and Razor Components apps.
* [Blazored.Modal](https://github.com/Blazored/Modal) – A JavaScript free modal library for Blazor and Razor Components applications.
* [Blazored.Toast](https://github.com/Blazored/Toast) – A JavaScript free toast library for Blazor and Razor Component applications.
* [Blazored.Localisation](https://github.com/Blazored/Localisation) – A library to provide localisation in client-side Blazor applications.
* [BlazorEmbedLibrary](https://github.com/SQL-MisterMagoo/BlazorEmbedLibrary) – Provides Blazor-style embedded resources to Razor Components projects.
* [BlazorWebSocketHelper](https://github.com/Lupusa87/BlazorWebSocketHelper) – A WebSocket library for Blazor.
* [BlazorGrid](https://github.com/AnkitSharma-007/BlazorGrid) – Reusable grid component for Blazor, which also supports client side pagination.
* [Blazorise](https://github.com/stsrki/Blazorise) ([Demo](https://bootstrapdemo.blazorise.com/)) – Components library for Blazor with support for Bootstrap, Bulma, and Material CSS.
* [BlazorMaterial](https://github.com/BlazorExtensions/BlazorMaterial) – Blazor components implementing Google's Material components for web ([Material Design: Web](https://material.io/components/web)).
* [BlazorNodaTimeDateTimePicker](https://github.com/nheath99/BlazorNodaTimeDateTimePicker) – A date picker using NodaTime.
* [Blazorous](https://github.com/chanan/Blazorous) – Maintainable CSS with Blazor.
* [BlazorScrollbar](https://github.com/Lupusa87/BlazorScrollbar) ([Demo](https://lupblazorscrollbar.z20.web.core.windows.net/)) – Reusable, fully configurable component with vertical and horizontal scrollbars.
* [BlazorSignalR](https://github.com/csnewman/BlazorSignalR) – ASP.NET Core SignalR .NET client support for Blazor.
* [BlazorSplit](https://github.com/BlazorComponents/BlazorSplit) ([Demo](https://blazorcomponents.github.io/BlazorSplit/)) – Resizeable split views.
* [BlazorSplitter](https://github.com/Lupusa87/BlazorSplitter) ([Demo](https://lupblazorsplitter.z20.web.core.windows.net/)) – Reusable, fully configurable component with vertical and horizontal splitters and diagonal resizer.
* [BlazorStorage](https://github.com/cloudcrate/BlazorStorage) – Blazor local and session storage support.
* [BlazorStrap](https://github.com/chanan/BlazorStrap) – Bootstrap 4 Components for Blazor.
* [BlazorTodos](https://lupblazortodo.z20.web.core.windows.net/) – Blazor todos demo app with registration, jwt authentication, email reminders and more, backed with Azure Storage Tables.
* [BlazorVirtualGrid](https://github.com/Lupusa87/BlazorVirtualGrid) ([Demo](https://lupblazorvirtualgrid.z13.web.core.windows.net/)) – Reusable, fully configurable component with rows and columns fast virtualization.
* [Blazor Barcode](https://barcoderesource.com/blazorbarcode.shtml) – A barcode library for Blazor using barcode fonts.
* [Blazor Charts](https://github.com/Misfits-Rebels-Outcasts/Blazor-Charts) – SVG Charts for Blazor.
* [Blazor Extensions Home](https://github.com/BlazorExtensions/Home) – Home for Blazor Extensions.
* [Blazor Fluxor](https://mrpmorris.github.io/blazor-fluxor/) – Flux/Redux library.
* [Blazor Gamepad](https://github.com/jsakamoto/Toolbelt.Blazor.Gamepad) – A library to provide gamepad API access for Blazor.
* [Blazor Hotkeys](https://github.com/jsakamoto/Toolbelt.Blazor.Hotkeys) – A library to provide configuration-centric keyboard shortcuts for Blazor.
* [Blazor LoadingBar](https://github.com/jsakamoto/Toolbelt.Blazor.LoadingBar) – A Blazor port of [angular-loading-bar](https://github.com/chieffancypants/angular-loading-bar).
* [Blazor LocalFiles](https://github.com/jburman/W8lessLabs.Blazor.LocalFiles) – Open files in your browser and load into Blazor.
* [Blazor Realm](https://dworthen.github.io/BlazorRealm/docs/quickstart.html) – Redux state management with middleware support.
* [Blazor Redux](https://github.com/torhovland/blazor-redux) – This library offers Redux-style state management for Blazor.
* [Blazor SpeechSynthesis](https://github.com/jsakamoto/Toolbelt.Blazor.SpeechSynthesis) – A library to provide Speech Synthesis API access for Blazor.
* [Blazor SVG Helper](https://github.com/Lupusa87/BlazorSvgHelper) ([Demo](https://lupblazordemos.z13.web.core.windows.net)) – Create SVG elements with children (circle, rectangle, image, text, and others) and render with RenderTreeBuilder.
* [Blazor Time Zone Kit](https://github.com/jsakamoto/Toolbelt.Blazor.TimeZoneKit) – A library to provide system time zones and local time zone initialization in Blazor apps.
* [Blazor Tweet Button](https://github.com/jsakamoto/Toolbelt.Blazor.TwitterShareButton) – A Tweet Button component for Blazor.
* [Blazor.Extensions.OfficeUIFabric](https://github.com/BlazorExtensions/Blazor.Extensions.OfficeUIFabric) – Microsoft Office Fabric UI port for Blazor.
* [Blazor.FlexGrid](https://github.com/Mewriick/Blazor.FlexGrid) – GridView component for Blazor.
* [Blazor.Payments](https://github.com/philipblaquiere/Blazor.Payments) – A library that replicates the [W3C Payment Request API](https://w3c.github.io/payment-request/) contracts in Blazor apps.
* [Blazor.Polyfill](https://github.com/Daddoon/Blazor.Polyfill) – A Blazor compatibility library for Internet Explorer 11 and other browsers.
* [Blazor.Xamarin](https://github.com/Daddoon/Blazor.Xamarin) – Host Blazor apps as standalone hybrid mobile apps with Xamarin.
* [Blazor-State](https://timewarpengineering.github.io/blazor-state/) – Blazor-State is a client side pipeline architecture utilizing MediatR with plugin behaviors.
* [Canvas](https://github.com/BlazorExtensions/Canvas) – HTML5 Canvas API implementation for Microsoft Blazor.
* [ChartJs.Blazor](https://github.com/mariusmuntean/ChartJs.Blazor) – Blazor Component that wraps ChartJS.
* [DevExpress Blazor UI Components](https://github.com/DevExpress/RazorComponents) – UI components including Data Grid, Pivot Grid, and several data editors.
* [Elmah.Io.Blazor](https://github.com/elmahio/Elmah.Io.Blazor) – Logs from Blazor to [elmah.io](https://elmah.io/) using Microsoft.Extensions.Logging.
* [Logging](https://github.com/BlazorExtensions/Logging) – Microsoft Extension Logging implementation for Blazor.
* [MatBlazor](https://github.com/BlazorComponents/MatBlazor) ([Demo](https://blazorcomponents.github.io/MatBlazor/)) – Google Material components for web in Blazor.
* [NObservable](https://github.com/kekekeks/NObservable) – MobX-like observables and component instrumentation.
* [Notifications](https://github.com/BlazorExtensions/Notifications) – HTML5 Notifications API implementation for Microsoft Blazor.
* [SignalR](https://github.com/BlazorExtensions/SignalR) – SignalR Core support for Microsoft ASP.NET Core Blazor.
* [Sotsera.Blazor.Toaster](https://github.com/sotsera/sotsera.blazor.toaster) ([Demo](https://sotsera.github.io/sotsera.blazor.toaster/)) – A Blazor port of [Toastr.js](https://github.com/CodeSeven/toastr/).
* [Storage](https://github.com/BlazorExtensions/Storage) – HTML5 Storage API implementation for Microsoft Blazor.
* [Syncfusion Blazor UI Components](https://github.com/syncfusion/ej2-aspnet-core-blazor-samples) – A complete library of robust UI components including [Data Grid](https://ej2.syncfusion.com/aspnet-core-razor-components/Grid/DefaultFunctionalities), [Charts](https://ej2.syncfusion.com/aspnet-core-razor-components/Charts/polar), [Scheduler](https://ej2.syncfusion.com/aspnet-core-razor-components/Schedule/TimelineResourceGroup), [Inputs](https://ej2.syncfusion.com/aspnet-core-razor-components/TextBox/DefaultFunctionalities), and various [Editor](https://ej2.syncfusion.com/aspnet-core-razor-components/RichTextEditor/DefaultFunctionalities) components.
* [Telerik UI for Blazor](https://www.telerik.com/blazor-ui) – A native set of UI components for Blazor, including grid, charting, and calendar components.
* [Toastr](https://github.com/BlazorExtensions/Toastr) – A Blazor port of [Toastr.js](https://github.com/CodeSeven/toastr/).
## Samples and tutorials
* [A Nicer Looking Blazor Loading Page](http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/4315/A-Nicer-Looking-Blazor-Loading-Page.aspx) – Customize the Blazor loading page using [SpinKit](https://github.com/tobiasahlin/SpinKit).
* [ASP.NET Core Master/Detail CRUD](https://code.msdn.microsoft.com/vstudio/ASPNET-Core-Blazor-122b108a) – A master/detail HTML CRUD example with sorting and filtering using Entity Framework and Web API.
* [BlazeDown](https://github.com/EdCharbeneau/BlazeDown) ([Demo](http://edcharbeneau.com/BlazeDown/)) – An online markdown editor built with Blazor.
* [Blazing Chuck](https://davidpine.net/blog/blazing-chuck/) ([Demo](https://bit.ly/BlazingChuck)) – An example Blazor app that displays random "nerdy" Chuck Norris jokes.
* [BlazorPass](https://github.com/ebekker/BlazorPass) – Blazor UI and ASP.NET Core API to manage Active Directory credentials.
* [Blazor + Electron sample](https://github.com/aspnet/AspLabs/tree/master/src/ComponentsElectron) – Explore how a Blazor app can be used to build a cross-platform desktop app.
* [Blazor + Sitecore](https://github.com/GoranHalvarsson/SitecoreBlazor) ([Blog post](https://visionsincode.wordpress.com/2018/06/30/time-travel-into-the-future-blazor-sitecore-helix/)) – Example of dynamic pages and routes with SiteCore and [Helix](https://helix.sitecore.net/).
* [Blazor Admin Dashboard](https://github.com/Misfits-Rebels-Outcasts/Blazor-Dashboard) – An admin dashboard for Blazor.
* [Blazor Asteroids](https://github.com/aesalazar/AsteroidsWasm) ([Demo](https://aesalazar.github.io/AsteroidsWasm/)) – The 80's classic video game developed in C# for WinForms/WPF but running Blazor.
* [Blazor Bricks](https://www.codeproject.com/Articles/1241210/WebAssembly-with-Blazor) – A bricks game developed with C# and Blazor.
* [Blazor Calculator](https://github.com/Lupusa87/BlazorCalculator) ([Demo](https://lupblazordemos.z13.web.core.windows.net/CalculatorPage)) – Simple calculator with history and ability to use previous results in new calculations.
* [Blazor Calculator with Expressions](https://github.com/khaledmousa/BlazorCalculator) ([Demo](https://khaledmousa.github.io/)) – A sample numerical expression evaluator in Blazor utilizing an F# library that uses FsLex and FsYacc to parse expressions.
* [Blazor Chat sample](https://github.com/conficient/BlazorChatSample) ([Demo](https://blazorchatsample.azurewebsites.net/)) – An app that demonstrates the use of [SignalR](https://docs.microsoft.com/aspnet/core/signalr/) to create a Blazor chat app.
* [Blazor Chess](https://github.com/Lupusa87/BlazorChess) ([Demo](https://lupblazordemos.z13.web.core.windows.net/ChessPage)) – An experimental Blazor chess engine.
* [Blazor Clock Canvas](https://github.com/Lupusa87/BlazorClockCanvas) ([Demo](https://lupblazordemos.z13.web.core.windows.net/ClockCanvas)) – Complex clock based on Canvas.
* [Blazor Clock SVG](https://github.com/Lupusa87/BlazorClockSVG) ([Demo](https://lupblazordemos.z13.web.core.windows.net/)) – Complex clock based on SVG.
* [Blazor Contoso University](https://github.com/lohithgn/blazor-contoso-university) – Contoso University recreated in Blazor.
* [Blazor Converters](https://github.com/lohithgn/blazor-converters) ([Demo](http://blazorconverters.surge.sh)) – Windows 10 Calc Converters recreated in Blazor.
* [Blazor Doughnut Chart](https://github.com/Lupusa87/BlazorDoughnutChartComponent) ([Demo](https://lupblazordemos.z13.web.core.windows.net/DoughnutChartpage)) – Doughnut charting with gradient colors using SVG.
* [Blazor Examples](https://github.com/lohithgn/blazor-examples) ([Demo](http://blazorexamples.surge.sh/)) – Knockout JS examples recreated in Blazor.
* [Blazor Game Snake](https://github.com/Lupusa87/BlazorGameSnake) ([Demo](https://lupblazordemos.z13.web.core.windows.net/GameSnakePage)) – 2D game snake with customizations, path finding algorithm, and sound effects using SVG.
* [Blazor Graph API example](https://github.com/jburman/BlazorGraphExample) ([Demo](https://blazorgraph.z20.web.core.windows.net/)) – A self-contained Blazor app that connects to [Microsoft's Graph API](https://docs.microsoft.com/azure/active-directory/develop/active-directory-graph-api), queries the user's information, and allows the user to browse through their [OneDrive](https://onedrive.live.com/about/).
* [Blazor Hacker News Clone](https://github.com/lohithgn/blazor-hackernews-clone) ([Demo](http://blazorhackernews.surge.sh/)) – A Hacker News clone built in Blazor.
* [Blazor Loan Calculator](https://github.com/Lupusa87/BlazorLoanCalculator) ([Demo](https://lupblazordemos.z13.web.core.windows.net/LoanCalculatorPage)) – A loan payments calculator developed with Blazor.
* [Blazor Paint](https://github.com/Lupusa87/BlazorPaint) ([Demo](https://lupblazordemos.z13.web.core.windows.net/PaintPage)) – Drawing app written in Blazor.
* [Blazor Password Pattern](https://github.com/Lupusa87/BlazorPasswordPattern) ([Demo](https://lupblazordemos.z13.web.core.windows.net/PasswordPatternPage)) – Password pattern based on SVG.
* [Blazor Performance Chart](https://lupblazordemos.z13.web.core.windows.net/PerformanceChartPage) – Performance Chart based on SVG.
* [Blazor RealWorld example app](https://github.com/torhovland/blazor-realworld-example-app) – A full-stack app built with Blazor that includes CRUD operations, authentication, routing, and pagination.
* [Blazor RSS Reader](https://github.com/lohithgn/blazor-rss-reader) ([Demo](https://blazorrssreader.surge.sh/)) – RSS Reader using Blazor.
* [Blazor Spreadsheet](https://github.com/Lupusa87/BlazorSpreadsheet) ([Demo](https://lupblazordemos.z13.web.core.windows.net/SpreadsheetPage)) – Spreadsheet app developed in Blazor.
* [Blazor Sushi](https://github.com/lohithgn/blazor-sushi) ([Demo](https://blazorsushi.surge.sh/)) – Kendo UI Sushi SPA recreated in Blazor.
* [Blazor To-Do App](https://github.com/BorowskiKamil/blazor-tasks) – A Blazor app that allows you to create and edit tasks and manage categories of tasks.
* [Blazor Tour of Heroes](https://github.com/lohithgn/blazor-tour-of-heroes) – A Blazor implementation of [Angular Tour of Heroes](https://angular.io/tutorial).
* [Blazor UWP Sample](https://github.com/pushqrdx/Blazor.Universal) – Use Blazor.Server to build UWP apps.
* [BlazorServiceWorker](https://github.com/roboriaan/BlazorServiceWorker) – A client-side Blazor template with service worker caching.
* [Blazume](https://github.com/Amine-Smahi/Blazume) – A portfolio/resume template using Blazor.
* [Bolero.TodoMVC](https://github.com/fsbolero/TodoMVC) – A TodoMVC clone using Bolero.
* [CssBuilder](https://www.nuget.org/packages/BlazorComponentUtilities/) – A clean code approach to conditional CSS classes for Razor components in Blazor.
* [Data Driven Layout](https://github.com/hutchcodes/Blazor.DataDrivenLayout) ([Blog post](https://hutchcodes.net/2018/09/data-driven-layout-in-razor-components/)) – Two ways of driving the layout based on data in the page.
* [Do](https://github.com/jamie-lord/do) ([Demo](https://do.lord.technology)) – Todo.txt compatible todo app.
* [FMRL](https://github.com/ebekker/FMRL) – Ephemeral Message Service. Messages sent are encrypted, securely transferred, and automatically deleted when they are retrieved.
* [Money](https://github.com/maraf/Money) ([Demo](https://money.neptuo.com)) – A money manager implemented using CQRS+ES.
* [Planning Poker for Azure](https://github.com/duracellko/planningpoker4azure) ([Demo](http://planningpoker.duracellko.net)) – An app to play [Planning Poker™](https://www.planningpoker.com) for distributed teams. The app is implemented using Blazor and shows how to switch between client-side and server-side mode with a configuration change. *Planning Poker* is a registered trademark of [Mountain Goat Software, LLC](https://www.mountaingoatsoftware.com/).
* [Toss](https://github.com/RemiBou/Toss.Blazor) – A Twitter-like web app that allows the user to sign in, post a new message (a "toss") with hashtag, and select favorite hashtags for finding messages.
* [TreeCRUD](https://github.com/ctrl-alt-d/TreeCrud) – A simple server-side Blazor CRUD app to deal with hierarchical data. The project has a data layer with GraphQL for R (Read) and classical REST for CUD (Create, Update, Delete).
* [TrendTv](https://github.com/MattMarked/TrendTv) ([Demo](http://zaptube2.azurewebsites.net/)) – Fetch a video list from YouTube and "zap" in real time between trending videos, filtered by country or category.
* [Try F# on WebAssembly](https://github.com/fsbolero/TryFSharpOnWasm) – The F# compiler running in WebAssembly with Bolero.
* [Tzaar](https://github.com/paularundel/tzaar) ([Demo](https://tzaar.azurewebsites.net/)) – Implementation of the board game Tzaar with Blazor and SignalR.
* [Quiz](https://github.com/Amine-Smahi/BlazorQuiz) – Simple quiz using Blazor.
* [Validation Controls using Blazor](https://github.com/hishamco/BlazorValidationControls) – Blog posts: [Part I: Basic Validation Controls](http://www.hishambinateya.com/part1-validation-controls-using-blazor-basic-validation-controls) | [Part II: Custom Validation Controls](http://www.hishambinateya.com/part2-validation-controls-using-blazor-custom-validation-controls)
* [WebSocketPage](https://github.com/Lupusa87/BlazorWebSocketHelper) ([Demo](https://lupblazordemos.z13.web.core.windows.net/WebSocketPage)) – WebSocket example for Blazor.
## Tooling
* [BlazorFiddle](https://blazorfiddle.com) – Blazor .NET developer playground and code editor in the browser.
* [Blazor Minimum Project Templates](https://github.com/jsakamoto/BlazorMinimumTemplates) – A project templates package of Blazor apps without JavaScript and CSS libraries.
* [Blazor Snippets Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=ScottSauber.blazorsnippets) – A Visual Studio Code extension that offers Blazor and Razor snippets.
* [Razor+ Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=austincummings.razor-plus) – A Visual Studio Code extension that offers improved Razor support.
## Community documentation
* [Awesome Blazor](https://github.com/AdrienTorris/awesome-blazor) – A collection of useful Blazor resources.
* [Blazor Bites](https://chrissainty.com/tag/blazor-bites/) – Posts on ASP.NET Core and Blazor subjects.
* [Learn Blazor](https://learn-blazor.com/) – Community documentation on Blazor.
* [LightSwitch Help Website](https://lightswitchhelpwebsite.com/Blog/tabid/61/tagid/66/Blazor.aspx) – Blogs and code samples primarily covering server-side Blazor (Razor Components).
* [WebAssemblyMan](https://www.webassemblyman.com/) – Man page for Blazor and WebAssembly.
## Books
* [Blazor Revealed](https://www.apress.com/gp/book/9781484243428) – Build web apps in Microsoft .NET that run in any modern browser, helping you to transfer your .NET experience and skills to a new environment and build browser-based apps using a robust and type-safe language and runtime.
* [Blazor Quick Start Guide: Build web applications using Blazor, EF Core, and SQL Server (2018)](https://amzn.to/2OToEji) – An introduction to Blazor core concepts and how to apply concepts to real-world web apps with the help of Entity Framework Core and SQL Server.
* [Dockerizing ASP.NET Core and Blazor Applications on Mac](https://www.c-sharpcorner.com/ebooks/dockerizing-asp-net-core-and-blazor-applications-on-mac) – This book is targeted for beginning to intermediate .NET developers who want to jump into ASP.NET Core, Blazor, and Docker on macOS.
## Courses
* [Blazor First Look on LinkedIn Learning](https://www.linkedin.com/learning/blazor-first-look)
* [Free Blazor Training Course](https://www.devexpress.com/support/training/blazor/)
## Streams and podcasts
* [Blazor StateHasChanged: The weekly community live show](https://www.youtube.com/edwardcharbeneau)
## Other
* [Bionic](https://bionicframework.github.io/Documentation) – An Ionic CLI clone for Blazor projects.
* [Bolero](https://github.com/fsbolero/Bolero) – Blazor for F# with hot reloaded templates, type-safe endpoints and routing, remoting, and much more.
================================================
FILE: docfx.json
================================================
{
"metadata": [
{
"src": [
{
"files": [
"src/**.dll"
]
}
],
"dest": "api",
"disableGitFeatures": false
}
],
"build": {
"content": [
{
"files": [
"api/**.yml",
"toc.yml",
"**/*.md"
],
"exclude": [
"**/obj/**",
"**/sample/**",
"**/samples/**",
"**/includes/**",
"_site/**"
],
"src": "."
}
],
"resource": [
{
"files": [
"**/*.png",
"**/*.jpg"
],
"exclude": [
"**/obj/**",
"**/includes/**",
"_site/**"
],
"src": "."
}
],
"overwrite": [],
"dest": "_site",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
"default",
"template"
],
"postProcessors": [],
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false,
"globalMetadata": {
"_gitContribute": {
"branch": "master"
}
}
}
}
================================================
FILE: docs/common/samples/3.x/BlazorSample/App.cshtml
================================================
================================================
FILE: docs/common/samples/3.x/BlazorSample/BlazorSample.csproj
================================================
netstandard2.0dotnetblazor serve7.3
================================================
FILE: docs/common/samples/3.x/BlazorSample/Components/ListViewTemplate.cshtml
================================================
@typeparam TItem
@foreach (var item in Items)
{
@ItemTemplate(item)
}