11 |
@item.Summary.Truncate(127)
16 |@item.PublishDate.ToString("dd MMM")
17 |Loading feed ...
6 | } 7 | else 8 | { 9 | 17 |63 |
66 | @foreach (var item in Feed.Items)
67 | {
68 | @item.Title
69 | }
70 |
Loading feeds ...
8 | } 9 | else 10 | { 11 | 16 || Title | 29 |Website | 30 |Action | 31 |
|---|---|---|
|
38 | @if (feed.ImageUrl != null)
39 | {
40 |
45 | @feed.Title.Substring(0, 1)
46 |
47 | }
48 | @feed.Title
49 | |
50 | 51 | @feed.WebsiteUrl 52 | | 53 |54 | 58 | | 59 |
11 |
12 | ##### Home Page
13 |
14 |
15 | ##### Feed Title View
16 |
17 |
18 | ##### Feed Magazine View
19 |
20 |
21 | ##### Feed Cards View
22 |
23 |
24 | ##### Feed Article View
25 |
26 |
27 | ##### Reading Post
28 |
29 |
30 | ##### Add Feed
31 |
32 |
33 | ##### Organize Sources
34 |
35 |
36 | ##### Edit Feed Title
37 |
38 |
39 | # Working with the code base
40 |
41 | ## 1. Pre-Requisites:
42 |
43 | ### Get Blazor 0.7.0
44 | To get setup with Blazor 0.7.0:
45 | 1. Install the [.NET Core 2.1 SDK](https://go.microsoft.com/fwlink/?linkid=873092) (2.1.500 or later).
46 | 2. Install [Visual Studio 2017](https://go.microsoft.com/fwlink/?linkid=873093) (15.9 or later) with the ASP.NET and web development workload selected.
47 | 3. Install the latest [Blazor Language Services extension](https://go.microsoft.com/fwlink/?linkid=870389) from the Visual Studio Marketplace.
48 | 4. To install the Blazor templates on the command-line:
49 | ```
50 |
51 | dotnet new -i Microsoft.AspNetCore.Blazor.Templates
52 |
53 | ```
54 |
55 | You can find getting started instructions, docs, and tutorials for Blazor at https://blazor.net.
56 |
57 | ## 2. Clone source code
58 | 1. Clone the source code on your machine.
59 | 2. Open `src\BlazorRssReader.sln` in Visual Studio.
60 | 3. Start hacking.
61 |
--------------------------------------------------------------------------------
/src/BlazorRssReader/Pages/Listing/Index.cshtml:
--------------------------------------------------------------------------------
1 | @page "/feed/{FeedId}"
2 | @inherits IndexModel
3 |
4 | @if (IsBusy)
5 | {
6 | Loading feed ...
7 | } 8 | else 9 | { 10 | @if (Feed != null) 11 | { 12 | 17 |