Skip to content

Instantly share code, notes, and snippets.

View MongkonEiadon's full-sized avatar
🏠
Working from home

Mongkon Eiadon MongkonEiadon

🏠
Working from home
  • Tech Lead @Ascend Commerce,
  • Thailand
View GitHub Profile
@MongkonEiadon
MongkonEiadon / ConfigHelper.cs
Last active April 4, 2017 06:59
Legacy Configuration Helper class
using System;
using System.Configuration;
public class ConfigHelper
{
public static string GetAppSetting(string key, string defaultValue = null)
{
var result = defaultValue;
var val = ConfigurationManager.AppSettings[key]);
@MongkonEiadon
MongkonEiadon / web.config
Created March 3, 2017 06:40
SQLPad for IIS webconfig
<configuration>
<system.webServer>
<handlers>
<add name="iisnode" path="server.js" verb="*" modules="iisnode" />
</handlers>
<rewrite>
<rules>
<rule name="cdw">
<match url="/*" />