locked
Web service proxy gen for Windows Store Applications RRS feed

  • Question

  • Hi,

    I am generating the C# web service proxies from a WSDL using the service reference in Visual Studio Premium 2013. This is for a Windows Store application. The services get generated fine and I set the cookie(per snippet below). The issue is that the request doesnt seeem to be able to pick up the cookie(but the payload goes through). Are the proxies being generated using .NET instead of WinRT libraries ? 

    Windows.Web.Http.Filters.HttpBaseProtocolFilter filter = new Windows.Web.Http.Filters.HttpBaseProtocolFilter();
                
                    filter.AllowAutoRedirect = false;
                    
                    filter.CookieManager.SetCookie(new Windows.Web.Http.HttpCookie("cookieName", "myDomain", "/")
                    {
                        HttpOnly = true,
                        Value = "xcookievalue"                
                    });

    • Moved by Caillen Tuesday, March 31, 2015 10:09 AM
    Monday, March 30, 2015 7:52 PM

Answers

  • Hi,

    WCF/Web Service forum or Windows Store App forum may be the right place for your question.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Dave PatrickMVP Wednesday, April 1, 2015 12:07 AM
    • Marked as answer by Just Karl Wednesday, April 8, 2015 5:54 PM
    Tuesday, March 31, 2015 10:09 AM