C
C#2y ago
LIFO?

ASP.NET application with Individual User Accounts

I am following the instructions on this video (https://www.youtube.com/watch?v=BfEjDD8mWYg) Using Visual studio community 2022 version 17.4.3 Templates selected is ASP.NET core web app (model view controller) reading this (https://stackoverflow.com/questions/51773602/asp-net-mvc-change-from-no-authentication-to-individual-user-accounts-on-ex) I now assume I may run into issues if I ignore that I was not able to select "Individual User Accounts" and some of the folders are missing . any suggestions please .
12 Replies
ChucklesTheBeard
The additional folders "Areas" and "Data" are indeed generated in the video because he selected "Individual User Accounts" and not "No Authentication". If you were unable to select that, I'd work on fixing it because it may indicate something else isn't installed correctly
LIFO?
LIFO?OP2y ago
thank you, it helps to know that the areas and data folder is tied to the individual user accounts. any chance you know which template will have that . I couldn't quite understand the stackover suggestion .
ChucklesTheBeard
show what happens when you try to select "individual user accounts"
LIFO?
LIFO?OP2y ago
LIFO?
LIFO?OP2y ago
the option is not there
ChucklesTheBeard
meh, idk what's going on there. Try this instead. Make a new empty folder for the project, then open up command prompt and run:
cd C:\path\to\ProjectName\
dotnet new mvc --au Individual --framework netcoreapp3.1
cd C:\path\to\ProjectName\
dotnet new mvc --au Individual --framework netcoreapp3.1
then double-click the .csproj file to open it in visual studio.
LIFO?
LIFO?OP2y ago
ChucklesTheBeard
cough --auth
LIFO?
LIFO?OP2y ago
LIFO?
LIFO?OP2y ago
LIFO?
LIFO?OP2y ago
all set . thank you @ChucklesTheBeard .
ChucklesTheBeard
you can mark the thread as closed with /close ❤️
Want results from more Discord servers?
Add your server