Can't find the ASP.NET Configuration tab in the Website menu in Visual Studio - asp.net

I'm going crazy because I can't find the ASP.NET configuration tab in Visual Studio 2017.
I'm following Microsofts ASP.NET tutorial on how to create a login page with members.
This is what the tutorial tells me.
And this is what my menu looks like.
Please help me. I've been looking after it for an hour now without any luck.
Link to the relevant chapter.

This menu item was removed some time ago (VS2013 or VS2015, I can't remember). It's unfortunate that the documentation hasn't been updated.
Anyway, you should check out ASP.NET Identity instead. It's now preferred over the old Membership provider model you're looking at. Give it a go at asp.net/identity

I assume you were on this page, yes? If you click the other versions link, you can see its meant for Visual Studio 2010. Nice of them to make that obvious, eh? Anywho, if you want built in authentication you can still use it, you just have to pick the Individual Accounts option for authentication when creating an account. This is not using the old school Membership Provider though, as that is outdated. Detailed instructions can be found here.
If you still really really want the old MembershipProvider, I would suggest just downloading Visual Studio 2010 from here and going to town. Enjoy!

Related

eCommerce add-on for an ASP.Net site (non MVC) and 4.0 based

I have been searching here on stackoverflow, Google, and elsewhere but not having very much luck, so I was hoping that someone here might have an idea.
I have an existing Visual Studio 2012 ASP.Net 4.0 non-MVC website. I just need to add in the ecommerce portion. The site is not Amazon style by any stretch of the imagination, but there is an area on the site, where users can press a button and add an item to a cart. There should be an admin side, etc.
The problem that I have is that I have no clue which ecommerce package is best. There are several packages if you start from their template and then modify via admin panel or otherwise. I just wish to add on.
The more obvious choices have issues:
nopCommerce: Requires MVC and .Net Framework 4.5. That lets that out for both reasons. My web hosting company supports 4.0 and 2.0, not 4.5. Also, I have a non-MVC ASP.net application. I should add that their support system is non-existent.
dotshoppingcart: That had the most promise, but they are moving to MVC and no support.
PHP based is definitely out.
Simply using a button and passing control to another page, which yields a different domain, hence two different products coexisting, is a nice idea, but has issues, such as the shopping cart item, although I guess if I had the db layout, then that could be programmed.
http://www.vevocart.com/
This is one link which I found useful out recently... which is Not MVC based.... it also has many versions ... so you can select whichever suits you ......hope it hepls you.
You'd probably be better off coding this yourself (caveat: own blog post):
Integrate PayPal Checkout Button with ASP.NET 2.0

Visual Studio options greyed out?

I'm working on a ASP.NET Web Application project, and I'm unable to add a web form to application. The "Add Item" menu item isn't there like it was before. I've tried three different projects and it keeps happening each time. You can see what I'm referring to below:
Turns out I was in the middle of a debug (thanks Brad Christie) so if anyone has that problem, that's the likely solution.
Publish option greyed out
For me, the project I was trying to publish needed to be selected in the project explorer before the publish option became available.
Why put this answer here?
Google sent me here even though I was specifically searching for the Publish option. If it sends other developers here, perhaps this answer may be useful.

Asp.net mvc view engine - to roll my own intellisense

I'm creating a little special purpose view engine for asp.net mvc. That goes well enough. But i've been looking around to find information on how to somehow add intellisense for the C# code embedded in my view.
I can see Spark does that, but going through the sources, I still can't see how. And WebForms view engine does it - not surprisingly - to perfection. Does anyone have any suggestions or links or anything related on how to do that?
Update: Just to let readers know, I'm still looking for a solution! So keep the answers coming :) ... I will post back here too, whenever I find out more.
/Asger
Looking at the Spark source, it appears that he is hosting his editor within the Visual Studio 2008 IDE, in a way that he is getting the C# intellisense for free.
You might want to check out the Visual Studio 2008 SDK 1.1, and see if there's something in there that will help you.
http://www.microsoft.com/downloads/details.aspx?familyid=59EC6EC3-4273-48A3-BA25-DC925A45584D&displaylang=en
You might find some clues here:
How do I add intellisense to my application?
Googling this is maddeningly difficult, as you get all kinds of hits on enabling intellisense, how wonderful intellisense is, how bad intellisense is, etc.

ASP.net user management and GoDaddy shared hosting

I'm trying to use the asp.net (3.5) built in user management framework but I'm not 100% sure how to do this on godaddy. Google didn't help much, anyone have experience with this?
You can roll your own or find one. You cannot run the Asp.net configuration tool directly against your GoDaddy account. (If you notice, it's just another asp.net website runing in another dev web server via Visual Studio).
You can use the System.Web.Security.Membership and Roles static classes in the Membership Provider to hook into it. This is very easy to do. Membership.GetUsers(), etc.
You can also use the stored procs to manually add/remove users and roles.
-Nathan
Go to your hosting control center
in menu Content on top, go to IIS Management,
there will be list of web folder,
on top of the list you can see asp.net runtime versions and (modify) link in brackets, click on it. There you'll see if you are using asp.net 3.5.
I have also had this problem. About a year ago. So I am curious to know what the solution might be, if there is one! I was told by Go Daddy, back then, that they had ASP.net admin stuff "locked down" pretty tight. I went back and forth with their help people, who had to actually escalate it - because the general help team didnt understand what I was asking. What I ultimately did was I canceled my hosting service (they did give me a refund for unused time!) and I went over to a different host. Hope this helps and I will be listening carefully to responses as I am curious to see if they changed OR if someone has a workaround.
To get the tables that the membership provider uses, look in %WINDIR\Microsoft.NET\Framework\v2.0.50727. That is where the SQL statements used by the wizard are located. Also, check out:
http://www.asp.net/Learn/Security/tutorial-04-vb.aspx
for a more thorough explaination of how memberships tables are set up. You can do all the same work that the admin tool does, just not in a GUI format.

Issues with Asp.net administration tool

i have created a project in asp.net.now i want to implement asp.net administration tool in my project for user management.The tool works fine in a website ,but in a project it does not work.
Actually i have used the follows links to do this:-
http://msdn.microsoft.com/en-us/library/bb515342.aspx
When i implemented this walkthrough in the project, the Profile.aspx.vb shows errors.Means in this walkthrough it is specified that profilecommon will be formed dynamically.In website its working.But in project its shows 'ProfileCommon is not defined. What may me the reason?
It sounds like you want to implement your own version of the ASP.NET Web Site Administration Tool (WSAT) for use "inside of" your own website.
The walk-through that you link to is okay, however, it doesn't walk through creating anything that is particularly generic and can be simply "dropped in" to an existing web site.
I'd suggest looking at this tutorial:
Rolling Your Own Website Administration Tool
as a way of creating your own set of pages specifically for user/role/membership management. You can even download the code for the article if you don't want to re-type it all out yourself. Unfortunately, the code for this tool and in this article is in C#, however, the code is not especially complex and should be able to be easily converted to VB.NET using one of the many available code converter tools.
There is also this tutorial:
Users and Roles On The Production Website
which is VB-specific and should help with building your own WSAT-like tool.
Some time ago, on the CodePlex site, there was an ASP.NET WSAT Starter Kit project that also served the same purpose (and arguably improved on the "default" WSAT considerably), however, that project unfortunately no longer exists. After some searching however, it appears as though the code for this tool is still available, so you could perhaps take a look at that tool also (the code is in VB).
You can find that here:
ASP.Net WSAT (Web Site Administration) Starter Kit. What happened?
(check the very last post at the bottom of the page).

Resources