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.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.Win32; | |
using Raven.Tests.Helpers; | |
using Xunit; | |
namespace ClassLibrary1 |
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 FakeModel | |
{ | |
public string Id { get; set; } | |
public int Age { get; set; } | |
public string Name { get; set; } | |
public DateTime CreatedOn { get; set; } | |
} | |
---- |
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
############################################################################ | |
### ### | |
### NUGET PACKAGE and PUBLISH ### | |
### ### | |
############################################################################ | |
param ( |
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
[Fact] | |
public void GivenAnAuthenticatedClientAndNoReturnUrl_Process_ReturnsAView() | |
{ | |
// Arrange. | |
var nancyModule = A.Fake<INancyModule>(); | |
var view = new ViewRenderer(nancyModule); | |
var negotiator = new Negotiator(nancyModule.Context); | |
A.CallTo(() => nancyModule.View[A<object>._]).Returns(negotiator); | |
var accessToken = new AccessToken | |
{ |
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; | |
namespace EscapeDataStringTest | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
const string data = "abcde *.(.)."; |
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.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Raven.Abstractions.Indexing; | |
using Raven.Client; | |
using Raven.Client.Indexes; | |
using Raven.Tests.Helpers; | |
using Xunit; |
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.Net.Http; | |
using System.Threading.Tasks; | |
using WorldDomination.Net.Http; | |
namespace HttpClient.Helpers.SampleConsoleApplication | |
{ | |
public 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
Preceived Problem | |
^^^^^^^^^^^^^^^^^ | |
Currently, when we try to deploy an ASP.NET website to a Host Server, it's a tricky and complex set of tasks. It's even more frustrating when this is handled by a Continuous Integration service. | |
It feels like the full build / package / deploy *lifecycle* is currently a hap-hazard mix of band-aid solutions to try and solve this mission critical problem. | |
Quote @FrankR: | |
"Its the whole process of looking at code in your IDE, to compiling, composing components, ILMerge, minification, CSS parsing, Installshielding, web deployment packaging, password/security bundling, test running, switching prod server offline, clearing logged in accounts, copying files, turning server back on, logging. Phew." |
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 FluentValidation; | |
using FluentValidation.TestHelper; | |
using Xunit; | |
namespace FVSetValidatorTest | |
{ | |
#region Models | |
public class UnitOfMeasure | |
{ |