If at first you don't succeed, call it version 1.0

Contact Me

Sarvesh Kushwaha
Email : sarveshkushwaha@outlook.com

Total Pageviews

Powered by Blogger.

Sunday, 29 March 2015

JavaScript For C# Developer



This Presentation depicts JavaScript concept for Csharp developer.It helps to understand the concepts of JavaScript resembling/differentiate them with C# concepts.

It took one week to complete the fundamental concepts of angular.Js, but it took more than one month to understand the concepts of javascript and relate it to C#.

So here it is:



Saturday, 3 January 2015

Hack proof your asp.net applications from Session Hijacking


Introduction:

This article is the Part-6 of my series Hack Proof your asp.net and asp.net mvc applications. In this article, I will describe what exactly Session Hijacking (Man-in the-middle-attack) is and how a hacker exploits it and how we can prevent Session Hijacking attack in asp.net applications.

Background:

Wednesday, 15 October 2014

Hack proof your Javascript using javascript Obfuscation in ASP.NET applications


Introduction:

This article is the Part-5 Article of my series Hack Proof your asp.net and asp.net mvc applications.
In this article i will describe how to obfuscate your JavaScript code (Your written business logic in JavaScript or those  JavaScript libraries you don't want to expose to others) in asp.net application with visual studio.

Background :

You can read previous article of this series from below links :

    1. Secure your ASP.NET applications from SQL Injection
    2. Secure your ASP.NET applications from XSS Attack
    3. Secure your ASP.NET applications from CSRF Attack
    4. Secure your ASP.NET applications from Sensitive Data Exposure and Information Leakage

    Thursday, 18 September 2014

    Sunday, 24 August 2014

    Application Initialization in IIS 7.5 and IIS 8


    Why we need Application initialization ?

    On first HTTP requests asp.net applications both asp.net web forms and asp.net mvc application requires initialization tasks and "warm up" tasks (Startup processing , generating contents) etc.

    Application initialization proactively loads and initialize all the dependencies like database connection , compilation of asp.net code and loading of assemblies etc...

    Benefits of Application initialization :

    • its decreases the first response time by preloading the application
    • Can set a static page to increase the user experience while application is initializing
    • Provides overlapped process recycling 

    Friday, 22 August 2014

    ASP.NET Precompilation for Deployment


    Benefits of Precompilation in ASP.NET:

    • Initial response of application will be faster for users, because code and files will not have to be compiled at the first time any user requested.
    • We can ensure error free application at compile time
    • From security concern people who have access to production server cannot see the source code and cannot make the changes(if you have chose the option of not updatable at the time of publish).
    • Large websites must use this precompilation.

    Friday, 15 August 2014

    Calculate the Execution time of a Function in C# , Razor View, Aspx View


    My previous article was on the how to do the performance profiling with Visual Studio. Using Visual Studio analyze tool we can profile a function , dynamic link library, project and solution.
    Link of  - Performance Profiling with Visual Studio

    Requirements :

    1. However if we want to see execution for a particular function , you definitely don't want to run the profiler for that.Although profiler is more sophisticated way.
    2. if you have any loop on your razor / aspx view of asp.net application ,through profile it wolld be difficult to calculate the time of that loop.