Prerequisites
- Microsoft Visual Studio 2008
- EPiServer 6.0 CMS (Download and install from here)
- MS SQL Server Express (Download and install from here)
Prepping a EPiServer database
Start EPiServer Deployment Center and choose “Install SQL Server Database” > run
Setting up the EPiServer 6 project in Visual Studio
Create a new EPiServer 6 project in Visual Studio, File > New > Project > C# > EPiServer
ConnectionStrings.config
Alter the ConnectionStrings section to match your database setup
Properties > Web
In Visual Studio, right click your website project and choose “properties”
In the “Web” tab, clear the Virtual Path.
I had problems accessing the site with the default port 6666 so I changed it to 5859
EPiServer.config
Change the “siteUrl” of your site to “http://localhost:5859″
Launch
Now you should be able to launch the project and login at http://localhost:5859/EPiServer/CMS/Edit/
Create a simple page template
Visual Studio – /Templates/Pages/SimplePage.aspx
In your EPiServer project, create a Templates folder and a Pages folder beneath that one (you can structure/name this however you want)
In the pages folder create a new Web Form, name it SimplePage and change the base class to EPiServer.TemplatePage
EPiServer
Launch your project and navigate to http://localhost:5859/EPiServer/CMS/Admin/
Choose the “Page Type” tab and click “Create New Page Type”
Type a name for your new Page Type and set the File Name to “/Templates/Pages/SimplePage.aspx”
Click the save button and you are done



