Welcomes you all to this Microsoft .NET  FAQs page. This page is designed for both beginner and professional .NET Developers, It consists of online trending .NET  FAQs,



Why we choose .Net ?

Developing applications using .Net framework is very robust and highly secure with great quality. .Net platform reduces development time, creates quality, reliable, and scalable applications that ensure smooth functioning of complex business applications. Hence it helps customer to improve their business easily.

What is the pre-requisite to take NET training?

The candidate should have knowledge of any one programming language. It can be either ‘C’ or any of its equivalents.

Do I need to know Object Orientation to learn .NET?

No, it’s not required to know C++ or any other object oriented language. Object Orientation will be covered in depth as a part of the training.

Why we choose C#?

 C and C++  languages suffer from many shortcomings in meeting worldwide requirements and standards .Some of them are as follows, The high complexity of language ,low productivity ,weak in consistency ,poor type safety.

Microsoft therefore decided to design a new language .The result is C# a simple and modern language its fulfills the software development.

Which namespaces are necessary to create a localized application?



Can one DLL file contain the compiled code of more than one .NET language?

No, a DLL file can contain the compiled code of only one programming language.

Can a view be shared across multiple controllers? If Yes, How we can do that?

Yes, we can share a view across multiple controllers. We can put the view in the “Shared” folder. When we create a new MVC Project we can see the Layout page will be added in the shared folder, which is because it is used by multiple child pages.

can we declare a block as static in c#?

No, Because C# does not support a static Block ,but its support static method.

In Server how to check whether model has error or not in MVC?

Whenever validation fails it will be tracked in ModelState. By using property – IsValid it can be determined. In Server code, check like this –



// No Validation Errors


Can I add MVC Testcases in Visual Studio Express?

No. We cannot add the test cases in Visual Studio Express edition it can be added only in Professional and Ultimate versions of Visual Studio.

Can we call server-side code from JavaScript?

Yes, page methods and Web services are the two techniques to call the server-side code from JavaScript.

How can you find out that an AJAX request has been completed?

You can find out that an AJAX request has been completed by using the readyState property. If the value of this property equals to four, it means that the request has been completed and the data is available.

Is C# code is unmanaged or managed code?

C# code is managed code because the compiler – CLR will compile the code to Intermediate Language.


Tagged With : dot net faqs | dot net interview questions | frequently asked dot net questions | asp.net mvc faqs | most asked c# questions | microsoft dot net faqs | mvc interview questions