How to create Unorderlist using HTML Helpers with custom Attribute
Creating Unorderlist using HTML Helpers with custom Attribute Please refer to know how to use Extend HTML Helpersย ย here .CS File namespace CustomeHelpers { public static class CreatingUnorderedList { public static MvcHtmlString CreatingUnorderedListUsingAttribute(this HtmlHelper htmlHelper,
Server Side Model Validation in MVC 4 Razor
This article explains the ASP.NET MVC server-side validation using the Data Annotation classes.ย ASP.NET MVC Framework validates the data passed to the controller action and it populate ModelState with validation state based on the success/failure. Then
Caching in MVC
Different types of Caching Part 1 Why caching needed? If many user are trying to accessing the site, it means your server has so many requests by the user, If every request hit the server
NonActionAttribute Class in MVC
What is NonAction Attribute ? In ASP.NET MVC, every public method of controller is accessible through the url regardless of return type.ย If we create any public method in the controller which is not intend to
Child Action Attribute in ASP.NET MVC 4
What is ChildActionOnly? The ChildActionOnly attribute ensures that an action method can be called only as a child method from within a view. In simple, ChildActionOnly attribute make controller action method to consider as non-action
Using an Asynchronous Controller in ASP.NET MVC 4
Asynchronous controller enables us to create asynchronous action methods in our application.ย This allows us to perform long running operation without making the running thread idle.ย Asynchronous action methods are useful when an action must perform several
Creating Scaffolding template for Cutom Model
Creating Custom Scaffolding What is Scaffolding in MVC Scaffolding is a Templates for Create, Delete, Edit ,Details. It will reduce the time for developer for creating controller,view for the specific model This is a Scaffolding
Difference between POCO and DTO model
Really, I spend more time to understand Poco and DTO with a lot of confusion and questions. After understanding I decide to post immediately to my blog. What is POCO? POCO stands for Plain Old