Archive for July, 2009

SOAP .net questions

Tuesday, July 21st, 2009
  1. How do you write a program in .net to update a calender in outlook? Through Microsoft Inter-op libraries?
  2. How the security is done in a SOAP envelope?
  3. How do you satisfy customers who use messaging, smtp etc…?
  4. What is a middle ware? What are the different types in .net? BizTalk?
  5. How the .net applications can be integrated with legacy applications? Still use DCOM or use Microsoft Host Integration Server for Mainframe.
  6. What is the standard being used for SOAP?

What vb.net is great for?

Wednesday, July 15th, 2009
  1. VB.net does not have pointers like C# or C++ has.
  2. VB.net is too intrusive.
  3. Case Insensitive
  4. Good syntax validation
  5. Line based statement. Why end each statement with ; like C#
  6. Faster to type.
  7. Better readbility
  8. Duck typing with Option Strict Off.
  9. Declarative Events – declare the event in the event handler
  10. Optional Parameters. Only C# 4.0 has that feature
  11. Has Parameter arrays
  12. Flexible select statement
  13. Less type dependent, so no generics
  14. Focus more on the business than writing plumping code
  15. Rapid Application Development
  16. Better Intelli Sense
  17. Runs in a managed environment
  18. Maintainable code
  19. Overrides, Overridable, MustOverride, NotOverridable are more meaningful than virtual
  20. Assignment is a statement and not an expression. a = b = c does not work in VB.
  21. The options to control how the code should behave is in vb.net like option explicit.

VB.net – Beginners All-Purpose Symbolic Instruction Code.

VB.net Vs C# Vs C++

Friday, July 10th, 2009

VB.net or C# or C++? What would you choose as a programming language in the .net environment? This is a very hard question. In reality it is a silly question. Before .net was introduced in 2001, we had VBA, C++ as the primary languages. These languages had differences and were chosen based on the project requirement. That barrier is going away with .net. C# or C++ is neither powerful nor VB.net is easy in a .net environment. They are different by syntax only. All of them are powerful. May be C# or C++ is little more faster than VBA because the VBA adds some op codes in the IL which are not necessary. In the future, Microsoft may fine tune that too and make the speed the same. The VB.net is little more verbose than C# which some programmers don’t like – like some of us like to acronyms than the full name. The VB.net when it came out, it had more features than C# like optional parameters are supported in the 4.0 version of C#.

The developers who come from VB environment like VB.net. The Java developers will like C#. The C++ programmers still like C++. The C++ programmers who don’t do a lot of pointer operations will like C#.

VB.net and C# are taken a path of co-existence. The VS development team is unifying both languages. The time is coming a programmer has to learn only libraries and not language.

SOAP

Sunday, July 5th, 2009

SOAP is a message based protocol. It is a standard, not a protocol really. The message communication happens through xml. It can support various protocols like http, tcp, msmq, smtp etc… The message has an envelope which has a head, body and a fault section. The WS-Security standard is being used for security. It can also work on https where the data pass as encrypted.

SOA

Thursday, July 2nd, 2009

The enterprise is reaping the benefits of SOA. The SOA contains well-defined, self-contained core functionality of a business available as external services. The clients can consume and compete for profitability. The SOA is all about connectivity. Few years ago, the SOA was done in CORBA, DCOM. These middleware are turned to web services now. There is no need to replace the DCOM, but use the web services to expose the functionalities.