15,891,184 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10398773 (Top 41 by date)
Member 10398773
6-Sep-17 11:41am
View
You are accessing it via GET and thats why you are getting 404 .Decorate you method as below with HttpPost attribute
[HttpPost]
[WebMethod(EnableSession = true)]
public static string populate_User()
{
try
{
BLL_Users objusr_BLL = new BLL_Users();
return objpractice_BLL.Fetch_UserList();
}
catch (Exception ex)
{
throw;
}
}
Member 10398773
6-Sep-17 9:15am
View
What error are you getting on your console?Open mozzila or chrome and check the error which is displayed on the console.
Member 10398773
7-Jun-16 2:53am
View
Okay .I tried and used below code
public static string GetPass<t>(string pass) where T : Encoding, new()
{
var encoder = new T();
byte[] buffer = encoder.GetBytes(pass);
SHA256CryptoServiceProvider cryptoTransformSHA256 = new SHA256CryptoServiceProvider();
var result = BitConverter.ToString(cryptoTransformSHA256.ComputeHash(buffer)).Replace("-", "");
return result;
}
and this still doesnt authenticate.I tried same in java and got something similar like ZjdiNmExZDc1ODY0OTA4ZTFmNWI4OWEwMTdlMDBmYWY4MGQyNjIzZjIxMzkyNzNjNDk4NTBjMmIwMzEzYTYxMw== and in c# i got F7B6A1D76864908E1F5B89A016E00FAF80D2623F2139273C49850C2B0313A613 .I guess we should be getting something similarbut not the case
Member 10398773
3-Jun-16 3:32am
View
Hi,Below is the complete instructions:
The password should have parameters (MERCHANT¬_ID, passkey, TIMESTAMP) encrypted using base64_encode and hashed using sha256.
Example below shows the order of parameters and how it should be done
$MERCHANT_ID = MERCHANT_ID
$passkey = passkey provided by SAG
$TIMESTAMP = TIMESTAMP at merchants checkout page.
NOTE: The same should be passed to the SAG as part of CheckOutHeader input.
$PASSWORD = base64_encode(hash("sha256", $MERCHANT_ID $passkey $TIMESTAMP));
The result of the SHA254 Hash should be in capital letters.
From the above explanation,what i understand is,to get the password to parse in my request,i will concatenate the parameters merchantId+passkey+timestamp and then i apply my encryption algorithm to do the encyrption of plain password.
That's how i am understanding it.The above is the provided sample in php
Member 10398773
26-Mar-16 8:15am
View
You can get the name of currently logged in user and replace it in your code.Like for example dim user as string then say user=Page.User.Identity.Name
Member 10398773
4-Mar-16 1:11am
View
When creating employees,map that employeeId in a separate table where upon registering a user,you also add his employee id in that separate table.When logged in,since you have his username,you can then query your separate table where you will get his employeeID.you parse to it UserName and return the Id
Member 10398773
4-Mar-16 1:06am
View
Hi,create a REST API and internally add the wcf service to your REST API.What happens is you expose your response object as a json such that when you pass an object of type customer for example,you pass it to the wcf and deserialize the request from the json object which you send from your android app
Member 10398773
24-Feb-16 2:11am
View
You can save the different timings on sql database and read the timings directly from the db.what will happen is that you will just be comparing the time user has set in db with the current datetime of the machine where the windows service is installed.So your windows service can pick a list of timings from database and enumerate each record comparing whether the date is greater than or equal to current datetime
Member 10398773
24-Feb-16 2:07am
View
Hi,android application and asp.net are different platforms but their is a workaround to ensure that both applications use same data.If you are familiar with creating APIs,create a REST API in asp.net and expose your methods to your android application.You can create all the functions based on your application logic and consume the API in android .Your REST api will be definitely using SQL SERVER database for the data exchange between your app and sql db
Member 10398773
18-Nov-14 2:25am
View
You can create a page which will pick user current password,and new password then call a function to change user details from db
Member 10398773
22-Oct-14 6:55am
View
Set enablssl to false
Member 10398773
27-Aug-14 1:21am
View
Get a list of all orders in one list.check the date of ordering and compare it to the shipment date.if shipment date is greater than the estimated ship date,then add them to a list and you will get the orders
Member 10398773
25-Aug-14 2:52am
View
I will try and update if i succeed on that
Member 10398773
20-Aug-14 2:34am
View
I also am experiencing the same issue n my site.But the error on my side is The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first.Gmail tries to reject the authentication
Member 10398773
20-Aug-14 2:06am
View
Whats the error message you getting?
Member 10398773
31-Jan-14 6:13am
View
oooh.The studentiD is the unique key really in my database sir.I have to update it in my code behind?
Member 10398773
31-Jan-14 4:42am
View
Infact what anm doing is getting the whole query strung ,adding it to the database(sql),Then i conrtinue on extracting those parameters in the query string,After that i add those values have extracted.I dont know if ican update the first query string with the studentId?anyway thats how am doing it.Have added the line // db.Students.InsertOnSubmit(addStudents);
Member 10398773
28-Jan-14 8:53am
View
Yes really.Thank you much.I have used KARTHIK code.Thanks
Member 10398773
28-Jan-14 8:44am
View
cool.i will try that now.Saw it by using loadcontrol method
Member 10398773
28-Jan-14 8:21am
View
Sir,i salute you really.Your code has worked like a charm.Wow!i spend nites thinking about this.The part i can ask you is whether i can add some items on it depending on different user.
Member 10398773
28-Jan-14 7:57am
View
Hi,this has not solved it
Member 10398773
27-Jan-14 1:54am
View
Hi,this has returned to me null
Member 10398773
27-Jan-14 1:49am
View
Its already registered really
Member 10398773
26-Jan-14 9:14am
View
Hi,it returns null.It cannot show the control.The control is inside login view in the masterpage under role group .Its a panel.Have used the code below
Panel mycontrol = (Panel)Page.Master. FindControl("StudentsPanel");
This does not return to me results.
Member 10398773
24-Jan-14 8:40am
View
This works like a charm....Thanks sir
Member 10398773
22-Jan-14 9:13am
View
It's a separate class
Member 10398773
21-Jan-14 0:00am
View
Am glad.Thanks much .All the best
Member 10398773
20-Jan-14 23:55pm
View
Thanks very much.This has helped me solve it.Cheers sir
Member 10398773
20-Jan-14 7:12am
View
Hi,can yu direct me how to apply this please?
Member 10398773
20-Jan-14 6:50am
View
Yes,when i debug,it brings a count of 1
Member 10398773
20-Jan-14 6:50am
View
Deleted
Yes,when i debug it brings a count of 1
Member 10398773
17-Jan-14 8:35am
View
Check your network connection address path.May be you are requesting to the address which is unavailable
Member 10398773
16-Jan-14 3:07am
View
Hi,no solution yet.I need it to return to me the url without the whole string so as i can include the activation account page link
Member 10398773
15-Jan-14 8:57am
View
Hi,after using the Request.Url.AbsoluteUri method,it adds the url of current page for registration ,how can i b able to script the url to contain the link for completeRegistration only ,This is a sample link send to email below
http://localhost:89192/Staff/Register.aspx?rwndrnd=0.6363636646446373333CompleteRegistration.aspx?id=8901b88k1-81fa-8u10-m96e-892f6aea6710
Member 10398773
15-Jan-14 5:35am
View
Okey lemme try that i will give you results
Member 10398773
15-Jan-14 5:14am
View
What if i run it locally in my machine,will it need to be changed too please?
Member 10398773
15-Jan-14 5:11am
View
Hi Gopi,the server name will be my url ?i hope that is what i need you to help me understand please.
Member 10398773
14-Jan-14 7:17am
View
MembershipCreateStatus status;
MembershipUser Student = Membership.CreateUser(username, password,emailAdressRadtextbox.Text);
switch (status)
{
case MembershipCreateStatus.Success:
{
(here have got the code to insert all the other details)
Labeluser.text="Registered successfully";
}
case MembershipCreateStatus.DuplicateEmail:
{
labeluser.text="Email Exists,use new email";
break;
}
}
Member 10398773
20-Dec-13 7:07am
View
The session Id is the StudentId but everytime its giving me null results
Member 10398773
7-Dec-13 3:39am
View
its job_masai@yahoo.com...
Member 10398773
7-Dec-13 3:38am
View
not a problem of telerik ,,,,
Show More