Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 364895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:28:57+00:00 2026-05-12T13:28:57+00:00

Is someone able to assist in helping understand how to get this C# example

  • 0

Is someone able to assist in helping understand how to get this C# example working through my proxy server. I note there is a code sample at http://code.google.com/apis/gdata/articles/proxy_setup.html#dotnet, that provides some direction, however I’m having trouble regarding how to apply this to the DocListExporter example. In other words:

How do I apply the code concept here (with proxy):

  CalendarService service = new CalendarService("CalendarSampleApp");
  GDataRequestFactory requestFactory = (GDataRequestFactory)
  service.RequestFactory;
  WebProxy myProxy = new WebProxy("http://my.proxy.example.com:3128/",true);
  // potentially, setup credentials on the proxy here
  myProxy.Credentials = CredentialCache.DefaultCredentials;
  myProxy.UseDefaultCredentials = true;
  requestFactory.Proxy = myProxy;

To the following code from the example:

           GoogleClientLogin loginDialog = new GoogleClientLogin(new DocumentsService("GoogleDocumentsSample"), "youremailh...@gmail.com");
            if (loginDialog.ShowDialog() == DialogResult.OK)
            {
                RequestSettings settings = new RequestSettings("GoogleDocumentsSample", loginDialog.Credentials);
                settings.AutoPaging = true;
                settings.PageSize = 100;
                if (settings != null)
                {
                    this.request = new DocumentsRequest(settings);
                    this.Text = "Successfully logged in";

                    Feed<Document> feed = this.request.GetEverything();
                    // this takes care of paging the results in
                    foreach (Document entry in feed.Entries)
                    {
                        all.Add(entry);
                    }

Also if you know the syntax for how to include the actual proxy username/password that would be cool too.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:28:57+00:00Added an answer on May 12, 2026 at 1:28 pm

    Have tried setting up the proxy in your app.config file ?

    something like this –

    <system.net>
      <defaultProxy enabled="true" useDefaultCredentials="true">
        <proxy/>
        <bypasslist/>
        <module/>
      </defaultProxy>
    </system.net>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 238k
  • Answers 238k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You could manually bind the GridView and that would allow… May 13, 2026 at 6:44 am
  • Editorial Team
    Editorial Team added an answer Here is a summary of how to build a 2d… May 13, 2026 at 6:44 am
  • Editorial Team
    Editorial Team added an answer You'll need to set the DisplayMemberPath on your ComboBox to… May 13, 2026 at 6:44 am

Related Questions

I have followed the blog post written by Steve Sanderson at blog.codeville.net/2008/10/14/partial-requests-in-aspnet-mvc . It
I have an ASP.NET MVC application where I need to allow to customers configure
Firstly I know coordinates is probably the wrong terminology? I'd assume i'd simply be
In the following Python code, I get an UnboundLocalError . As I understand it,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.