Skip to main content

Posts

Principles behind the Agile Manifesto

Recently read about agile manifesto. So thought to sharing it. More stories can be found at the agile manifest website, that is at the end. 1-    Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. 2-    Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage. 3-    Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale. 4-    Business people and developers must work together daily throughout the project. 5-    Build projects around motivated individuals. Give them the environment and support they need,   and trust them to get the job done. 6-    The most efficient and effective method of conveying information to and within a development team is face-to-face conversation. 7- ...

Compiled Query- Improve the performance of Linq to Entity Query

Most of the small or medium IT firms are using the Entity framework for the Data Access layer (DAL). If we write a complex linq to Entity queries performance will always be an issue. But with the Compiled Query Performance can be improved. This below definitions are from MSDN and more details can be found on the MSDN Link that is at the end of this post           When you have an application that executes structurally similar queries many times in the Entity Framework, you can frequently increase performance by compiling the query one time and executing it several times with different parameters. For example, an application might have to retrieve all the QuoteRevision for a particular quotelineStatus, the quotelinestatus is specified at runtime. LINQ to Entities supports using compiled queries for this purpose.               The  compiled query class provides compilation and caching of queries for reuse . Co...

IT interview structure - A review

It interview structure- a review Interview is a process to select the right candidates for the right positions. The reason for this article is the way nowadays interviews are arranged by some IT related companies in London. Usually there are different levels of screening now companies are putting to select the right candidates. First round will be a cv screening round, followed by a telephonic interview ( mainly telling as technical discussion). If you pass all this round you will be selected for a face to face interview. Most companies follows one or more face to face interview and interaction session with the co- workers. If you are successful on all this rounds then only you will be offered the job.   Especially in London a lot opportunities are available and can find a lot competitive candidates from different countries. So the level of competition are very high on this cosmopolitan city. All this above interview round should guarantee a right candidate? Or a person with raw tale...

Test driven development

More than last 12 months I am a great sponsor of the test driven development.   But how i become a great devotee of TDD is very much interesting. I was given task to restructure the existing system. This is one of the most important features in our system. When i seen the existing code it was in a malicious situation. Lots of unwanted, complex complicated loops. So before starting the reconstructing the whole team sit together and decided we are going to start something new. It might slow down the process initially but will produce the quality work.   Before witting the method we identified the feature's specification and requirements and exception handling phases. Then test cases   are   written   based on the requirement.   Then started working on the methods based on the test cases. First the entire test will fail because the method is written afterward. Test method example public void MethodWeAretesting_DescriptionOfInput_ReturnValueAndExpec...

MVC Pattern

The main purpose of MVC pattern is to decouple the graphical user interface (GUI) from the data.It gives the ability to provide multiple views for the same data. MVC pattern separates objects into three important sections: Model It is specially for maintaining the data. Its is actually where your business logic, querying database, etc are implemented. This section is represented by data view, dataset, typed dataset, business components, business entity model etc. This section can be tied upto either windows application or web UI. Views Displaying all or some portions of data, or probably different view of data. View is responsible for look and feel, sorting, etc. ASPX, ASCX, or windows application UI etc. Controller They are event handling section, which affect either model or view. In ASP.NET the Code behind.

Shouldserialize

Whats  Shouldserialize? Shouldserialize is an optional method that you can provide for a property, if the property does not have a simple default value. Why I used this in my project  In  fortnight period, some projects broken several times because,  some properties defined as nullable and do not have any default value. So while you creating a property if it do not have any default value or  is nullable, please use the service of shouldserilaize optional method J. Example:- Property:-                 Public _MyCar As Nullable(Of String) = Nothing _ Public Property MyCar() As Nullable(Of String) Get Return _MyCar End Get Set(ByVal value As Nullable(Of String)) _MyCar = value End Set End Property Should Serilalize method:- Public Function ShouldSerializeMyCar() As Boolean Return (MyCar...

Concept of web parts

Web part is a window of information inside webpage which can be edited, closed, minimised and dragged by the end user. We can say web part is providing the customization to the end user. Costomization can be, You can add or remove the control from the web page. Users can modify or edit the appearence of the window control Cantrol can be dragged into the different position of the web page. Different web part manager The web part manager manages all the webpart on a web page. Its not visible, but it control evey operation of the web control from back ground. web part manager can be operated in different modes( Browse, display, edit, catalog, connect ).       In browse mode we can not edit or drag the web part. In this mode we can only minimize and close the web part. Code:- Dim wpManager as new webpartmanager                    wpManager.Displaymode= WebpartManage...