Components of Workflow

Workflow Runtime Engine:  Every running workflow instance is created and maintained by an in-process runtime engine that is commonly referred to as the workflow runtime engine. Host Process:  When a workflow model is compiled, it can be executed inside any Windows process including console applications, forms-based applications, Windows Services, ASP.NET Web sites,… Continue reading

What are different types of Workflow in Windows Workflow foundation?

There are two basics type of workflow Sequential Workflow and State machines workflow. A sequential workflow has clear start and finish boundaries. Workflow controls execution in Sequential workflow. In sequential execution, one task is executed after other. Sequential workflow is more rigid in format and execution path has a determistic… Continue reading

Remoting.Net vs Web Services

Both .Net Web services and .Net Remoting are Microsoft solutions for distributed application. Before choosing one of them for application development, let’s identify the differences between these technologies. Protocol .Net web services can be accessed only over HTTP whereas .Net remoting can be accessed over any protocol including TCP, HTTP,… Continue reading

How to DeSerialize an Object

To DeSerialize an object you need an instance of StringReader, XmlReader and XmlSerializer class in order to read the xml data (Serialized data), read it into XmlReader and DeSerialize it respectively. So in brief my function to DeSerialize the object looks like following. private object DeSerializeAnObject(string xmlOfAnObject) { MyClass myObject = new… Continue reading

How to Serialize an Object

To Serialize and object, we need few instances of the in-built classes. So lets first create an instance of a XmlDocument class from System.Xml namespace. Then create an instance of XmlSerializer class from System.Xml.Serialization namespace with parameter as the object type. Now just create an instance of the MemoryStream class from System.IO namespace… Continue reading

Difference between Console, Windows, Web applications and Web services

Console applications are light weight programs run inside the command prompt (DOS) window. They are commonly used for test applications. Windows Applications are form based standard Windows desktop applications for common day to day tasks. Microsoft word is an example of a Windows application. Web applications are programs that used… Continue reading

Visual Studio 2015 New Features

The Microsoft next release VS2015 expected on next year. So visual studio will moves to next stage. In VS2015 release with many new features I hope so. Visual Studio 2015 Preview contains many new and exciting features to support cross-platform mobile development, IDE productivity enhancements, and more.Let we list some… Continue reading

Differences between Delegates and Interfaces

Delegate Interface We can define multiple methods by using delegate. Interface defines only a single method. No need to implement multiple times. Need to implement the interface multiple times. Fastest to call at runtime when we know all the parameter types. Well designed interfaces are allowed for generic uses which… Continue reading