diff --git a/MyFirstMauiApp/.vscode/launch.json b/MyFirstMauiApp/.vscode/launch.json
index 01677be..d5b7fed 100644
--- a/MyFirstMauiApp/.vscode/launch.json
+++ b/MyFirstMauiApp/.vscode/launch.json
@@ -9,7 +9,7 @@
"type": "maui",
"request": "launch",
"preLaunchTask": "maui: Build",
- "project": "./"
+ "project": "./MauiBinding"
}
]
}
diff --git a/MyFirstMauiApp/BlazorHybridWithMAUI/wwwroot/css/app.css b/MyFirstMauiApp/BlazorHybridWithMAUI/wwwroot/css/app.css
index 6909156..15f7cf0 100644
--- a/MyFirstMauiApp/BlazorHybridWithMAUI/wwwroot/css/app.css
+++ b/MyFirstMauiApp/BlazorHybridWithMAUI/wwwroot/css/app.css
@@ -1,4 +1,4 @@
-@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
+@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");
html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
diff --git a/MyFirstMauiApp/MyFirstMauiApp.sln b/MyFirstMauiApp/MyFirstMauiApp.sln
index fbd3ca4..e4122c3 100644
--- a/MyFirstMauiApp/MyFirstMauiApp.sln
+++ b/MyFirstMauiApp/MyFirstMauiApp.sln
@@ -17,7 +17,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UseRestService", "UseRestSe
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LocalDataStorageWithSQLite", "LocalDataStorageWithSQLite\LocalDataStorageWithSQLite.csproj", "{B15EEC37-30AA-4A54-89D1-D5B3C4DB3E07}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorHybridWithMAUI", "BlazorHybridWithMAUI\BlazorHybridWithMAUI.csproj", "{D1B193FE-7F85-4709-BAB7-3E8B7110CF3E}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHybridWithMAUI", "BlazorHybridWithMAUI\BlazorHybridWithMAUI.csproj", "{D1B193FE-7F85-4709-BAB7-3E8B7110CF3E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WeatherClient", "WeatherClient\WeatherClient.csproj", "{CD7D204D-468C-4930-AFA1-9BD1DCE8E31C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -73,6 +75,12 @@ Global
{D1B193FE-7F85-4709-BAB7-3E8B7110CF3E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1B193FE-7F85-4709-BAB7-3E8B7110CF3E}.Release|Any CPU.Build.0 = Release|Any CPU
{D1B193FE-7F85-4709-BAB7-3E8B7110CF3E}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ {CD7D204D-468C-4930-AFA1-9BD1DCE8E31C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CD7D204D-468C-4930-AFA1-9BD1DCE8E31C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CD7D204D-468C-4930-AFA1-9BD1DCE8E31C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {CD7D204D-468C-4930-AFA1-9BD1DCE8E31C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CD7D204D-468C-4930-AFA1-9BD1DCE8E31C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CD7D204D-468C-4930-AFA1-9BD1DCE8E31C}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/MyFirstMauiApp/WeatherClient/App.xaml b/MyFirstMauiApp/WeatherClient/App.xaml
new file mode 100644
index 0000000..ba92b11
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/App.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MyFirstMauiApp/WeatherClient/App.xaml.cs b/MyFirstMauiApp/WeatherClient/App.xaml.cs
new file mode 100644
index 0000000..df96028
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/App.xaml.cs
@@ -0,0 +1,12 @@
+namespace WeatherClient
+{
+ public partial class App : Application
+ {
+ public App()
+ {
+ InitializeComponent();
+
+ MainPage = new AppShell();
+ }
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/AppShell.xaml b/MyFirstMauiApp/WeatherClient/AppShell.xaml
new file mode 100644
index 0000000..8f3b0b1
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/AppShell.xaml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
diff --git a/MyFirstMauiApp/WeatherClient/AppShell.xaml.cs b/MyFirstMauiApp/WeatherClient/AppShell.xaml.cs
new file mode 100644
index 0000000..478eb86
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/AppShell.xaml.cs
@@ -0,0 +1,10 @@
+namespace WeatherClient
+{
+ public partial class AppShell : Shell
+ {
+ public AppShell()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/MainPage.xaml b/MyFirstMauiApp/WeatherClient/MainPage.xaml
new file mode 100644
index 0000000..5ceb1c6
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/MainPage.xaml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MyFirstMauiApp/WeatherClient/MainPage.xaml.cs b/MyFirstMauiApp/WeatherClient/MainPage.xaml.cs
new file mode 100644
index 0000000..fe04b96
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/MainPage.xaml.cs
@@ -0,0 +1,36 @@
+namespace WeatherClient
+{
+ public partial class MainPage : ContentPage
+ {
+ int count = 0;
+
+ public MainPage()
+ {
+ InitializeComponent();
+ }
+
+ private async void btnRefresh_Clicked(object sender, EventArgs e)
+ {
+ btnRefresh.IsEnabled = false;
+ actIsBusy.IsRunning = true;
+
+ Models.WeatherData weatherData = await Services.WeatherServer.GetWeather(txtPostalCode.Text);
+
+ lblWind.Text = weatherData.Wind.ToString();
+ lblHumidity.Text = weatherData.Humidity.ToString();
+ lblPrecipitation.Text = weatherData.Precipitation.ToString();
+ lblTemperature.Text = weatherData.Temperature.ToString("#");
+
+ imgCondition.Source = weatherData.Condition switch
+ {
+ Models.WeatherType.Sunny => ImageSource.FromFile("sunny.png"),
+ Models.WeatherType.Cloudy => ImageSource.FromFile("cloud.png"),
+ _ => ImageSource.FromFile("question.png")
+ };
+
+ btnRefresh.IsEnabled = true;
+ actIsBusy.IsRunning = false;
+ }
+ }
+
+}
diff --git a/MyFirstMauiApp/WeatherClient/MauiProgram.cs b/MyFirstMauiApp/WeatherClient/MauiProgram.cs
new file mode 100644
index 0000000..d74be3f
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/MauiProgram.cs
@@ -0,0 +1,25 @@
+using Microsoft.Extensions.Logging;
+
+namespace WeatherClient
+{
+ public static class MauiProgram
+ {
+ public static MauiApp CreateMauiApp()
+ {
+ var builder = MauiApp.CreateBuilder();
+ builder
+ .UseMauiApp()
+ .ConfigureFonts(fonts =>
+ {
+ fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
+ fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
+ });
+
+#if DEBUG
+ builder.Logging.AddDebug();
+#endif
+
+ return builder.Build();
+ }
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Models/WeatherData.cs b/MyFirstMauiApp/WeatherClient/Models/WeatherData.cs
new file mode 100644
index 0000000..58ea3fe
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Models/WeatherData.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace WeatherClient.Models
+{
+ public readonly record struct WeatherData(
+ int Temperature,
+ int Precipitation,
+ int Humidity,
+ int Wind,
+ WeatherType Condition);
+
+}
diff --git a/MyFirstMauiApp/WeatherClient/Models/WeatherType.cs b/MyFirstMauiApp/WeatherClient/Models/WeatherType.cs
new file mode 100644
index 0000000..8e04a03
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Models/WeatherType.cs
@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace WeatherClient.Models
+{
+ public enum WeatherType
+ {
+ Sunny,
+ Cloudy,
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Android/AndroidManifest.xml b/MyFirstMauiApp/WeatherClient/Platforms/Android/AndroidManifest.xml
new file mode 100644
index 0000000..e9937ad
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Android/AndroidManifest.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Android/MainActivity.cs b/MyFirstMauiApp/WeatherClient/Platforms/Android/MainActivity.cs
new file mode 100644
index 0000000..692a3dc
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Android/MainActivity.cs
@@ -0,0 +1,11 @@
+using Android.App;
+using Android.Content.PM;
+using Android.OS;
+
+namespace WeatherClient
+{
+ [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
+ public class MainActivity : MauiAppCompatActivity
+ {
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Android/MainApplication.cs b/MyFirstMauiApp/WeatherClient/Platforms/Android/MainApplication.cs
new file mode 100644
index 0000000..7b58620
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Android/MainApplication.cs
@@ -0,0 +1,16 @@
+using Android.App;
+using Android.Runtime;
+
+namespace WeatherClient
+{
+ [Application]
+ public class MainApplication : MauiApplication
+ {
+ public MainApplication(IntPtr handle, JniHandleOwnership ownership)
+ : base(handle, ownership)
+ {
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Android/Resources/values/colors.xml b/MyFirstMauiApp/WeatherClient/Platforms/Android/Resources/values/colors.xml
new file mode 100644
index 0000000..c04d749
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Android/Resources/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #512BD4
+ #2B0B98
+ #2B0B98
+
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/AppDelegate.cs b/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/AppDelegate.cs
new file mode 100644
index 0000000..f580f82
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/AppDelegate.cs
@@ -0,0 +1,10 @@
+using Foundation;
+
+namespace WeatherClient
+{
+ [Register("AppDelegate")]
+ public class AppDelegate : MauiUIApplicationDelegate
+ {
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/Info.plist b/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/Info.plist
new file mode 100644
index 0000000..c96dd0a
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/Info.plist
@@ -0,0 +1,30 @@
+
+
+
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/Program.cs b/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/Program.cs
new file mode 100644
index 0000000..58e8d04
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/MacCatalyst/Program.cs
@@ -0,0 +1,16 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace WeatherClient
+{
+ public class Program
+ {
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Tizen/Main.cs b/MyFirstMauiApp/WeatherClient/Platforms/Tizen/Main.cs
new file mode 100644
index 0000000..8a1d335
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Tizen/Main.cs
@@ -0,0 +1,17 @@
+using Microsoft.Maui;
+using Microsoft.Maui.Hosting;
+using System;
+
+namespace WeatherClient
+{
+ internal class Program : MauiApplication
+ {
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+
+ static void Main(string[] args)
+ {
+ var app = new Program();
+ app.Run(args);
+ }
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Tizen/tizen-manifest.xml b/MyFirstMauiApp/WeatherClient/Platforms/Tizen/tizen-manifest.xml
new file mode 100644
index 0000000..c925777
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Tizen/tizen-manifest.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+ maui-appicon-placeholder
+
+
+
+
+ http://tizen.org/privilege/internet
+
+
+
+
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Windows/App.xaml b/MyFirstMauiApp/WeatherClient/Platforms/Windows/App.xaml
new file mode 100644
index 0000000..1a3230a
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Windows/App.xaml
@@ -0,0 +1,8 @@
+
+
+
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Windows/App.xaml.cs b/MyFirstMauiApp/WeatherClient/Platforms/Windows/App.xaml.cs
new file mode 100644
index 0000000..82e7bce
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Windows/App.xaml.cs
@@ -0,0 +1,25 @@
+using Microsoft.UI.Xaml;
+
+// To learn more about WinUI, the WinUI project structure,
+// and more about our project templates, see: http://aka.ms/winui-project-info.
+
+namespace WeatherClient.WinUI
+{
+ ///
+ /// Provides application-specific behavior to supplement the default Application class.
+ ///
+ public partial class App : MauiWinUIApplication
+ {
+ ///
+ /// Initializes the singleton application object. This is the first line of authored code
+ /// executed, and as such is the logical equivalent of main() or WinMain().
+ ///
+ public App()
+ {
+ this.InitializeComponent();
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Windows/Package.appxmanifest b/MyFirstMauiApp/WeatherClient/Platforms/Windows/Package.appxmanifest
new file mode 100644
index 0000000..8c96eb3
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Windows/Package.appxmanifest
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+ $placeholder$
+ User Name
+ $placeholder$.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/Windows/app.manifest b/MyFirstMauiApp/WeatherClient/Platforms/Windows/app.manifest
new file mode 100644
index 0000000..2665802
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/Windows/app.manifest
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+ true/PM
+ PerMonitorV2, PerMonitor
+
+
+
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/iOS/AppDelegate.cs b/MyFirstMauiApp/WeatherClient/Platforms/iOS/AppDelegate.cs
new file mode 100644
index 0000000..f580f82
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/iOS/AppDelegate.cs
@@ -0,0 +1,10 @@
+using Foundation;
+
+namespace WeatherClient
+{
+ [Register("AppDelegate")]
+ public class AppDelegate : MauiUIApplicationDelegate
+ {
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/iOS/Info.plist b/MyFirstMauiApp/WeatherClient/Platforms/iOS/Info.plist
new file mode 100644
index 0000000..0004a4f
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/iOS/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ LSRequiresIPhoneOS
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/MyFirstMauiApp/WeatherClient/Platforms/iOS/Program.cs b/MyFirstMauiApp/WeatherClient/Platforms/iOS/Program.cs
new file mode 100644
index 0000000..58e8d04
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Platforms/iOS/Program.cs
@@ -0,0 +1,16 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace WeatherClient
+{
+ public class Program
+ {
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/Properties/launchSettings.json b/MyFirstMauiApp/WeatherClient/Properties/launchSettings.json
new file mode 100644
index 0000000..edf8aad
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Properties/launchSettings.json
@@ -0,0 +1,8 @@
+{
+ "profiles": {
+ "Windows Machine": {
+ "commandName": "MsixPackage",
+ "nativeDebugging": false
+ }
+ }
+}
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Resources/AppIcon/appicon.svg b/MyFirstMauiApp/WeatherClient/Resources/AppIcon/appicon.svg
new file mode 100644
index 0000000..9d63b65
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Resources/AppIcon/appicon.svg
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Resources/AppIcon/appiconfg.svg b/MyFirstMauiApp/WeatherClient/Resources/AppIcon/appiconfg.svg
new file mode 100644
index 0000000..21dfb25
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Resources/AppIcon/appiconfg.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Fonts/OpenSans-Regular.ttf b/MyFirstMauiApp/WeatherClient/Resources/Fonts/OpenSans-Regular.ttf
new file mode 100644
index 0000000..dadcb01
Binary files /dev/null and b/MyFirstMauiApp/WeatherClient/Resources/Fonts/OpenSans-Regular.ttf differ
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Fonts/OpenSans-Semibold.ttf b/MyFirstMauiApp/WeatherClient/Resources/Fonts/OpenSans-Semibold.ttf
new file mode 100644
index 0000000..5601642
Binary files /dev/null and b/MyFirstMauiApp/WeatherClient/Resources/Fonts/OpenSans-Semibold.ttf differ
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Images/cloud.png b/MyFirstMauiApp/WeatherClient/Resources/Images/cloud.png
new file mode 100644
index 0000000..4af331d
Binary files /dev/null and b/MyFirstMauiApp/WeatherClient/Resources/Images/cloud.png differ
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Images/dotnet_bot.svg b/MyFirstMauiApp/WeatherClient/Resources/Images/dotnet_bot.svg
new file mode 100644
index 0000000..abfaff2
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Resources/Images/dotnet_bot.svg
@@ -0,0 +1,93 @@
+
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Images/question.png b/MyFirstMauiApp/WeatherClient/Resources/Images/question.png
new file mode 100644
index 0000000..c1f8a57
Binary files /dev/null and b/MyFirstMauiApp/WeatherClient/Resources/Images/question.png differ
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Images/sunny.png b/MyFirstMauiApp/WeatherClient/Resources/Images/sunny.png
new file mode 100644
index 0000000..7a934f5
Binary files /dev/null and b/MyFirstMauiApp/WeatherClient/Resources/Images/sunny.png differ
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Raw/AboutAssets.txt b/MyFirstMauiApp/WeatherClient/Resources/Raw/AboutAssets.txt
new file mode 100644
index 0000000..15d6244
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Resources/Raw/AboutAssets.txt
@@ -0,0 +1,15 @@
+Any raw assets you want to be deployed with your application can be placed in
+this directory (and child directories). Deployment of the asset to your application
+is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
+
+
+
+These files will be deployed with you package and will be accessible using Essentials:
+
+ async Task LoadMauiAsset()
+ {
+ using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
+ using var reader = new StreamReader(stream);
+
+ var contents = reader.ReadToEnd();
+ }
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Splash/splash.svg b/MyFirstMauiApp/WeatherClient/Resources/Splash/splash.svg
new file mode 100644
index 0000000..21dfb25
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Resources/Splash/splash.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Styles/Colors.xaml b/MyFirstMauiApp/WeatherClient/Resources/Styles/Colors.xaml
new file mode 100644
index 0000000..245758b
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Resources/Styles/Colors.xaml
@@ -0,0 +1,44 @@
+
+
+
+
+ #512BD4
+ #DFD8F7
+ #2B0B98
+ White
+ Black
+ #E1E1E1
+ #C8C8C8
+ #ACACAC
+ #919191
+ #6E6E6E
+ #404040
+ #212121
+ #141414
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #F7B548
+ #FFD590
+ #FFE5B9
+ #28C2D1
+ #7BDDEF
+ #C3F2F4
+ #3E8EED
+ #72ACF1
+ #A7CBF6
+
+
\ No newline at end of file
diff --git a/MyFirstMauiApp/WeatherClient/Resources/Styles/Styles.xaml b/MyFirstMauiApp/WeatherClient/Resources/Styles/Styles.xaml
new file mode 100644
index 0000000..dc4a034
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Resources/Styles/Styles.xaml
@@ -0,0 +1,405 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MyFirstMauiApp/WeatherClient/Services/WeatherServer.cs b/MyFirstMauiApp/WeatherClient/Services/WeatherServer.cs
new file mode 100644
index 0000000..00a61cf
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/Services/WeatherServer.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using WeatherClient.Models;
+
+namespace WeatherClient.Services
+{
+ internal static class WeatherServer
+ {
+ public static async Task GetWeather(string postalCode)
+ {
+ int totalWeatherTypes = Enum.GetNames().Length;
+
+ await Task.Delay(TimeSpan.FromSeconds(2));
+
+ WeatherData data = new WeatherData()
+ {
+ Temperature = Random.Shared.Next(-10, 40),
+ Condition = (WeatherType)Random.Shared.Next(0, totalWeatherTypes),
+ Humidity = Random.Shared.Next(0, 101),
+ Precipitation = Random.Shared.Next(0, 101),
+ Wind = Random.Shared.Next(0, 30)
+ };
+
+ return data;
+ }
+ }
+}
diff --git a/MyFirstMauiApp/WeatherClient/WeatherClient.csproj b/MyFirstMauiApp/WeatherClient/WeatherClient.csproj
new file mode 100644
index 0000000..9a6c367
--- /dev/null
+++ b/MyFirstMauiApp/WeatherClient/WeatherClient.csproj
@@ -0,0 +1,55 @@
+
+
+
+ net7.0-android;net7.0-ios;net7.0-maccatalyst
+ $(TargetFrameworks);net7.0-windows10.0.19041.0
+
+
+ Exe
+ WeatherClient
+ true
+ true
+ enable
+
+
+ WeatherClient
+
+
+ com.companyname.weatherclient
+ dfe6879f-550b-479d-a9cf-733bca8d4bec
+
+
+ 1.0
+ 1
+
+ 11.0
+ 13.1
+ 21.0
+ 10.0.17763.0
+ 10.0.17763.0
+ 6.5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+