https://github.com/agility/agilitynetframeworkmvc5-blank
A blank ASP.NET Framework MVC5 website with Agility.Web installed
https://github.com/agility/agilitynetframeworkmvc5-blank
Last synced: 3 months ago
JSON representation
A blank ASP.NET Framework MVC5 website with Agility.Web installed
- Host: GitHub
- URL: https://github.com/agility/agilitynetframeworkmvc5-blank
- Owner: agility
- Created: 2019-07-31T20:07:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T20:29:07.000Z (over 3 years ago)
- Last Synced: 2025-04-08T07:43:20.057Z (about 1 year ago)
- Language: HTML
- Size: 379 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blank Template for ASP.NET MVC 5 and Agility
This is a blank template for Agility MVC5 .NET Framework sites that is based off the vanilla MVC5 template that Microsoft provides.
# Setup
1. Replace the values in the web.config for `{WebsiteName}` and `{SecurityKey}` as well as set the UGC API key and password in `` please contact support@agilitycms.com to get the required fields
2. In your Agility instance, create a Homepage Template, go to Settings -> Page Templates -> New
3. Enter 'Homepage Template' for the Name
4. Select Digital Channel Type as 'Website'
5. Leave Output Type as 'Relative URL'
6. Enter '~/Views/Templates/HomepageTemplate.cshtml' for the Relative URL
7. Add 'CustomContentZone' as a Module Zones
8. In your Agility instance, create a new Page, got to Pages -> + (click to add new page)
9. Select 'Homepage Template' as Page Template
10. Enter 'homepage' as Menu Text and click 'Save'
11. Start the project in Visual Studio
Note: When running the project, if you receive any template errors you can either add the missing templates or remove/update the pages that are using the missing templates. If you chose to remove the templates do not remove the home page just drill down to page's settings and change the selected template