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
| using System; | |
| using System.Collections.Generic; | |
| using System.Data.SqlClient; | |
| using System.Globalization; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace ConsoleApp9 | |
| { | |
| class Program |
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
| title: ServiceControl Capacity Planning | |
| pipelines: | |
| default: | |
| - step: | |
| name: Deploy to Octopus | |
| image: "octopusdeploy/octo:4.37.0-alpine" | |
| script: | |
| - "export VERSION=1.0.$BITBUCKET_BUILD_NUMBER" | |
| - "octo create-release --project \"Project With Spaces\" --version $VERSION --server $OCTOPUS_SERVER --apiKey $OCTOPUS_APIKEY" | |
| - "octo deploy-release --project \"Project With Spaces\" --version $VERSION --server $OCTOPUS_SERVER --apiKey $OCTOPUS_APIKEY" |
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
| using System; | |
| using System.Linq; | |
| using NUnit.Framework; | |
| using Raven.Client; | |
| using Raven.Client.Indexes; | |
| using Raven.Tests.Helpers; | |
| namespace Testing | |
| { | |
| [TestFixture] |
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
| var repo = PackageRepositoryFactory.Default.CreateRepository("https://www.nuget.org/api/v2/"); | |
| var pkg = repo.FindPackage(packageID, | |
| new VersionSpec | |
| { | |
| MaxVersion = new SemanticVersion(4, 0, 0, 0), | |
| IsMaxInclusive = false, | |
| MinVersion = new SemanticVersion(3, 0, 0, 0), | |
| IsMinInclusive = true | |
| }, false, false); |
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 NServiceBus.AcceptanceTests.Sagas | |
| { | |
| using System; | |
| using NServiceBus.AcceptanceTesting; | |
| using NServiceBus.AcceptanceTests.EndpointTemplates; | |
| using NServiceBus.Saga; | |
| using NUnit.Framework; | |
| public class When_reply_to_a_saga : NServiceBusAcceptanceTest | |
| { |
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 class MultiDeserializer : IBehavior<IncomingContext> | |
| { | |
| private readonly IMessageSerializer _defaultSerializer; | |
| private readonly LogicalMessageFactory _logicalMessageFactory; | |
| private readonly MessageMetadataRegistry _metadataRegistry; | |
| Dictionary<string, IMessageSerializer> serializers = new Dictionary<string, IMessageSerializer>(); | |
| public MultiDeserializer(Conventions conventions, IMessageSerializer defaultSerializer, IMessageMapper mapper, | |
| LogicalMessageFactory logicalMessageFactory, MessageMetadataRegistry metadataRegistry) |
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
| <appSettings> | |
| <!-- dialect is defaulted to MsSql2008Dialect, if needed change accordingly --> | |
| <add key="NServiceBus/Persistence/NHibernate/dialect" value="NHibernate.Dialect.{your dialect}"/> | |
| <!-- other optional settings examples --> | |
| <add key="NServiceBus/Persistence/NHibernate/connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/> | |
| <add key="NServiceBus/Persistence/NHibernate/connection.driver_class" value="NHibernate.Driver.Sql2008ClientDriver"/> | |
| <!-- For more setting see http://www.nhforge.org/doc/nh/en/#configuration-hibernatejdbc and http://www.nhforge.org/doc/nh/en/#configuration-optional --> | |
| </appSettings> | |
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
| <?xml version="1.0" encoding="utf-8" ?> | |
| <configuration> | |
| <configSections> | |
| <!-- Other sections go here --> | |
| <section name="MasterNodeConfig" type="NServiceBus.Config.MasterNodeConfig, NServiceBus.Core" /> | |
| </configSections> | |
| <!-- Other config options go here --> | |
| <MasterNodeConfig Node="MachineWhereDistributorRuns"/> | |
| </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
| using System.Linq; | |
| using System; | |
| using System.Diagnostics; | |
| using Microsoft.WindowsAzure; | |
| using Microsoft.WindowsAzure.Diagnostics; | |
| using Microsoft.WindowsAzure.Diagnostics.Management; | |
| using Microsoft.WindowsAzure.ServiceRuntime; | |
| using log4net.Appender; | |
| using log4net.Core; | |
| using log4net.Repository.Hierarchy; |
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 class IssueTest : RavenTestBase | |
| { | |
| public class SagaUniqueIdentity | |
| { | |
| public string Id { get; set; } | |
| public string SagaDocId { get; set; } | |
| } | |
| public class Saga | |
| { |
NewerOlder