Quote:
When I Was searching there is one solution GZIP compression.
ZIP is use to reduce the file size on storage and will never improve runtime. Worse, it take some time to decompress the file before being able to run it.
Quote:
How to compress my .cs code in C# asp.net to make page performance is good please tell me.
Compress is the wrong word, the correct word is
optimize
Optimizing your code is more about algorithm used in your code. Each optimizing is specific to 1 program file, the only general rule is to choose clever algorithms.
Profiling (computer programming) - Wikipedia[
^]
List of performance analysis tools - Wikipedia[
^]
How do code profilers work? - Stack Overflow[
^]