Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

F# Odata service type provider through http proxy

I want to use odata type provider but it causes next error while compiling: (407) proxy authentication required. There are no errors at design time. Does anybody know how to set the proxy in type provider? Sample code:

open Microsoft.FSharp.Data.TypeProviders
type db = ODataService<"http://ebayodata.cloudapp.net/">
[<EntryPoint>]
     let main argv=
           let eBay = db.GetDataContext()
           0
like image 550
msmaximuss Avatar asked Dec 13 '12 13:12

msmaximuss


1 Answers

This blog posting mentions some sample code which may cover proxies.

The Freebase type provider can be used with .NET 3.5, .NET 4.0, .NET 4.5, Silverlight and Portable programming. A proxy may be needed in some cases. The projects in Tests\ProjectsUsingTypeProvider.sln show some sample libraries for these different cases.

You might wish to look at this file specifically as well.

like image 128
Onorio Catenacci Avatar answered Oct 15 '22 19:10

Onorio Catenacci