Posts

Showing posts from March, 2014

C# Most FAQ in Interview

What is the difference between Abstract class & Interface? When to use Interface and when to use Abstract class? What is the scenario for multiple inheritances? Can you give an example? What are differences between IQueryable & IEnumerable? What are the difference between List & IEnumerable? Which is better? What is anonymous type? What is the difference between ‘var’ & ‘dynamic’? Can you explain about dependency injection? What are delegate and multi-cast delegate? What is anonymous method?  What is the lambda expression and expression tree? What is Lazy loading in C#? What is generation mechanism in memory management? What is extension method? What is the difference between finally and finalize? What is a strong name in assembly? What is satellite assembly?  What is delay signing? What are the type of signing in assembly & whats the difference? What are the types of inheritance? Describe all. What is the difference between a class & structure

FAQs in ASP.NET MVC

What is the benefit of Razor w.r.t. ASPX view engine? What are Action Link and Action Result in MVC? Can you list out the different types of action results returned by action method? What are areas in MVC? Does MVC support view state? If not, how can we can manage the same? What are Html helpers? How to create custom data annotation? What is filter in MVC? What are the types of filters in MVC? What is rout table in MVC? What is a view engine? Which is faster: Razor or ASPX? How MVC works to process a new request? What is the difference between MVC and MVVM? What are the difference between ASP.NET MVC and aspx web forms? When you will choose MVC architecture and when to choose ASPX web forms?  What is data annotation? Can you define how can I define custom data annotation? What is view bag, view data and temp data? How you will pass parameters to controllers? What are different techniques to pass parameters from view to controllers? What is the difference between @Ht

ServiceStack - An Introduction

Image
What is a ServiceStack? ServiceStack is an open source, cross-platform for .Net and Mono REST web service framework and can run on both .Net framework as well in Mono platform too. ServiceStack have the flexibility of auto configuration of all standard output formats – XML, JSON, CSV, JSV, SOAP1.1, SOAP1.2 and endpoints –REST, RPC, SOAP without any configuration. It embraces only the concepts of DTO and not RPC concept. Whereas, WCF has the option of both. Service developed in service stack can run in windows environment using .Net framework or in Linux OS with Mono* support. *Mono supported OS are: Linux, Mac OS X, iOS, Sun Solaris, BSD, MS Windows, Nintendo Wii, Sony PlayStation 3 etc. Why ServiceStack? ServiceStack is not instead of WCF for its better performance, but main feature is that it can be deployed and works in cross platform like Windows, Mono, Linux, iOS, Mac OS etc. ServiceStack versus WCF: - WCF can be deployed only windows platform wher