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
amrish kumar
NA
96
4k
Wcf restful Service .and when consume it on aspx page
Jul 22 2015 7:13 AM
I write wcf restful service .
and i cosume that service in my aspx page but when i clicked on submit button i got this.
What is fiddler Echo service .and why it come on my aspx page
...mycode.. on cs page. on btn click.
WebForm1 webf=new WebForm1();
string uName = TextBox1.Text;
string password = TextBox2.Text;
WebClient proxy = new WebClient();
byte[] abc = proxy.DownloadData((new Uri("http://localhost:8080/ServiceName/Service1.svc/UserLogin/" + uname + "/" + password)));
MemoryStream strm = new MemoryStream(abc);
DataContractSerializer obj = new DataContractSerializer(typeof(WebForm1));
//obj.WriteObject(strm,webf);
// strm.Flush();
// strm.Position = 0;
StreamReader sr = new StreamReader(strm);
string s = sr.ReadToEnd();
Response.Write(s);
after running aspx application i got this
Fiddler Echo Service
GET /ServiceName/Service1.svc/UserLogin/value1/value2 HTTP/1.1
Host: localhost:8080
Connection: Keep-Alive
To configure Fiddler as a reverse proxy instead of seeing this page, see Reverse Proxy Setup
You can download the FiddlerRoot certificate
Reply
Answers (
1
)
how to upload Image from phonegap to Wcf Service
Problems in cosuming wcf Restful Service