* PaypalApiController.cs: starting a paypal account access

* Catalog.xml: tests input with multiple values 

* FileSystemController.cs: Xml catalog path is now specified ala ~/

* WorkFlowController.cs: Gives the response a message

* SimpleFormatter.cs:
* FrontOfficeApiController.cs: document formatting

* Global.asax.cs: due to refactoring

* SimpleJsonPostMethod.cs: (code formatting)

* Web.config: due to refactoring

* Web.config: 
- document formatting
- PayPal configuration

* Web.csproj: references the PayPalCoreSdk.1.6.0

* packages.config: using the .Net 4.5.1 plateform
This commit is contained in:
Paul Schneider 2015-01-29 20:59:50 +01:00
commit da87d0ea97
12 changed files with 264 additions and 177 deletions

View file

@ -74,7 +74,8 @@ namespace Yavsc.Helpers
/// <param name="query">Query.</param>
public TAnswer Invoke(TQuery query)
{
Byte[] bytes = System.Text.Encoding.UTF8.GetBytes (JsonConvert.SerializeObject(query));
Byte[] bytes = System.Text.Encoding.UTF8.GetBytes (
JsonConvert.SerializeObject(query));
Request.ContentLength = bytes.Length;
using (Stream dataStream = Request.GetRequestStream ()) {