Category DotNet

Page Methods in ASP.NET

We cannot call the server side code directly into client side. The server side code will execute at server and client code at client. However by using some .Net techniques we can call server side code from JavaScript by using AJAX methods or ASP.NET AJAX Extensions. There are two ways to achieve this work one […]

Reflection

Introduction Reflection is used to get the information regarding assemblies,type of object,modules and classes at runtime. you can also create instances of type and assemblies at runtime,invoke methods of objects,get names of assemblies dynamically. it’s similar to Runtime type information in c++. System.Reflection namespace used for reflection which contains all required classes and interfaces for […]

Compression of ViewState

View State is a client side state management.The View state will maintain all controls data on your application with respect to subsequent postback made to server by your application.As per as you have a limited amount of controls on your page vewstate is not a problem but when you have more server controls on your […]

Why we can’t create object for static class?

When i was attending my first interview in my current company this question was asked by my technical manager to me.I answered like others because the class has static keyword so we can’t create object for the class. Again he asked but why we can’t create object to the class declared as static.Then later i […]