Welcome!

Microsoft Cloud Authors: Yeshim Deniz, Janakiram MSV, Andreas Grabner, Stackify Blog, Liz McMillan

Related Topics: Microsoft Cloud

Microsoft Cloud: Article

ASP.NET - Introducing the "DotNetNuke" Web Application Framework

Content management made easy and a new breed of highly functional Web applications has emerged

Over the past few years, a paradigm shift of monumental proportions has been quietly occurring on the World Wide Web. The traditional "brand-builder" Web site whose sole purpose was the delivery of static marketing information to potential customers has finally lost its appeal. Fuelled by the demands of Web-savvy business owners and consumers, a new breed of highly functional Web applications has emerged; these applications deliver dynamic content, community collaboration, interactive behavior, and real-time communication.

A Web Application Framework is a robust software library used as the basis for building advanced Web applications. A Web Application Framework typically contains a well-defined architecture and an abstract set of reusable components that are specifically designed to simplify development, enforce consistency, increase productivity, and improve application quality. Typical features include modular architecture, membership management, security and role management, site organization and navigation, error and event logging, data access and caching, search and syndication, and extensibility at every level. Frameworks are used in corporations, public sector, private sector, small businesses, nonprofit organizations, and even individual Web sites.

Although the concept has always been relevant, Web Application Frameworks have just come back into favor in recent years. This is likely a result of the ever-pervasive basic business philosophy emphasizing a reduction in the Total Cost of Ownership and increase in the Return On Investment. Web Application Frameworks can provide big wins in both of these categories because they allow developers to focus on the high-level business processes while leveraging a rock-solid application foundation.

DotNetNuke is a Web Application Framework that provides a highly extensible development environment, based on published standards and proven design patterns. Since Web Application Frameworks are generic by nature, they can be used as the underpinnings for any number of powerful Web applications. From Community Portals to high volume E-Commerce shopping malls, from Content Management Systems (CMS) to Customer Relationship Management Systems (CRM), the DotNetNuke Web Application Framework provides the fundamental services to build highly functional and scalable Web applications. To back up this claim, the DotNetNuke Web Application Framework is distributed as part of a fully functional CMS - the DotNetNuke Enterprise Portal.

Introducing DotNetNuke
Necessity is the mother of invention. In classic open source fashion, I originally created the application because I was interested in a way to provide functional Web sites to amateur sports organizations and could not find a suitable proprietary alternative. After investing significant effort only to discover that my business goals were not going to be realized, I decided to release the application as an open source community project. Version 1.0 of DotNetNuke was released December 24, 2002 (Christmas Eve). Since then, DotNetNuke has evolved at an exponential rate, recently surpassing 200,000 registered users, 800,000 downloads, and maintaining a consistent weekly project activity rank of #15 on SourceForge.Net.

A single DotNetNuke installation can host an unlimited number of portal Web sites, each with its own distinct URL. Each Web site is managed by one or more administrators. Portals can contain a variety of content, including announcements, events, discussion forums, links, images, surveys, galleries, directories, shopping carts, and many other features, all comparable to those available in proprietary content management systems.

DotNetNuke is developed on the powerful Microsoft .NET platform - Windows server, IIS, SQL Server 2000, and ASP.NET (VB and C#). Part of DotNetNuke's attraction is it can run on almost any database server, as long as someone has created the necessary provider (third-party providers include Oracle and mySQL). The flexible technical requirements make it possible to install and evaluate DotNetNuke on almost any computer. Its primary deployment scenario is to shared Web servers managed by Web hosting providers. However, it can also be deployed to dedicated Web servers and Intranets, where the administrator has much more control of the environment.

DotNetNuke is offered under a nonrestrictive BSD License, a standard open source license that allows for full usage in both commercial and noncommercial environments. The BSD, well-documented ASP.NET source code, an active developer community, and a modular architecture make it possible to customize DotNetNuke and leverage it as a mature Web Application Framework. For end users, all DotNetNuke requires is a Web browser and an Internet connection.

DotNetNuke provides the ability to manage content at a granular level. Essentially this means that a virtual page in DotNetNuke is simply a generic container that contains various content regions. Management of each type of content region is exposed through mini-applications referred to as Modules. Modules provide expert features for the display, configuration, and administration of specific types of content. For example, there are simple modules such as the Text/HTML module, which are designed to manage the display and administration of basic content information. There are also powerful modules such as the Forums module, which is designed to manage a full-featured community discussion forum. A page can contain an unlimited number of content modules, and a content module can be exposed on an unlimited number of Web site pages. This model is superior to other Web Application Frameworks that limit you to hard-linking content information directly to a single site page or that only allow a single type of content to be managed on a page.

The DotNetNuke name comes from a long history of open source content management systems that have adopted "nuke" as part of their project identity (the original credit belongs to Francisco Burzi, the creator of PHP-Nuke).

Installation and Configuration
At the time of this writing, the latest stable release of DotNetNuke is version 3.1.1, which was released on August 11, 2005. This release is compatible with the ASP.NET 1.1 platform. If you are interested in experimenting with the latest features, you can also check the downloads area on the www.dotnetnuke.com Web site for newer builds.

Installing DotNetNuke on a Microsoft Windows Server system (2000 or 2003) is straightforward and well documented. After unpacking the downloaded ZIP package, place all files and folders into your Web server's root directory. Create an SQL Server 2000 database and user account. DotNetNuke stores some files, such as user-uploaded images, in a special home directory for each portal. This directory should have write access enabled or else you are not going to be able to take advantage of all of the application features.

The default IIS settings on most Web servers should be adequate. DotNetNuke does not require session support, nor does it require custom mappings for specific file types or error codes. By default, the DotNetNuke application runs in a medium-trust Code Access Security configuration, which provides some critical security safeguards, especially for Web hosting providers.

A single file, web.config, stores the basic configuration settings, such as the database connection information, encryption keys, and provider configuration. Make a copy of the release.config file provided by DotNetNuke, name it web.config, and edit it using your favorite text editor. This thoughtful arrangement is especially useful when you upgrade DotNetNuke. DotNetNuke's release.config is upgraded, but your original web.config, which contains settings specific to your installation, is left untouched. The only value that typically needs to be modified on a new installation is the SiteSqlServer connection string in the AppSettings node. On an upgrade, it is also critical that you preserve your localized MachineValidationKey and MachineDecryptionKey values.

Next, visit the main page of your DotNetNuk Web site with a Web browser. From this point on, DotNetNuke handles its own installation and configuration, setting up the database, modules, and skins automatically. The default settings should work to get you started, and you always can customize them later. A Web site is created based on the values stored in the default template, which includes both an Administrator and Host user account. Since these accounts are common across all DotNetNuke installations, it is critical that you change the default passwords fot these accounts immediately upon successful installation.

Once DotNetNuke is installed, almost all regular administrative activities can be carried out using a Web browser. When logged in as the administrator, an admin menu appears as the right-most node in the hierarchical menu control (Figure 1). In addition, a control panel is displayed at the top of the browser window that allows the administrator to manage various aspects of the DotNetNuke site using a Web browser.

The Site Settings option controls the basic operation of the DotNetNuke site. In most cases, the default settings for most administrative functions should work fine. The Pages option allows you manage all of the virtual pages in your site. Security Roles and User Accounts enable you to manage the membership.

Administration
To add a new Page, while logged in as the administrator, select the Add Page icon in the control panel at the upper-left corner of your browser window. Pages are hierarchical and virtual, thus allowing you to add an unlimited amount of content at various levels in your Web site. Page settings can be edited, copied, and deleted using some of the other Control Panel icons. Pages and Modules are governed by a powerful role-based permissions model that allows you to selectively grant view and edit content privileges to users of your Web site. For simplistic Web sites that may only have a single content author, you should be able to use the default settings (see Figure 2).

More Stories By Shaun Walker

Shaun Walker is founder and president of Perpetual Motion Interactive Systems Inc., a solutions company specializing in Microsoft enterprise technologies. Shaun has 15 years of professional experience in architecting and implementing large-scale IT solutions for private and public organizations. Shaun is the creator and maintainer of DotNetNuke, an open source Web Application Framework written for the Microsoft ASP.NET platform.

Comments (5) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
11/01/08 06:16:54 AM EDT

Trackback Added: ASP.NET - Introducing the "DotNetNuke" Web Application Framework; <p> </p> ...

Keith Norfleet 12/21/05 03:49:24 PM EST

I am a DNN fan with several small business and personal efforts. I am currently looking to architect a new framework based on .Net 2.0 and looking at DNN as entry point. My problem and concern is finding documented examples pf people/companies that have actually taken DNN and used it as there core web application framework in an a truly enterprise environment is sparse. If any one could give me a strong business case or success story (links?) that would be great. We have many lines/divisions of business here and my DNN experience leads me to think I could take DNN and customize a base DNN site (our own starter kit) that has the marketing and custom modules that I would want all sites to start from.

The thinking is this would lowering our TCO and time to market for new business initiatives but I would like to hear if anyone has ever done it. I also know that creating custom modules for DNN is not a small undertaking especially a multiple page wizard such as an operator completing a loan for an applicant over a phone!

The other piece is modules talking to modules. Say I have a module for taking in a loan and another module with the notes pertinent to that loan with history, comments etc. Tying these modules together (dashboard) is simply something I have not seen DNN do. The modules are intentionally autonomous.

Editor 12/02/05 06:20:38 PM EST

An interesting enough read, but why is it in the **JAVA** developers journal?

Editor: "Stephen this article was published in the current issue of .NET Developer's Journal, not in Java Developer's Journal.

Stephen 12/02/05 04:58:02 PM EST

An interesting enough read, but why is it in the **JAVA** developers journal?

.NET News Desk 11/30/05 03:35:16 PM EST

ASP.NET - Introducing the "DotNetNuke" Web Application Framework. Over the past few years, a paradigm shift of monumental proportions has been quietly occurring on the World Wide Web. The traditional 'brand-builder' Web site whose sole purpose was the delivery of static marketing information to potential customers has finally lost its appeal. Fuelled by the demands of Web-savvy business owners and consumers, a new breed of highly functional Web applications has emerged; these applications deliver dynamic content, community collaboration, interactive behavior, and real-time communication.

@ThingsExpo Stories
SYS-CON Events announced today that DXWorldExpo has been named “Global Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
SYS-CON Events announced today that Datera, that offers a radically new data management architecture, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Datera is transforming the traditional datacenter model through modern cloud simplicity. The technology industry is at another major inflection point. The rise of mobile, the Internet of Things, data storage and Big...
"We provide IoT solutions. We provide the most compatible solutions for many applications. Our solutions are industry agnostic and also protocol agnostic," explained Richard Han, Head of Sales and Marketing and Engineering at Systena America, in this SYS-CON.tv interview at @ThingsExpo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We've been engaging with a lot of customers including Panasonic, we've been involved with Cisco and now we're working with the U.S. government - the Department of Homeland Security," explained Peter Jung, Chief Product Officer at Pulzze Systems, in this SYS-CON.tv interview at @ThingsExpo, held June 6-8, 2017, at the Javits Center in New York City, NY.
SYS-CON Events announced today that Calligo, an innovative cloud service provider offering mid-sized companies the highest levels of data privacy and security, has been named "Bronze Sponsor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Calligo offers unparalleled application performance guarantees, commercial flexibility and a personalised support service from its globally located cloud plat...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
"The Striim platform is a full end-to-end streaming integration and analytics platform that is middleware that covers a lot of different use cases," explained Steve Wilkes, Founder and CTO at Striim, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We are focused on SAP running in the clouds, to make this super easy because we believe in the tremendous value of those powerful worlds - SAP and the cloud," explained Frank Stienhans, CTO of Ocean9, Inc., in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
DX World EXPO, LLC., a Lighthouse Point, Florida-based startup trade show producer and the creator of "DXWorldEXPO® - Digital Transformation Conference & Expo" has announced its executive management team. The team is headed by Levent Selamoglu, who has been named CEO. "Now is the time for a truly global DX event, to bring together the leading minds from the technology world in a conversation about Digital Transformation," he said in making the announcement.
"MobiDev is a Ukraine-based software development company. We do mobile development, and we're specialists in that. But we do full stack software development for entrepreneurs, for emerging companies, and for enterprise ventures," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
While the focus and objectives of IoT initiatives are many and diverse, they all share a few common attributes, and one of those is the network. Commonly, that network includes the Internet, over which there isn't any real control for performance and availability. Or is there? The current state of the art for Big Data analytics, as applied to network telemetry, offers new opportunities for improving and assuring operational integrity. In his session at @ThingsExpo, Jim Frey, Vice President of S...
SYS-CON Events announced today that DXWorldExpo has been named “Global Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
In his opening keynote at 20th Cloud Expo, Michael Maximilien, Research Scientist, Architect, and Engineer at IBM, discussed the full potential of the cloud and social data requires artificial intelligence. By mixing Cloud Foundry and the rich set of Watson services, IBM's Bluemix is the best cloud operating system for enterprises today, providing rapid development and deployment of applications that can take advantage of the rich catalog of Watson services to help drive insights from the vast t...
SYS-CON Events announced today that EnterpriseTech has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. EnterpriseTech is a professional resource for news and intelligence covering the migration of high-end technologies into the enterprise and business-IT industry, with a special focus on high-tech solutions in new product development, workload management, increased effic...
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that Cloud Academy named "Bronze Sponsor" of 21st International Cloud Expo which will take place October 31 - November 2, 2017 at the Santa Clara Convention Center in Santa Clara, CA. Cloud Academy is the industry’s most innovative, vendor-neutral cloud technology training platform. Cloud Academy provides continuous learning solutions for individuals and enterprise teams for Amazon Web Services, Microsoft Azure, Google Cloud Platform, and the most popular cloud com...
SYS-CON Events announced today that Cloudistics, an on-premises cloud computing company, has been named “Bronze Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Cloudistics delivers a complete public cloud experience with composable on-premises infrastructures to medium and large enterprises. Its software-defined technology natively converges network, storage, compute, virtualization, and ...
SYS-CON Events announced today that CHEETAH Training & Innovation will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CHEETAH Training & Innovation is a cloud consulting and IT training firm specializing in improving clients cloud strategies and infrastructures for medium to large companies.
SYS-CON Events announced today that Datanami has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Datanami is a communication channel dedicated to providing insight, analysis and up-to-the-minute information about emerging trends and solutions in Big Data. The publication sheds light on all cutting-edge technologies including networking, storage and applications, and thei...
The current age of digital transformation means that IT organizations must adapt their toolset to cover all digital experiences, beyond just the end users’. Today’s businesses can no longer focus solely on the digital interactions they manage with employees or customers; they must now contend with non-traditional factors. Whether it's the power of brand to make or break a company, the need to monitor across all locations 24/7, or the ability to proactively resolve issues, companies must adapt to...