• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class PortalAliasController

PortalAliasController provides method to manage portal alias.

Inheritance
System.Object
ServiceLocator<IPortalAliasController, PortalAliasController>
PortalAliasController
Implements
IPortalAliasController
IPortalAliasService
Inherited Members
ServiceLocator<IPortalAliasController, PortalAliasController>.Instance
ServiceLocator<IPortalAliasController, PortalAliasController>.Factory
ServiceLocator<IPortalAliasController, PortalAliasController>.SetTestableInstance(IPortalAliasController)
ServiceLocator<IPortalAliasController, PortalAliasController>.ClearInstance()
ServiceLocator<IPortalAliasController, PortalAliasController>.GetFactory()
Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke.dll
Syntax
public class PortalAliasController : ServiceLocator<IPortalAliasController, PortalAliasController>, IPortalAliasController, IPortalAliasService
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

Properties

| Improve this Doc View Source

Instance

PortalAliasController provides method to manage portal alias.

Declaration
public static IPortalAliasController Instance { get; }
Property Value
Type Description
IPortalAliasController
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

Methods

| Improve this Doc View Source

AddPortalAlias(PortalAliasInfo)

Adds a new Portal Alias.

Declaration
public int AddPortalAlias(PortalAliasInfo portalAlias)
Parameters
Type Name Description
PortalAliasInfo portalAlias

The portal alias to add.

Returns
Type Description
System.Int32

The new portal alias ID.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

DeletePortalAlias(PortalAliasInfo)

Deletes an existing portal alias.

Declaration
public void DeletePortalAlias(PortalAliasInfo portalAlias)
Parameters
Type Name Description
PortalAliasInfo portalAlias

The portal alias to remove.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

DeletePortalAlias(Int32)

PortalAliasController provides method to manage portal alias.

Declaration
public void DeletePortalAlias(int portalAliasId)
Parameters
Type Name Description
System.Int32 portalAliasId
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<IPortalAliasController> GetFactory()
Returns
Type Description
Func<IPortalAliasController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Portals.IPortalAliasController, DotNetNuke.Entities.Portals.PortalAliasController>.GetFactory()
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAlias(String, Int32)

Gets the portal alias.

Declaration
public PortalAliasInfo GetPortalAlias(string alias, int portalId)
Parameters
Type Name Description
System.String alias

The portal alias.

System.Int32 portalId

The portal ID.

Returns
Type Description
PortalAliasInfo

Portal Alias Info.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAlias(String)

Gets the portal alias info.

Declaration
public PortalAliasInfo GetPortalAlias(string alias)
Parameters
Type Name Description
System.String alias

The portal alias.

Returns
Type Description
PortalAliasInfo

Portal alias info.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasArrayByPortalID(Int32)

PortalAliasController provides method to manage portal alias.

Declaration
public ArrayList GetPortalAliasArrayByPortalID(int portalID)
Parameters
Type Name Description
System.Int32 portalID
Returns
Type Description
ArrayList
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasByPortal(Int32, String)

Gets the portal alias by portal.

Declaration
public static string GetPortalAliasByPortal(int portalId, string portalAlias)
Parameters
Type Name Description
System.Int32 portalId

The portal id.

System.String portalAlias

The portal alias.

Returns
Type Description
System.String

Portal alias.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasByPortalAliasID(Int32)

Gets the portal alias by portal alias ID.

Declaration
public PortalAliasInfo GetPortalAliasByPortalAliasID(int portalAliasId)
Parameters
Type Name Description
System.Int32 portalAliasId

The portal alias ID.

Returns
Type Description
PortalAliasInfo

Portal alias info.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasByPortalID(Int32)

PortalAliasController provides method to manage portal alias.

Declaration
public PortalAliasCollection GetPortalAliasByPortalID(int portalID)
Parameters
Type Name Description
System.Int32 portalID
Returns
Type Description
PortalAliasCollection
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasByTab(Int32, String)

Gets the portal alias by tab.

Declaration
public static string GetPortalAliasByTab(int tabId, string portalAlias)
Parameters
Type Name Description
System.Int32 tabId

The tab ID.

System.String portalAlias

The portal alias.

Returns
Type Description
System.String

Portal alias.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliases()

Get all portal aliases.

Declaration
public PortalAliasCollection GetPortalAliases()
Returns
Type Description
PortalAliasCollection

A collection of portal aliases.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasesByPortalId(Int32)

Gets the portal alias by portal alias ID.

Declaration
public IEnumerable<PortalAliasInfo> GetPortalAliasesByPortalId(int portalId)
Parameters
Type Name Description
System.Int32 portalId

The portal ID.

Returns
Type Description
IEnumerable<PortalAliasInfo>

Portal alias info.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasInfo(String)

PortalAliasController provides method to manage portal alias.

Declaration
public static PortalAliasInfo GetPortalAliasInfo(string httpAlias)
Parameters
Type Name Description
System.String httpAlias
Returns
Type Description
PortalAliasInfo
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasLookup()

PortalAliasController provides method to manage portal alias.

Declaration
public static PortalAliasCollection GetPortalAliasLookup()
Returns
Type Description
PortalAliasCollection
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalAliasLookup(String)

PortalAliasController provides method to manage portal alias.

Declaration
public static PortalAliasInfo GetPortalAliasLookup(string httpAlias)
Parameters
Type Name Description
System.String httpAlias
Returns
Type Description
PortalAliasInfo
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

GetPortalByPortalAliasID(Int32)

Gets the portal by portal alias ID.

Declaration
public PortalInfo GetPortalByPortalAliasID(int portalAliasId)
Parameters
Type Name Description
System.Int32 portalAliasId

The portal alias id.

Returns
Type Description
PortalInfo

Portal info.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

UpdatePortalAlias(PortalAliasInfo)

Update a specified portal alias.

Declaration
public void UpdatePortalAlias(PortalAliasInfo portalAlias)
Parameters
Type Name Description
PortalAliasInfo portalAlias

The obj portal alias info.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

UpdatePortalAliasInfo(PortalAliasInfo)

PortalAliasController provides method to manage portal alias.

Declaration
public void UpdatePortalAliasInfo(PortalAliasInfo portalAlias)
Parameters
Type Name Description
PortalAliasInfo portalAlias
Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

ValidateAlias(String, Boolean)

Validates the alias.

Declaration
public static bool ValidateAlias(string portalAlias, bool ischild)
Parameters
Type Name Description
System.String portalAlias

The portal alias.

System.Boolean ischild

if set to true [ischild].

Returns
Type Description
System.Boolean

true if the alias is a valid url format; otherwise return false.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

Explicit Interface Implementations

| Improve this Doc View Source

IPortalAliasService.DeletePortalAlias(IPortalAliasInfo)

Deletes an existing portal alias.

Declaration
void IPortalAliasService.DeletePortalAlias(IPortalAliasInfo portalAlias)
Parameters
Type Name Description
IPortalAliasInfo portalAlias

The portal alias to delete.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

| Improve this Doc View Source

IPortalAliasService.UpdatePortalAlias(IPortalAliasInfo)

Update a specified portal alias.

Declaration
void IPortalAliasService.UpdatePortalAlias(IPortalAliasInfo portalAlias)
Parameters
Type Name Description
IPortalAliasInfo portalAlias

The portal alias to update.

Remarks

For DotNetNuke to know what site a request should load, it uses a system of portal aliases. When a request is received by DotNetNuke from IIS, it extracts the domain name portion and does a comparison against the list of portal aliases and then redirects to the relevant portal to load the appropriate page.

Implements

IPortalAliasController
IPortalAliasService

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS