试图在VS社区2017中找到ASP.NET配置 [英] Trying to find ASP.NET Configuration in VS Community 2017

查看:182
本文介绍了试图在VS社区2017中找到ASP.NET配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

希望你能帮忙,我在这里撕裂我的头发。

Hoping you can help, I am tearing my hair out over here.

我想跟随本教程的基本会员登录&会员只有几页:  https://msdn.microsoft.com/en-us/library/879kf95c(v = vs.140).aspx

I am trying to follow this tutorial for a basic Membership Login & Member's Only couple of pages: https://msdn.microsoft.com/en-us/library/879kf95c(v=vs.140).aspx

我可以创建页面,控件等,小菜一碟,但我在这一点上陷入困​​境:

I can create the pages, the controls etc, piece of cake, but I get stuck at this point:





  1. 在  网站 菜单,点击  ASP.NET配置。"

  1. On the Website menu, click ASP.NET Configuration."

此菜单选项不存在!我在其他地方读到了 - 不记得到底在哪里,这是几个小时的混乱 - 这种创建会员页面的方法现在已经过时,因此菜单选项在VS2017中消失了(2015年I
认为

This menu option does not exist! I read somewhere else - don't remember exactly where now, this was many hours of messing about ago - that this method of creating a membership page is now obsolete, hence the menu option disappearing in VS2017 (and 2015 I think too)

但我找不到任何最新的或替代教程来创建一个登录&仅限会员页面: - (

But I cannot find anywhere an up to date or alternative tutorial for creating a Log-in & Members only page :-(

请允许任何人指点我这个步骤的解决方法,或者我的替代教程试图实现?(如果相关,我打算使用SQL数据库存储登录名和密码)

Please can anyone point me to a work-around for this step, or an alternate tutorial for what I am trying to achieve? (If it's relevant, I intend to use a SQL database for storing logins & passwords)

谢谢

约翰

推荐答案

嗨约翰,

根据博士论文,它适用于Visual Studio 2010和以前版本的Visual Studio。据我所知,Visual Studio 2012和更高版本的Visual Studio中没有ASP.NET配置工具。

According to the docuemnt, it is apply to Visual Studio 2010 and previous version of Visual Studio. And as far as I know, there doesn't have ASP.NET Configuration tool from Visual Studio 2012 and later version of Visual Studio.

如果要在ASP.NET中配置Login and Memebers,请执行以下步骤。

If you want to configure Login and Memebers in ASP.NET, please do with following steps.


  1. 使用Visual创建ASP.NET应用程序Studio 2017。
  2. 创建ASP.NET项目时选择单个用户帐户身份验证选项。
  3. 项目创建后,您会发现有一个帐户文件夹,其中包含所有登录和成员管理页面。您需要使用它们来管理登录信息。
  4. 运行默认应用程序并在右上角你会发现一个注册链接和一个登录链接。您可以使用它们设置登录名和成员信息。

(localdb)\ MSSQLLocalDB中的登录数据存储,您可以在SQL Server对象资源管理器中打开它。数据库名称与aspnet-WebApplication1-20170821033124类似。

The login data store in (localdb)\MSSQLLocalDB, which you could open it in SQL Server Object Explorer. And the database name is similar with aspnet-WebApplication1-20170821033124.

最好的问候,

Weiwei

Best Regards,
Weiwei


这篇关于试图在VS社区2017中找到ASP.NET配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆