Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Deploy to IIS with Authentication/SQL Server

$
0
0

So,

I am a PHP guy with little to no .NET background. ASP Classic- sure, a bit, but pretty green when it comes to .NET/C#. But I really want to learn. With that in mind, can anyone give me some advice on which authentication mode to use, how to utilize said authentication on a local IIS server (which would entail adding an SQL Server DB to the app somehow- right?).

I have an in-house server running Windows Server 2012 (R2?) and SQL Server 2014. I have used the starter .NET 5 MVC 6 Web App Preview using 'Individual Accounts' for authentication. I'm not sure which method I want, but I do know I want to self host everything, I do not (necessarily) care about restricting user access to my pages (yet), and I want anyone to be able to register.

I have my domain configured, and my web app deployed for the most part. The only thing that does not work is the 'Register' page. It says:

Error.

An error occurred while processing your request.

Of course it works just fine when I deploy to my development machine using IIS Express... But I cannot figure out how to deploy to IIS on my network with authentication.

So to clarify:

How do I setup authentication on a self-hosted .NET 5/MVC 6 Web App that resides (is deployed to) IIS on my server?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>