How To

How to use AJAX In ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 515

This post shows you how to Implement AJAX in ASP.NET MVC. Ajax is the ability to read data and communicate information asynchronously.

How to use Syntax highlighter in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 631

This post shows you how to integrate Syntax highlighter into your website.

How to Bundling and Minification in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 398

Bundling and minification are very useful to improve request load time. It improves load time by reducing the number of requests to the server and reducing the size of requested resources.

How do I define the password rules for Identity in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 423

This post shows you how to define the password rules for Identity in ASP.NET MVC

How to Customize Password Policy in ASP.Net Identity
By Tan Lee Published on Feb 18, 2024 470

This post shows you how to customize password policy in ASP.NET MVC Identity to provide better security to your application.

How do I compress a Json result from ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 650

Compression json results in reduced download size, which means that web pages load faster

How to Increase the max upload file size in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 429

By default, you only upload up to 4MB (4096 KB) when hosting your website on IIS.

How to fix GetExternalLoginInfoAsync Always Returns null in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 1.17K

I've got a problem, the GetExternalLoginInfoAsync method always return null when using single sign on (SSO) with google or facebook

How to upload image in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 467

I have a properties in my Item model class like FoodType, Price, Description, Amount, Image.

How to Upload file in ASP.NET using jquery ajax
By Tan Lee Published on Feb 18, 2024 542

This tutorial shows you how to upload a file in ASP.NET MVC using Ajax and javascript without page refresh.

How to Get current controller or action name in ASP.NET MVC
By Tan Lee Published on Feb 18, 2024 857

This tutorial shows you how to get current controller or action name in ASP.NET MVC using c# code.

How to fix 'Error during serialization or deserialization using the JSON JavaScriptSerializer'
By Tan Lee Published on Feb 18, 2024 730

This post shows you how to fix 'Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property'.