Installing Umbraco 4.7 - umbraco

I am new to Umbraco and i have heard lot good about this cms.
I want to start Umbraco, but here are newbie questions.
How to Install Umbraco on my local machine.
Ones I make Umbraco work according to my need, what are requirement for deploying on Shared Hosting.
How to deploy on Shared Hosting Server.
Thank You.

Go for Webmatrix - Umbraco setup 30 sec.! www.asp.net/webmatrix

In answer to question 2. Yuo will need the dot net framework installed (4.0) - some hosts say it is but I have known at least one where the avertising blurb did not match the actual enviroment. You also need SQLExpress (2008 R2 is you best version). Once these are up and running, its the same as any database & iis app.

Another thing I found useful, is that Umbraco also provides a WebDeploy (http://www.iis.net/download/webdeploy) package that makes it very easy to deploy on IIS:http://umbraco.codeplex.com/releases/view/73692 look for 'Umbraco_4.7.1_WebDeploy_NET_4.0'.
I do the initial deployment on my development machine, the release to production could be as simple as a copy and paste (plus the db-release).
Hope this helps,
-covo

Umbraco ships in two type of packages.
Zip Package
Nuget Package
1) Zip Package
Zip package contains an Asp.Net website with Umbraco pre-installed in it. All you have to do is to extract the package inside a local directory, host the directory in IIS as a website and open in browser. Umbraco will guide you through the configuration steps, you can also install a starter kit that is a sample website template and is pretty fancy. Umbraco ships three starter kits along with installation package you can chose the one of your choice.
Step 1:
Navigate to umbraco download url and hit “Download Umbraco version*”: https://our.umbraco.org/download/
You’ll get a zip package of nearly 20MB size.
Step 2:
Extract the zip package into a folder and put that folder on any of your computer’s drive.
Step 3:
Open IIS Manager, add new website and point it to your Umbraco folder and start the website.
Step 4:
Now, browse this website, you’ll see the configuration page would appear, enter your name, email and password for Umbraco dashboard, remember your email id would be used as a user name for logging in dashboard. You can see you have two buttons; Install and Customize, Clicking install would get you the standard features in which you get “.sdf” database file inside your project’s “App_Data” folder. Customize on the other hand provides us with many handy configuration options. We’ll follow the customize route to get good understanding of the process.
Step 5:
When going for customized installation, you’ll see the database configuration options. Configure them according to your choice, Note that you’d have to specify a Database server and database name, you can create a new database on your server and you can use an existing database as well. Alternatively, you can select the SQL Server Compact Edition option from dropdown which would create “.sdf” database inside your project.
Step 6:
The next step in configuration would allow you to install a starter kit, starter kits are built in website templates. Let’s just select one of them for sake of learning although you won’t be needing them once you’d be well versed with the components in Umbraco Dashboard. Click on any of the three starter kits and let Umbraco do the magic.
It would take a couple of minutes and then you’ll be redirected to dashboard of your brand new website powered by Umbraco. Welcome to the Umbraco World. You can navigate to the installed website by removing Umbraco from URL. In our case http://localhost/ would show you the website
and http://localhost/umbraco would take you to the dashboard.
2) Nuget Package
Umbraco is also available in Nuget Package Repository. Follow the steps to install Umbraco using Nuget.
Step 1:
Create an Asp.Net or Asp.Net MVC Project in visual studio.
Step 2:
Open Package Manager Console and run the following command: “Install-Package UmbracoCms"
Umbraco will start installing inside your web application. Alternatively, you can right click on your project, hit Manage Nuget packages, find Umbraco CMS there and install it. There’s a slight possibility that your installation fails with error, normally updating the Nuget version solves the problem. Once the Umbraco is installed inside your project you can either run it by hitting F5/ Play from visual studio or you can host a website in IIS like we did in Umbraco installation from a ZIP package.
Step 3:
Once you've managed to browse your web application project in browser, All the next steps are same as ZIP package installation, specify login credentials, configure database and starter kits and Bingo! Umbraco’s installed.

Related

Sitecore explorer, connect to project on an other machine

I'm currently developing a new sitecore website.
There's my working project on my local machine and a project on a staging server. The staging server does not have Visual Studio.
I want to connect via Sitecore Explorer to the project on the server. But it seems like i can only give local folders when i try to create a new connection.
( The reason i want this is because there is some functionality that is available in sitecore explorer but not in the /myWebsite/sitecore interface.
Does anyone know how to achieve this ?
It is not recommended that you use Sitecore Rocks in an environment other than development as it can open up some potential security issues.
However, there is a standalone version here that can be installed without VS.
http://vsplugins.sitecore.net/install/default.html
I would do what you need to do in Rocks then uninstall when done.
If you already have the sitecore rocks configured in the staging environment (by copying it from dev, for example), you could connect, leaving the "Location" field empty.
Only operations requiring access to the folder would fail, but most of the functionality should work.

Importing an UMBRACO site into Visual Studio

Is it possible to import an already existing Umbraco site into Visual Studio? (By means of getting all the site files and DB backup)
I've tried creating an empty project and copying the website files, but I get several errors when I try to compile the solution. The errors look like "Could not find scheme information for the element 'umbracoConfiguration'."
The same happens if I create an empty solution, add the UMBRACO nuget package, and then copy the website files.
I'm wondering if it is at all possible, or if once an UMBRACO website is running, how should one customize/develop on it?
THANK YOU!
After several attempts and trial and error, as well as reading other blogs, the way it worked for me was to go in Visual Studio -> File -> Open -> Web Site... and select the main folder containing all the files.
It is important to know that the web.config had to be modified in advanced for the website to work to point to the local server and off course attach the DB to the local SQL server.
Everything works perfectly just the way it was working on the host, and I have the solution in Visual Studio.
I like to start with nuget because it handles setting up all of my project references. I create a new MVC4 Web Application
Visual Studio->File->New->Project->MVC4 Web Application
After I create the new application, I open the Nuget Package Manager Console
Tools->NuGet Package Manager->Package Manager Console
I then enter the command:
Install-Package UmbracoCms.Core -Version 7.2.1
I find that installing the UmbracoCms.Core instead of the whole UmbracoCms nuget package is best because it only sets me up with the umbraco dlls and sets up the references for me. The UmbracoCms nuget package tries to do a lot more and is more handy if you are setting up a brand new umbraco site in Visual Studio.
Once I have nugetted the appropriate version of umbraco, I copy my existing umbraco site files over the files that were nugetted. When you copy all of the files over, don't copy all of the App_Data. Most of the files in that directory are TEMP files and cache files. From App_Data, only copy the following. This will save you time reindexing the site. I suspect a lot of the App_Data files were responsible for your Object Null Reference.
App_Data/access.config
App_Data/packages/*
In visual studio, in the solution explorer, click "Show All Files", and then include the appropriate files in the solution. Rebuild the solution, and you should be set up for development.

How do you properly get/deploy ASP.NET MVC?

I'm thoroughly confused about how to properly deploy ASP.NET MVC with my application. As far as I understand, there are the following ways you can get it on a machine:
You can download a separate installer and install it on a machine that has the approprite .NET framework (although which MVC version requires which .NET framework?)
Some versions come along with .NET framework itself (though I can't find which version of MVC is shipped with which version of .NET);
Some versions are installed with Visual Studio (though again, no idea which versions are installed with which versions of VS). In this case, you can set Copy Locally to true for these references and perform a "bin deploy". You might need to add some extra references though (not sure which though).
You can also download MVC as a NuGet package, in which case it also downloads some other unrelated packages like WebPages, Infrastructure and Razor (which is my personal WTF - wasn't Razor a core part of MVC?). In this case the build process will automatically do a "bin deploy" by default (I think...)
So... WTF? What is the proper way to add MVC to your development workstation, what is the proper way to add the references to your project (NuGet? GAC?), and what is the proper way to deploy it to the target server (separate installer? .NET installer? bin deploy?)
"Proper" Development:
The "proper way" (by which I mean standard/redistributable way) would be using Nuget for your references. This means you can easily manage different versions and anybody else working on your project has a standard repository from which to pull the external requirements.
The NuGet documentation has a decent explanation of how to add references.
To install the appropriate version of MVC for developing through Visual Studio, just download and install it from the ASP.NET MVC website. This will install the necessary templates for you to create a new MVC project in Visual Studio. This will also include the necessary binaries, etc.
"Proper" Deployment:
Use bin deploy to deploy to your webserver. This means you don't need full admin priviledges to install the MVC requirements.
Phil Haack's guide will walk you through the process of bin deploying MVC3+
Keep in mind, the web server does need the appropriate .NET platform installed. You should install this via the appropriate redistributable installer if it is not already installed on the server.
Referring to the deployment i publish my asp.net app (i usually make web applications) to the file system in a directory (you can set also a server there, but i don't like it) and make an upload to the server with an FTP client of all the deployed folders. All the changes that i make to the app after (like bug correction) i deploy all the app again and upload single parts.
I hope i get your question in part, this is my first answer in SO.

Host a ASP.Net MVC3 application on my own 2008 server with IIS 7.0

This seems to be so easy that it is documented nowhere.... I have finished my first MVC3 project and now I want to host it on my own IIS7 (W2008) server. How is it done?
There are two options. If you have control of the server and can install on it, the easiest is to install the ASP.NET MVC 3 Framework on it and then install and configure the MVC app as any other web application.
If the runtime cannot be installed on the server, option called Bin Deployment can be used.
This is what I did to install get MVC running on Windows 7 Professional or greater. For Windows Server 2008, please see this link. The IIS management component should be the same for Windows 7 / Server 2008. The install process will be a little different.
Start > Control Panel > Programs and Features > Turn Windows features on of off
Expand Internet Information Services and check off all that you need (FTP, World Wide Web)
Specifically I use FTP (FTP Service), and WWW Services with Application Development (.NET Extensibility, ASP, ASP.NET, ISAPI Extensions, and ISAPI Filters) enabled. Under security you should at least enable Basic Authentication.
After this is done, go to here to get the Web Platform Installer, which will allow you to easily install .NET 3.5/4.0, MVC, and other features you might need such as MS SQL Express.
Once this is done, go to Start > Control Panel > Administrative Tools > Internet Information Services Managger
Expand COMPUTERNAME, expand sites, right click Default Web Site (unless you want to use a different folder, if so, right click sites and click "Add New"), whichever site you choose, you can right click and choose "Add FTP Publishing". From there just follow the prompts, and allow access to whichever users you want. Now you can FTP in from Microsoft visual Studio 2010 (Using Publish).
In Visual Studio - right click the MVC application you want to publish, go to Publish, enter the ftp site settings (most likely ftp://localhost if its a local install), user, password, and whether or not to replace or delete files. You can save this profile so you don't have to re-enter this information every time.
This question/answer might even be more geared toward serverfault, or superuser, not sure? If so I'm sure it will be moved.

Used Web Platform installer to install the MVC Framework but the MVC template isn't available

I just installed Visual Web Developer and the MVC Framework using the Web Platform installer, I used the ASP.NET option and it says that MVC is installed, but it doen's show up in the templates list when I open a new project.
I installed in Windows XP with a limited user (typed the Administrator password to allow the install) I guess this is the problem, but, how can I fix it?
I tries logging in with the Administrator account and executing the MVC installer but still can't get the Template in Visual Web Developer.
Any clues? Or any way to register the templates manually?
Thanks.
I uninstalled the MVC Framework and installed it again, now the templates are registered just fine.
Don't know what I did wrong the first time, but luckily it's working now.

Resources