C # Open a webpage in default browser with data to publish

I am sure that this must have already been answered, but I can’t find a solution, so I think that I probably misunderstand the decisions of other people or try to do something stupid, but here we go.

I am writing an add-in for Outlook 2010 in C # where a user can click a button on the ribbon and send the contents of the email to the website. When they click the button, the website should open in the default browser, which allows them to view what has just been sent and interact with it on the website. I can do this using querystrings in the URL using:

System.Diagnostics.Process.Start("http://www.test.com?something=value");

but the limit of the amount of data that can be submitted and the dirty URLs prevent me from following this approach. I would like to use an http message for this, as it is obviously more suitable. However, the methods I found for this do not seem to open the page in the browser after sending the message data:

http://msdn.microsoft.com/en-us/library/debx8sh9.aspx

summarizing; the user should be able to click the button in the outlook feed, open a web browser and display the contents of the email message that was sent through the message.

EDIT:

That's right, I found a way to do this, its pretty elegant, but it works! Just create a temporary .html file (which is then run as described above) containing a form with hidden fields for all the data and submit it to the page to load using javascript.

, javascript ( , ) , , - - .

+5
2

, . - ( HttpWebRequest, @Loci, Visual Studio), (, ). ( Process.Start) , , , .

, , . , , , .

Edit:

A - ASMX . " ", - .

+2

Dropbox , EDIT. , XOR , URL.

, Dropbox:

  • in-app: , dropbox.com.
  • in-app: (A).
  • in-app: (B) .
  • in-app: C = A XOr B.
  • in-app: HTML :
    • , B.
    • , Dropbox.com.
    • JS, URI, B .
    • URI.
    • .
  • in-app: HTML C URI.

, HTML , URI dropbox.com. - 5.4. "" , , .

+2

All Articles