Posts

Code First Approach & Database Migration & Server Side Validations & Client Side Validations in MVC4: Video in Hindi

Image
In this video you will learn how to create simple Feedback Submission Form. In the journey, I will explain the use of Code First Approach and Code First Database Migrations and also Sever Side Validations and Client Side Validations to validation the data entered by the user.

Client Side Username Availability Checking in MVC

Image
It is often required live ‘username’ checking on user registration page in web applications. Today I developed this for my one of the web application and would like to share that with you.

Logging Errors with ELMAH (Error Logging Modules And Handlers) in MVC 4

Image
ELMAH is an alternative to HMS (Health Monitoring System) for logging errors which is free and available under open-source which is created and managed by Atif Aziz . HMS was ( was...why? ) great ( with few pains ) because it has option to capture all events as well as errors. With HMS developers has to design the UI for viewing the log information but with ELMAH, you just need to hit a URL to view log information.

Removing or Customizing View Engines in MVC

Image
In this article you will learn how to remove or customize View Engines which is not being used by application.

Enable Password Resetting with Simple Membership in MVC 4

Image
In this article you will learn how to enable password resetting (in case user forgot the password) with Simple Membership in MVC. User needs to type his username and system will check its existence, if found correct this will send an email containing dynamically generated URL with username and password reset token.

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.

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples