TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
611
127.8k
Reset Link on mail .net core.
Jul 3 2020 12:46 PM
string message = $"Hello {FName.FirstName}! We have recieved your Reset Password request. Please click the link to Reset Password. URL : {Request.HttpRequestUri.Scheme}://{Request.RequestUri.Host}:{(Request.RequestUri.IsDefaultPort ? string.Empty : Request.RequestUri.Port.ToString())}{"/api/Login/ResetPassword?uid="}{ user.UserId}";
I have to create this code send reset password link on mail using .net core 3.1.It's not working .
I have this error-
'HttpRequest' does not contain a definition for 'HttpRequestUri' and no accessible extension method 'HttpRequestUri' accepting a first argument of type 'HttpRequest' could be found (are you missing a using directive or an assembly reference?) .
Please solve this it's most important for me.
Reply
Answers (
2
)
How to create regex in allow anything content using C# ?
Made a function in C but how to...?