Document directory
- Available regions of Portal Starter Kit
- Let's start digging for a mirror!
- Portal website engine (modular layout)
- Portal website mode (portal website content)
- Mode 2: Events)
- Module 3: Html file
- Module 4: XML/XSL
- Module 5: Links)
- Mode 6: quick link)
- Module 7: Document)
- Module 8: Forum)
- Mode 9: Contacts)
- Module 10: Image)
- Role-based security mechanism
- External memory self-Attention Mode
- Under Portal Starter Kit
- Chinese version of ASP. NET Starter Kit
ASP. NET Starter Kit?
Author: Zhou Shixiong
October 2003
Available regions of portal Starter Kit
Author master the micro-Technical teched 2003 Seminar "ASP. net Starter Kit-plug-and-play solution "after the launch, this article describes how to use the web browser to develop, free-of-charge, and release the original program ASP. in net starter kit, the portal starter kit (portal website entry kit) integrates with IT staff to quickly launch programs into the portal website to solve the solution; it also integrates program design, so you can copy the portal starter kit.
The main function of the portal is to summarize the resources required for work on a website so that users can complete their daily work on this portal.
Does the portal starter kit in ASP. NET starter kit meet the requirements of this portal function?
Let's start digging for a mirror!
After the English version of portal starter kit is installed, the hosts of the hosts line are as follows:
How can I use portal starter kit to build the corporate portal website?
This article will share with the author the real experience of the website where I created the company. It will reference the website information as an example.
After reading the Chinese version of our security portal starter kit and using the company's website information as an example, the layout of the website is as follows:
The preceding figure is a tab. You can select a webpage. Multiple modules can be created for each topology ).
It's just a quick start. Where is the portal starter kit available? If you do not compile a program, you can directly use the program (local) including:
- Portal website engine (modular layout ).
- 10 portal modules (portal content) for common content ).
- Role-based security mechanism.
- External nodes can be used as external nodes.
Portal website engine (modular layout)
After you get the portal starter kit and install it, you can create an portal website in four steps without using program:
- Step 1: layout the layout.
- In the second step, there are several tabs.
- Step 3: define the content mode of each Tab.
- Step 4: Define the permissions of each Tab and the mode.
The first thing to do when creating the portal website is to apply layout to the layout. The layout of topportalbanner. ascx is formatted using vs. net, and the font size is changed to aspnetportal.css layout. In another example, I added topportalbanner. ascx to the company logo, changed the background color to the purple color, changed the font size, and added the Chinese font to aspnetportal.css:
Font-family: verdana, new starter, Helvetica, sans-serif;
The result is changed:
In the second step of the portal website, you must specify several tabs.
The method is as follows:
In the [Tab] section, there are several different network types and sequences. For example, I have defined the following rules:
As shown in the following example:
For each member (Tab), you can press the following button after the selection:
You can arrange the positions of all the modules on the tab. You can select three positions: the left pane, the content pane, and the right pane.
Select a mode group from the Left Navigation Pane, the content pane, and the right Navigation Pane. Then, press the following picture to enter the following picture:
As a result, the [cache processing wait time (seconds)] can automatically adjust the entry site cache period of this mode.
Portal website mode (portal website content)
The third step of the Construction portal website is to define the content mode of each tab. What about the content of the portal website? Portal starter kit builds 10 types of portal network modules for common content to serve as the content of the portal network, including announcements, events, HTML files, XML/XSL, links, Quick Links, files, forum, publisher, and images. A content structure is a module. Each tab page can contain many modules. The following describes 10 models:
Module 1: Announcement (Announcements)
The announcements module displays announcements that take effect (before the end date, you can set the announcement standards, the end date, description, and deadline, as shown below:
After you add the announcement template to a tab, the following information is displayed:
Because the login user has the permission to renew this mode, the left-side navigation pane shows the upper-right corner of the page, and the [new announcement] appears in the upper-right corner.
Mode 2: Events)
The events module displays events that take effect (before the deadline) and sets the criteria, descriptions, time locations, and deadline of the events, as shown in the following example:
The following figure shows how to add the event model to a tab:
Module 3: HTML file
The "HTML file" module can directly display the HTML Parser, as shown below:
After adding the HTML file modulo to a tab, you can view the following details:
Module 4: XML/XSL
The "XML/XSL" module displays the following parameters after the configured XML and XSL protocols are merged:
For example, the content of the XML example is as follows:
25-member access cards/daily
10-member access cards/daily
The content of the XSL example is as follows:
After adding the XML/XSL schema to a Tab, you can see the following results after the XML and XSL schemas are merged:
Module 5: Links)
The "Links" (Links) model provides many superlinks to set the topics, URLs, descriptions, and collation of the superlinks, as shown below:
After you add the final mode to a Tab, the following figure is displayed. When you move your mouse over the Tab, a description is displayed:
Mode 6: quick link)
The Quicklinks mode is similar to the Links mode, the difference is that "quick connect" does not enable a new IE connector. "Close" does. You can set the topic, URL, description, and sort order of the superlinks, as shown below:
The following figure shows how to add the dynamic route group to a Tab:
Module 7: Document)
The Document module provides the file cases to be deleted. You can set the file name, type, URL, and so on, as shown below:
After adding the file modulo to a Tab, you can view the following details. You can click the "super" Tab to download the file:
Module 8: Forum)
The Discussion module provides the forum function as follows:
Reply this message:
After the reply:
Mode 9: Contacts)
The Contacts module allows you to set the registrant's name, role, Email, and Email, as shown in the following code:
The following figure shows how to add this graphic phantoms to a Tab:
Module 10: Image)
The Image module allows you to set the watermark name, degree, and height of an Image, as shown in the following figure:
The following figure shows how to add the image model to a Tab:
Role-based security mechanism
Step 4 of the website for creating an organization, which defines the permissions of each organization (Tab) and its model.
What is the permission management function of the portal website?
Portal Starter Kit provides Role-based security mechanisms, including:
- Administrative staff limit their rights. Only administrative staff (Admins) can find [Administrative Staff] administrative staff.
- Each role can set permissions for those roles.
- You can set the role permissions in each mode.
First, set the role. Set the mode to [administrator] authorize role [role Security] to add a role. The role details are as follows:
[Change roles to members] You can renew roles to members of this role:
As for the setting method of permission limitation, for [administrator] privilege escalation, after selecting the region to be renewed, press the following into the Privilege Escalation interface:
You can set the permissions that the roles have for this role.
In the same way, the permission limit is set to [administrator] privilege limit. After selecting the region to be renewed, press it into the specified region, then select the mode to be optimized, and press into the following labels:
You can set the role permissions for this role group.
External memory self-Attention Mode
The portal website features ASP. NET Starter Kit builds 10 types of portals for common content, but it will definitely not be used. How can this problem be solved? ASP. NET Starter Kit provides a feature that allows you to customize external modules. This article will also take the BorG SPM product provided by the company as an example to add the business process management function to the portal website. In the external mode, the self-tuning mode is to first add a Web user to control the program to topmodules, for example, using topmodules/MyURL. ascx. The program is very simple:
Next, add a model definition. In [administrator], add a model definition. In the resource source, point to the URL of the Web user-controlled website:
How can we achieve this? You can add this new model definition to the specification settings. For example, I add a [waiting for processing] specification, includes the new definition of the model:
So my portal website has a new function of workflow management.
Under portal Starter Kit
The English version of Portal Starter Kit can be downloaded and used on the following websites, including the original website:
Http://www.asp.net/Default.aspx? Tabindex = 9 & tabid = 47
Chinese version of ASP. NET Starter Kit
The Chinese version of ASP. NET Starter Kit can be found in the "Community region under MSDN", without additional downloading and usage:
Http://www.microsoft.com/taiwan/msdn/downloads/default.htm
You can also obtain all the Chinese version of the entry kits and architecture white skins at a time through the. NET Enterprise Website tips provided by the MSDN subscriber. Please refer to the following link:
Http://www.microsoft.com/taiwan/msdn/promo/
Comments and support
Do you have any questions, comments, or suggestions? You can refer to the following email and author:
Jack.chou2@msa.hinet.net
Trackback: http://tb.blog.csdn.net/TrackBack.aspx? PostId = 165112