Microsoft Windows Shared Hosting Seminar DotNetNuke...

24
May/June 2005 Microsoft Windows Shared Hosting Seminar ® DotNetNuke Technical Overview

Transcript of Microsoft Windows Shared Hosting Seminar DotNetNuke...

May/June 2005

Microsoft Windows Shared Hosting Seminar ®

DotNetNuke Technical Overview

Section Overview

Installing DotNetNukeDemo: “DotNetNuke Manual Installation”

Enabling a Shared Hosting OfferDemo: “Exploring the Host Account”Demo: “Provisioning DotNetNuke”

Enabling the Reseller ScenarioDemo: “Creating Multiple Portals”

Best Practices and Resources

Installation Requirements

Current: DotNetNuke v3.0.13 or later

Requires:Microsoft Windows 2000 Server or Microsoft Windows Server™ 2003Internet Information Services (IIS) installed.NET Framework V1.1Microsoft SQL Server™ 2000

Install DotNetNuke

Installation ProcessUnzip the code to a directory Give Network Service account permissionsCreate a virtual directory pointing to the contentCreate an empty SQL database and user account

Assign permissions to db_securityadmin, db_ddladmin, db_datareader, and db_datawriter

Edit Web.config for SQL connection stringBrowse to http://www.domain.com/vdir

Portals Defined

DotNetNuke supports multiple portals within a single instance

Additional portals are contained within the same site and the associated database

What is a Parent Portal?Complete portal accessed by a unique domainURL: www.contoso.com

What is a Child Portal?Complete portal located in a subdir of the main site URL: www.fabrikam.com/vdir

Best Practices

Use page preview as Admin

Make modules that are visible only to Admin show red box

Pages visible only to Admin don’t show any flag

Add functionality with custom modulesVersus making core changes

Use providers for plug-in flexibilityData access, membership, HTML edit, search, scheduling, logging, friendly URLs

Watch DNN forums and bug tracker for fixes

See the documentation directory – many details explained

Visit the many resource sites for skins, containers, tutorials, other tips and tricks, and so on

DotNetNuke Ecosystem

More DotNetNuke resources:

Online forums for help

Context sensitive help

Wrox DotNetNuke Book

Quickstart tutorial –http://www.dotnetnuke.com/guidedtour/

DotNetNuke Community

http://forums.asp.net/90/ShowForum.aspx

DotNetNuke Guided Tour

www.dotnetnuke.com/guidedtour

Next Steps

Get up-and-running with DotNetNukewww.dotnetnuke.com/hosting/default.aspxFree of charge (BSD-style open source license)

Custom development and service-level agreement (SLA) support

[email protected] (Shaun Walker)

May/June 2005

Microsoft Windows Shared Hosting Seminar ®

APPENDIX

Click to add subtitle

DNN Architecture

Stored ProceduresTables

Functions

Core Services (VB.NET)Business Logic LayerData Providers

Common Classes

Logic and Security

SQL Server Data Provider

Profile and Localization

Web GatewayWeb Presentation Layer User Controls

Rendering Logic

HTML Rendering

Skinning

SQLServer

DotNetNuke Baseline Performance

OverviewScenario: 2,000 websites on 1 front-end web server with databases on 1 back-end SQL server, both running Windows Server 2003 SP1. 400 websites were configured per application pool, with a total of 5 app pools.ASP.NET v1.1 ran in Medium Trust and we removed browserCaps and mobile support. IIS 6.0 had memory-based recycling enabled for app pools to ensure the system never reached unhealthy limits (private bytes=700MB, virtual bytes=1300MB) and an increased kernel request queue (5,000).Each test ran for 12-hours.

DotNetNuke Baseline Performance Results

DotNetNuke ResultsTraffic Distribution: 95% traffic > 100 sites, 5% traffic > 2,000 sitesPages requested: 8Requests-per-second: 611Pages-per-second: 20Total HTTP requests: 26,526,776Average working set: 12MBAverage response time: 42msecHardware: Each server had (2) 3.6Ghz HT processors and 4GB RAM

Key Features of DotNetNuke Overall Design

Easy to install and to host.

Fully extensible and scalable.

Clearly licensed under a BSD-style license.

Constantly evolving through real world trial.

Simply efficient and manageable. .

Priority on security.

Fully customizable. .

Fully localized. .

Easy to access community support.

Designed for Hosting

Partitioned Data ModelEnable multiple installs in a single DBUser base can be shared or isolated across sitesShared admin tool constrained for current site

Other featuresEasily add-value with customized skinsEasily add-value with new language packsSkins / languages are additive

DNN Installation Walkthrough

Installation Process (staging machine):Unzip the code to a directory Give ASPNET/Network Service account permissionsCreate a virtual directory pointing to the codeCreate an empty SQL database, set up account as dbownerEdit Web.config for SQL connection stringBrowse to http://localhost/vdirChange Host and Admin passwords!

Upgrade Process (simple):Back up your current configuration Unzip the new code into the directory structureBrowse to the vdir

Installation Details

Initial setup – build a local staging site before trying to install in a hosted environment

Database = SQL (Access in v3 via 3rd party)

Web.config tags (in <data defaultprovider>): objectQualifier, databaseOwner

Installation failures: try delete & re-create DB

Web.config overview…

Site Builder Wizard – rehydrate from template

For More Informationwww.dotnetnuke.com – project download (register) and infosupport.dotnetnuke.com – Gemini bug trackerwww.asp.net/forums – DNN forumswww.gotdotnet.com/community/workspaceshttp://www.cathal.co.uk/Default.aspx?tabid=28

Free v2 modules list (v3 coming) + resources + great skin!

http://dnnjungle.vmasanas.net – resource portalwww.wwwcoder.com – resource portalwww.dnn.com.au – resource portalwww.dotnetnukehelp.com – resource portalwww.asp.net – Microsoft’s ASP developer sitehttp://msdn.microsoft.com/library/en-us/dnaspnet/html/asp02182004.asp - Whidbey Provider Modelhttp://spaces.msn.com/members/faithinteractive/?partqs=cat%3DDotNetNu

Best Practices Continued

Installation failures: try delete & re-create DB

Check SQL Database configuration

Verify accuracy of Web.config file

Visit the forums http://forums.asp.net/90/ShowForum.aspx

DotNetNuke Online Help Site http://www.dotnetnuke.com/default.aspx?tabid=787&us&helpmodule=Portals

DotNetNuke Portal Builder

Build fully functional site in minutes

Online content authoring (no HTML)

Wizard to help users build sites

Integrated forum/blog/gallery

Membership features

RSS content syndication

Rich 200 module ecosystem

Customizable (modules, skins)

DotNetNuke: WizardStep 1: Choose a template Step 2: Choose a design

Step 3: Add title and details Site pages are built

DotNetNuke: Adding a ModuleAdmin Bar

Select Module

Example: WebFusion

http://www.webfusion.co.uk/?source=webfusion-pipexportal