Presentation is loading. Please wait.

Presentation is loading. Please wait.

DotNetNuke v4 on ASP.NET v2 Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference.

Similar presentations


Presentation on theme: "DotNetNuke v4 on ASP.NET v2 Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference."— Presentation transcript:

1 DotNetNuke v4 on ASP.NET v2 Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference speaker, mentor, trainer Conference speaker, mentor, trainer Contributing Editor, Visual Studio Magazine Contributing Editor, Visual Studio Magazine Microsoft MVP Microsoft MVP www.vbnetexpert.com www.vbnetexpert.com stan@vbnetexpert.com stan@vbnetexpert.com

2 WebCast Series on DotNetNuke 2005 WebCasts: Jan 31: DNN v3 – Overview Jan 31: DNN v3 – Installation and Configuration Feb 4:DNN v3 – Portal Management Feb 4:DNN v3 – Custom Module Development May 16:DNN v3 – Building Custom Modules May 16:DNN v3 – Advanced Module Development 2006 WebCasts: Feb 13:DNN v4 – Overview Feb 13: DNN v4 – Running on ASP.NET v2 http://msdn.microsoft.com/webcasts http://www.vbnetexpert.com (DotNetNuke downloads)

3 Presentation Outline DNN v4 – Get Running on ASP.NET v2 DNN v4 – Get Running on ASP.NET v2 Installation Requirements Installation Requirements Distribution Packages Distribution Packages Installation Walkthrough, Tips & Tricks Installation Walkthrough, Tips & Tricks Deploying DNN Deploying DNN Upgrading DNN Upgrading DNN What’s New in ASP.NET v2? What’s New in ASP.NET v2? Developing for DNN v4 Developing for DNN v4 Starter Kit Starter Kit Source Distribution Source Distribution Tips & Tricks Tips & Tricks

4 DNN v4 Installation Requirements Win2K, WinXP, or Win2K3 with IIS & SMTP Win2K, WinXP, or Win2K3 with IIS & SMTP DNN v3.2: DNN v3.2:.NET FW v1.1, SQL 2000 / MSDE.NET FW v1.1, SQL 2000 / MSDE Visual Studio 2003 for development Visual Studio 2003 for development DNN v4.0: DNN v4.0:.NET FW v2.0, SQL 2005 / Express (or SQL 2000).NET FW v2.0, SQL 2005 / Express (or SQL 2000) Visual Studio 2005 for development Visual Studio 2005 for development

5 Package Distribution Options Install vs. Source Install vs. Source Install package – upgrades from v3 to v4 Install package – upgrades from v3 to v4 Source package – no auto upgrade path Source package – no auto upgrade path Starter Kit Starter Kit Separate Docs Download (PDF) Separate Docs Download (PDF) Installation templates Installation templates Modules Separate from Core Modules Separate from Core Place desired modules in Install directory Place desired modules in Install directory

6 DNN v4 Installation Walkthrough Unzip the Install package to a directory Unzip the Install package to a directory Set directory permissions (ASPNET/Network Service) Set directory permissions (ASPNET/Network Service) Create empty SQL database, create account as db_owner Create empty SQL database, create account as db_owner Create virtual web directory, configure for ASP.NET v2 Create virtual web directory, configure for ASP.NET v2 Rename release.config to web.config Rename release.config to web.config Edit web.config Edit web.config DB connection strings DB connection strings MachineKeys MachineKeys custom settings custom settings Browse to http://localhost/vdir - automatically sets up site Browse to http://localhost/vdir - automatically sets up site Change Host and Admin passwords! Change Host and Admin passwords!

7 Installation Tips & Tricks Read the Installation Guide! Read the Installation Guide! Setup guides: \documentation\*.html Setup guides: \documentation\*.html Site Builder Wizard – rehydrate from template Site Builder Wizard – rehydrate from template Import Module content Import Module content Bulk resource install directories: Bulk resource install directories: Container, Language, Module, Portal, Skin, Template Container, Language, Module, Portal, Skin, Template Exception log in \portals\_default\logs Exception log in \portals\_default\logs Installation failures: try delete & re-create DB Installation failures: try delete & re-create DB Watch DNN forums & bug tracker for fixes Watch DNN forums & bug tracker for fixes

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

9 Upgrading DotNetNuke Source package: no auto upgrade from DNN v3 to v4 Source package: no auto upgrade from DNN v3 to v4 Project models & directory structures are different Project models & directory structures are different Back up current configuration, database, web.config Back up current configuration, database, web.config Unzip the new install package into portal directory Unzip the new install package into portal directory Configure new web.config Configure new web.config DB connection strings, MachineKeys, custom settings DB connection strings, MachineKeys, custom settings Browse to the site Browse to the site Obsolete files are automatically deleted Obsolete files are automatically deleted (\portals\_default\.txt) (\portals\_default\.txt) Rehearse the upgrade on your staging site Rehearse the upgrade on your staging site

10 What’s New in ASP.NET v2? Client API Enhancements Client API Enhancements New Client Script Manager class New Client Script Manager class Navigation Controls use the Provider model Navigation Controls use the Provider model Windows Authentication (Admin -> Authentication) Windows Authentication (Admin -> Authentication) New ConfigurationManager class for web.config New ConfigurationManager class for web.config Changes in handling of XSL Transforms Changes in handling of XSL Transforms CBO class updated to support Generics CBO class updated to support Generics return rather than ArrayList return rather than ArrayList Code rewrites for deprecated classes/methods Code rewrites for deprecated classes/methods

11 Developing for DNN v4 Starter Kit with Visual Web Developer (VWD) Starter Kit with Visual Web Developer (VWD) Visual Studio 2005 & SQL Server 2005 Visual Studio 2005 & SQL Server 2005 Project directory structure changes dramatically Project directory structure changes dramatically Provider model used throughout Provider model used throughout Core & standard modules are written in VB Core & standard modules are written in VB Develop custom modules with any.NET language Develop custom modules with any.NET language Custom Module migration Custom Module migration Test - v3 modules should run on FW v2.0 Test - v3 modules should run on FW v2.0 Convert to ASP.NET v2 controls, upgrade 3 rd party Convert to ASP.NET v2 controls, upgrade 3 rd party Use IIS vs. built-in Cassini web server Use IIS vs. built-in Cassini web server

12 DNN v4 – Tips & Tricks DNN Forums are your friend DNN Forums are your friend Watch your Log Viewer for errors Watch your Log Viewer for errors Manage your database size Manage your database size Dev machine: set DB recovery mode to Simple Dev machine: set DB recovery mode to Simple Build a sitemap for search engines Build a sitemap for search engines Build a staging site for upgrades (VPC), always back up before attempting Build a staging site for upgrades (VPC), always back up before attempting See \docs dir, DNN documentation (PDF) See \docs dir, DNN documentation (PDF)

13 Learn More www.dotnetnuke.com - project download (register) and info www.dotnetnuke.com - project download (register) and info support.dotnetnuke.com - Gemini bug tracker support.dotnetnuke.com - Gemini bug tracker http://forums.asp.net/90/ShowForum.aspx - DNN main forum http://forums.asp.net/90/ShowForum.aspx - DNN main forum http://www.dotnetnuke.com/default.aspx?tabid=795 - full DNN forums list http://www.dotnetnuke.com/default.aspx?tabid=795 - full DNN forums list http://forums.asp.net/1107734/ShowPost.aspx - DNN 3.2 and 4.0 (pinned post) http://forums.asp.net/1107734/ShowPost.aspx - DNN 3.2 and 4.0 (pinned post) http://forums.asp.net/1114393/ShowPost.aspx - DNN v4 starter kits & templates http://forums.asp.net/1114393/ShowPost.aspx - DNN v4 starter kits & templates http://forums.asp.net/1105076/ShowPost.aspx - starter kits forum thread http://forums.asp.net/1105076/ShowPost.aspx - starter kits forum thread http://forums.asp.net/1123229/ShowPost.aspx - installing DNN v4 source http://forums.asp.net/1123229/ShowPost.aspx - installing DNN v4 source http://www.adefwebserver.com/DotNetNukeHELP/DNN_Module4/ - DNN v4 module development tutorial http://www.adefwebserver.com/DotNetNukeHELP/DNN_Module4/ - DNN v4 module development tutorial http://forums.asp.net/1156381/ShowPost.aspx - discussion of web application projects http://forums.asp.net/1156381/ShowPost.aspx - discussion of web application projects http://msdn.microsoft.com/msdnmag/issues/06/01/ExtremeASPNET/ - explains ASP.NET v2 codebehind model http://msdn.microsoft.com/msdnmag/issues/06/01/ExtremeASPNET/ - explains ASP.NET v2 codebehind model http://weblogs.asp.net/bsimser/archive/2006/01/31/437023.aspx - DNN vs. Sharepoint discussion http://weblogs.asp.net/bsimser/archive/2006/01/31/437023.aspx - DNN vs. Sharepoint discussion http://sourceforge.net/projects/goog-sitemapgen/ - Google sitemap generator http://sourceforge.net/projects/goog-sitemapgen/ - Google sitemap generator www.asp.net - Microsoft’s ASP developer site www.asp.net - Microsoft’s ASP developer site www.codeproject.com/database/ConfigureMSDE.asp?print=true www.codeproject.com/database/ConfigureMSDE.asp?print=true


Download ppt "DotNetNuke v4 on ASP.NET v2 Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference."

Similar presentations


Ads by Google