Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Member Avatar for noobprogrammerr

Hi, does anyone knows how to read wcf file using xdocument or xelement ? I would like to retrieve out the data from my database using web client instead service reference method. Does anyone have articles on that or the codings ?

Member Avatar for thines01
0
206
Member Avatar for noobprogrammerr

Hi, may i know how to write the method in web service if i want to get a description from a particular id ? [CODE] public List<EventEntity> GetDetails(string uid) { EventDBModelDataContext ct = new EventDBModelDataContext(); var detail = ct.EventEntities.Where(d => d.eventID==uid).Select(d => new { d.eventID, d.eventDesc }); return detail.ToList(); }[/CODE] …

Member Avatar for thines01
0
103
Member Avatar for noobprogrammerr

[CODE]public List<EventEntity> GetCurrentUpComingEventsByEstate(string estName) { EventDBModelDataContext context = new EventDBModelDataContext(); var res = from e in context.EventEntities where e.estateName==estName && e.eventDate >= DateTime.Now select e; return res.ToList(); } [/CODE] [CODE] [OperationContract] [WebInvoke(Method = "GET", UriTemplate = "GetCurrentUpComingEventsByEstate?estateName={estName}", RequestFormat = WebMessageFormat.Xml, ResponseFormat = WebMessageFormat.Xml)] List<EventEntity> GetCurrentUpComingEventsByEstate(string estName); [/CODE] Hi guys, may …

Member Avatar for thines01
0
121
Member Avatar for noobprogrammerr

hello, may i know if it is possible to display a list of data from database, into the listpicker by consuming the web service? can you provide me the c sharp coding for displaying data in the listpicker if can work? :)

0
65
Member Avatar for noobprogrammerr

public List<EventEntity> GetCurrentUpComingEventsByEstate(string EstName) { EventDBModelDataContext context = new EventDBModelDataContext(); var res = from e in context.EventEntities where e.eventDate >= DateTime.Now _estatename(?) select e; return res.ToList(); } Hi experts, How do i declare the estatename part so that when i test the program in web browser, i will only get …

Member Avatar for thines01
0
94
Member Avatar for noobprogrammerr

Hi, Anyone know how to solve this error message " Metadata publishing for this service is currently disabled." What does it means ? How come my web service show's tt error after i expose it using the RESTful method?

Member Avatar for thines01
0
57
Member Avatar for noobprogrammerr

How to return a list using string array method ? For eg. i want to display a list of all the estates name using string array ?

Member Avatar for thines01
0
275
Member Avatar for noobprogrammerr

Hi, how do expose a web service and by using the ping method,how to test whether another computer can access to my web service ?

Member Avatar for thines01
0
47
Member Avatar for noobprogrammerr

Hi, does anyone knows why after exposing my web service and it works(displaying all my data), why another pc can't seem to get access to my data after keying in my port no of my service? Must i type anything in the web.config or ?

Member Avatar for thines01
0
126
Member Avatar for noobprogrammerr

Hi everybody, may i know how do i expose the web service in order for my friend to excess my data in my service ? What do i have to type in the web.config file and is there any other things i should add or do ? Thanks. (:

Member Avatar for thines01
0
330
Member Avatar for noobprogrammerr

[CODE][OperationContract] [WebInvoke(UriTemplate = "GetCurrentUpComingEventsByEstate?estateName=EstName", RequestFormat = WebMessageFormat.Xml, ResponseFormat = WebMessageFormat.Xml)] List<EventEntity> GetCurrentUpComingEventsByEstate(string EstName); public List<EventEntity> GetCurrentUpComingEventsByEstate(string EstName) { EventDBModelDataContext context = new EventDBModelDataContext(); var res = from e in context.EventEntities where e.eventDate >= DateTime.Now && e.estateName.Equals(EstName) select e; return res.ToList(); }[/CODE] This is my codes. But the endpoint is not …

0
54
Member Avatar for noobprogrammerr
0
57
Member Avatar for noobprogrammerr

Hi, i would like to know to retrieve out the date and time from my database to show on the wcf test client and for eg, after choosing a certain date, how to do the coding in order for the events to show that's happening on the date i choose …

Member Avatar for noobprogrammerr
0
168