View gist-example.cs
public static class GistExample
{
public static string Lorem => "Ipsum";
}
View WcfCallingHttpTrigger.cs
public static class WcfCallingHttpTrigger
{
[FunctionName("WcfCallingHttpTrigger")]
public static async Task<HttpResponseMessage> Run(
[HttpTrigger(AuthorizationLevel.Function, "get", Route = "data/{value}")] HttpRequestMessage req,
int value,
TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
View ServiceClient.cs
public partial class Service1Client : ClientBase<IService1>, IService1
{
public Service1Client()
{
}
// This constructor is of no use for Azure Functions
// because it doesn't use Web.config or App.config
public Service1Client(string endpointConfigurationName)
: base(endpointConfigurationName)
View App.config
<configuration>
...
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IService1"/>
</basicHttpBinding>
</bindings>
<client>
<endpoint name="BasicHttpBinding_IService1"
View logic-app-endpoint.txt
https://prod-23.centralus.logic.azure.com:443/workflows/0c9def69700c4b2995e2e587123306f7/triggers/manual/paths/invoke?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=ORQeXlFZxBeF7xmF9pO73sgYl_-w0v6V9uugi8bhHeA
View _event-sourcing-cqrs-sample
This is a sample code for Event Sourcing and CQRS pattern.
* http://blog.aliencube.org/ko/2015/11/12/building-applications-on-cloud-with-event-sourcing-pattern-and-cqrs-pattern/
View _hal-swagger-sample.txt
This is a sample code for HAL and Swagger integration
* http://devkimchi.com/2041/creating-service-contract-with-autorest-swagger-and-hal
* http://blog.kloud.com.au/2015/10/26/creating-service-contract-with-autorest-swagger-and-hal