Monday, September 25, 2017

Does C# support multiple inheritance?

C# does not support multiple inheritance (meaning a single class inherits from multiple classes). You can, however, implement multiple interfaces in a single class. As far as chaining together inherited classes, there isn't a limit per-se. Just keep in mind the complexity you will introduce to your system. When using inheritance, make sure you are using it in a "is a" scenario. A dog is an animal....Read more

Saturday, September 23, 2017

WCF vs WebAPI

Some fact about WCF : If you need to communicate over pure TCP socket or any other protocol then HTTP use WCF. WCF can communicate is wide range of protocol. Creating services that are transport/protocol independent. Single service with multiple endpoints. Like one WCF service can have multiple endpoints based on clients. For example- One  web application request protocol -> http...Read more

Friday, September 22, 2017

What is event loop in javascript?

I was reading more details on Heap and Stack in JavaScript. I came across video of Philip Roberts where he discuss how event loop works and what is execution process of JavaScript engine. Really nicely explained concept. He also developed tool LOUNE to understand how JavaScript executes and processes requests. Worth listening and understanding as web developer...Read more

Friday, September 1, 2017

Remote Event Receiver - Difference Process Event() And Process One Way Event()

Remote Event Receiver in SharePoint (2013 and more up to date), we go over two methods that are available default when we create a remote event receiver *.svc file (generated by system). These are -- ProcessEvent() ProcessOneWayEvent() Both the methods are always confusing as for their usage. There is very limited information available on the web with respect to these methods. In this way, here...Read more