Click here to Skip to main content
14,663,611 members
Home » Discussions » ASP.NET
   

ASP.NET

 
AnswerRe: problem when publishing asp.net core project on a server Pin
Mycroft Holmes19-Apr-20 12:25
professionalMycroft Holmes19-Apr-20 12:25 
AnswerRe: problem when publishing asp.net core project on a server Pin
jkirkerx20-Apr-20 8:07
professionaljkirkerx20-Apr-20 8:07 
QuestionMVC Core 3.1 I need to display multiple images (with transparency) on top of each other as 1 image Pin
clemenslinders13-Apr-20 21:19
Memberclemenslinders13-Apr-20 21:19 
AnswerRe: MVC Core 3.1 I need to display multiple images (with transparency) on top of each other as 1 image Pin
Richard Deeming14-Apr-20 0:51
mveRichard Deeming14-Apr-20 0:51 
GeneralRe: MVC Core 3.1 I need to display multiple images (with transparency) on top of each other as 1 image Pin
clemenslinders14-Apr-20 1:06
Memberclemenslinders14-Apr-20 1:06 
GeneralRe: MVC Core 3.1 I need to display multiple images (with transparency) on top of each other as 1 image Pin
Richard Deeming14-Apr-20 1:30
mveRichard Deeming14-Apr-20 1:30 
GeneralRe: MVC Core 3.1 I need to display multiple images (with transparency) on top of each other as 1 image Pin
clemenslinders15-Apr-20 0:07
Memberclemenslinders15-Apr-20 0:07 
Questionerror in logging when authenticating against active directory with asp.net core by ldap Pin
ElenaRez11-Apr-20 20:23
MemberElenaRez11-Apr-20 20:23 
I'm implementing an asp.net core project and I'm trying to authenticate the user login via ldap to active directory. I'm using the below link https://www.brechtbaekelandt.net/blog/post/authenticating-against-active-directory-with-aspnet-core-2-and-managing-users in order to implement the authentication against active directory with asp.net core. What I've tried in appsettings is like below:

{
"AllowedHosts": "*",
"ConnectionStrings": {
"CSDDashboardContext": "Server=xxxx;Database=CSS;Trusted_Connection=True;"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},

"LdapSettings": {
"ServerName": "par.fr",
"ServerPort": 389,
"UseSSL": false,
"Credentials": {
"DomainUserName": "par\\koli-h",
"Password": "asdq/1998"
},
"SearchBase": "CN=Users,DC=par,DC=fr",
"ContainerName": "CN=Users,DC=par,DC=fr",
"DomainName": "par.fr",
"DomainDistinguishedName": "DC=par,DC=fr",
"SearchProperty": "samAccountName" //????
}
}

Now my problem is after running the project and entering the user: koli-h and pass: asdq/1998 the system shows me invalid username or password. My real username and password in the server are koli-h and asdq/1998. However, if I change my user in the code to for example koli-ha (adding a character in order to make the usernam incorrect) after running the project, the system shows me "Invalid Credentials" error. I appreciate if anyone could suggest me what is the problem that I can't logging in to the system.
AnswerRe: error in logging when authenticating against active directory with asp.net core by ldap Pin
jkirkerx15-Apr-20 8:42
professionaljkirkerx15-Apr-20 8:42 
QuestionReference non-core dll from core app Pin
Richard Jones24-Mar-20 6:29
MemberRichard Jones24-Mar-20 6:29 
AnswerRe: Reference non-core dll from core app Pin
Afzaal Ahmad Zeeshan24-Mar-20 10:57
mvaAfzaal Ahmad Zeeshan24-Mar-20 10:57 
AnswerRe: Reference non-core dll from core app Pin
jkirkerx25-Mar-20 8:59
professionaljkirkerx25-Mar-20 8:59 
QuestionDisplay image and text Pin
Otekpo Emmanuel19-Mar-20 12:18
MemberOtekpo Emmanuel19-Mar-20 12:18 
AnswerSolved: Display image and text Pin
Otekpo Emmanuel20-Mar-20 8:14
MemberOtekpo Emmanuel20-Mar-20 8:14 
Questionhow hide menu link when submenu are hidden in .net core Pin
Member 1477503716-Mar-20 22:48
MemberMember 1477503716-Mar-20 22:48 
AnswerRe: how hide menu link when submenu are hidden in .net core Pin
Member 1478358326-Mar-20 2:30
MemberMember 1478358326-Mar-20 2:30 
QuestionHTTP Error 500.19 - Internal Server Error because of changing the URL Pin
simpledeveloper5-Mar-20 8:26
Membersimpledeveloper5-Mar-20 8:26 
AnswerRe: HTTP Error 500.19 - Internal Server Error because of changing the URL Pin
Richard Deeming5-Mar-20 9:42
mveRichard Deeming5-Mar-20 9:42 
GeneralRe: HTTP Error 500.19 - Internal Server Error because of changing the URL Pin
simpledeveloper9-Mar-20 6:41
Membersimpledeveloper9-Mar-20 6:41 
GeneralRe: HTTP Error 500.19 - Internal Server Error because of changing the URL Pin
Richard Deeming9-Mar-20 8:37
mveRichard Deeming9-Mar-20 8:37 
GeneralRe: HTTP Error 500.19 - Internal Server Error because of changing the URL Pin
simpledeveloper11-Mar-20 12:18
Membersimpledeveloper11-Mar-20 12:18 
GeneralRe: HTTP Error 500.19 - Internal Server Error because of changing the URL Pin
Richard Deeming12-Mar-20 0:55
mveRichard Deeming12-Mar-20 0:55 
GeneralRe: HTTP Error 500.19 - Internal Server Error because of changing the URL Pin
simpledeveloper12-Mar-20 13:06
Membersimpledeveloper12-Mar-20 13:06 
QuestionCan You Really Use ASP.NET Core 3.1 to Build Production Web Pages/Apps? Pin
C Grant Anderson3-Mar-20 4:16
professionalC Grant Anderson3-Mar-20 4:16 
AnswerRe: Can You Really Use ASP.NET Core 3.1 to Build Production Web Pages/Apps? Pin
Richard Deeming3-Mar-20 4:59
mveRichard Deeming3-Mar-20 4:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.