Git Product home page Git Product logo

blazor.docs's Introduction

blazor.docs's People

Contributors

adefwebserver avatar amine-smahi avatar andrzej-w avatar barcoderesource avatar chrissainty avatar ctrl-alt-d avatar danroth27 avatar dedac avatar duracellko avatar edcharbeneau avatar guardrex avatar jburman avatar jongalloway avatar jsakamoto avatar kekekeks avatar lohithgn avatar lupusa87 avatar mehul avatar mrpmorris avatar muqeet-khan avatar nheath99 avatar peterhimschoot avatar remibou avatar rstropek avatar samprof avatar scottkuhl avatar sql-mistermagoo avatar steventcramer avatar stsrki avatar vertonghenb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blazor.docs's Issues

Replace the 'Build your first' tutorial

Texas two-step ...

  • Choose a replacement sample
  • Finish the sample app
  • List parts (sub-topics) and create outlines+goals for each part
  • Write the sub-topics
  • Publish live version of the sample

Add Routing topic

We should move the routing content out of the components doc into a separate routing topic.

  • Router component
  • @page
  • NavLink component

Child content section of the Components page should be updated

Hi,

it was founded a kind of typo in the Child content section of the Components page:

ChildComponent.cshtml:

<div class="panel panel-success">
  <div class="panel-heading">@Title</div>
  <div class="panel-body">@PanelContent</div>
</div>

@functions {
    public string Title { get; set; }
    public RenderFragment **PanelContent** { get; set; }
}

I got a fault when trying to execute this example. After a discussion in an issue report https://github.com/aspnet/Blazor/issues/686 it was founded the PanelConent field's name is incorrect. It is suggested to rename this to ChildContent. Unfortunatelly, there are still some errors with this name using. As a result I'm not sure how this example should be improved.

Replace ILayoutComponent with BlazorLayoutComponent

Remove all references to ILayoutComponent. This interface will no longer exist in Blazor 0.3.0. Replace all layouts’ @implements ILayoutComponent with @inherits BlazorLayoutComponent and remove the @functions { .. } block that declares the Body property (since that’s now inherited from the base class).

Add PDF Export

Would be nice to be able to export docs to PDF. DocFx supports PDF export, but has a dependency on wkhtmltopdf which might be a little hard to integrate with the GitHub pages hosting.

I think the way to do this would be to integrated it into the AppVeyor build. There's a Chocolatey package for wkhtmltopdf, and AppVeyor supports Chocolatey installs, so that may be one way to do it. Another is just to use the wphtmltopdf installer.

Once that dependency is in place, we just need to add a pdf section to our docfx.json file and we'll have a PDF generated.

The databinding needs more explanation

Excellent introduction. One place for improvement: The databinding didn't make sense. The statement "The Year parameter is bindable because it has a companion YearChanged event that matches the type of the Year parameter." needs to explain the action. Also, what is format-value in <input bind="@StartDate" format-value="yyyy-MM-dd" /> Is this a blazor tag-helper? That needs explanation.

Move the Components sample UP one level in the TOC

Since I just used the Components sample as the demo for the Routing topic on #102, let's move the Components topic sample to a better position in the TOC (up one level) and rename it so that it applies better to any topic in the TOC. We can just run with one sample (for the reference topics only) for a while, which will simplify maintenance of all of the topics during preview. The tutorial will still have its own sample, and it will stay in its current position.

This is low priority work and can be performed at any time. Backlogging it for now.

[Tracking Issue] New Components topic sections

  • Component libraries
  • Routing
  • Built-in Blazor components (as of 0.2.0: NavLink)
  • Creating components in C# (F#/VB ?)
  • Logging
  • Error handling
  • Partial classes (not available as of 0.2.0) and/or BlazorComponent base classes

Hosting static assets

Note in Host and deploy pertaining to local hosting of static assets:

Blazor sets up its own static file middleware to handle static file requests to content from the Blazor client app, not from the server project.

Note first tho that a CDN should be used for static assets and mention+link Azure Storage/CDN for this purpose.

Note that static assets for the client-side app can't be hosted in the server-side app using Static File Middleware at this time.

Document async event handlers

Event handlers can be async and return Task.

  • No need to manually call StateHasChanged()
  • Improved error handling (exceptions will be caught and logged correctly)

FAQ

Add the FAQ to the introduction folder.

JavaScript and TypeScript interop

Title: Blazor JavaScript and TypeScript interop
Path: docs/javascript-typescript-interop.md
UID: client-side/blazor/javascript-typescript-interop
TOC: JavaScript/TypeScript interop between Dependency Injection and Host and deploy

Add to toc.md and to the docs index.md page in the same spot as the TOC.

[0.2.0] Launch tasks

  • Wire up TOC
  • Wire up the landing page
  • Confirm cross-linking
  • Push 0.2.0 assemblies to the repo
  • Validate ComponentsSample and BlazorApp1 sample run normally.

Sidebar topic nav "active" class on wrong list item

The "active" class is hitting the wrong list item. The UI scrolls to the right spot, but it highlights the wrong entry.

For the following example, I clicked on "Build a todo list" ... "Dependency injection" is receiving the "active" CSS class.

capture

cc/ @danroth27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.