ASP.NET Failed deploying project on server

If you have error with deploying project on server you might have problem with privileges of exporting files. Add to project_name.csproj file in section PropertyGroup line like bellow: <PropertyGroup> <IncludeSetAclProviderOnDestination>False</IncludeSetAclProviderOnDestination> </PropertyGroup> Tip: If you not see *.csproj in your Solution Explorer just right click on project name and pick Unload Project then another right click […]

Bug dd.MM.yyyy format

For right validation of format date like: dd.MM.yyyy in MVC5 you need to do cuple of things. 1. In NuGet Menager Console install: Install-Package Moment.js 2. In _Layout.cshtml add: //At HEAD part add: @Scripts.Render(“~/Scripts/jquery.validate.min.js”) @Scripts.Render(“~/Scripts/jquery.validate.unobtrusive.min.js”) @Scripts.Render(“~/Scripts/moment.js”) 3. In menu Tools / Extensions and Updates install From jQuery-ui, add link to jquery-ui and script datepicker with […]