-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from episerver/feature/AFORM-4107-Create_musi…
…c_festival_backend Create music festival backend
- Loading branch information
Showing
172 changed files
with
1,276 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/*/*.mdf |
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
Binary file added
BIN
+3.26 MB
samples/musicfestival-backend-dotnet/App_Data/DefaultSiteContent.episerverdata
Binary file not shown.
Binary file added
BIN
+104 KB
...ata/blobs/04d8daa45a724ef5a083f8e82b329b55/1c97d68f28224f5c9b8858950abf9fc6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.14 KB
...04d8daa45a724ef5a083f8e82b329b55/1c97d68f28224f5c9b8858950abf9fc6_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+119 KB
...ata/blobs/0df01d48c1a3407abb8d13db8ae30ee3/3b1fb6b9f6e3461b9ee8095afbd12e43.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.92 KB
...0df01d48c1a3407abb8d13db8ae30ee3/3b1fb6b9f6e3461b9ee8095afbd12e43_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.7 KB
...ata/blobs/178be68683d34ffa9f97d9032ca0a7ff/1a71fc65790e4182bb1fba955972719a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.34 KB
...178be68683d34ffa9f97d9032ca0a7ff/1a71fc65790e4182bb1fba955972719a_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+57.9 KB
...ata/blobs/1c115ec62473459e9b8e7af14dda2fc4/311ef189c5854ac89f57fd51f1370153.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.47 KB
...1c115ec62473459e9b8e7af14dda2fc4/311ef189c5854ac89f57fd51f1370153_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+95.5 KB
...ata/blobs/1d21b03f786249df9d1525271fc4e7a9/fa72f2ea20634e1bac2e38538e439faf.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.85 KB
...1d21b03f786249df9d1525271fc4e7a9/fa72f2ea20634e1bac2e38538e439faf_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+59.4 KB
...ata/blobs/1dfada231a7a4d95bf3f5824717b3397/d184b38e165b421ba48b235ed90a24c8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.34 KB
...1dfada231a7a4d95bf3f5824717b3397/d184b38e165b421ba48b235ed90a24c8_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+122 KB
...ata/blobs/20175a0ab62f4304b1c035a3919bd118/090904f87456449dafb97bfa400fc833.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.46 KB
...20175a0ab62f4304b1c035a3919bd118/090904f87456449dafb97bfa400fc833_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+110 KB
...ata/blobs/20f337f40ce64838b536d84688af838b/b14ad2f2b7a84a12b291bd19990f2f91.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.04 KB
...20f337f40ce64838b536d84688af838b/b14ad2f2b7a84a12b291bd19990f2f91_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+61 KB
...ata/blobs/222969db682448419e538d870a66f425/f041f2a8b119411e998c63096780d5aa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.97 KB
...222969db682448419e538d870a66f425/f041f2a8b119411e998c63096780d5aa_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+77 KB
...ata/blobs/27fe0124c0e14f38a24b3caa593bf3f2/4335bd23a2a344e0b1a1efc24c4df72b.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.89 KB
...27fe0124c0e14f38a24b3caa593bf3f2/4335bd23a2a344e0b1a1efc24c4df72b_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+119 KB
...ata/blobs/34768b618b0246c5803eb0b2f3204d35/1912e67b035247b3bcdaf3884a0a0a25.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.58 KB
...34768b618b0246c5803eb0b2f3204d35/1912e67b035247b3bcdaf3884a0a0a25_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+72.7 KB
...ata/blobs/3a82f2d6b2c54f25b82246cedb943307/b1ab3122ac3e4194a8e5426cd5e17f14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.6 KB
...3a82f2d6b2c54f25b82246cedb943307/b1ab3122ac3e4194a8e5426cd5e17f14_Thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+90 KB
...ata/blobs/46d320ad19eb439c837d98f12580b71e/73db0308d58d4a89a8e7c815308c17e9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.15 KB
...46d320ad19eb439c837d98f12580b71e/73db0308d58d4a89a8e7c815308c17e9_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+59.2 KB
...ata/blobs/53d4bf22a80d458ab5bee07e19cfa9df/e7d2978506c64081a05a1cb5989d4d0a.jpg
Oops, something went wrong.
Binary file added
BIN
+2.9 KB
...53d4bf22a80d458ab5bee07e19cfa9df/e7d2978506c64081a05a1cb5989d4d0a_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+124 KB
...ata/blobs/5e6adac0a79f4832ad427bfb37784b56/17b37147fd7440e7b3be8ddbdeeae72b.png
Oops, something went wrong.
Binary file added
BIN
+6.07 KB
...5e6adac0a79f4832ad427bfb37784b56/17b37147fd7440e7b3be8ddbdeeae72b_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+69.6 KB
...ata/blobs/6928c0de9929423d8cca841374773048/fd16656449d44d59b7335b8afc0c37a1.jpg
Oops, something went wrong.
Binary file added
BIN
+4.12 KB
...6928c0de9929423d8cca841374773048/fd16656449d44d59b7335b8afc0c37a1_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+95.1 KB
...ata/blobs/76dcf53374914f2dbc755116a882830b/b2f99584472d49cc9c29b66a7b57a7db.jpg
Oops, something went wrong.
Binary file added
BIN
+5.15 KB
...76dcf53374914f2dbc755116a882830b/b2f99584472d49cc9c29b66a7b57a7db_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+111 KB
...ata/blobs/7ed2af641d004fc1a847a61da40e0ee5/1cd70388d2b44f2bbb4bf8940c63da14.jpg
Oops, something went wrong.
Binary file added
BIN
+5.35 KB
...7ed2af641d004fc1a847a61da40e0ee5/1cd70388d2b44f2bbb4bf8940c63da14_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+35.5 KB
...ata/blobs/90bc72013ac44f8b9cb290e753b27377/fff0a07c2523405383bd2780338fd04c.jpg
Oops, something went wrong.
Binary file added
BIN
+3.48 KB
...90bc72013ac44f8b9cb290e753b27377/fff0a07c2523405383bd2780338fd04c_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+100 KB
...ata/blobs/958f8f1998934b9ea79c3c99322f0f6b/fd85264cd75e4922b3cd752e93807e21.jpg
Oops, something went wrong.
Binary file added
BIN
+4.98 KB
...958f8f1998934b9ea79c3c99322f0f6b/fd85264cd75e4922b3cd752e93807e21_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+56.6 KB
...ata/blobs/9795cd3331aa45e4a75760d7dc49c85a/a43b196d5e5947c9b9188b2e42d1a1b7.jpg
Oops, something went wrong.
Binary file added
BIN
+4.36 KB
...9795cd3331aa45e4a75760d7dc49c85a/a43b196d5e5947c9b9188b2e42d1a1b7_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+84.9 KB
...ata/blobs/9b728f7712a14354b17478161e94d28a/3c1baaa55c164276856c2b0b6e45ab29.jpg
Oops, something went wrong.
Binary file added
BIN
+5.02 KB
...9b728f7712a14354b17478161e94d28a/3c1baaa55c164276856c2b0b6e45ab29_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+100 KB
...ata/blobs/9bc62b56dede48ac9ecef3685ff24544/890d038d1d3241f788783a0a922102e7.jpg
Oops, something went wrong.
Binary file added
BIN
+4.76 KB
...9bc62b56dede48ac9ecef3685ff24544/890d038d1d3241f788783a0a922102e7_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+109 KB
...ata/blobs/b6fb65987a894033a4c2290c989bbef7/0f48523b8b184b2cbf195b282230a3ed.jpg
Oops, something went wrong.
Binary file added
BIN
+5.15 KB
...b6fb65987a894033a4c2290c989bbef7/0f48523b8b184b2cbf195b282230a3ed_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+122 KB
...ata/blobs/bb7f33a60cb84a32b1146d75a7aa1f7c/a12615afeb6c4c5db7717afd4f2d164f.jpg
Oops, something went wrong.
Binary file added
BIN
+4.87 KB
...bb7f33a60cb84a32b1146d75a7aa1f7c/a12615afeb6c4c5db7717afd4f2d164f_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+79.5 KB
...ata/blobs/bf3ecaba29fa482b87440cb18028abc4/f9abdb1656f2442ca9af8b90e687f4a6.jpg
Oops, something went wrong.
Binary file added
BIN
+4.6 KB
...bf3ecaba29fa482b87440cb18028abc4/f9abdb1656f2442ca9af8b90e687f4a6_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+64.2 KB
...ata/blobs/c4e5fa641ab54e18aa785ab5decdfeff/ce9fd2e8c5ba447bab93f153d9885080.jpg
Oops, something went wrong.
Binary file added
BIN
+4.12 KB
...c4e5fa641ab54e18aa785ab5decdfeff/ce9fd2e8c5ba447bab93f153d9885080_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+1.97 KB
...ata/blobs/c5ab571ec7fd45acb46e8a7a763013d7/fcd8e37f418744baaa03442ac77ea3f4.png
Oops, something went wrong.
Binary file added
BIN
+1.2 KB
...c5ab571ec7fd45acb46e8a7a763013d7/fcd8e37f418744baaa03442ac77ea3f4_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+1.66 KB
...ata/blobs/d3a3055d185045ff93a18dcb5d863cd5/0921f495595d49a3881b6c7b145f33cf.png
Oops, something went wrong.
Binary file added
BIN
+1.16 KB
...d3a3055d185045ff93a18dcb5d863cd5/0921f495595d49a3881b6c7b145f33cf_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+85.2 KB
...ata/blobs/d5acd70bd934424cbc595beb396ae168/8b188027f84a480eaf5d346511c69a9e.jpg
Oops, something went wrong.
Binary file added
BIN
+4.62 KB
...d5acd70bd934424cbc595beb396ae168/8b188027f84a480eaf5d346511c69a9e_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+72.3 KB
...ata/blobs/dab10917432e4b59b14ad2f7f7ead0dc/8416fac6f33d416ea00b600a97056609.jpg
Oops, something went wrong.
Binary file added
BIN
+4.52 KB
...dab10917432e4b59b14ad2f7f7ead0dc/8416fac6f33d416ea00b600a97056609_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+96.4 KB
...ata/blobs/dbe1a200947040d388c720cdd8c3ed3d/bda869599fcb42e1be9194365b0ad150.jpg
Oops, something went wrong.
Binary file added
BIN
+3.02 KB
...dbe1a200947040d388c720cdd8c3ed3d/bda869599fcb42e1be9194365b0ad150_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+81 KB
...ata/blobs/dd7914bd0c08462889902726ce15bf5e/72fff66c10734f96a1ca7e3f902eef10.jpg
Oops, something went wrong.
Binary file added
BIN
+3.63 KB
...dd7914bd0c08462889902726ce15bf5e/72fff66c10734f96a1ca7e3f902eef10_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+63.8 KB
...ata/blobs/e991556faaab44c092a69643cda90299/80586880d528447f9819fe04c4b82653.jpg
Oops, something went wrong.
Binary file added
BIN
+3.75 KB
...e991556faaab44c092a69643cda90299/80586880d528447f9819fe04c4b82653_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+121 KB
...ata/blobs/ecb56edb141043a8b9346ddb8dcc5fbf/768251c3b01d4346956d1fbf80436194.jpg
Oops, something went wrong.
Binary file added
BIN
+4.94 KB
...ecb56edb141043a8b9346ddb8dcc5fbf/768251c3b01d4346956d1fbf80436194_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+104 KB
...ata/blobs/f78d73847f8f4d138b37b23a9a369e08/0c31b0af866849fd9124bd15e6e96f6b.jpg
Oops, something went wrong.
Binary file added
BIN
+2.51 KB
...f78d73847f8f4d138b37b23a9a369e08/0c31b0af866849fd9124bd15e6e96f6b_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+138 KB
...ata/blobs/f919cae6a9a94feaac2dddca4b886d4a/a1d8ca4c3c774fc390bb449c4e5727e0.jpg
Oops, something went wrong.
Binary file added
BIN
+4.99 KB
...f919cae6a9a94feaac2dddca4b886d4a/a1d8ca4c3c774fc390bb449c4e5727e0_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+104 KB
...s_default/04d8daa45a724ef5a083f8e82b329b55/1c97d68f28224f5c9b8858950abf9fc6.jpg
Oops, something went wrong.
Binary file added
BIN
+5.14 KB
...04d8daa45a724ef5a083f8e82b329b55/1c97d68f28224f5c9b8858950abf9fc6_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...s_default/0df01d48c1a3407abb8d13db8ae30ee3/3b1fb6b9f6e3461b9ee8095afbd12e43.jpg
Oops, something went wrong.
Binary file added
BIN
+4.92 KB
...0df01d48c1a3407abb8d13db8ae30ee3/3b1fb6b9f6e3461b9ee8095afbd12e43_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+40.7 KB
...s_default/178be68683d34ffa9f97d9032ca0a7ff/1a71fc65790e4182bb1fba955972719a.png
Oops, something went wrong.
Binary file added
BIN
+4.34 KB
...178be68683d34ffa9f97d9032ca0a7ff/1a71fc65790e4182bb1fba955972719a_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+57.9 KB
...s_default/1c115ec62473459e9b8e7af14dda2fc4/311ef189c5854ac89f57fd51f1370153.jpg
Oops, something went wrong.
Binary file added
BIN
+3.47 KB
...1c115ec62473459e9b8e7af14dda2fc4/311ef189c5854ac89f57fd51f1370153_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+95.5 KB
...s_default/1d21b03f786249df9d1525271fc4e7a9/fa72f2ea20634e1bac2e38538e439faf.jpg
Oops, something went wrong.
Binary file added
BIN
+4.85 KB
...1d21b03f786249df9d1525271fc4e7a9/fa72f2ea20634e1bac2e38538e439faf_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+59.4 KB
...s_default/1dfada231a7a4d95bf3f5824717b3397/d184b38e165b421ba48b235ed90a24c8.jpg
Oops, something went wrong.
Binary file added
BIN
+4.34 KB
...1dfada231a7a4d95bf3f5824717b3397/d184b38e165b421ba48b235ed90a24c8_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+122 KB
...s_default/20175a0ab62f4304b1c035a3919bd118/090904f87456449dafb97bfa400fc833.jpg
Oops, something went wrong.
Binary file added
BIN
+5.46 KB
...20175a0ab62f4304b1c035a3919bd118/090904f87456449dafb97bfa400fc833_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+110 KB
...s_default/20f337f40ce64838b536d84688af838b/b14ad2f2b7a84a12b291bd19990f2f91.jpg
Oops, something went wrong.
Binary file added
BIN
+5.04 KB
...20f337f40ce64838b536d84688af838b/b14ad2f2b7a84a12b291bd19990f2f91_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+61 KB
...s_default/222969db682448419e538d870a66f425/f041f2a8b119411e998c63096780d5aa.jpg
Oops, something went wrong.
Binary file added
BIN
+4.97 KB
...222969db682448419e538d870a66f425/f041f2a8b119411e998c63096780d5aa_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+77 KB
...s_default/27fe0124c0e14f38a24b3caa593bf3f2/4335bd23a2a344e0b1a1efc24c4df72b.jpg
Oops, something went wrong.
Binary file added
BIN
+2.89 KB
...27fe0124c0e14f38a24b3caa593bf3f2/4335bd23a2a344e0b1a1efc24c4df72b_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...s_default/34768b618b0246c5803eb0b2f3204d35/1912e67b035247b3bcdaf3884a0a0a25.jpg
Oops, something went wrong.
Binary file added
BIN
+4.58 KB
...34768b618b0246c5803eb0b2f3204d35/1912e67b035247b3bcdaf3884a0a0a25_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+72.7 KB
...s_default/3a82f2d6b2c54f25b82246cedb943307/b1ab3122ac3e4194a8e5426cd5e17f14.jpg
Oops, something went wrong.
Binary file added
BIN
+4.6 KB
...3a82f2d6b2c54f25b82246cedb943307/b1ab3122ac3e4194a8e5426cd5e17f14_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+90 KB
...s_default/46d320ad19eb439c837d98f12580b71e/73db0308d58d4a89a8e7c815308c17e9.png
Oops, something went wrong.
Binary file added
BIN
+4.15 KB
...46d320ad19eb439c837d98f12580b71e/73db0308d58d4a89a8e7c815308c17e9_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+59.2 KB
...s_default/53d4bf22a80d458ab5bee07e19cfa9df/e7d2978506c64081a05a1cb5989d4d0a.jpg
Oops, something went wrong.
Binary file added
BIN
+2.9 KB
...53d4bf22a80d458ab5bee07e19cfa9df/e7d2978506c64081a05a1cb5989d4d0a_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+124 KB
...s_default/5e6adac0a79f4832ad427bfb37784b56/17b37147fd7440e7b3be8ddbdeeae72b.png
Oops, something went wrong.
Binary file added
BIN
+6.07 KB
...5e6adac0a79f4832ad427bfb37784b56/17b37147fd7440e7b3be8ddbdeeae72b_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+69.6 KB
...s_default/6928c0de9929423d8cca841374773048/fd16656449d44d59b7335b8afc0c37a1.jpg
Oops, something went wrong.
Binary file added
BIN
+4.12 KB
...6928c0de9929423d8cca841374773048/fd16656449d44d59b7335b8afc0c37a1_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+95.1 KB
...s_default/76dcf53374914f2dbc755116a882830b/b2f99584472d49cc9c29b66a7b57a7db.jpg
Oops, something went wrong.
Binary file added
BIN
+5.15 KB
...76dcf53374914f2dbc755116a882830b/b2f99584472d49cc9c29b66a7b57a7db_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+111 KB
...s_default/7ed2af641d004fc1a847a61da40e0ee5/1cd70388d2b44f2bbb4bf8940c63da14.jpg
Oops, something went wrong.
Binary file added
BIN
+5.35 KB
...7ed2af641d004fc1a847a61da40e0ee5/1cd70388d2b44f2bbb4bf8940c63da14_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+35.5 KB
...s_default/90bc72013ac44f8b9cb290e753b27377/fff0a07c2523405383bd2780338fd04c.jpg
Oops, something went wrong.
Binary file added
BIN
+3.48 KB
...90bc72013ac44f8b9cb290e753b27377/fff0a07c2523405383bd2780338fd04c_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+100 KB
...s_default/958f8f1998934b9ea79c3c99322f0f6b/fd85264cd75e4922b3cd752e93807e21.jpg
Oops, something went wrong.
Binary file added
BIN
+4.98 KB
...958f8f1998934b9ea79c3c99322f0f6b/fd85264cd75e4922b3cd752e93807e21_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+56.6 KB
...s_default/9795cd3331aa45e4a75760d7dc49c85a/a43b196d5e5947c9b9188b2e42d1a1b7.jpg
Oops, something went wrong.
Binary file added
BIN
+4.36 KB
...9795cd3331aa45e4a75760d7dc49c85a/a43b196d5e5947c9b9188b2e42d1a1b7_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+84.9 KB
...s_default/9b728f7712a14354b17478161e94d28a/3c1baaa55c164276856c2b0b6e45ab29.jpg
Oops, something went wrong.
Binary file added
BIN
+5.02 KB
...9b728f7712a14354b17478161e94d28a/3c1baaa55c164276856c2b0b6e45ab29_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+100 KB
...s_default/9bc62b56dede48ac9ecef3685ff24544/890d038d1d3241f788783a0a922102e7.jpg
Oops, something went wrong.
Binary file added
BIN
+4.76 KB
...9bc62b56dede48ac9ecef3685ff24544/890d038d1d3241f788783a0a922102e7_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+109 KB
...s_default/b6fb65987a894033a4c2290c989bbef7/0f48523b8b184b2cbf195b282230a3ed.jpg
Oops, something went wrong.
Binary file added
BIN
+5.15 KB
...b6fb65987a894033a4c2290c989bbef7/0f48523b8b184b2cbf195b282230a3ed_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+122 KB
...s_default/bb7f33a60cb84a32b1146d75a7aa1f7c/a12615afeb6c4c5db7717afd4f2d164f.jpg
Oops, something went wrong.
Binary file added
BIN
+4.87 KB
...bb7f33a60cb84a32b1146d75a7aa1f7c/a12615afeb6c4c5db7717afd4f2d164f_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+79.5 KB
...s_default/bf3ecaba29fa482b87440cb18028abc4/f9abdb1656f2442ca9af8b90e687f4a6.jpg
Oops, something went wrong.
Binary file added
BIN
+4.6 KB
...bf3ecaba29fa482b87440cb18028abc4/f9abdb1656f2442ca9af8b90e687f4a6_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+64.2 KB
...s_default/c4e5fa641ab54e18aa785ab5decdfeff/ce9fd2e8c5ba447bab93f153d9885080.jpg
Oops, something went wrong.
Binary file added
BIN
+4.12 KB
...c4e5fa641ab54e18aa785ab5decdfeff/ce9fd2e8c5ba447bab93f153d9885080_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+1.97 KB
...s_default/c5ab571ec7fd45acb46e8a7a763013d7/fcd8e37f418744baaa03442ac77ea3f4.png
Oops, something went wrong.
Binary file added
BIN
+1.2 KB
...c5ab571ec7fd45acb46e8a7a763013d7/fcd8e37f418744baaa03442ac77ea3f4_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+1.66 KB
...s_default/d3a3055d185045ff93a18dcb5d863cd5/0921f495595d49a3881b6c7b145f33cf.png
Oops, something went wrong.
Binary file added
BIN
+1.16 KB
...d3a3055d185045ff93a18dcb5d863cd5/0921f495595d49a3881b6c7b145f33cf_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+85.2 KB
...s_default/d5acd70bd934424cbc595beb396ae168/8b188027f84a480eaf5d346511c69a9e.jpg
Oops, something went wrong.
Binary file added
BIN
+4.62 KB
...d5acd70bd934424cbc595beb396ae168/8b188027f84a480eaf5d346511c69a9e_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+72.3 KB
...s_default/dab10917432e4b59b14ad2f7f7ead0dc/8416fac6f33d416ea00b600a97056609.jpg
Oops, something went wrong.
Binary file added
BIN
+4.52 KB
...dab10917432e4b59b14ad2f7f7ead0dc/8416fac6f33d416ea00b600a97056609_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+96.4 KB
...s_default/dbe1a200947040d388c720cdd8c3ed3d/bda869599fcb42e1be9194365b0ad150.jpg
Oops, something went wrong.
Binary file added
BIN
+3.02 KB
...dbe1a200947040d388c720cdd8c3ed3d/bda869599fcb42e1be9194365b0ad150_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+81 KB
...s_default/dd7914bd0c08462889902726ce15bf5e/72fff66c10734f96a1ca7e3f902eef10.jpg
Oops, something went wrong.
Binary file added
BIN
+3.63 KB
...dd7914bd0c08462889902726ce15bf5e/72fff66c10734f96a1ca7e3f902eef10_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+63.8 KB
...s_default/e991556faaab44c092a69643cda90299/80586880d528447f9819fe04c4b82653.jpg
Oops, something went wrong.
Binary file added
BIN
+3.75 KB
...e991556faaab44c092a69643cda90299/80586880d528447f9819fe04c4b82653_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+121 KB
...s_default/ecb56edb141043a8b9346ddb8dcc5fbf/768251c3b01d4346956d1fbf80436194.jpg
Oops, something went wrong.
Binary file added
BIN
+4.94 KB
...ecb56edb141043a8b9346ddb8dcc5fbf/768251c3b01d4346956d1fbf80436194_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+104 KB
...s_default/f78d73847f8f4d138b37b23a9a369e08/0c31b0af866849fd9124bd15e6e96f6b.jpg
Oops, something went wrong.
Binary file added
BIN
+2.51 KB
...f78d73847f8f4d138b37b23a9a369e08/0c31b0af866849fd9124bd15e6e96f6b_Thumbnail.png
Oops, something went wrong.
Binary file added
BIN
+138 KB
...s_default/f919cae6a9a94feaac2dddca4b886d4a/a1d8ca4c3c774fc390bb449c4e5727e0.jpg
Oops, something went wrong.
Binary file added
BIN
+4.99 KB
...f919cae6a9a94feaac2dddca4b886d4a/a1d8ca4c3c774fc390bb449c4e5727e0_Thumbnail.png
Oops, something went wrong.
Binary file not shown.
56 changes: 56 additions & 0 deletions
56
samples/musicfestival-backend-dotnet/Controllers/ReactController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
using EPiServer.Cms.Shell; | ||
using EPiServer.Web; | ||
using EPiServer.Web.Routing; | ||
using Microsoft.AspNetCore.Mvc; | ||
using Optimizely.Cms.Preview2.Content; | ||
using Optimizely.Cms.Preview2.Content.Models; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
namespace AlloyMvcTemplates.Controllers; | ||
[Route("api/[controller]")] | ||
[ApiController] | ||
public class ReactController : ControllerBase | ||
{ | ||
private readonly IContentRepository _contentRepositoryInteApi; | ||
|
||
public ReactController(IContentRepository contentRepositoryInteApi) | ||
{ | ||
_contentRepositoryInteApi = contentRepositoryInteApi; | ||
} | ||
|
||
[HttpGet("GetFormInPageByUrl")] | ||
public async Task<IActionResult> GetFormInPageByUrl(string url) | ||
{ | ||
var builder = new EPiServer.UrlBuilder(url); | ||
var content = UrlResolver.Current.Route(builder, ContextMode.Default); | ||
|
||
if (content is null) | ||
{ | ||
return NoContent(); | ||
} | ||
CancellationTokenSource source = new CancellationTokenSource(); | ||
CancellationToken token = source.Token; | ||
var key = ContentKey.FormatAsKey(content.ContentGuid); | ||
var pageModel = new PageModel(); | ||
var contentHeadless = await _contentRepositoryInteApi.GetAsync(key, content.LanguageBranch()); | ||
|
||
pageModel.Title = contentHeadless.DisplayName; | ||
pageModel.PageUrl = UrlResolver.Current.GetUrl(content.ContentLink); | ||
|
||
if (contentHeadless.Properties.ContainsKey("MainContentArea")) | ||
{ | ||
pageModel.Childrens.AddRange(contentHeadless.Properties["MainContentArea"] as IList<IContentComponent>); | ||
} | ||
|
||
return Ok(pageModel); | ||
} | ||
} | ||
|
||
public class PageModel | ||
{ | ||
public string Title { get; set; } | ||
public string PageUrl { get; set; } | ||
public List<IContentComponent> Childrens { get; set; } = new List<IContentComponent>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Build image | ||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN dotnet restore | ||
|
||
RUN dotnet publish -c Release -o /out | ||
|
||
COPY ./App_Data/DefaultSiteContent.episerverdata /out/App_Data/DefaultSiteContent.episerverdata | ||
COPY ./App_Data/blobs_default /out/App_Data/blobs | ||
COPY ./entrypoint.sh /out | ||
COPY ./sshd_config /out | ||
|
||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime | ||
|
||
WORKDIR /app | ||
|
||
COPY --from=build /out . | ||
|
||
ENV ASPNETCORE_URLS=http://+:80 | ||
ENV ASPNETCORE_ENVIRONMENT=Production | ||
|
||
# Start and enable SSH | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends dialog \ | ||
&& apt-get install -y --no-install-recommends openssh-server \ | ||
&& echo "root:Docker!" | chpasswd \ | ||
&& chmod u+x ./entrypoint.sh | ||
|
||
COPY sshd_config /etc/ssh/ | ||
|
||
# Expose port 80 2222 | ||
EXPOSE 80 2222 | ||
|
||
#ENTRYPOINT ["dotnet", "MusicFestival.Backend.dll"] | ||
ENTRYPOINT [ "./entrypoint.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using EPiServer.Core; | ||
using EPiServer.DataAnnotations; | ||
using EPiServer.Framework.DataAnnotations; | ||
|
||
[ContentType(GUID = "ef6bf538-025e-4981-af47-065c754c145b")] | ||
[MediaDescriptor(ExtensionString = "jpg,jpeg,jpe,ico,gif,bmp,png")] | ||
public class ImagePage : ImageData | ||
{ | ||
/// <summary> | ||
/// Gets or sets the copyright. | ||
/// </summary> | ||
/// <value> | ||
/// The copyright. | ||
/// </value> | ||
public virtual string Copyright { get; set; } | ||
} |
43 changes: 43 additions & 0 deletions
43
samples/musicfestival-backend-dotnet/MusicFestival.Backend.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>MusicFestival.Backend</RootNamespace> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<CmsUIVersion>12.26.0</CmsUIVersion> | ||
<CmsCoreVersion>12.20.1</CmsCoreVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="EPiServer.CloudPlatform.Cms" Version="1.6.1" /> | ||
<PackageReference Include="EPiServer.CMS" Version="12.26.0" /> | ||
<PackageReference Include="EPiServer.CMS.AspNetCore" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.AspNetCore.HtmlHelpers" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.AspNetCore.MVC" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.AspNetCore.Routing" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.AspNetCore.Templating" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.Core" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.Framework" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.Framework.AspNetCore" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.Hosting" Version="$(CmsCoreVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.UI" Version="$(CmsUIVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.UI.Core" Version="$(CmsUIVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.UI.VisitorGroups" Version="$(CmsUIVersion)" /> | ||
<PackageReference Include="EPiServer.CMS.UI.AspNetIdentity" Version="$(CmsUIVersion)" /> | ||
<PackageReference Include="EPiServer.ContentDefinitionsApi" Version="3.9.1" /> | ||
<PackageReference Include="EPiServer.ContentDeliveryApi.Cms" Version="3.9.1" /> | ||
<PackageReference Include="EPiServer.ContentDeliveryApi.Core" Version="3.9.1" /> | ||
<PackageReference Include="EPiServer.ContentManagementApi" Version="3.9.1" /> | ||
<PackageReference Include="EPiServer.OpenIDConnect" Version="3.9.1" /> | ||
<PackageReference Include="EPiServer.OpenIDConnect.UI" Version="3.9.1" /> | ||
<PackageReference Include="EPiServer.Forms" Version="5.8.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Label="HeadlessForm"> | ||
<PackageReference Include="Optimizely.Headless.Form.Service" Version="0.1.0--inte-256" /> | ||
<PackageReference Include="Optimizely.Headless.Form.ContentGraph" Version="0.1.0--inte-256" /> | ||
<PackageReference Include="Optimizely.Cms.Preview2.Content.EPiServer" Version="12.20.1-ci-2644" /> | ||
<PackageReference Include="Optimizely.ContentGraph.Cms" Version="3.5.1" /> | ||
</ItemGroup> | ||
</Project> |
25 changes: 25 additions & 0 deletions
25
samples/musicfestival-backend-dotnet/MusicFestival.Backend.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 25.0.1700.7 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MusicFestival.Backend", "MusicFestival.Backend.csproj", "{F8DACC01-EB86-4323-B824-0860C9125019}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{F8DACC01-EB86-4323-B824-0860C9125019}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F8DACC01-EB86-4323-B824-0860C9125019}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F8DACC01-EB86-4323-B824-0860C9125019}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F8DACC01-EB86-4323-B824-0860C9125019}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {0A1BEB8F-0A90-40CA-A587-4959F2EB9904} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace MusicFestival.Backend; | ||
|
||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
CreateHostBuilder(args).Build().Run(); | ||
} | ||
|
||
public static IHostBuilder CreateHostBuilder(string[] args) => | ||
Host.CreateDefaultBuilder(args) | ||
.ConfigureCmsDefaults() | ||
.ConfigureWebHostDefaults(webBuilder => | ||
{ | ||
webBuilder.UseStartup<Startup>(); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
using EPiServer.Web; | ||
|
||
namespace MusicFestival.Backend; | ||
|
||
public class ProvisionDatabase : IHostedService | ||
{ | ||
private readonly ILogger<ProvisionDatabase> _logger; | ||
private readonly ISiteDefinitionRepository _siteDefinitionRepository; | ||
|
||
public ProvisionDatabase( | ||
ILogger<ProvisionDatabase> logger, | ||
ISiteDefinitionRepository siteDefinitionRepository) | ||
{ | ||
_logger = logger; | ||
_siteDefinitionRepository = siteDefinitionRepository; | ||
} | ||
|
||
public async Task StartAsync(CancellationToken cancellationToken) | ||
{ | ||
await AddPrimarySiteHost(); | ||
} | ||
|
||
public Task StopAsync(CancellationToken cancellationToken) => Task.CompletedTask; | ||
|
||
private Task AddPrimarySiteHost() | ||
{ | ||
_logger.LogInformation("Provisioning primary site host."); | ||
|
||
var site = _siteDefinitionRepository | ||
.List() | ||
.FirstOrDefault(); | ||
|
||
if (site is null) | ||
{ | ||
_logger.LogInformation("Primary site host already exists."); | ||
|
||
return Task.CompletedTask; | ||
} | ||
else | ||
{ | ||
site = site.CreateWritableClone(); | ||
} | ||
|
||
if (!site.Hosts.Any(x => x.Type == HostDefinitionType.Primary)) | ||
{ | ||
var editHost = site.Hosts.First(x => x.Name != "*"); | ||
editHost.Type = HostDefinitionType.Edit; | ||
|
||
site.Hosts.Add(new HostDefinition | ||
{ | ||
Type = HostDefinitionType.Primary, | ||
Name = "localhost:3000" | ||
}); | ||
} | ||
|
||
_siteDefinitionRepository.Save(site); | ||
|
||
return Task.CompletedTask; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Music Festival backend site | ||
This is the backend site used to demonstrate On Page Editing feature with decoupled delivery site built with create-react-app script. | ||
The backend site is built using Optimizely CMS 12 with ContentGraph integration packages installed. | ||
You also need to run the react-script version of the frontend site in order to try out the on page editing feature. | ||
|
||
## Prerequisites | ||
This project uses: | ||
* NET6.0 | ||
* SQL Server 2016 Express LocalDB ([download here](https://www.microsoft.com/en-us/sql-server/sql-server-downloads)). On macOS, we can use Azure SQL Edge instead ([Link](https://learn.microsoft.com/en-us/azure/azure-sql-edge/disconnected-deployment)) | ||
|
||
## Setup and Run | ||
|
||
1. On Windows, run `setup.cmd`. You can re-run `setup.cmd` at any time to reset the backend with a fresh database. | ||
* On Mac OS or linux, run `setup.sh` to setup blobs for backend site. | ||
* If you are on MacOS, follow the guide below to setup database in an Azure SQL Edge container. | ||
2. Config the Content Graph keys: | ||
* ./appsettings.json | ||
* Set "FRONT_END_URI" to "http://localhost:3000" which is the frontend site you will run later. | ||
|
||
3. Setup your database server, on Windows you can use LocalDB and no setup is required, on MacOS, please refer to the section below to setup the DB in MacOS. | ||
|
||
4. Open terminal for `./samples/musicfestival-backend-dotnet` and run `dotnet run`. | ||
* Navigate to http://localhost:8082/. | ||
* Create an admin user. If the UI is not displayed automatically, navigate to http://localhost:8082/util/register. | ||
* Add the following config site if it doesn't exist | ||
``` | ||
Name: MusicFestival.Backend | ||
URL: http://localhost:8082 | ||
Start page: Root > Start | ||
Host names | ||
localhost:8082 - Edit | ||
localhost:3000 - Primary | ||
``` | ||
* Run the job `Content Graph content synchronization job` to index whole contents into the Content Graph for the first time | ||
5. Afterwards, please follow the README for react-script frontend site to set it up. You can also run the Next.js version of the Music Festival frontend site. | ||
## DB configurations | ||
### Database connection string | ||
* startup.cs is designed so that the site can start right away on both Windows and MacOS. | ||
* You can also update your database connection string in appsettings.json. | ||
* The backend is quite the same with the backend of the [content-delivery-js-sk](https://github.com/episerver/content-delivery-js-sdk/tree/master/samples/music-festival-vue-decoupled) except using Content Graph `services.AddContentGraph(_configuration, OpenIDConnectOptionsDefaults.AuthenticationScheme);`. | ||
### Create database on MacOS using Azure SQL Edge on Docker | ||
On MacOS, you cannot run SQL Server, an alternative is to run an Azure SQL Edge container in Docker. | ||
* Run the following commands to start the container | ||
``` | ||
docker run -e 'ACCEPT_EULA=1'-e 'MSSQL_SA_PASSWORD=Admin123! -p 1433:1433 --name azuresqledge -d mcr.microsoft.com/azure-sql-edge | ||
``` | ||
* Run `docker cp db.mdf azuresqledge:/var/opt/mssql/data/musicfestival.mdf` at `App_Data` folder to copy the database file to the container. | ||
* Update the file permission in the container | ||
Run a terminal inside the AzureSQLEdge container | ||
``` | ||
docker exec -it --user root azuresqledge bash | ||
``` | ||
Then in the shell, change the file owner user and group | ||
``` | ||
chown mssql:root /var/opt/mssql/data/musicfestival.mdf | ||
``` | ||
* Use [Azure Data Studio](https://learn.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver16#download-azure-data-studio) to connect to database and execute the query below to create database | ||
`CREATE DATABASE MusicFestival ON (FILENAME = '/var/opt/mssql/data/musicfestival.mdf') FOR ATTACH;` | ||
* Then the backend should be able to connect to the database running in the SQL instance inside the container. |
Oops, something went wrong.