asp.net-开发具有基于配置启用功能的Web应用程序 [英] asp.net - developing web application with features enabled based on configuration
本文介绍了asp.net-开发具有基于配置启用功能的Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要开发一个基于Web的产品.用户可以根据基本类别/高级版本/企业版本等订阅类别使用此功能.我想为这些订阅类别维护单一来源.
我的问题是,
如何设计具有基于配置/订阅类别启用功能的Web应用程序?
在Advance中致谢
I need to develop a web based product. Features of this will be available to users based on subscription categories like Basic Version /Premium Version / Enterprise Version. I would like to maintain single source for these subscription categories.
Here my question is,
How to design web application, which has features enabled based on configuration / subscription categories?
Thanks in Advance
推荐答案
设计一个系统设置表/XML,如下所示.
版本号blnfeature1 blnfeature2 blnfeature2 ...... n
基本 nbsp; b b&b false
真正的 b&b ; true
检查每个功能页面/表单上的标志.
还以这种方式设计导航控件/menu,使其仅向该用户显示可访问的菜单.
design one system setting table/XML as below.
versionid blnfeature1 blnfeature2 blnfeature2 ......n
basic true false false
prem true true true
check flag on each feature page/form.
also design your navigation control /menu in that way that it will shows only accessible menus to that user.
这篇关于asp.net-开发具有基于配置启用功能的Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文