Which is more soa? The WCF is. The SOAP is exposed through an asmx page. This runs on asp.net platform. There is overhead with this implementation. The WCF has a unified approach. The wcf does not have to run asp.net. Interface programming is hard with web services. The SOAP web services exposes web methods, so the developer has to start with an Interface and then implement a concrete class. The WCF always starts with a service.svc and generates interface. The WCF has more soa than SOAP web services, and is a better middleware. This has helped the application server (IIS, Apache) to fulfill it’s dream to implement a middleware.
SOAP Vs WCF
March 7th, 2010Enterprise Software Development
March 5th, 2010The Rapid Application Development does not go along with Enterprise Software Development. The Enterprise Software Development does not mean somebody developing software for a company having 1000 employees compared to a company having only 50 employees. The Enterprise Software Development achieves the following:
- Reliability
- Modularity
- Separation of Concern
- Re-usability
- Maintainability (Stability, Analyzable, Changeability, Testability)
A lot of these can’t be achieved from a RAD developer. Many enterprises now want to spend time and more money upfront designing a better software and save the money in the long run.
- Unit Of Code: a portion of code that can exist as a unit
- Unit Testing: a portion of code to test a unit of code
- Dependency Injection: Making available objects that are depended on a different object
- Inversion Of Control Container: To save the time and effort creating dependable objects through a container like Spring.net. The container knows the object from a configuration file, created and injected into the object. What IoC does is invert the dependency and make the code maintainable.
Creating a Database CRUD application in .net
March 1st, 2010In the previous releases of Visual Studio, it was hard to create a data centric application. Now it is easy in Visual Studio 2008.
Database Server
- Create a Database connection though the Database server item.
Data Source
- Select Menu->Data->Add a Data Source.
- This option will help to connect to the database created above.
- The tables will have datagrid view and detail view.
Windows Form
- Create a Windows Form.
- Drag and drop the Data Grid from the Data Source to the form. This will create a navigational view.
- Drag and drop the Detail View from the Data Source to the forum. This will create a detail view for the record which is navigating.
- You can individually drag and drop fields on the windows form to display only the necessary fields.
The Grid View works with a Dataset, Data Adapter and a Data Connection to manage the data base operations. The Binding Source and Navigator provides the navigation through the dataset.
.net remoting vs web services
February 28th, 2010Do you choose .net remoting or web services for distributed programming? In a homogeneous environment within an enterprise, the .net removing is a good choice. They are fast and can keep the state between calls. The web services are stateless, low performance compared to .net remoting. The .net remoting requires advanced programming and works on many different protocols like http, tcp, msmq, smtp etc… The web services works over http. The web services are easy to implement and works in heterogeneous environment. The web services are reliable because it runs on IIS and can use it’s security. The .net remoting is not reliable as web services. It does not have a secure model.
Developing REST Vs SOAP
February 27th, 2010At this stage, looking at the tools available from Microsoft, it is easy to develop a soap or wcf service. The REST anticipates two steps (1) create a service via soap, wcf (2) upgrade with handlers to confirm to the REST.