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
[2:54 PM] Poul Kjeldager Sørensen (Delegate) | |
CompilerServer: server failed - server rejected the request due to analyzer / generator issues 'analyzer assembly 'C:\Users\pks\.nuget\packages\dotnetdevops | |
.extensions.eavframework.sourcegenerator\1.0.155\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.dll' has MVID '9c2eb1fd-370b-4c31-a981-729c5e257f1b' but | |
loaded assembly 'Microsoft.CodeAnalysis.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has MVID 'f27d8e64-f3af-4d2a-9fe8-6f3b78e | |
56aa6', analyzer assembly 'C:\Users\pks\.nuget\packages\dotnetdevops.extensions.eavframework.sourcegenerator\1.0.155\analyzers\dotnet\cs\System.Reflection.E | |
mit.dll' has MVID '493164c0-d621-4ca2-aa8e-3557f64b4dd2' but loaded assembly 'System.Reflection.Emit, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5 | |
f7f11d50a3a' has MVID '783c8e8c-5a9e-49eb-b634-ed8502ccba9c'' - 5c665d42-3e69-4228-bff3-e884bf39bfae | |
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
#!/bin/bash | |
set -Eeuxo pipefail | |
prefix=$(echo "$prefix" | awk '{$1=$1};1') | |
#Set Prefixes used for resources | |
prefixShort=$(echo "$prefix" | cut -c -3) | |
kvprifix="KeyV" | |
sqlpoolprefix="sqlpool" | |
sqlprefix="sql" |
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
steps: | |
- task: DownloadPipelineArtifact@2 | |
- script: | | |
sudo apt-get update -y | |
sudo apt-get install -y dos2unix | |
dos2unix $(Pipeline.Workspace)/azure/*.sh | |
chmod +x $(Pipeline.Workspace)/azure/*.sh | |
displayName: 'Command Line Script' | |
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 DotNetDevOps.Extensions.AzureFunction; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.DurableTask; | |
using Microsoft.Azure.WebJobs.Hosting; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Options; | |
using System.Text; | |
[assembly: WebJobsStartup(typeof(Startup))] |
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 Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.Identity.Client; | |
using Microsoft.PowerPlatform.Cds.Client; | |
using Microsoft.PowerPlatform.Cds.Client.Utils; | |
using Microsoft.Xrm.Sdk; | |
using Microsoft.Xrm.Sdk.Messages; | |
using Microsoft.Xrm.Sdk.Query; | |
using Newtonsoft.Json.Linq; |
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 abstract class DurableStateMachineState<TStats> | |
where TStats : Enum | |
{ | |
public TStats OrchestratorState { get; set; } | |
public TimeSpan? DelayExecution { get; set; } | |
public DateTime StartTime { get; set; } | |
public int Depth { get; set; } = 0; | |
public string InstanceId { get; set; } | |
public Guid InvocationId { 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
using Microsoft.Azure.WebJobs.Description; | |
using Microsoft.Azure.WebJobs.Host.Bindings; | |
using Microsoft.Azure.WebJobs.Host.Config; | |
using Microsoft.Azure.WebJobs.Host.Protocols; | |
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
namespace DotNetDevOps.Extensions.AzureEventGrid.EventManagerApi.Authorization | |
{ |
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 clientParams = new WebDavClientParams | |
{ | |
BaseAddress = new Uri("https://xxxxx.agillic.eu/"), | |
Credentials = new NetworkCredential("", "") | |
}; | |
var _client = new WebDavClient(clientParams); | |
var result = await _client.Propfind("https://xxxx.agillic.eu/api/export/files/ActivitiesExport/"); | |
foreach(var f in result.Resources) | |
{ |
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
docker run -p 8081:8081 -e WEBSITE_SITE_NAME=localhost -e WEBSITE_AUTH_ENABLED=True -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=localhost -e WEBSITE_INSTANCE_ID=localhost -e HTTP_LOGGING_ENABLED=1 -e WEBSITE_AUTH_ALLOWED_AUDIENCES=http://localhost:8081/.auth/login/aad/callback -e WEBSITE_AUTH_AUTO_AAD=False -e WEBSITE_AUTH_CLIENT_ID=<DIN_CLIENT_ID> -e "WEBSITE_AUTH_CLIENT_SECRET=<DIN_CLIENT_SECRET>" -e WEBSITE_AUTH_DEFAULT_PROVIDER=AzureActiveDirectory -e WEBSITE_AUTH_ENABLED=True -e WEBSITE_AUTH_ENCRYPTION_KEY=ECC9D390636194F030ADE3E6C46DC7ED375070C6A5F1238393C51F3BF6502BC4 -e WEBSITE_AUTH_LOGOUT_PATH=/.auth/logout -e WEBSITE_AUTH_OPENID_ISSUER=https://sts.windows.net/<DIN_TENANTID>/ -e WEBSITE_AUTH_SIGNING_KEY=1368BF474BE23E06A30FF7BE7A7296A3060E18AA1309E091E1293962B58D2F2E -e WEBSITE_AUTH_TOKEN_STORE=True -e WEBSITE_AUTH_UNAUTHENTICATED_ACTION=AllowAnonymous -e WEBSITE_AUTH_PRESERVE_URL_FRAGMENT=true -e WEBSITE_CORS_SUPPORT_CREDENTIALS=true -e HOME=/home appsvc/middleware:1.3.2 /Host.ListenUrl=http:/ |
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 columnSet = ColumnSetBuilder.Generate<msnfp_Transaction>(x => x.msnfp_TransactionId, x=>x.msnfp_Amount); | |
var columnSet2 = ColumnSetBuilder.Generate<msnfp_Transaction>(x =>new { x.msnfp_TransactionId, x.msnfp_Amount }); | |
public static class ColumnSetBuilder | |
{ | |
public static ColumnSet Generate<T>(params Expression<Func<T,object>>[] expressions) | |
{ | |
return new ColumnSet(expressions.Select(k => ParseExpression(k)).ToArray()); |
NewerOlder