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
# Login | |
Login-AzureRmAccount | |
# Set subscription to create resources in | |
Set-AzureRmContext -SubscriptionId "xxxxxxxxx" | |
# Variables for common values | |
$location = "westeurope" | |
$resourceGroup = "demo-resgroup-0" | |
$vmName = "demovm-0" |
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.Text; | |
using System.Net.Http; | |
using Newtonsoft.Json; | |
using System.Collections.Generic; | |
using System.Web.Script.Serialization; | |
namespace ConsoleApp14 | |
{ | |
class Program |
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
# ------------------------------------------------------------------------------ | |
# 1. To build all .net core projects in a solution use below pipeline code | |
# ------------------------------------------------------------------------------ | |
trigger: | |
- master | |
pool: | |
vmImage: 'ubuntu-latest' |
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
# Login | |
Login-AzureRmAccount | |
# Variables for common values | |
$location = "westeurope" | |
$resourceGroup = "demo-resgroup-0" | |
$vmName = "demovm-0" | |
$publicIP = "spublicip-1" | |
$subnet = "subnet-1" | |
$vnet = "vnet-1" |
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
-- STEP 1 : Change name of existing tables | |
EXEC sp_rename 'AspNetRoles', 'AspNetRoles_old'; | |
EXEC sp_rename 'AspNetUserClaims', 'AspNetUserClaims_old'; | |
EXEC sp_rename 'AspNetUserLogins', 'AspNetUserLogins_old'; | |
EXEC sp_rename 'AspNetUserRoles', 'AspNetUserRoles_old'; | |
EXEC sp_rename 'AspNetUsers', 'AspNetUsers_old'; | |
OlderNewer