Tag Archives: ASP.NET

ASP.NET interview questions: – How many types of validation controls are provided by ASP.NET? How can we create custom controls in ASP.NET?

There are six main types of validation controls: – RequiredFieldValidator It checks whether the control have any value. It is used when you want the control should not be empty. RangeValidator It checks if the value in validated control is … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

ASP.NET interview questions: – How ‘Server.Transfer’ differs from ‘response.Redirect’ and when to use “Server.Transfer” or “Response.Redirect”?

Both “response.redirect” and “server.transfer” helps to navigate from one page to other page. In “Server.Transfer” following is the sequence of how navigation happens:- User sends a request to navigate to other page. Server creates the page object, executes the complete … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

ASP.NET interview questions: – How do we encrypt web.config files in ASP.NET?

Encryption can be done in ASP.NET using the “aspnet_regiis.exe” tool. There are two encryption options provided by ASP.NET: – Windows Data Protection API (DPAPI) Provider (DataProtectionConfigurationProvider) – this provider uses the built-in cryptography capabilities of Windows to encrypt and decrypt … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

ASP.NET interview questions: – Explain differences and how to write Httphandlers and HttpModules in ASP.NET

Handlers and modules helps you inject pre-processing logic before the ASP.NET request reaches the website. One of the scenarios where you would like use them is, before request reaches on the server you would like to check if the user … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

30 important ASP.NET MVC interview question

This question are taken from the book .NET interview question book latest edition written by Shivprasadkoirala and published by BPB publications. What is MVC? Can you explain the complete flow of MVC? Is MVC suitable for both windows and web … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

MVC ASP.NET interview question: -What is the difference between tempdata ,viewdata and viewbag?

Temp data: -Helps to maintain data when you move from one controller to other controller or from one action to other action. In other words when you redirect,“tempdata” helps to maintain data between those redirects. It internally uses session variables. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment

C# and WCF interview question:- What is the difference between Remoting,Web services and WCF services ?

I have lost count of how many times this has been asked in WCF interviews. So the first thing is WCF is a combination of Web service + remoting + MSMQ + COM plus. The above question is taken from … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

ASP.NET MVC (Model view controller) interview questions and answers: – What is the latest version of MVC and what is the difference between each version?

In case you are new to MVC start learning by click on this video learn MVC step by step. When this note was written, four versions where released of MVC. MVC 1 , MVC 2, MVC 3 and MVC 4. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

ASP.NET MVC Interview questions :- What is the difference between tempdata , viewdata and viewbag?

Temp data: – Helps to maintain data when you move from one controller to other controller or from one action to other action. In other words when you redirect, “tempdata” helps to maintain data between those redirects. It internally uses … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

UML Training: – How will you explain many types of diagrams in UML(Unified Modeling Language)?

There are nine types of diagrams in UML:- Use case diagram: They describe “WHAT” of a system rather than “HOW” the system does it. They are used to identify the primary elements and processes that form the system. The primary … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment