Skip to content

Commit

Permalink
Remove references to MAUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Epictek committed Sep 21, 2024
1 parent 6dc349e commit 4a3cef6
Show file tree
Hide file tree
Showing 914 changed files with 947 additions and 39,688 deletions.
231 changes: 1 addition & 230 deletions BlazorBindings.AvaloniaBindings.sln

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
<Project>
<ItemGroup>
<PackageVersion Include="AlohaKit" Version="1.0.74" />
<PackageVersion Include="Avalonia" Version="11.0.9" />
<PackageVersion Include="Avalonia.Controls.ColorPicker" Version="11.0.9" />
<PackageVersion Include="Avalonia.Controls.DataGrid" Version="11.0.9" />
<PackageVersion Include="Avalonia.Controls.ItemsRepeater" Version="11.0.9" />
<PackageVersion Include="Avalonia.Desktop" Version="11.0.9" />
<PackageVersion Include="Avalonia.Diagnostics" Version="11.0.9" />
<PackageVersion Include="Blazored.FluentValidation" Version="2.1.0" />
<PackageVersion Include="Avalonia.Fonts.Inter" Version="11.0.9" />
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.0.9" />
<PackageVersion Include="CommandLineParser" Version="2.9.1" />
<PackageVersion Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.1.1" />
<PackageVersion Include="Fluxor.Blazor.Web" Version="5.9.1" />
<PackageVersion Include="Material.Components.Maui" Version="0.1.2-beta" />
<PackageVersion Include="Microsoft.Maui.Controls" Version="8.0.6" />
<PackageVersion Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.6" />
<PackageVersion Include="Microsoft.AspNetCore.Components" Version="8.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.6" />
<PackageVersion Include="Microsoft.Build.Locator" Version="1.7.1" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.8.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.133" />
<PackageVersion Include="nunit" Version="4.0.1" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="SkiaSharp.Views.Maui.Controls" Version="2.88.7" />
<PackageVersion Include="sqlite-net-pcl" Version="1.8.116" />
<PackageVersion Include="SQLitePCLRaw.core" Version="2.1.8" />
<PackageVersion Include="SQLitePCLRaw.bundle_green" Version="2.1.8" />
<PackageVersion Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.8" />
<PackageVersion Include="UraniumUI.Icons.FontAwesome" Version="2.7.4" />
<PackageVersion Include="XCalendar.Maui" Version="4.5.3" />
<!-- <PackageVersion Include="AlohaKit" Version="1.0.74" />-->
<!-- <PackageVersion Include="Avalonia" Version="11.0.9" />-->
<!-- <PackageVersion Include="Avalonia.Controls.ColorPicker" Version="11.0.9" />-->
<!-- <PackageVersion Include="Avalonia.Controls.DataGrid" Version="11.0.9" />-->
<!-- <PackageVersion Include="Avalonia.Controls.ItemsRepeater" Version="11.0.9" />-->
<!-- <PackageVersion Include="Avalonia.Desktop" Version="11.0.9" />-->
<!-- <PackageVersion Include="Avalonia.Diagnostics" Version="11.0.9" />-->
<!-- <PackageVersion Include="Blazored.FluentValidation" Version="2.1.0" />-->
<!-- <PackageVersion Include="Avalonia.Fonts.Inter" Version="11.0.9" />-->
<!-- <PackageVersion Include="Avalonia.Themes.Fluent" Version="11.0.9" />-->
<!-- <PackageVersion Include="CommandLineParser" Version="2.9.1" />-->
<!-- <PackageVersion Include="CommunityToolkit.Maui" Version="7.0.1" />-->
<!-- <PackageVersion Include="coverlet.collector" Version="6.0.0" />-->
<!-- <PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.1.1" />-->
<!-- <PackageVersion Include="Fluxor.Blazor.Web" Version="5.9.1" />-->
<!-- <PackageVersion Include="Material.Components.Maui" Version="0.1.2-beta" />-->
<!-- <PackageVersion Include="Microsoft.Maui.Controls" Version="8.0.6" />-->
<!-- <PackageVersion Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.6" />-->
<!-- <PackageVersion Include="Microsoft.AspNetCore.Components" Version="8.0.1" />-->
<!-- <PackageVersion Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.6" />-->
<!-- <PackageVersion Include="Microsoft.Build.Locator" Version="1.7.1" />-->
<!-- <PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" />-->
<!-- <PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.8.0" />-->
<!-- <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />-->
<!-- <PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />-->
<!-- <PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />-->
<!-- <PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />-->
<!-- <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />-->
<!-- <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />-->
<!-- <PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.133" />-->
<!-- <PackageVersion Include="nunit" Version="4.0.1" />-->
<!-- <PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />-->
<!-- <PackageVersion Include="SkiaSharp.Views.Maui.Controls" Version="2.88.7" />-->
<!-- <PackageVersion Include="sqlite-net-pcl" Version="1.8.116" />-->
<!-- <PackageVersion Include="SQLitePCLRaw.core" Version="2.1.8" />-->
<!-- <PackageVersion Include="SQLitePCLRaw.bundle_green" Version="2.1.8" />-->
<!-- <PackageVersion Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.8" />-->
<!-- <PackageVersion Include="UraniumUI.Icons.FontAwesome" Version="2.7.4" />-->
<!-- <PackageVersion Include="XCalendar.Maui" Version="4.5.3" />-->
</ItemGroup>
</Project>
12 changes: 6 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🪢 BlazorBindings.AvaloniaBindings
# 🪢 BlazorBindings.Avalonia

[![Nuget](https://img.shields.io/nuget/v/BlazorBindings.AvaloniaBindings)](https://www.nuget.org/packages/BlazorBindings.AvaloniaBindings/)
[![Nuget](https://img.shields.io/nuget/v/BlazorBindings.Avalonia)](https://www.nuget.org/packages/BlazorBindings.Avalonia/)

## ⏱️ TL;DR
- Use <a href="https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor">⚡ Blazor</a> syntax for <a href="https://avaloniaui.net/">Avalonia</a> apps
Expand Down Expand Up @@ -92,7 +92,7 @@ As you might already noted, this looks very familiar like a standard component -
The `"/"` part is a route. It is useful if you want use routing in your application and paths like this can be used for navigating from one page to another.

> [!TIP]
> For a (somewhat) complete example please look at the `MainPage.razor` and `SubPage.razor` pages in `BlazorBindings.AvaloniaBindings.HelloWorld` sample.
> For a (somewhat) complete example please look at the `MainPage.razor` and `SubPage.razor` pages in `BlazorBindings.Avalonia.HelloWorld` sample.
## ⚡ Blazor
Blazor was originally a technology for interactive web apps. But the authors imagined from the start that it could also be used on-top of any UI framework. This architecture allows us to use Blazor to drive Avalonia controls.
Expand All @@ -106,14 +106,14 @@ To see how Hot Reload in action, here's a video of how well it integrates in .NE

## 📦 Using This Repository
### 🛠️ Building
- Open `BlazorBindings.AvaloniaBindings.sln` in Visual Studio 2022
- Open `BlazorBindings.Avalonia.sln` in Visual Studio 2022
- Build solution

### 🪛 (Re-)Generate Blazor Wrappers
Just run `BlazorBindings.AvaloniaBindings.ComponentGenerator` - all wrapper classes in `BlazorBindings.AvaloniaBindings` get updated.
Just run `BlazorBindings.Avalonia.ComponentGenerator` - all wrapper classes in `BlazorBindings.Avalonia` get updated.

#### 🌟 Register A New Avalonia Control With The Generator
- Open `src/BlazorBindings.AvaloniaBindings/AttributeInfo.cs`
- Open `src/BlazorBindings.Avalonia/AttributeInfo.cs`
- Add new `GenerateComponent` attribute for new UI controls that are not yet supported
- Run the generator

Expand Down
6 changes: 0 additions & 6 deletions nuget.config

This file was deleted.

48 changes: 0 additions & 48 deletions samples/BlazorBindingsToDo/About.razor

This file was deleted.

34 changes: 0 additions & 34 deletions samples/BlazorBindingsToDo/AppState.cs

This file was deleted.

64 changes: 0 additions & 64 deletions samples/BlazorBindingsToDo/BlazorBindingsToDo.csproj

This file was deleted.

15 changes: 0 additions & 15 deletions samples/BlazorBindingsToDo/Counter.razor

This file was deleted.

21 changes: 0 additions & 21 deletions samples/BlazorBindingsToDo/MauiProgram.cs

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions samples/BlazorBindingsToDo/Platforms/Android/MainActivity.cs

This file was deleted.

18 changes: 0 additions & 18 deletions samples/BlazorBindingsToDo/Platforms/Android/MainApplication.cs

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions samples/BlazorBindingsToDo/Platforms/MacCatalyst/AppDelegate.cs

This file was deleted.

Loading

0 comments on commit 4a3cef6

Please sign in to comment.