- You are using GitFlow
- You want to deploy a new version of your software every time a commit is made to the develop branch
- You are using Octopack to package your application for deployment
Instructions
Instructions
Once upon a timeβ¦
I once took notes (almost sentence by sentence with not much editing) about the architectural design concepts - Command and Query Responsibility Segregation (CQRS) and Event Sourcing (ES) - from a presentation of Greg Young and published it as a gist (with the times when a given sentence was heard).
I then found other summaries of the talk and the gist has since been growing up. See the revisions to know the changes and where they came from (aka the sources).
It seems inevitable to throw Domain Driven Design (DDD) in to the mix.
| public class SqlClientSqlCommandSet : IDisposable | |
| { | |
| private static readonly Type SqlCmdSetType; | |
| private readonly object _instance; | |
| private int _countOfCommands; | |
| private readonly static Action<object, SqlConnection> SetConnection; | |
| private readonly static Func<object, SqlConnection> GetConnection; | |
| private readonly static Action<object, SqlTransaction> SetTransaction; | |
| private readonly static Func<object, SqlCommand> GetCommand; |
| var url = "http://localhost:8082/consumers/my_binary_consumer/instances/my_instance/topics/test"; | |
| using (var client = new HttpClient()) | |
| { | |
| client.Timeout = TimeSpan.FromMilliseconds(Timeout.Infinite); | |
| var request = new HttpRequestMessage(HttpMethod.Get, url); | |
| using (var response = await client.SendAsync( | |
| request, | |
| HttpCompletionOption.ResponseHeadersRead)) |
In order to access a server hosted within a vm (guest), for development purposes from the host OS, which is restricted to same origin / localhost only requests, I set up a siple nginx reverse proxy to forward my requests.
| var client = new OctopusClient(new OctopusServerEndpoint(octoUrl, apiKey)); | |
| var repo = new OctopusRepository(client); | |
| var project = repo.Projects.FindByName("MyOriginalProject"); | |
| var newProject = new ProjectResource | |
| { | |
| Name = "MyClonedProject", | |
| Description = "Cloned copy", | |
| ProjectGroupId = project.ProjectGroupId, |
| CREATE TABLE [dbo].[AspNetUsers]( | |
| [Id] [nvarchar](128) NOT NULL, | |
| [Email] [nvarchar](256) NULL, | |
| [EmailConfirmed] [bit] NOT NULL, | |
| [PasswordHash] [nvarchar](max) NULL, | |
| [SecurityStamp] [nvarchar](max) NULL, | |
| [PhoneNumber] [nvarchar](max) NULL, | |
| [PhoneNumberConfirmed] [bit] NOT NULL, | |
| [TwoFactorEnabled] [bit] NOT NULL, | |
| [LockoutEndDateUtc] [datetime] NULL, |
| /* | |
| * Example code for my blog post on function shims for NancyFx request handlers | |
| * Blog post is here: http://anthonysteele.co.uk/more-patterns-for-web-services-in-nancyfx | |
| */ | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Threading.Tasks; | |
| using Nancy; |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |