Skip to content

Commit 00c914d

Browse files
committed
docs for .net core 3
1 parent d20198c commit 00c914d

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,28 @@ Sample Project is TestBlocklyHtml from this repository
2121

2222
# How to install NETCore2Blockly in a .NET Core 3.1 WebAPI / MVC application in 2 steps + run application
2323

24-
Use the package with version 3.* . More instructions ASAP
24+
## Step 1
25+
Install-Package Swashbuckle.AspNetCore -Version 5.6.3
26+
Install-Package NetCore2Blockly -Version 3.2022.224.16
27+
28+
## Step 2
29+
30+
```csharp
31+
app.UseDefaultFiles();
32+
app.UseStaticFiles();
33+
app.UseSwagger();
34+
//code
35+
app.UseBlocklyUI(env);
36+
app.UseEndpoints(endpoints =>
37+
{
38+
endpoints.MapControllers();
39+
endpoints.UseBlocklyAutomation();
40+
});
41+
```
42+
43+
## Run application
44+
45+
Run the application from VS and browse to /BlocklyAutomation/ or /BlocklyAutomation/index.html
2546

2647
# How to install NETCore2Blockly in a .NET Core 5 WebAPI / MVC application in 2 steps + run application
2748

@@ -61,6 +82,10 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
6182
}
6283
```
6384

85+
## Run application
86+
87+
Run the application from VS and browse to /BlocklyAutomation/ or /BlocklyAutomation/index.html
88+
6489
# How to install NETCore2Blockly in a .NET Core 6 WebAPI / MVC application in 2 steps + run application
6590

6691
## Step 1:

0 commit comments

Comments
 (0)