Skip to content

Instantly share code, notes, and snippets.

View mnakka9's full-sized avatar
๐Ÿ˜
Learning is a continuous process!

Mahesh Nakka mnakka9

๐Ÿ˜
Learning is a continuous process!
View GitHub Profile
@mnakka9
mnakka9 / nguniversal.yml
Created October 5, 2022 15:14
Pipeline for Ng Universal in IIS
trigger:
- main
pool:
vmImage: ubuntu-latest
steps:
- task: NodeTool@0
inputs:
versionSpec: '14.x'
@mnakka9
mnakka9 / iis.xml
Created October 5, 2022 15:11
Angular universal IIS Config
<xml version="1.0" encoding="utf-8">
<configuration>
<system.webServer>
<handlers>
<add name="iisnode" path="main.js" verb="*" modules="iisnode"/>
</handlers>
<rewrite>
<rules>
<rule name="DynamicContent">
#!/usr/bin/env pwsh
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
# TODO(everyone): Keep this script simple and easily auditable.
$ErrorActionPreference = 'Stop'
if ($v) {
$Version = "v${v}"
}
if ($args.Length -eq 1) {