Support us MVC ASP.NET C# SQL Server WCF Written Test HR Round Subscribe C# Videos C# Programs Buy DVD

ASP.NET Interview Questions by topic


On this page you can see list of all ASP.NET Interview Questions by topic. In most of the interviews, these questions are very frequently asked. If you have an asp.net question that is asked in a previous interview, please post it here.


























































27 comments:

  1. can u pls provide me some design pattern interview question and answer. and pls tell me if u know some C# openigns are there,.

    ReplyDelete
  2. can u please provide me some design pattern of interview question and answer. and please tell me if u know some .net openings are there.

    ReplyDelete
  3. Plz provide ASP.PAGE life Cycles in Brif and Real Time

    ReplyDelete
  4. is scripting only for web application ?explain

    ReplyDelete
  5. U should add a section for Object Oriented and .Net framework type questions...like what is a class, object, encapsulation, inheritance, examples of them, what is process, what is thread, what is asynchronous programming? etc.

    ReplyDelete
  6. Great ........This is the best site i ever seen.....i get all info at one place......Good work

    ReplyDelete
  7. nice...its very helpful.........

    ReplyDelete
  8. hi venkat can i know u r details..... r u from hyderabad.... my name is jeevan sagar..... i am working as software developer from fortechsoft india ltd..since 3+years....good site yar keep going........

    ReplyDelete
  9. This site must be Oscar awarded site. Awesome blog not seen such a blog ever in my life.....

    ReplyDelete
  10. What is the name of the 2nd file that is generated in the Default.aspx ..one is default.aspx.cs..what is the 2nd one and its purpose

    ReplyDelete
  11. Sir,your videos will prove to be a turning point in my career. God bless you sir. Keep up the good work.

    ReplyDelete
  12. hi sir your tutorials are really good and helpfull
    i have a problem that in my pc iis is instald and the ui also opening but in that window asp.net category is not there all other categories such as ftp,iis,management are displaying but main category i.e asp.net is not showing please help me i want to do smtp operations in that thankyou

    ReplyDelete
  13. sir can u tel me the errors in following code?

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Data;
    using System.Data.Sql;
    using System.Data.SqlClient;

    public class Class1
    {
    public Class1()
    {
    public DataSet getinfo()
    {
    sqlConnection con=new sqlConnection("Data Source=SATISHRI\\SQLEXPRESS;Initial Catalog=satish;Integrated Security=True");
    sqlDataAdapter da=new sqlDataAdapter("select * from student", con);
    DataSet=new DataSet();
    da.fill(ds);
    return ds;
    }

    }
    }

    ReplyDelete
    Replies
    1. DataSet ds=new DataSet();

      check this line u have miss ds

      Delete
  14. Hello sir , first of all thank you for doing such a nice task for us,its very useful .......
    Please provide OOPs concepts also in a different section . Again thanks

    ReplyDelete
  15. hi sir your tutorials are really good and help full
    i have a small problem that is

    1) what is the main differences b/w the machine.config and web.config....

    2) configurationManager doesn't apper inspite of adding using system.configuration import statement without error? why?

    3)what is the main difference b/w writing connectionstring in appsetting and connectionstrings section?

    ReplyDelete
  16. WEB.CONFIG:- The Web.Config files specify configuration setting for a particular web application and are located in the application root directory.

    MACHINE.CONFIG:- The Machine.Config specifies configuration setting for all of websites on the web server and is located in $windowsdir$\microsoft.net\framework\version\config.

    ReplyDelete
  17. Validators in ASP.NET support which data type like int, string, both or none of these?????????

    ReplyDelete
  18. HI Venkat,

    Thanks for the videos and explanations. I have question like all the objects of same class will have same size of memory or not?
    Eg: I have emp1 and emp2 two employee objects are there of the class Employee. Is the memory size of the emp1 and emp2 are equal or not?

    ReplyDelete
  19. how to create the crystal report in asp .net..

    ReplyDelete
  20. Replies
    1. As you can store the Base64 string in Session so Convert the image in Base64 as follows.

      using (Image image = Image.FromFile(Path))
      {
      using (MemoryStream m = new MemoryStream())
      {
      image.Save(m, image.RawFormat);
      byte[] imageBytes = m.ToArray();

      // Convert byte[] to Base64 String
      string base64String = Convert.ToBase64String(imageBytes);
      return base64String;
      }
      }

      Delete
  21. Thanks for ur effort...really so useful ......could you please upload the coding part too which would generally ask in interviews

    ReplyDelete
  22. Hi Venkat, Can you please give me the answer for below question. This was one of my interview questions

    how do we retain our object in memory though we are not using it. Its memory should not be cleaned up by Garbage collector

    ReplyDelete
    Replies
    1. Call GC.KeepAlive() method.. Helps to retain object from garbage collector.

      Delete
  23. Dear Venkat Sir,

    Your tutorials are very easy and method of teaching is great, I have almost all videos you published on the website, its very good experience to learn from these tutorials.

    But there is one particular section which I am still confused
    Postback and Page Events
    Can you please explain what are these events(PRE_INT,INT,PRE_LOAD) and what are the things which we can do.

    Thank you very much again........

    ReplyDelete

If you are aware of any other asp.net questions asked in an interview, please post them below. If you find anything missing or wrong, please feel free to correct by submitting the form below.

 
Disclaimer - Terms of use - Contact Us