Monday, December 13, 2010

Orchard first steps

Machine Key Error ViewState MAC

add to web config's system.web
<machineKey validationKey="84EF7A1ABD0B0AE06E348C0700126710730D72A52041CDF03C9143BB30C0F9E3D5D497418281F5433A219A2BF9C3C7D63464DDF54D2064DE6FD8EB06606DB5FB" decryptionKey="9271D3B59272D556F028B7B7C3761751733DCB2C2BD71E88479761A4B9089665" validation="SHA1" decryption="AES" />

restart iis and browser!


for code generation:
start cmd.exe
\orchard\bin\orchard.exe
feature enable Orchard.CodeGeneration
codegen theme MyTheme /BasedOn:TheThemeMachine

http://www.orchardproject.net/docs/Default.aspx?Page=Customizing-the-default-theme&NS=&AspxAutoDetectCookieSupport=1

online machine key generator
http://aspnetresources.com/tools/machineKey

orchard activate search on 0.8
http://www.orchardproject.net/docs/Search-and-indexing.ashx

update:
orchard starting 0.9.253 search activation process:
- In Gallery, Modules, install: Indexing, Search and Lucene
- Then go to Configuration, Features and enable those same modules

- Theme NuGet Packages uploading require activation of features:
Services + Packaging + Gallery

update:
orchard starting 0.9.253 takes nupkg packages instead of zip files

to pack a module or theme:
orchard.exe package create [ModuleName] [DestinationPath]

No comments:

Post a Comment