Dot Net Nuke v 4 Overview n Stan

  • Slides: 14
Download presentation
Dot. Net. Nuke v 4 Overview n Stan Schultes n n n Enterprise architect

Dot. Net. Nuke v 4 Overview n Stan Schultes n n n Enterprise architect / application developer Conference speaker, mentor, trainer Contributing Editor, Visual Studio Magazine Microsoft MVP www. vbnetexpert. com stan@vbnetexpert. com

Web. Cast Series on Dot. Net. Nuke n n n n 2005 Web. Casts:

Web. Cast Series on Dot. Net. Nuke n n n n 2005 Web. Casts: Jan 31: Feb 4: May 16: DNN v 3 – Overview DNN v 3 – Installation and Configuration DNN v 3 – Portal Management DNN v 3 – Custom Module Development DNN v 3 – Building Custom Modules DNN v 3 – Advanced Module Development n n n 2006 Web. Casts: Feb 13: DNN v 4 – Overview DNN v 4 – Running on ASP. NET v 2 n n http: //msdn. microsoft. com/webcasts http: //www. vbnetexpert. com (Dot. Net. Nuke downloads)

Audience Polls n How much experience with ASP. NET (0, <1 yr, 1 -2

Audience Polls n How much experience with ASP. NET (0, <1 yr, 1 -2 yr, 2 -3 yr, >3 yr)? n Using ASP. NET v 2 in production (Y/N)? n Who is using DNN in production today (Y/N)? n Who is building Custom Modules (none, v 1, v 2, v 3, v 4)?

Presentation Outline n DNN Technical Overview n v 4 – First Look n DNN

Presentation Outline n DNN Technical Overview n v 4 – First Look n DNN Today – v 4. 3 / v 3. 3 n Package Distribution Options n Installation Guidance n Deployment n Upgrades

Technical Overview n Framework application, modular construction n n Portals / Pages / Modules

Technical Overview n Framework application, modular construction n n Portals / Pages / Modules n n n Core provides plumbing Provider model allows pluggable services Extend with custom modules Portals = websites (unique URLs), sub-portals Pages = portal organizational units Modules = information containers All are individually skinnable Membership – Roles & Users n n Online configuration & content management by role Host vs. Portal Admin roles

First Look at DNN v 4 n v 3. 3 / v 4. 3

First Look at DNN v 4 n v 3. 3 / v 4. 3 – new features (also v 3. 2 / v 4. 0): n n n Membership, Roles, Profile – Systems Rewritten Client API / AJAX Navigation provider Windows Authentication Installer process Not so many “visual” changes – more under the covers

First Look at DNN v 4

First Look at DNN v 4

DNN Today – v 4. 3 and v 3. 3 n V 4. 3

DNN Today – v 4. 3 and v 3. 3 n V 4. 3 and V 3. 3 are functionally equivalent n n Sources are slightly different Projects will track together (near term) Build Runtime DNN v 4. x VS 2005 only ASP. NET v 2. 0 DNN v 3. x VS 2003 only ASP. NET v 1. 1 ASP. NET v 2. 0 DB SQL 2005 SQL 2000

Package Distribution Options n Install vs. Source n n Install package – upgrades from

Package Distribution Options n Install vs. Source n n Install package – upgrades from v 3 to v 4 Source package – no auto upgrade path Starter Kit (v 4 only) n Separate Docs Download (PDF) n Customize Installation: n n Installation templates: installtemplate Modules customization: installmodule Installportal, language, container, skin

DNN v 4 Installation Guidance n n n Unzip the Install package to a

DNN v 4 Installation Guidance n n n Unzip the Install package to a directory Set directory permissions (ASPNET/Network Service) Create empty SQL database, create account as db_owner Create virtual web directory, configure for ASP. NET v 2 Set up site’s. config files: n n n Edit web. config: n n n Copy configSite. Urls. config to web root Rename release. config to web. config DB connection strings Machine. Keys Custom settings Browse to http: //localhost/vdir - automatically sets up site Change Host and Admin passwords!

Deploying Your Portal n Local vs. hosted install n n n Ideally: your web

Deploying Your Portal n Local vs. hosted install n n n Ideally: your web host supports DNN auto install Reality: build a local staging site first Object: install only runtime files on hosted site Upgrades: rehearse on your staging site first! Shared hosting / databases n n use object. Qualifier (any unique string) in web. config for shared DBs Set Auto. Upgrade setting in web. config to False while configuring site n n Running in Medium Trust environments n n Browse to: <url>/install. aspx? mode=install add require. Permissions=“False” to all config sections see Code Access Security (CAS) doc Use portal templates & module exports to deploy content Think through (& test!) your backup / restore process

Upgrading Dot. Net. Nuke n Source package: no auto upgrade from DNN v 3

Upgrading Dot. Net. Nuke n Source package: no auto upgrade from DNN v 3 to v 4 n n Back up current configuration, database, web. config Unzip the new install package into portal directory Configure new web. config n n n DB connection strings, Machine. Keys, custom settings Browse to the site Obsolete files are automatically deleted n n Project models & directory structures are different (portals_default<ver>. txt) Rehearse the upgrade on your staging site

DNN v 4 – Tips & Tricks n n Use page preview as Admin

DNN v 4 – Tips & Tricks n n Use page preview as Admin (remember!) Modules visible only to Admin show red box n n pages visible only to Admin don’t show any flag Portal alias strings Add functionality with Custom Modules (vs. making core changes) Log Viewer n Admin & Host show different item types Build a staging site for upgrades (VPC), always back up before attempting n Documentation n n documentationStarter. Kit*. html – installation guidelines Separate download: 27 PDFs – many details explained Watch DNN forums & bug tracker for status & fixes Visit the many resource sites for skins, containers, tutorials, other tips & tricks, etc.

Learn More n n n n www. dotnetnuke. com - project download (register) and

Learn More n n n n www. dotnetnuke. com - project download (register) and info support. dotnetnuke. com - Gemini bug tracker http: //forums. asp. net/90/Show. Forum. aspx - DNN main forum http: //www. dotnetnuke. com/default. aspx? tabid=795 - full DNN forums list http: //forums. asp. net/1107734/Show. Post. aspx - DNN 3. 2 and 4. 0 (pinned post) http: //forums. asp. net/1114393/Show. Post. aspx - DNN v 4 starter kits & templates http: //forums. asp. net/1105076/Show. Post. aspx - starter kits forum thread http: //forums. asp. net/1123229/Show. Post. aspx - installing DNN v 4 source http: //www. adefwebserver. com/Dot. Net. Nuke. HELP/DNN_Module 4/ - DNN v 4 module development tutorial http: //forums. asp. net/1156381/Show. Post. aspx - discussion of web application projects http: //msdn. microsoft. com/msdnmag/issues/06/01/Extreme. ASPNET/ - explains ASP. NET v 2 codebehind model http: //weblogs. asp. net/bsimser/archive/2006/01/31/437023. aspx - DNN vs. Sharepoint discussion http: //sourceforge. net/projects/goog-sitemapgen/ - Google sitemap generator www. asp. net - Microsoft’s ASP developer site www. codeproject. com/database/Configure. MSDE. asp? print=true