Skip to content
Permalink
Browse files

Initial release for Blazor preview 9

  • Loading branch information...
mikoskinen committed Sep 8, 2019
0 parents commit cd7df7b4ebcfa5b37ce49af85dc508585f010047
Showing with 1,847 additions and 0 deletions.
  1. +94 −0 .editorconfig
  2. +287 −0 .gitignore
  3. +21 −0 LICENSE.txt
  4. +59 −0 readme.md
  5. BIN releases/CommandButton.Blazor.0.9.0.nupkg
  6. +10 −0 samples/Blazor.CommandButton.Samples.Basic/App.razor
  7. +11 −0 samples/Blazor.CommandButton.Samples.Basic/Blazor.CommandButton.Samples.Basic.csproj
  8. +15 −0 samples/Blazor.CommandButton.Samples.Basic/Data/WeatherForecast.cs
  9. +25 −0 samples/Blazor.CommandButton.Samples.Basic/Data/WeatherForecastService.cs
  10. +35 −0 samples/Blazor.CommandButton.Samples.Basic/Pages/Counter.razor
  11. +16 −0 samples/Blazor.CommandButton.Samples.Basic/Pages/Error.razor
  12. +22 −0 samples/Blazor.CommandButton.Samples.Basic/Pages/_Host.cshtml
  13. +28 −0 samples/Blazor.CommandButton.Samples.Basic/Program.cs
  14. +15 −0 samples/Blazor.CommandButton.Samples.Basic/Shared/MainLayout.razor
  15. +27 −0 samples/Blazor.CommandButton.Samples.Basic/Shared/NavMenu.razor
  16. +60 −0 samples/Blazor.CommandButton.Samples.Basic/Startup.cs
  17. +9 −0 samples/Blazor.CommandButton.Samples.Basic/_Imports.razor
  18. +9 −0 samples/Blazor.CommandButton.Samples.Basic/appsettings.Development.json
  19. +10 −0 samples/Blazor.CommandButton.Samples.Basic/appsettings.json
  20. +7 −0 samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/bootstrap/bootstrap.min.css
  21. +1 −0 samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/bootstrap/bootstrap.min.css.map
  22. +86 −0 samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/FONT-LICENSE
  23. +21 −0 samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/ICON-LICENSE
  24. +114 −0 samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/README.md
  25. +1 −0 ...Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css
  26. BIN samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/font/fonts/open-iconic.eot
  27. BIN samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/font/fonts/open-iconic.otf
  28. +543 −0 samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/font/fonts/open-iconic.svg
  29. BIN samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf
  30. BIN samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/open-iconic/font/fonts/open-iconic.woff
  31. +150 −0 samples/Blazor.CommandButton.Samples.Basic/wwwroot/css/site.css
  32. BIN samples/Blazor.CommandButton.Samples.Basic/wwwroot/favicon.ico
  33. +36 −0 src/Blazor.CommandButton.sln
  34. +27 −0 src/Blazor.CommandButton/Blazor.CommandButton.csproj
  35. +107 −0 src/Blazor.CommandButton/CommandButton.razor
  36. +1 −0 src/Blazor.CommandButton/_Imports.razor
@@ -0,0 +1,94 @@
# EditorConfig is awesome:http://EditorConfig.org

# top-most EditorConfig file
root = true

# Don't use tabs for indentation.
[*]
indent_style = space
# (Please don't specify an indent_size here; that has too many unintended consequences.)

# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
insert_final_newline = true
charset = utf-8-bom

# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2

# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2

# JSON files
[*.json]
indent_size = 2

# Dotnet code style settings:
[*.{cs,vb}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:error
dotnet_style_qualification_for_property = false:error
dotnet_style_qualification_for_method = false:error
dotnet_style_qualification_for_event = false:error

# Use language keywords instead of framework type names for type references
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion

# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion

dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
dotnet_naming_rule.private_members_with_underscore.severity = suggestion

dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private

dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _

# CSharp code style settings:
[*.cs]
# Prefer "var" everywhere
csharp_style_var_for_built_in_types = true:error
csharp_style_var_when_type_is_apparent = true:error
csharp_style_var_elsewhere = true:error

# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_operators = false:none

# Prefer property-like constructs to have an expression-body
csharp_style_expression_bodied_properties = true:none
csharp_style_expression_bodied_indexers = true:none
csharp_style_expression_bodied_accessors = true:none

# Suggest more modern language features when available
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion

# Newline settings
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true
@@ -0,0 +1,287 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# 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

# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

*_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
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# 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 add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# 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

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# 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
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#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/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf
*.ndf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/

# Typescript v1 declaration files
typings/

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/

# JetBrains Rider
.idea/
*.sln.iml

# CodeRush
.cr/

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config

# Telerik's JustMock configuration file
*.jmconfig

# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs

0 comments on commit cd7df7b

Please sign in to comment.
You can’t perform that action at this time.