This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<configSections> | |
<section name="paypal" type="PayPal.Manager.SDKConfigHandler, PayPalCoreSDK" /> | |
</configSections> | |
<paypal> | |
<accounts> | |
<account apiUsername="" apiPassword="" applicationId="" apiSignature="" /> | |
</accounts> | |
<settings> | |
<add name="mode" value="sandbox" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Application.Services | |
{ | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Globalization; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using global::PayPal; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace TheBush.Controllers | |
{ | |
using System.Globalization; | |
using System.IO; | |
using System.Web.Mvc; | |
using PayPal.Exception; | |
using Application.Services; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<system.webServer> | |
<handlers> | |
<add name="MetaWebLogHandler" verb="POST,GET" type="MetaWeblogService" path="/metaweblog" /> | |
</handlers> | |
</system.webServer> | |
</configuration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void RegisterRoutes(RouteCollection routes) | |
{ | |
routes.Add(new Route("metaweblog", new MetaWeblogHandler())); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Personal.Website.Handlers | |
{ | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Routing; | |
using Personal.ServiceLayer; | |
public class MetaWeblogHandler : IRouteHandler | |
{ | |
public IHttpHandler GetHttpHandler(RequestContext requestContext) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace OAuthDemo.App_Start | |
{ | |
using System.Configuration; | |
using Microsoft.Web.WebPages.OAuth; | |
using WebMatrix.WebData; | |
public static class SecurityConfig | |
{ | |
public static void Setup() | |
{ |
OlderNewer