Posts

Web Services and standard web protocols

Web Services and standard web protocols Web services gain more popularity from last few years in developers and companies. So there are good reasons to understand internals of Web Services. What are Web Services?   Web Service is an application designed to directly interact with other applications all over the world on internet. It describes a standardized way of integrating web based applications. Web services allow different applications from different sources to communicate with each other.   Web Services provides an important way for business to communicate with clients and with each other. It provides business logic processes and data through a programmatic interface instead of any traditional user interface. User interface is then added to this application interface to provide specific functionality to users. The basic purpose of Web Service is to provide some functionality from the owner to its clients so that they can use it. Web Servic...

Version history of ASP.NET

ASP.NET Version History---Features Detail -------------------------------------------------------------------- 4.5.1 4.5.1 and Visual Studio 2013 One ASP.NET ASP.NET Scaffolding ASP.NET Identity   -------------------------------------------------------------------- 4.5 4.5 and Visual Studio 2012 Strongly Typed Data Controls Model Binding Unobtrusive Validation Bundling and Minification Async Support Support for asynchronous modules and handlers Friendly URL HTML5 Features enhancements Support for WebSocket protocol oAuth Support --------------------------------------------------------------------  4.0 4.0 and Visual Studio 2010 Introduced ClientIdMode property for Server Control Routing Introduced Meta tags MetaKeyword and MetaDescription Chart Control --------------------------------------------------------------------  3.5 3.5 and Visual Studio 2008 Integrated ASP.NET AJAX ...

Introduction to Object Oriented Programming Concepts

Image
Object Oriented Programming(OOP) Features Object oriented programming (OOP) is a programming model where programs are organized around object and data rather than action and logic. OOP allows decomposition of a problem into a number of entities called Object and then builds data and function around these objects. The program is divided into a number of small units called Object. The data and function are build around these objects. The data of the objects can be accessed only by the functions associated with that object. The functions of one object can access the functions of other object. OOP has the following important features: Class A class is the core of any modern Object Oriented Programming language such as C#. In OOP languages, it is a must to create a class for representing data. Class is a blueprint of an object that contains variables for storing data and functions to performing operations on these data. Class will not occupy any memory space and hence it...

Understanding Transactions and Creating Transaction Enabled WCF Services.

Image
When we talk about transactions in database operations, we need to perform some operation(database operations) in such a way that either all the operations are successful or all of them fail. This would result in the amount information being same once the transaction is successful or it fails. Properties of Transaction By definition a transaction must be Atomic, Consistent, Isolated and Durable. What does we mean by all these terms Atomic : Atomic means that all the statements (SQL statement or operations) that are a part of the transaction should work as atomic operation i.e. either all are successful or all should fail. Consistent : This means that in case the atomic transaction success, the database should be in a state that reflect changes. If the transaction fails then database should be exactly like it was when the transaction started. Isolated : If more than one transactions are in process then each of these transactions should work independently and should not effect...

WCF Interview Question & Answer

Image
What is WCF? Microsoft refers WCF as a programming platform that is used to build Service-oriented applications. Windows Communication Foundation is basically a unified programming model for developing, configuring and deploying distributed services.  Microsoft has unified all its existing distributed application technologies (e.g. MS Enterprise Services, ASMX web services, MSMQ, .NET Remoting etc) at one platform i.e. WCF. Code name for WCF was Indigo. Why to use WCF? or What are the advantages for using WCF? Service Orientation is one of the key advantages of WCF. We can easily build service-oriented applications using WCF. If compared with ASMX web services, WCF service provides reliability and security with simplicity. As oppose to .NET Remoting, WCF services are interoperable. Different clients can interact with same service using different communication mechanism. This is achieved by using service endpoints. A single WCF service can have multiple endpoints. ...