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: ej2-asp-core-mvc/spreadsheet/docker-deployment.md
+8-23Lines changed: 8 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,16 @@ docker-compose up
59
59
60
60
Now the Spreadsheet server Docker instance runs on localhost with the provided port number `http://localhost:6002`. Open this link in a browser and navigate to the Spreadsheet Web API open and save service at `http://localhost:6002/api/spreadsheet/open` and `http://localhost:6002/api/spreadsheet/save`.
61
61
62
+
{% if page.publishingplatform == "aspnet-core" %}
63
+
62
64
**Step 4:** Append the URLs of the Docker instance running services to the [`openUrl`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_OpenUrl) property as `http://localhost:6002/api/spreadsheet/open` and the [`saveUrl`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_SaveUrl) property as `http://localhost:6002/api/spreadsheet/save` in the client-side Spreadsheet control. For more information on how to get started with the Spreadsheet control, refer to this [`getting started page.`](https://ej2.syncfusion.com/aspnetcore/documentation/spreadsheet/getting-started-core)
**Step 4:** Append the URLs of the Docker instance running services to the [`openUrl`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_OpenUrl) property as `http://localhost:6002/api/spreadsheet/open` and the [`saveUrl`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_SaveUrl) property as `http://localhost:6002/api/spreadsheet/save` in the client-side Spreadsheet control. For more information on how to get started with the Spreadsheet control, refer to this [`getting started page.`](https://ej2.syncfusion.com/aspnetmvc/documentation/spreadsheet/getting-started-mvc)
69
+
70
+
{% endif %}
71
+
64
72
{% if page.publishingplatform == "aspnet-core" %}
65
73
66
74
{% tabs %}
@@ -80,19 +88,6 @@ Now the Spreadsheet server Docker instance runs on localhost with the provided p
80
88
</script>
81
89
```
82
90
83
-
{% endhighlight %}
84
-
85
-
{% highlight c# tabtitle="Opencontroller.cs" %}
86
-
87
-
```cs
88
-
public IActionResult Open(IFormCollection openRequest)
89
-
{
90
-
OpenRequest open = new OpenRequest();
91
-
open.File = openRequest.Files[0];
92
-
return Content(Workbook.Open(open));
93
-
}
94
-
```
95
-
96
91
{% endhighlight %}
97
92
{% endtabs %}
98
93
@@ -113,16 +108,6 @@ public IActionResult Open(IFormCollection openRequest)
0 commit comments