diff --git a/Getting Started/Blazor/Client Side/Convert Excel to PDF/Convert Excel to PDF/Pages/Excel.razor b/Getting Started/Blazor/Client Side/Convert Excel to PDF/Convert Excel to PDF/Pages/Excel.razor deleted file mode 100644 index aa4b36e0..00000000 --- a/Getting Started/Blazor/Client Side/Convert Excel to PDF/Convert Excel to PDF/Pages/Excel.razor +++ /dev/null @@ -1,47 +0,0 @@ -@page "/xlsio" -@using Convert_Excel_to_PDF -@using Syncfusion.XlsIO -@using Syncfusion.Pdf -@using Syncfusion.XlsIORenderer -@inject Microsoft.JSInterop.IJSRuntime JS -@inject HttpClient client - -

Syncfusion XlsIO library

-

Syncfusion Blazor XlsIO library used to create, read, edit, and convert DocIO files in your applications without Microsoft Office dependencies.

- - -@code { - @functions { - async void ExcelToPDF() - { - using (ExcelEngine excelEngine = new ExcelEngine()) -{ - IApplication application = excelEngine.Excel; - application.DefaultVersion = ExcelVersion.Xlsx; - - //Load an existing file - using (Stream inputStream = await client.GetStreamAsync("Data/InputTemplate.xlsx")) - { - // Open the workbook. - IWorkbook workbook = application.Workbooks.Open(inputStream); - - // Instantiate the Excel to PDF renderer. - XlsIORenderer renderer = new XlsIORenderer(); - - //Convert Excel document into PDF document - PdfDocument pdfDocument = renderer.ConvertToPDF(workbook); - - //Create the MemoryStream to save the converted PDF. - MemoryStream pdfStream = new MemoryStream(); - - //Save the converted PDF document to MemoryStream. - pdfDocument.Save(pdfStream); - pdfStream.Position = 0; - - //Download PDF file in the browser. - await JS.SaveAs("Output.pdf", pdfStream.ToArray()); - } -} - } - } -} diff --git a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Pages/FetchData.razor b/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Pages/FetchData.razor deleted file mode 100644 index 5824082f..00000000 --- a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Pages/FetchData.razor +++ /dev/null @@ -1,55 +0,0 @@ -@page "/fetchdata" -@inject HttpClient Http - -

Weather forecast

- -

This component demonstrates fetching data from the server.

- -@if (forecasts == null) -{ -

Loading...

-} -else -{ - - - - - - - - - - - @foreach (var forecast in forecasts) - { - - - - - - - } - -
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
-} - -@code { - private WeatherForecast[] forecasts; - - protected override async Task OnInitializedAsync() - { - forecasts = await Http.GetFromJsonAsync("sample-data/weather.json"); - } - - public class WeatherForecast - { - public DateTime Date { get; set; } - - public int TemperatureC { get; set; } - - public string Summary { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - } -} diff --git a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Pages/Index.razor b/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Pages/Index.razor deleted file mode 100644 index e54d9143..00000000 --- a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Pages/Index.razor +++ /dev/null @@ -1,7 +0,0 @@ -@page "/" - -

Hello, world!

- -Welcome to your new app. - - diff --git a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/MainLayout.razor b/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/MainLayout.razor deleted file mode 100644 index 0f4e22a9..00000000 --- a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/MainLayout.razor +++ /dev/null @@ -1,15 +0,0 @@ -@inherits LayoutComponentBase - - - -
-
- About -
- -
- @Body -
-
diff --git a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/NavMenu.razor b/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/NavMenu.razor deleted file mode 100644 index c786cf48..00000000 --- a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/NavMenu.razor +++ /dev/null @@ -1,42 +0,0 @@ - - -
- -
- -@code { - private bool collapseNavMenu = true; - - private string NavMenuCssClass => collapseNavMenu ? "collapse" : null; - - private void ToggleNavMenu() - { - collapseNavMenu = !collapseNavMenu; - } -} diff --git a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/SurveyPrompt.razor b/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/SurveyPrompt.razor deleted file mode 100644 index 02714098..00000000 --- a/Getting Started/Blazor/Client Side/Create Excel/Create Excel/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ - - -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string Title { get; set; } -} diff --git a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Pages/FetchData.razor b/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Pages/FetchData.razor deleted file mode 100644 index 7d004a5f..00000000 --- a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Pages/FetchData.razor +++ /dev/null @@ -1,57 +0,0 @@ -@page "/fetchdata" -@inject HttpClient Http - -Weather forecast - -

Weather forecast

- -

This component demonstrates fetching data from the server.

- -@if (forecasts == null) -{ -

Loading...

-} -else -{ - - - - - - - - - - - @foreach (var forecast in forecasts) - { - - - - - - - } - -
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
-} - -@code { - private WeatherForecast[]? forecasts; - - protected override async Task OnInitializedAsync() - { - forecasts = await Http.GetFromJsonAsync("sample-data/weather.json"); - } - - public class WeatherForecast - { - public DateTime Date { get; set; } - - public int TemperatureC { get; set; } - - public string? Summary { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - } -} diff --git a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Pages/Index.razor b/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Pages/Index.razor deleted file mode 100644 index 6085c4aa..00000000 --- a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Pages/Index.razor +++ /dev/null @@ -1,9 +0,0 @@ -@page "/" - -Index - -

Hello, world!

- -Welcome to your new app. - - diff --git a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/MainLayout.razor b/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/MainLayout.razor deleted file mode 100644 index 839b8fe6..00000000 --- a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/MainLayout.razor +++ /dev/null @@ -1,17 +0,0 @@ -@inherits LayoutComponentBase - -
- - -
-
- About -
- -
- @Body -
-
-
diff --git a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/MainLayout.razor.css b/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/MainLayout.razor.css deleted file mode 100644 index c8654276..00000000 --- a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/MainLayout.razor.css +++ /dev/null @@ -1,81 +0,0 @@ -.page { - position: relative; - display: flex; - flex-direction: column; -} - -main { - flex: 1; -} - -.sidebar { - background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); -} - -.top-row { - background-color: #f7f7f7; - border-bottom: 1px solid #d6d5d5; - justify-content: flex-end; - height: 3.5rem; - display: flex; - align-items: center; -} - - .top-row ::deep a, .top-row ::deep .btn-link { - white-space: nowrap; - margin-left: 1.5rem; - text-decoration: none; - } - - .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { - text-decoration: underline; - } - - .top-row ::deep a:first-child { - overflow: hidden; - text-overflow: ellipsis; - } - -@media (max-width: 640.98px) { - .top-row:not(.auth) { - display: none; - } - - .top-row.auth { - justify-content: space-between; - } - - .top-row ::deep a, .top-row ::deep .btn-link { - margin-left: 0; - } -} - -@media (min-width: 641px) { - .page { - flex-direction: row; - } - - .sidebar { - width: 250px; - height: 100vh; - position: sticky; - top: 0; - } - - .top-row { - position: sticky; - top: 0; - z-index: 1; - } - - .top-row.auth ::deep a:first-child { - flex: 1; - text-align: right; - width: 0; - } - - .top-row, article { - padding-left: 2rem !important; - padding-right: 1.5rem !important; - } -} diff --git a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/NavMenu.razor b/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/NavMenu.razor deleted file mode 100644 index d95d0e37..00000000 --- a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/NavMenu.razor +++ /dev/null @@ -1,44 +0,0 @@ - - -
- -
- -@code { - private bool collapseNavMenu = true; - - private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; - - private void ToggleNavMenu() - { - collapseNavMenu = !collapseNavMenu; - } -} diff --git a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/NavMenu.razor.css b/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/NavMenu.razor.css deleted file mode 100644 index acc5f9f8..00000000 --- a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/NavMenu.razor.css +++ /dev/null @@ -1,62 +0,0 @@ -.navbar-toggler { - background-color: rgba(255, 255, 255, 0.1); -} - -.top-row { - height: 3.5rem; - background-color: rgba(0,0,0,0.4); -} - -.navbar-brand { - font-size: 1.1rem; -} - -.oi { - width: 2rem; - font-size: 1.1rem; - vertical-align: text-top; - top: -2px; -} - -.nav-item { - font-size: 0.9rem; - padding-bottom: 0.5rem; -} - - .nav-item:first-of-type { - padding-top: 1rem; - } - - .nav-item:last-of-type { - padding-bottom: 1rem; - } - - .nav-item ::deep a { - color: #d7d7d7; - border-radius: 4px; - height: 3rem; - display: flex; - align-items: center; - line-height: 3rem; - } - -.nav-item ::deep a.active { - background-color: rgba(255,255,255,0.25); - color: white; -} - -.nav-item ::deep a:hover { - background-color: rgba(255,255,255,0.1); - color: white; -} - -@media (min-width: 641px) { - .navbar-toggler { - display: none; - } - - .collapse { - /* Never collapse the sidebar for wide screens */ - display: block; - } -} diff --git a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/SurveyPrompt.razor b/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/SurveyPrompt.razor deleted file mode 100644 index 962027fc..00000000 --- a/Getting Started/Blazor/Client Side/EditExcel/EditExcel/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ -
- - @Title - - - Please take our - brief survey - - and tell us what you think. -
- -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string? Title { get; set; } -}