Some static classes for ASP.NET MVC for some common operations.
Code comments are obvious enough to understand what the methods do,
so please check your intellisense popup to get a brief understanding
of the methods once.
Also available on NuGet
PM> Install-Package MvcUtilities
* CookieTools.DeleteCookie()
* DateTools.EpochTimeNow()
* DateTools.FromUnixTime()
* DateTools.ToUnixTime()
* DateTools.PassedTime()
* EncryptionTools.Encrypt()
* EncryptionTools.Decrypt()
* ExceptionTools.ThrowIfNull()
* MvcHelpers.SelectList()
* MvcHelpers.Button()
* MvcHelpers.ViewModeFor()
* OperationTools.Each()
* PageTools.RenderViewToString()
* RequestTools.GetBrowserCultureInfo()
* StringTools.Sha1Hash()
* StringTools.Split()
* StringTools.BeautifyNumber()
* StringTools.StripTags()
* StringTools.Between()
* StringTools.RemoveBetween()
* StringTools.FormatWith()
* StringTools.LimitLength()
* StringTools.ToInt()
* StringTools.ToUpperFirst()
* StringTools.StringFormat()
* StringTools.Nl2br()
* StringTools.NullOrEmpty()
* StringTools.HtmlAttributeEncode()
* StringTools.RandomString()
* StringTools.UrlEncode()
* StringTools.UrlDecode()
* StringTools.UpdateIf()
Developer:
Ata Sasmaz