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 Installation Walkthrough Installation Walkthrough DNN Project History Since v3.0 DNN Project History Since v3.0 Technical Differences – DNN v4.3 & v3.3 Technical Differences – DNN v4.3 & v3.3 What’s New Under ASP.NET v2 What’s New Under ASP.NET v2 DNN Core Modules DNN Core Modules Developing with DNN v4 Developing with DNN v4 DNN Project Structure and Support DNN Project Structure and Support Project Futures Project Futures

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 DNN v4 Installation Guidance 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 Set up site’s.config files: Set up site’s.config files: Copy config\SiteUrls.config to web root Copy config\SiteUrls.config to web root 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!

6 DNN Installation

7 Installation Tips & Tricks Read the Installation Guide! Read the Installation Guide! Setup guides: \documentation\StarterKit\*.html Setup guides: \documentation\StarterKit\*.html Default Host/Admin passwords have changed Default Host/Admin passwords have changed 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 DNN – Project History Since v3.0 v3.0: v3.0: Client API Client API Core Modularization Core Modularization Data Model Data Model File Manager File Manager Friendly URLs Friendly URLs Import / Export Import / Export Installation / Provisioning Installation / Provisioning Localization ( Static ) Localization ( Static ) Portal Module Definitions Portal Module Definitions Portal Search Portal Search Url Abstraction Url Abstraction v3.1: v3.1: Core Modularization Core Modularization Web Farm Support Web Farm Support Source vs. Install packages Source vs. Install packages

9 DNN – Project History Since v3.0 v3.2/4.0 changes: v3.2/4.0 changes: Client API / AJAX Client API / AJAX Windows Authentication Windows Authentication Navigation Provider Navigation Provider Installer Process Installer Process Implementation of ASP.NET v2 Implementation of ASP.NET v2 v3.3/4.3 changes: v3.3/4.3 changes: Membership / Roles / Profiles Membership / Roles / Profiles Role groups, RSVP codes, effective dates Role groups, RSVP codes, effective dates Reusable Property Editor Control Reusable Property Editor Control Document Security, File Management Improvements Document Security, File Management Improvements Skinning – use full Html file Skinning – use full Html file Event Queue Event Queue Many usability enhancements Many usability enhancements

10 Technical Differences: v4.3 & v3.3 DNN v4.3 and v3.3 are companions DNN v4.3 and v3.3 are companions Development will move in sync for now Development will move in sync for now Differences between versions: Differences between versions: How you build and where DNN runs How you build and where DNN runs Migration to ASP.NET 2.0, SQL 2005 Migration to ASP.NET 2.0, SQL 2005 Internal code changes for FW v2 Internal code changes for FW v2 Starter Kit Starter Kit CBO support for generics CBO support for generics Medium Trust environments Medium Trust environments

11 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

12 DNN Core Modules DNN Modules have separate projects DNN Modules have separate projects v4 installs new and improved modules: v4 installs new and improved modules: Text/Html (directly edit title/content, insert link dialog) Text/Html (directly edit title/content, insert link dialog) Events (integrates AVCalendar) Events (integrates AVCalendar) Media (replaces Image) Media (replaces Image) Repository (new module, highly configurable) Repository (new module, highly configurable) Store (new module includes Accounts, Menu, Catalog, Cart) Store (new module includes Accounts, Menu, Catalog, Cart) Blog (adaptation of New Blog) Blog (adaptation of New Blog) Forum (replaces Discussion) Forum (replaces Discussion) Gallery (adaptation of TTT Gallery) Gallery (adaptation of TTT Gallery) Reports (setup by Host to execute SQL, only in v4) Reports (setup by Host to execute SQL, only in v4) Users Online (better integrated) Users Online (better integrated) What’s New? module (syndicates changes to other modules) What’s New? module (syndicates changes to other modules)

13 Developing with 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

14 DNN Project Organization & Support Core Team: Board, Core, Trustees Core Team: Board, Core, Trustees Projects – each with Lead & Team: Projects – each with Lead & Team: Core: Client API, Localization, Search, Web Controls Core: Client API, Localization, Search, Web Controls Most “standard modules” plus: Most “standard modules” plus: ActiveDirectory, Blog, Forum, Gallery, Help, Repository, Wiki ActiveDirectory, Blog, Forum, Gallery, Help, Repository, Wiki DNN Website, Blogs, Forums, Bug Tracker DNN Website, Blogs, Forums, Bug Tracker Benefactor Program Benefactor Program Community Community

15 Project Futures (Roadmap) Extend Membership, Roles & Profile Services Extend Membership, Roles & Profile Services Document Security Improvements Document Security Improvements New menu, HTML editors New menu, HTML editors Categorization System (Content Management) Categorization System (Content Management) Localization – Dynamic / Content Localization – Dynamic / Content SSL (Secure Sockets Layer) SSL (Secure Sockets Layer) Portal Groups Portal Groups Workflow / Versioning Workflow / Versioning Device Support Device Support

16 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

17 DNN v4 – Tips & Tricks DNN Forums and Blogs are your friend DNN Forums and Blogs are your friend Study the DNN documentation (PDFs) Study the DNN documentation (PDFs) Add functionality with Custom Modules Add functionality with Custom Modules vs. making core changes vs. making core changes 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


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