Resource Responses

Search Guest Response by Email:
Total 3 responses found.
Linq Getting distinct values from a custom list
Using Lamda Expression we can achieve the same result.



var query = lstEmployee.Select(x => x.EmpName).Distinct().ToList();


Author: Sumit Pyne      Posted Date: 14 Dec 2012
Implementing Session in WebService
Thanks for sharing very informative article.
But One doubt, I have provided the following code in an asmx file.



[WebMethod(EnableSession = true)]
public void setData(string mode)
{
ABC obj;
obj = (ABC)System.Web.HttpContext.Current.Session
["MODE"];
obj.Type = mode;
}



I called this service from Javascript which in turns call the webmethod of this asmx service and set the session object with the value provided as input. We found the session object("MODE") with updated vale, is available in the web server.

But I don't need any System.Net.CookieContainer object, please provide me some thoughts.

Thanks.
Author: Sumit Pyne      Posted Date: 28 Aug 2012
Web Services in BEA Web Logic and Microsoft.NET
Hi,

It will be very helpful if you provide a solution, if my client is not .Net application, may be it is a HTML page,then how could I consume this java web service?
Author: Sumit Pyne      Posted Date: 28 Aug 2012



Top Contributors
Today
    Last 7 Daysmore...

    Awards & Gifts

    Online Members

    Sazumanleard
    More...
     
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India