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.Web; | |
// add strings here to check if they are URL encoded | |
var incomingStrings = new[] { | |
"not encoded", | |
"encodéd", | |
"dslkfjqmsdlkfjsdmfl", | |
"AbIfZVn4y514sJbt%2BCCMJy6lsmsMi6uOWyhUhynDSf1MEqZ%2FWJnwUuCFO8zMFa4jCRWQrXHKdBaHd9CCdDNfoKDnPg1W9No16JQbL2DBEGg%3D" | |
}; |
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
public abstract class AppServiceBase : ServiceStack.Service | |
{ | |
private ISupplierService _supplierService; | |
internal ISupplierService SupplierService | |
{ | |
get { return _supplierService ?? (_supplierService = TryResolve<ISupplierService>()); } | |
set { _supplierService = value; } | |
} | |