This file contains 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
using System.ServiceModel; | |
namespace SimpleWCFService | |
{ | |
[ServiceContract] | |
public interface IService1 | |
{ | |
[OperationContract] | |
bool SaveText(string content, string blobName, string containerName); |
This file contains 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
using System.IO; | |
using Microsoft.WindowsAzure; | |
using Microsoft.WindowsAzure.StorageClient; | |
namespace SimpleWCFService | |
{ | |
public class Service1 : IService1 | |
{ | |
string storageConnectionString = | |
"DefaultEndpointsProtocol=https;AccountName={Storage Account Name};" + |
This file contains 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
using TapanilaBlogWCF.ServiceReference1; | |
using Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; | |
using Windows.UI.Xaml.Navigation; | |
namespace TapanilaBlogWCF | |
{ | |
public sealed partial class MainPage : Page | |
{ | |
public MainPage() |
This file contains 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
using System; | |
using System.Windows; | |
using Microsoft.Phone.Controls; | |
using TapanilaBlogWP.ServiceReference1; | |
namespace TapanilaBlogWP | |
{ | |
public partial class MainPage : PhoneApplicationPage | |
{ | |
Service1Client client = new Service1Client(); |
This file contains 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
using System.ServiceModel; | |
namespace WcfServiceExample | |
{ | |
[ServiceContract] | |
public interface IService1 | |
{ | |
[OperationContract] | |
bool SavePicture(byte[] picture, string pictureName); |
This file contains 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
using System.IO; | |
using Microsoft.WindowsAzure; | |
using Microsoft.WindowsAzure.StorageClient; | |
namespace WcfServiceExample | |
{ | |
public class Service1 : IService1 | |
{ | |
string storageConnectionString = | |
"DefaultEndpointsProtocol=https;AccountName=accountName;" + |
This file contains 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
<?xml version="1.0"?> | |
<configuration> | |
<system.web> | |
<compilation debug="true" targetFramework="4.0" /> | |
<httpRuntime maxRequestLength="2097151000" executionTimeout="3600"/> | |
</system.web> | |
<system.serviceModel> | |
<bindings> | |
<basicHttpBinding> |
This file contains 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
using Twilio; | |
namespace WcfServiceExample | |
{ | |
public class Service1 : IService1 | |
{ | |
public bool SendTextMessage(string message) | |
{ | |
var accountSid = ""; | |
var authToken = ""; |
This file contains 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
using System.ServiceModel; | |
namespace WcfServiceExample | |
{ | |
[ServiceContract] | |
public interface IService1 | |
{ | |
[OperationContract] | |
bool SendTextMessage(string message); | |
} |
This file contains 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
using System.ServiceModel; | |
namespace WcfServiceExample | |
{ | |
[ServiceContract] | |
public interface IService1 | |
{ | |
[OperationContract] | |
public bool SendEmail(string topic, string content); | |
} |
OlderNewer