简体   繁体   English

如何在不访问原始项目的情况下删除项目?

[英]How can I delete a project without having access to the original project?

We have a multi-part web-based application. 我们有一个基于Web的多部分应用程序。 For each customer we have to remove part of it. 对于每个客户,我们都必须删除其中的一部分。 How to manage the project in Visual Studio? 如何在Visual Studio中管理项目? Must be included when you install the program? 安装程序时必须包括在内吗? Thank you to those who share his knowledge. 感谢那些分享他的知识的人。

I just realized that I think I see what you're asking here. 我只是意识到我想知道您在这里问什么。 I'm guessing that you have a full scale solution constituted by, let's say three documents: Water.apsx , Air.aspx , Land.aspx . 我猜您有一个由三个文档构成的全面解决方案: Water.apsxAir.aspxLand.aspx And the customers you're talking about are eg "Mr. Boat", "Mr. Helicopter" and "Mr. Airplane". 您正在谈论的客户是“船先生”,“直升机先生”和“飞机先生”。

My assumption is that you'd like to develop a whole-coverage solution for all the types (that's the three ASPX files) but only deliver them according to the following schedule: 我的假设是,您想为所有类型(即三个ASPX文件)开发一个整体覆盖的解决方案,但只能根据以下时间表进行交付:

  1. Mr. Boat -> Water.aspx 船先生-> Water.aspx
  2. Mr. Helicopter -> Air.aspx 直升机先生-> Air.aspx
  3. Mr. Airplane -> Air.aspx and Land.aspx (because planes can taxi on the ground) 飞机先生-> Air.aspx和Land.aspx(因为飞机可以在地面滑行)

If it's not correctly presumed, stop reading now! 如果估计不正确,请立即停止阅读! :) :)

Otherwise: You could deploy a solution based on roles. 否则:您可以根据角色部署解决方案。 You'd assign a role (or, in fact a set of roles) to a visiting user of your site. 您需要为网站的访问用户分配一个角色(或实际上是一组角色)。 Then, each page you've developed in the entire-register solution would be marked by a number of roles that it's visible to. 然后,您在整个注册解决方案中开发的每个页面都将由许多可见的角色标记。

When the said user logs in, the set of roles assigned to that particular account would be constitute an access right table that can be used to permitting/stopping him from seeing certain pages. 当所述用户登录时,分配给该特定帐户的一组角色将构成访问权限表,该权限表可用于允许/阻止他查看某些页面。

I asked a very similar question (assuming that I've guessed your intentions correctly) a few weeks ago and here's the answer I've got. 几周前,我问了一个非常类似的问题(假设我已经正确猜出了你的意图), 这就是的答案

Here whjat I get is that youw ant that whenever a new member is accessing your application then they must get the UI based on the role, they are assigned. 我得到的是,您希望每当新成员访问您的应用程序时,他们都必须根据角色获得UI,并对其进行分配。 Well in this regard an article based on Roles and Membership may help. 在这方面,基于角色和成员资格的文章可能会有所帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在不创建项目的情况下运行单个c#文件? - How can I run individual c# files without having to make a project? 如何在不删除数据库的情况下更改模型? - How can I change the model without having to delete the database? 如何在不引用项目中的程序集的情况下创建在App.Config中定义的对象的实例? - How can I create an instance of an object defined in my App.Config without having a reference to the assembly in my project? 在C#Visual Studio解决方案中可以删除哪些文件夹和文件,以减小项目大小而又不导致项目崩溃? - What are the folders and files that I can Delete it in C# Visual Studio Solution to reduce project Size without causing the project to crash? 如何从单独项目中的类中访问MainForm? - How can I access the MainForm from within a class in a separate project? 如何在项目中访问js文件? - How can i access a js file in my project? 如何从项目类访问ASP默认属性? - How can I access ASP default properties from project classes? 报表和报表查看器控件不在同一个项目中如何访问报表 - Report and reportviewer control not in same project how can i access report 如何在不链接到 csproj 中的项目的情况下引用项目? - How can I reference a project without linking to it in a csproj? 如何在不将项目包含在解决方案中的情况下使用项目中的类? - How can I use a class from a project without including the project in my solution?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM