diff --git a/src/4-Examples/BlazorServerApp/Pages/Shared/SimpleLayout.razor b/src/4-Examples/BlazorServerApp/Pages/Shared/SimpleLayout.razor
new file mode 100644
index 0000000..94d5fe0
--- /dev/null
+++ b/src/4-Examples/BlazorServerApp/Pages/Shared/SimpleLayout.razor
@@ -0,0 +1,16 @@
+@using Blazored.Toast
+@using Blazored.Toast.Configuration
+@inherits LayoutComponentBase
+
+
\ No newline at end of file
diff --git a/src/4-Examples/BlazorServerApp/Pages/Shared/_Layout.cshtml b/src/4-Examples/BlazorServerApp/Pages/Shared/_Layout.cshtml
index 3794625..0d61419 100644
--- a/src/4-Examples/BlazorServerApp/Pages/Shared/_Layout.cshtml
+++ b/src/4-Examples/BlazorServerApp/Pages/Shared/_Layout.cshtml
@@ -16,9 +16,14 @@
-
+
@RenderBody()
diff --git a/src/4-Examples/BlazorServerApp/Pages/_Host.cshtml b/src/4-Examples/BlazorServerApp/Pages/_Host.cshtml
index 76ec178..1a544c5 100644
--- a/src/4-Examples/BlazorServerApp/Pages/_Host.cshtml
+++ b/src/4-Examples/BlazorServerApp/Pages/_Host.cshtml
@@ -5,6 +5,9 @@
@using CodeBlock.DevKit.Web.Localization
@using Microsoft.AspNetCore.Components.Web
@inject LocalizationSettings LocalizationSettings
+@{
+ Layout = null;
+}
diff --git a/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.Designer.cs b/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.Designer.cs
index ec369ee..10abfbd 100644
--- a/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.Designer.cs
+++ b/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.Designer.cs
@@ -69,42 +69,6 @@ public static string App_Name {
}
}
- ///
- /// Looks up a localized string similar to We are authorizing, please wait..
- ///
- public static string Error_Authorization_Message {
- get {
- return ResourceManager.GetString("Error_Authorization_Message", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Authorizing ....
- ///
- public static string Error_Authorization_Title {
- get {
- return ResourceManager.GetString("Error_Authorization_Title", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Sorry! It seems the page that you are looking for, does not exist..
- ///
- public static string Error_NotFound_Message {
- get {
- return ResourceManager.GetString("Error_NotFound_Message", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Page not found!.
- ///
- public static string Error_NotFound_Title {
- get {
- return ResourceManager.GetString("Error_NotFound_Title", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Welcome!.
///
diff --git a/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.fa.resx b/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.fa.resx
index 3cc8a13..fd04aed 100644
--- a/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.fa.resx
+++ b/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.fa.resx
@@ -117,18 +117,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- در حال احراز هویت ...
-
-
- شما به تازگی به سیستم وارد شدی، کمی زمان نیاز داریم که این موضوع رو بررسی کنیم
-
-
- متاسفیم! صفحه ای که دنبالش بودی پیدا نشد.
-
-
- صفحه ی مورد نظر پیدا نشد!
-
کاربرها
diff --git a/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.resx b/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.resx
index 0eb3f12..c82dd95 100644
--- a/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.resx
+++ b/src/4-Examples/BlazorServerApp/Resources/BlazorServerAppResource.resx
@@ -117,18 +117,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Authorizing ...
-
-
- We are authorizing, please wait.
-
-
- Sorry! It seems the page that you are looking for, does not exist.
-
-
- Page not found!
-
Users
diff --git a/src/4-Examples/BlazorServerApp/_Imports.razor b/src/4-Examples/BlazorServerApp/_Imports.razor
index d1a7531..0d528ee 100644
--- a/src/4-Examples/BlazorServerApp/_Imports.razor
+++ b/src/4-Examples/BlazorServerApp/_Imports.razor
@@ -15,6 +15,7 @@
@using CodeBlock.DevKit.Core.Extensions
@using CodeBlock.DevKit.Web.Blazor.Server.Extensions
@using CodeBlock.DevKit.Web.Blazor.Server.Components
+@using CodeBlock.DevKit.Web.Blazor.Server.Resources
@using Microsoft.Extensions.Localization
@using BlazorServerApp.Resources
@@ -24,4 +25,5 @@
@inject IModalService ModalService
@inject IBus Bus
-@inject IStringLocalizer
Localizer
\ No newline at end of file
+@inject IStringLocalizer AppLocalizer
+@inject IStringLocalizer BlazorLocalizer