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
// This file is based on the code from the ASP.NET Core repository | |
// https://github.com/aspnet/AspNetCore/tree/master/src/Middleware/SpaServices.Extensions/src | |
// Copyright (c) .NET Foundation. All rights reserved. | |
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Net; |
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
variables: | |
KUBERNETES_VERSION: 1.18.4 | |
HELM_VERSION: 2.16.9 | |
ROLLOUT_RESOURCE_TYPE: deployment | |
DOTNET_SDK_VERSION: 3.1.301-alpine3.12 | |
DOTNET_RUNTIME_VERSION: 3.1.5-alpine3.12 | |
.deployment: | |
image: registry.ubiquitous.no/gitlab/auto-deploy-image:latest | |
allow_failure: false |
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 Newtonsoft.Json; | |
using RestSharp; | |
using RestSharp.Serialization; | |
namespace JsonNetRestSharp | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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.IO; | |
using System.Runtime.Loader; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using GreenPipes; | |
using MassTransit; | |
using Microsoft.Extensions.Configuration; | |
using Serilog; |
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.Collections.Generic; | |
using System.Text.RegularExpressions; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.SpaServices; | |
using Microsoft.AspNetCore.SpaServices.Npm; | |
namespace ASP.NETCoreWebApplication | |
{ | |
/// <summary> |
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"?> | |
<doc> | |
<assembly> | |
<name>Marketplace</name> | |
</assembly> | |
<members> | |
<member name="M:Marketplace.Api.ClassifiedAdsCommandsApi.Post(Marketplace.Contracts.ClassifiedAds.V1.Create)"> | |
<summary> | |
Create a new classified ad | |
</summary> |
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
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "v1", | |
"title": "ClassifiedAds" | |
}, | |
"paths": { | |
"/ad": { | |
"post": { | |
"tags": [ |
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
<!DOCTYPE html> | |
<head> | |
<title>HTML5 Camera Fun</title> | |
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
<script src="http://www.nihilogic.dk/labs/exif/exif.js" type="text/javascript"></script> | |
<script src="http://www.nihilogic.dk/labs/binaryajax/binaryajax.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
// Wrapper around MPL-licensed http://www.nihilogic.dk/labs/binaryajax/binaryajax.js | |
// to support JavaScript typed arrays since binary strings are not supported in IE 10 | |
var createBinaryFile = function(uintArray) { |
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.Collections.Generic; | |
using System.Data; | |
using System.Data.SqlClient; | |
using NHibernate; | |
namespace NHibernate.Helpers | |
{ | |
public static class SqlProcedureHelper | |
{ |
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.Threading.Tasks; | |
using MassTransit; | |
namespace Demo.MassTransit | |
{ | |
public abstract class BaseHandler<T> : IConsumer<T> where T : class | |
{ | |
protected ConsumeContext<T> Context { get; private set; } | |
public abstract Task Handle(T message); |
NewerOlder