How to make Login Page with DB in ASP.NET Core, without MVC?
I want to Make i simple Login page in ASP.NET Core 2.0, without MVC. the input data should be validated fron SQL Database. Please Help me
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Jenith ThakkarRank #789 · 2.9K reputationPosted Sep 4, 2018, 12:56 AM EDT
you can do that using Asp.Net Core with Ado.Net
https://social.technet.microsoft.com/wiki/contents/articles/51324.asp-net-core-2-0-crud-operation-with-ado-net.aspx
Please refer above link for simple crud and apply your logic same way if you stuck on any place then ask question
Jenith ThakkarRank #789 · 2.9K reputationPosted Sep 4, 2018, 1:12 AM EDT
you can see here there's a no web config to define connection string if you want to define then you can write it on appsetting.json
Important things please check routing if you want to define a routing on .net core then you need to define it on startup.cs which we are defining on routeconfig.cs in mvc
so based on folder structure MVC not define you need to check all the controls also
Chandan KumarRank #4,104 · 365 reputationPosted Sep 4, 2018, 1:03 AM EDT