Installed using Web Platform Installer, which seems to have installed it using Web Matrix
After a stop, start it worked!
Technical Initial Thoughts:
- [did it!]Get orchard deployed to a production server
- Get a professional website together showcasing software development, infrastructure and hardware projects done in last x years
Where to host? Need .NET4 and SQL Server (or SQL CE). Azure – yes
NHibernate – ORM
Autofac – IoC – Orchard makes heavy use of dependency injection.
Castle Dynamic Proxy -
Proxy objects can assist in building a flexible application architecture because it allows functionality to be transparently added to code without modifying it. For example, a class could be proxied to add logging or security checking without making the code aware this functionality has been added.
For example, NHibernate, an object/relational mapper uses DynamicProxy to provide lazy loading of data without the domain model classes being aware of this functionality.
a few questions per day on Stackoverflow. eg http://stackoverflow.com/questions/9225040/how-orchard-cms-does-the-logging
Free video for intro.. then pay for the rest
http://localhost:65422/ – using webmatrix
Pages and Widgets
when editing the welcome to orchard.. it is a page. When editing the Third Leader Aside it is a Widget. Thie is an HTML widget.. just like a page.
but dont want the bullets
Edit The Stylesheet
no bullets on ul!
Ordering of Main Menu and Adding Items
Building from Source / Mercurial
downloaded source (not clone the mercurial). This didn’t work deploying to Azure
getting from codeplex via mercurial
Had to change Azure tools version 1.5 to 1.6 on \AzurePackage.proj and in other places (but next bits didn’t seem totally necessary): http://orchard.codeplex.com/discussions/278917
Put in my storage connection string (for BLOB’s) into the ServiceConfiguration.cscfg in the VS solution.
<Setting name="DataConnectionString" value="DefaultEndpointsProtocol=https;AccountName=mateerstorage3;AccountKey=eYuIdHYAtX/jzkP5a67ev3ZUt1qSu0xxxxxxxxxxxxbosh419uEkJnn0Tu4jamgUiHJ1msW5K56wh7qmKVeYiVQ==" />
Upload to Azure using the manual uploader from Silverlight admin interface.
Connection string for the database
Data Source=zx6l3oinx1.database.windows.net;Initial Catalog=orcharddb;User ID=dave;Password=xxxx;Trusted_Connection=False;Encrypt=True;MultipleActiveResultSets=True
Downloaded Orchard.Azure Version from Codeplex
I actually did this first to make sure connection strings were right and to prove Orchard worked on Azure. However did the above after so I could have full control and deploy to an extra small instance.
changed the dataconnectionstring to this:
<Setting name="DataConnectionString" value="DefaultEndpointsProtocol=https;AccountName=mateerstorage3;AccountKey=thisisasecret==" />
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
should be mateerstorage3'
put in this in the connection settings: