My main role is coding, unit testing, bug fixing and maintenance. My team size is 60 Approx.
Please include the technologies you used in your projects and what kind of architecture (for example: 3-tire, n- tier) you used.
"250 to 400".
1. In c# a static class cannot implement an interface. When a single instance class needs to implement an interface for some business reason or IoC purposes, you can use the Singleton pattern without a static class.
2. You can clone the object of Singleton but, you can not clone the static class object
3. Singleton object stores in Heap but, static object stores in stack
4. A singleton can be initialized lazily or asynchronously while a static class is generally initialized when it is first loaded
PDB is an abbreviation for Program Data Base. It is a repository (persistant storage as databases) to maintain information required to run your program in debug mode. It contains many important relevant information required while debugging your code; for e.g. at what points you have inserted break points where you expect the debugger to break in Visual Studio etc..
• Singletons aren’t easy to handle with unit tests. You can’t control their instantiation and they may retain state across invocations.
• Memory allocated to an Singleton can’t be freed.
• In multithreaded environment, access to the singleton object may have to be guarded (e.g. via synchronization).
• Singletons promote tight coupling between classes, so it is hard to test
Unicode is a standard that can handle characters for almost all modern languages and even some ancient languages at the same time, as long as the client has fonts for the particular language installed in his system.
Unicode assigns each character a unique number, or code point. It defines two mapping methods, the UTF (Unicode Transformation Format) encodings, and the UCS (Universal Character Set) encodings. Unicode-based encodings implement the Unicode standard and include UTF-8, UTF-16 and UTF-32/UCS-4. They go beyond 8-bits.
Hi you are in class A
Hi you are in class B
Even though you are creating an object of the derived class, it will invoke the base class first.
That was little tricky !!.
When the async method finishes the processing, AsyncCallback method is automatically called, where post processing stmts can be executed. With this technique there is no need to poll or wait for the async thread to complete.
Basic difference between Web Services and Web APIs
Web Service:
1) It is a SOAP based service and returns data as XML.
2) It only supports the HTTP protocol.
3) It can only be hosted on IIS.
4) It is not open source, but can be used by any client that understands XML.
5) It requires a SOAP protocol to receive and send data over the network, so it is not a light-weight architecture.
Web API:
1) A Web API is a HTTP based service and returns JSON or XML data by default.
2) It supports the HTTP protocol.
3) It can be hosted within an application or IIS.
4) It is open source and it can be used by any client that understands JSON or XML.
5) It is light-weight architectured and good for devices which have limited bandwidth, like mobile devices.
1. If we having huge datas to be transferred instead of sending all those datas as dataset you can opt xml.\
2. XML is easy to parse and it enables a faster accessing of datas.
3. Case sensitiveness is an additional advantage in validating the authentication for the user.
4. XML can be passed irrespective of OS, port and protocol.