File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 22Sample .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
1114At 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
1417You can continue with survey via ` Run `  page, go through the survey and post results to the custom service.
1518You 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.
                         You can’t perform that action at this time. 
           
                  
0 commit comments