In this article, I will show to how to return a string result using ActionResult in mvc 4. You can achieve this by ContentResult to return a string. It will create content result object by using a string.
In this article, I will show you textarea value character count in jQuery. When user type characters in textarea it will indicate the character limit below that using the jQuery keyup event.
In this article, I will show you how to check if a record exists before insert in to the database using entity framework in c#. You can use Any() because it will check soon as matches in records.
In this example, I will show you to apply maxLength attribute to a string property in a class. You can set the maximum value for the property using data annotation validation property maxLength attribute.
In this article, I will show you how to create password encryption and decryption in c# asp.net. I am going to encrypt password before saving using the entity framework sql server.
In this example, I will show you how to implement timeago jQuery plugin in a asp.net MVC project. It makes easy automatically updating datetime like 5 minutes or 15 hours ago or 1 day ago etc…
I got the following error while running the application, later I found a solution for that. This is due the partial class properties are not found in the main class.
I removed the column field’s likesCount and OutputHtml from the table and updating the model using entity framework. But I haven’t removed the properties from the partial class.