DotNetNuke命名空间概述 Carlwave

Namespace Overview

Prior to DotNetNuke 3.0 the namespace overview would have been fairly concise, considering nearly
all classes fell under the root DotNetNuke namespace. In DotNetNuke 3.0, we brought structure to the
namespace hierarchy by completely reorganizing the namespaces and class locations. Figure 7-7 shows
the second-level namespaces that fall under the root “DotNetNuke” namespace, and the list that follows
explains each one.

❑ DotNetNuke.Common: This namespace is used for all classes that are used throughout the
entire DotNetNuke application. For example, the global constants that are used throughout
the application are found in the DotNetNuke.Common.Globals class.

❑ DotNetNuke.Data: This namespace is used for any classes relating to the data access layer. For
example, the DataProvider base class for the Data Provider API is in the DotNetNuke.Data
namespace.

❑ DotNetNuke.Entities: This namespace is used for the classes that represent and manage the
five entities that make a portal. They are Host, Portals, Tabs, Users, and Modules. Note that the
Modules namespace that falls under DotNetNuke.Entities is home to the functionality behind
managing modules. The actual modules themselves have their own second-level namespace
defined below (DotNetNuke.Modules).

❑ DotNetNuke.Framework: This namespace is home to several base classes and other utilities
used by the DotNetNuke application.

❑ DotNetNuke.Modules: This namespace is used for organizing portal modules. There is a child
namespace in the core named DotNetNuke.Modules.Admin, which is where the classes for all
of the core admin modules reside. For instance, the Host Settings module is found in the
DotNetNuke.Modules.Admin.Host.HostSettingsModule class.

❑ DotNetNuke.Security: This namespace is used for authorization and authentication classes.
This includes tab permissions, module permissions, folder permissions, roles, and other portal
security classes.

❑ DotNetNuke.Services: This namespace is used for any services the core provides for modules.
In this namespace the child namespaces for exception management, localization, personalization,
search, and several others reside.

❑ DotNetNuke.UI: This namespace is used for any user interface classes. For example, the Skin
and Container classes are found in DotNetNuke.UI.Skins.Skin and DotNetNuke.UI.Containers
.Container, respectively.

可以看出DotNetNuke的命名空间覆盖面比较全,学习DotNetNuke可以学到超多的.net开发知识,强烈推荐大家去学阿。
原文地址:https://www.cnblogs.com/Carlwave/p/350155.html