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: hello-world/blazor/README.md
+32-18Lines changed: 32 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,15 @@ In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.2.1000`](ht
16
16
17
17
## Preparation
18
18
19
-
This sample was developed with Visual Studio 2022. For a more in-depth guide, please follow Microsoft's tutorial on [Building your first web app with ASP.NET Core using Blazor](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/intro).
19
+
This sample was developed using Visual Studio 2022. For a more in-depth guide on creating a Blazor web application with Visual Studio 2022, please follow Microsoft's tutorial on [Building your first web app with ASP.NET Core using Blazor](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/intro).
20
20
21
21
## Quick Start
22
22
23
-
In Visual Studio 2022, click on the `Start Debugging` button (green arrow) in the Debug Toolbar run the app.
23
+
1.**Open the application** in Visual Studio 2022 by clicking the `Open a Project or Solution` button, and choosing on the `BlazorApp.csproj` file.
24
24
25
-
A window should open to view the sample application
25
+
2.**Run the application** by clicking the `Start Debugging` button (a green arrow) in the Debug Toolbar.
26
+
27
+
3. A window should open to view the sample application
26
28
27
29
> Note:
28
30
>
@@ -114,7 +116,7 @@ These functions will be called by the Blazor components through JavaScript Inter
@@ -328,28 +330,40 @@ Inside the `wwwroot\index.html` file, we will initialize the license and necessa
328
330
> * `initLicense()` specify a license key to use the library. You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=sample&product=dbr&package=js to get your own trial license good for 30 days.
329
331
330
332
331
-
### Modify the `Layout\NavMenu.razor` file
333
+
### Modify the `Layout\NavMenu.razor`and `Layout\NavMenu.razor.css`file
332
334
333
-
Add this block of code to ensure that the pages we've created are accessible through the sidebar
335
+
To make sure the `Decode Video` and `Decode Image` pages are accessible from the sidebar, add the following code block to `Layout\NavMenu.razor`.
In Visual Studio 2022, click on the `Start Debugging` button (green arrow) in the Debug Toolbar run the app.
366
+
We can run the application by clicking the `Start Debugging` button (a green arrow) in the Debug Toolbar.
353
367
354
368
If you followed all the steps correctly, you will have a working page that turns one of the cameras hooked to or built in your computer or mobile device into a barcode scanner. Also, if you want to decode a local image, just click the `Decode Image` button and select the image you want to decode.
0 commit comments