Skip to content

Commit e0fad5d

Browse files
authored
Added link to the online demo
1 parent 7efeb98 commit e0fad5d

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,17 @@
22
Sample .NET Core backend for SurveyJS library
33

44

5+
## [Live Online Survey + Builder Demo](https://surveyjs-aspnet-mvc.azurewebsites.net/)
6+
7+
58
### Prerequisites
69
- Install [.NET Core](https://www.microsoft.com/net/download/core) on your computer
710
- Clone this repository in the `surveyjs-aspnet-mvc` folder
811
- Build surveyjs-aspnet-mvc application via `dotnet build` command in the `surveyjs-aspnet-mvc` folder
912
- Start applucation via `dotnet run` command
1013

1114
At this point demo surveyjs-php service will be available at the `http://localhost:5000` address.
12-
If everything is ok, you should see project home page with list of available surveys and links to `Survey` and `Editor` pages.
15+
If everything is ok, you should see project home page with list of available surveys and links to `Survey` and `Builder` pages.
1316

1417
You can continue with survey via `Run` page, go through the survey and post results to the custom service.
1518
You can continue with editor via `Edit` page, change the survey and store survey JSON to the custom service.
16-
17-
### In order to post survey results it is needed to:
18-
- initialize survey json with a post id
19-
```
20-
var surveyJson = {
21-
surveyPostId: '3ce10f8b-2d8a-4ca2-a110-2994b9e697a1',
22-
```
23-
- to set up custom service URL
24-
```
25-
Survey.dxSurveyService.serviceUrl = "http://localhost:5000/api/Service";
26-
```
27-
These changed are demoinstrated in the [/wwwroot/survey.js](https://github.com/surveyjs/surveyjs-aspnet-mvc/blob/master/wwwroot/survey.js) file of this repo.

0 commit comments

Comments
 (0)