Quick Start
Razor Sharp Getaways is a complete Blazor Server app built on FlexCore controls: five pages, in-memory data, nothing to configure. It is the app in the window on the home page. Download it, run it, change it.
Download Razor Sharp Getaways (zip) Blazor Server, .NET 10, FlexCore from NuGet.
Run it
- Unzip the download; the project is in the
RazorSharpGetawaysfolder. - Install the .NET 10 SDK if the machine does not have it.
- Run the project from that folder and open the address it prints. The first run restores the FlexCore package.
dotnet run
If the browser warns about the certificate, run dotnet dev-certs https --trust once, or start the app with
dotnet run --launch-profile http.
What is in it
| Page | What it shows | Main FlexCore controls |
|---|---|---|
| Dashboard | Four figures, trip requests by month and upcoming departures; press Rearrange the cards to drag them into a new order | GridLayoutControl, CardControl, ChartControl, GridControl, SegmentedControl, CheckBoxControl |
| Trip Requests | 1,000 requests with a Quote cell you type straight into, an in-cell lookup, filter chips, search and a quote editor | GridControl, DropDownGridControl, ChipListControl, SearchBoxControl, ToolbarControl, StatusBarControl, DialogControl, DatePickerControl, NumericTextBoxControl |
| Itinerary | One booked trip, from the flight out to the flight home | SchedulerControl |
| Invoices | A booked trip's package cost sheet: a report definition in the Crystal Reports XML export format, with rows built in memory | ReportWriterControl |
| Settings | Color scheme, text size and grid look with a live preview, plus the dashboard layout | ColorPaletteControl, SliderControl, SwitchControl, SegmentedControl, DropDownListControl |
The shell is a vertical TabStripControl menu, an AppBarControl with ButtonControl menus and
an AvatarControl, and a FabMenuControl. The folders are the ones dotnet new blazor creates,
plus Components/Getaways for the page components and the shell, Data for the in-memory store, the
settings and the report rows, wwwroot/reports for the report and wwwroot/getaways.css for the styles.
The README says where each part lives and how FlexCore is wired in; the service registrations are in Program.cs.
The same code as the home page
The home page compiles the project's Components/Getaways and Data files into its demo frame, and its
Razor and C# tabs print each page's markup and @code from them. The download adds its own Program.cs,
layout and routed pages, and takes FlexCore from NuGet where this site builds against the library's source.
Next
Follow Get Started to wire FlexCore into an app of your own: package, namespaces, services, hosts, interactivity, first grid. Open All components for the controls in 13 groups; each row opens a live demo with its code. Read the FAQ for compatibility, capabilities, support and comparisons.