You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-19Lines changed: 9 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
# Blazor Desktop
6
6
Blazor Desktop allows you to create desktop apps using Blazor. Apps run inside of a .NET generic host with a WPF window thats fully managed using a similar template to Blazor WASM.
@@ -102,17 +97,13 @@ It is also possible to configure these values through `appsettings.json` like so
102
97
},
103
98
"Logging": {
104
99
"LogLevel": {
105
-
"Default": "Information"
100
+
"Default": "Information",
101
+
"Microsoft.AspNetCore": "Warning"
106
102
}
107
103
}
108
104
}
109
105
```
110
106
111
-
Blazor Desktop will automatically install a web view runtime for the user if they do not already have it installed, you can disable this if you wish:
112
-
```csharp
113
-
builder.UseWebViewInstaller(false);
114
-
```
115
-
116
107
**The `Window` object itself is also made available inside of the DI container, so you can access all properties on it by using the inject Razor keyword or requesting it through the constructor of a class added as a service.**
117
108
118
109
## Custom Window Chrome & Draggable Regions
@@ -134,7 +125,7 @@ Using the base template, if you were to edit `MainLayout.razor` and add a `-webk
0 commit comments