Posts

Showing posts from February, 2013

Output Caching in MVC

Image
In this article you will learn everything about ‘Output Caching in MVC’. I will take you by showing some real examples to make your view crystal clear.

Best way to prevent Cross Site Request Forgery Attacks in MVC 4

Image
In this article you will learn what CSRF is and best way to prevent such attacks. After a quick introduction about CSRF I will show you an example where attacker will change the profile information with one-click.

Avoiding Cross-Site Scripting (XSS) Attacks with AntiXSS in MVC 4

Image
In this article you will learn how to avoid XSS attacks in MVC Application with Microsoft’s AntiXSS library. I will show you a case where user will submit the malicious HTML markup with message and it will start displaying annoying alert. Then I will move on and show you how to prevent it with AntiXSS.

jQuery UI Autocomplete with JSON in MVC 4

Image
In the last post jQuery Ajax GET and POST calls to Controller's Method in MVC we saw an example on ‘GET call with parameter to Controller’s Method which will return JSON data’ (in case you missed, go and read that before continuing here), let me put the screenshot here.

jQuery Ajax GET and POST calls to Controller's Method in MVC

Image
In this blog post I am going to cover some really interesting stuff which is very useful today in web application developments. You will learn how to make jQuery Ajax GET and POST calls to controller methods.

Ajax.ActionLink and Html.ActionLink in MVC

Image
In this post you will learn use of Ajax.ActionLink helper and Html.ActionLink. I will compare both to show you how it is different. Okay, let’s begin with Html.ActionLink.

Quick Search, Replace and Navigate in Visual Studio IDE (A Must Read Post)

Image
I would call this post as Tips/Tricks post because this post contains information about Visual Studio IDE features. I can see large number of developers are not familiar with these features. So, I thought writing a blog post collecting searching, replacing and navigating tips which is vital to happy and productive.

Cascading DropDownList in ASP.NET MVC

Image
In this blog post you will learn how to create cascading DropDownList in ASP.NET MVC. I will take you through step by step approach so, let’s begin.

Custom Validation with IValidatableObject in MVC

Image
In this post you will learn how to create a self validatable object using IValidatableObject to validate data in MVC.

DropDownList Helper Data Binding in MVC

Image
In this post you will learn how to bind data to a DropDownList helper in MVC. We will try binding data to a DropDownList from a List<SelectListItem>, a List<Model> and also from a database.

Popular posts from this blog

5 Ways to send data between ASP.NET Pages