Skip to content

Commit

Permalink
Merge pull request #1 from SyncfusionExamples/Task-889684_bubble_blog…
Browse files Browse the repository at this point in the history
…_sample_for_.Net_Maui

Task-889684_bubble_blog_sample_for_.Net_Maui
  • Loading branch information
Saravanan-Madhesh authored Jun 5, 2024
2 parents dbc5136 + 5cad87d commit 12a90cd
Show file tree
Hide file tree
Showing 46 changed files with 1,306 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added BubbleBlog/.vs/BubbleBlog/v17/.futdcache.v2
Binary file not shown.
Binary file added BubbleBlog/.vs/BubbleBlog/v17/.suo
Binary file not shown.
120 changes: 120 additions & 0 deletions BubbleBlog/.vs/BubbleBlog/v17/DocumentLayout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\repos\\BubbleBlog\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|c:\\repos\\bubbleblog\\bubbleblog\\mainpage.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|solutionrelative:bubbleblog\\mainpage.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|c:\\repos\\bubbleblog\\bubbleblog\\platforms\\ios\\info.plist||{4B819833-C3E7-40A8-B4AF-4F7F5E6B913F}",
"RelativeMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|solutionrelative:bubbleblog\\platforms\\ios\\info.plist||{4B819833-C3E7-40A8-B4AF-4F7F5E6B913F}"
},
{
"AbsoluteMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|c:\\repos\\bubbleblog\\bubbleblog\\platforms\\android\\mainactivity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|solutionrelative:bubbleblog\\platforms\\android\\mainactivity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|c:\\repos\\bubbleblog\\bubbleblog\\app.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|solutionrelative:bubbleblog\\app.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|c:\\repos\\bubbleblog\\bubbleblog\\mainpage.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|solutionrelative:bubbleblog\\mainpage.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|c:\\repos\\bubbleblog\\bubbleblog\\mauiprogram.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EFF83280-5808-4F7B-AF65-30DD87C42F51}|BubbleBlog\\BubbleBlog.csproj|solutionrelative:bubbleblog\\mauiprogram.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 174,
"SelectedChildIndex": 4,
"Children": [
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Info.plist",
"DocumentMoniker": "C:\\repos\\BubbleBlog\\BubbleBlog\\Platforms\\iOS\\Info.plist",
"RelativeDocumentMoniker": "BubbleBlog\\Platforms\\iOS\\Info.plist",
"ToolTip": "C:\\repos\\BubbleBlog\\BubbleBlog\\Platforms\\iOS\\Info.plist",
"RelativeToolTip": "BubbleBlog\\Platforms\\iOS\\Info.plist",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|",
"WhenOpened": "2024-06-04T13:38:06.929Z"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "MainActivity.cs",
"DocumentMoniker": "C:\\repos\\BubbleBlog\\BubbleBlog\\Platforms\\Android\\MainActivity.cs",
"RelativeDocumentMoniker": "BubbleBlog\\Platforms\\Android\\MainActivity.cs",
"ToolTip": "C:\\repos\\BubbleBlog\\BubbleBlog\\Platforms\\Android\\MainActivity.cs",
"RelativeToolTip": "BubbleBlog\\Platforms\\Android\\MainActivity.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAoAAAABAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-06-04T13:36:42.848Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "App.xaml.cs",
"DocumentMoniker": "C:\\repos\\BubbleBlog\\BubbleBlog\\App.xaml.cs",
"RelativeDocumentMoniker": "BubbleBlog\\App.xaml.cs",
"ToolTip": "C:\\repos\\BubbleBlog\\BubbleBlog\\App.xaml.cs",
"RelativeToolTip": "BubbleBlog\\App.xaml.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAgAAAAmAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-06-04T13:33:43.156Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "MainPage.xaml.cs",
"DocumentMoniker": "C:\\repos\\BubbleBlog\\BubbleBlog\\MainPage.xaml.cs",
"RelativeDocumentMoniker": "BubbleBlog\\MainPage.xaml.cs",
"ToolTip": "C:\\repos\\BubbleBlog\\BubbleBlog\\MainPage.xaml.cs",
"RelativeToolTip": "BubbleBlog\\MainPage.xaml.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAIAAAAvAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-06-04T13:31:22.04Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "MainPage.xaml",
"DocumentMoniker": "C:\\repos\\BubbleBlog\\BubbleBlog\\MainPage.xaml",
"RelativeDocumentMoniker": "BubbleBlog\\MainPage.xaml",
"ToolTip": "C:\\repos\\BubbleBlog\\BubbleBlog\\MainPage.xaml",
"RelativeToolTip": "BubbleBlog\\MainPage.xaml",
"ViewState": "AQIAAB0AAAAAAAAAAAAowC0AAAAAAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-06-04T13:30:21.65Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "MauiProgram.cs",
"DocumentMoniker": "C:\\repos\\BubbleBlog\\BubbleBlog\\MauiProgram.cs",
"RelativeDocumentMoniker": "BubbleBlog\\MauiProgram.cs",
"ToolTip": "C:\\repos\\BubbleBlog\\BubbleBlog\\MauiProgram.cs",
"RelativeToolTip": "BubbleBlog\\MauiProgram.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAoAAAATAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-06-04T13:30:13.181Z",
"EditorCaption": ""
}
]
}
]
}
]
}
Binary file not shown.
Binary file not shown.
27 changes: 27 additions & 0 deletions BubbleBlog/BubbleBlog.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.9.34902.65
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BubbleBlog", "BubbleBlog\BubbleBlog.csproj", "{EFF83280-5808-4F7B-AF65-30DD87C42F51}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EFF83280-5808-4F7B-AF65-30DD87C42F51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EFF83280-5808-4F7B-AF65-30DD87C42F51}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EFF83280-5808-4F7B-AF65-30DD87C42F51}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{EFF83280-5808-4F7B-AF65-30DD87C42F51}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EFF83280-5808-4F7B-AF65-30DD87C42F51}.Release|Any CPU.Build.0 = Release|Any CPU
{EFF83280-5808-4F7B-AF65-30DD87C42F51}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5C8D7D84-C8BB-4FF5-88C0-1CC0D338D778}
EndGlobalSection
EndGlobal
14 changes: 14 additions & 0 deletions BubbleBlog/BubbleBlog/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version = "1.0" encoding = "UTF-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:BubbleBlog"
x:Class="BubbleBlog.App">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
12 changes: 12 additions & 0 deletions BubbleBlog/BubbleBlog/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace BubbleBlog
{
public partial class App : Application
{
public App()
{
InitializeComponent();

MainPage = new MainPage();
}
}
}
15 changes: 15 additions & 0 deletions BubbleBlog/BubbleBlog/AppShell.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="BubbleBlog.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:BubbleBlog"
Shell.FlyoutBehavior="Disabled"
Title="BubbleBlog">

<ShellContent
Title="Home"
ContentTemplate="{DataTemplate local:MainPage}"
Route="MainPage" />

</Shell>
10 changes: 10 additions & 0 deletions BubbleBlog/BubbleBlog/AppShell.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace BubbleBlog
{
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
}
}
}
66 changes: 66 additions & 0 deletions BubbleBlog/BubbleBlog/BubbleBlog.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->

<!-- Note for MacCatalyst:
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->

<OutputType>Exe</OutputType>
<RootNamespace>BubbleBlog</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<!-- Display name -->
<ApplicationTitle>BubbleBlog</ApplicationTitle>

<!-- App Identifier -->
<ApplicationId>com.companyname.bubbleblog</ApplicationId>

<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>

<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />

<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />

<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />

<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />

<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="*" />
<PackageReference Include="Syncfusion.Maui.Charts" Version="*" />
</ItemGroup>

</Project>
33 changes: 33 additions & 0 deletions BubbleBlog/BubbleBlog/BubbleBlog.csproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
<ActiveDebugFramework>net8.0-android</ActiveDebugFramework>
<ActiveDebugProfile>Pixel 5 - API 34 (Android 14.0 - API 34)</ActiveDebugProfile>
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
<DefaultDevice>pixel_5_-_api_34</DefaultDevice>
</PropertyGroup>
<ItemGroup>
<None Update="App.xaml">
<SubType>Designer</SubType>
</None>
<None Update="AppShell.xaml">
<SubType>Designer</SubType>
</None>
<None Update="MainPage.xaml">
<SubType>Designer</SubType>
</None>
<None Update="Platforms\Windows\App.xaml">
<SubType>Designer</SubType>
</None>
<None Update="Platforms\Windows\Package.appxmanifest">
<SubType>Designer</SubType>
</None>
<None Update="Resources\Styles\Colors.xaml">
<SubType>Designer</SubType>
</None>
<None Update="Resources\Styles\Styles.xaml">
<SubType>Designer</SubType>
</None>
</ItemGroup>
</Project>
Loading

0 comments on commit 12a90cd

Please sign in to comment.