zoukankan
html css js c++ java
[DNN模块开发]如何写dnn文件
在所有DNN模块的安装包中,都有一个*.DNN文件。这个文件就是DNN模块的安装文件清单。在安装模块时DNN应用程序读取该文件,按照文件清单中的内容安装相关文件和数据库脚本。
DNN文件是一个XML文件结构大致如下:
<!--
dotnetnuke节点,说明改文件时模块安装清单,使用与3.0.X版的DNN程序
-->
<
dotnetnuke
version
="3.0"
type
="Module"
>
<
folders
>
<
folder
>
<!--
模块名称
-->
<
name
>
CLinks
</
name
>
<!--
模块名称(模块的友好名称)
-->
<
friendlyname
>
CLinks
</
friendlyname
>
<!--
模块功能描述
-->
<
description
>
分类链接模块
</
description
>
<!--
模块版本
-->
<
version
>
01.00.00
</
version
>
<!--
业务逻辑类
-->
<
businesscontrollerclass
>
DNNChina.Modules.CLinks.CLinksController, DNNChina.Modules.CLinks
</
businesscontrollerclass
>
<
modules
>
<
module
>
<
friendlyname
>
CLinks
</
friendlyname
>
<!--
模块所包含的控件
-->
<
controls
>
<!--
显示控件
-->
<
control
>
<
src
>
DesktopModules/CLinks/CLinks.ascx
</
src
>
<
type
>
View
</
type
>
</
control
>
<!--
编辑控件
-->
<
control
>
<
key
>
Edit
</
key
>
<
title
>
Edit CLinks
</
title
>
<
src
>
DesktopModules/CLinks/EditCLinks.ascx
</
src
>
<
type
>
Edit
</
type
>
</
control
>
<!--
设置控件
-->
<
control
>
<
key
>
Settings
</
key
>
<
title
>
Settings CLinks
</
title
>
<
src
>
DesktopModules/CLinks/Settings.ascx
</
src
>
<
type
>
Edit
</
type
>
</
control
>
</
controls
>
</
module
>
</
modules
>
<!--
需要安装的文件清单
-->
<
files
>
<!--
程序集文件
-->
<
file
>
<
name
>
DNNChina.Modules.CLinks.dll
</
name
>
</
file
>
<
file
>
<
name
>
DNNChina.Modules.CLinks.SqlDataProvider.dll
</
name
>
</
file
>
<!--
用户控件文件
-->
<
file
>
<
name
>
CLinks.ascx
</
name
>
</
file
>
<
file
>
<
name
>
EditCLinks.ascx
</
name
>
</
file
>
<
file
>
<
name
>
Settings.ascx
</
name
>
</
file
>
<!--
语言包文件
-->
<
file
>
<
path
>
App_LocalResources
</
path
>
<
name
>
CLinks.ascx.resx
</
name
>
</
file
>
<
file
>
<
path
>
App_LocalResources
</
path
>
<
name
>
CLinks.ascx.zh-CN.resx
</
name
>
</
file
>
<
file
>
<
path
>
App_LocalResources
</
path
>
<
name
>
EditCLinks.ascx.resx
</
name
>
</
file
>
<
file
>
<
path
>
App_LocalResources
</
path
>
<
name
>
EditCLinks.ascx.zh-CN.resx
</
name
>
</
file
>
<
file
>
<
path
>
App_LocalResources
</
path
>
<
name
>
Settings.ascx.resx
</
name
>
</
file
>
<
file
>
<
path
>
App_LocalResources
</
path
>
<
name
>
Settings.ascx.zh-CN.resx
</
name
>
</
file
>
<!--
数据库安装脚本
-->
<
file
>
<
name
>
01.00.00.SqlDataProvider
</
name
>
</
file
>
<!--
数据库卸载脚本
-->
<
file
>
<
name
>
Uninstall.SqlDataProvider
</
name
>
</
file
>
</
files
>
</
folder
>
</
folders
>
</
dotnetnuke
>
大家在开发模块时,可以照此结构编写自己需要的DNN安装文件。
查看全文
相关阅读:
9.1: 请每个小组在 cnblogs.com 上面创建团队博客,第一个博客把小组成员都介绍一下 #团队博客作业1------------------答题者:徐潇瑞
5.你所在的学校有计算机科学专业和软件工程专业么?相关专业的教学计划和毕业出路有什么不同?阅读有关软件工程和计算机科学的区别的文章,谈谈你的看法。
11. 请问 “软件” 和 “软件工程” 这些词汇是如何出现的
7.有人认为,“中文编程”是解决中国程序员编程效率一个秘密武器,请问它是一个 “银弹” 么?
6.有学生提到,在大学选课的时候,可以写一个“刷课机”的程序,利用学校选课系统的弱点或漏洞,帮助某些人选到某些课程。或者帮助用户刷购票网站,先买到火车票。这些软件合法么?符合道德规范么?是在“软件工程”的研究范围么?——回答者:张立鹏
3. 上网调查一下目前流行的源程序版本管理软件和项目管理软件都有哪些, 各有什么优缺点? (提示:搜索一下Microsoft TFS、GitHub、Trac、Bugzilla、Rationale,Apple XCode),请用一个实际的源代码管理工具来建立源代码仓库,并签入/签出代码。
现代软件工程 第一章 【概论】第3题——张晓丽
右值引用、移动语义
客车网上售票系统--需求分析
2019JS必看面试题
原文地址:https://www.cnblogs.com/zhuor/p/282912.html
最新文章
Python lambda 表达式
Python filter() function
Python reduce() function
Python map() function
Python f-String/format中的字符串对齐
Hbase-03-shell get 命令
Hbase-02-shell 命令
Hbase-01-体系结构与数据模型概述
2.TIDB整体架构
1.快速部署TIDB本地测试环境
热门文章
TIDB-TiFLASH小记
MySQL查询分析器EXPLAIN或DESC用法
TiDB集群常用命令
当初为什么报“软件工程”这个专业?
python中使用dotenv来管理环境变量
【题解】[SDOI2008]Sue的小球
【题解】[GXOI/GZOI2019]宝牌一大堆
13. 请看TED 的演讲, 谈谈你对压力的看法,以及怎么和别人合作, 帮助别人,把压力转化为动力,在互相帮助的环境中成长。------------答题者:徐潇瑞
9.2: 现代软件工程这门课已经上了好几年了,以前有很多学生做过团队项目(说不定包括本校的学生),请你们找一个以前的团队采访一下-------------答题者:徐潇瑞
2. 软件有很多种,也有各种分类办法: ShrinkWrap (在包装盒子里面的软件,软件在CD/DVD上); Web APP (基于网页的软件); Internal Software (企业或学校或某组织内部的软件); Games (游戏); Mobile Apps (手机应用); Operating Systems (操作系统); Tools
Copyright © 2011-2022 走看看