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
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jenith ThakkarPosted Sep 4, 2018, 4:56 AM
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 ThakkarPosted Sep 4, 2018, 5:12 AM
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 KumarPosted Sep 4, 2018, 5:03 AM