Like the majority of the major CMS’s, you can install Umbraco via Nuget. I’ve talked previously about How To Install Umbraco 7 In Less Than 5 Minutes and How To Install Umbraco 7 Manually. Installing Umbraco via Nuget means you have all your Visual Studio solutions and project files set-up for you as you start developing.
Creating A Blank Website
The first thing we need is to create a folder to store the project files. After that open up Visual Studio, click File -> New Project.
Create a new project of type ASP.Net web application and call it whatever you want. DO NOT USE THE WORD UMBRACO IN YOUR PROJECT. If you do you will get an error when you try and launch the installer that has:
Parser Error Message: Could not load type ‘Umbraco.Web.UmbracoApplication’.
Line 1: <%@ Application Inherits=”Umbraco.Web.UmbracoApplication” Language=”C#” %>
Source File: /global.asax Line: 1
After you have added your solution name, you need to create the project:
The recommended way is to select the ‘Empty’ option, but you can also select the MVC or WebForms option. The only difference is that you’ll be asked to override the Global.ascx and the web.config.
Next you need to open up Nuget, search for Umbraco and click install. It’s important you agree to the override prompts that will flash-up, if you didn’t select the Empty option.
After the Umbraco package installs, you can then hit F5 or the play button to load up the Umbraco Installer within your browser. With the Umbraco installer loaded, you should now hit the standard Umbraco installation process.
Add in your admin account username and details.
Hit the customize button to add in your database preferences.
Install your sample site and off you go.
If you want more information about this process, I’ve previously written about it here.
There you have it. Installing Umbraco 7 is very easy in all flavours, whether you use the installer, manually install or it use Nuget. Personally, I prefer to use Nuget as you also get all your visual studio files set-up.