Sunday, 20 April 2014

Access-Control-Allow-Origin, Configure WCF Cross Domain service

Use this in Your  WebConfig

 <system.webServer>
 <modules runAllManagedModulesForAllRequests="true" />
 <httpProtocol>
 <customHeaders>
 <add name="Access-Control-Allow-Origin" value="*" />
 <add name="Access-Control-Allow-Headers" value="Content-Type" />
 </customHeaders>
 </httpProtocol>
</system.webServer>
 <system.serviceModel>
 <behaviors>
 .
 .
 .
 </behaviors>
 <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
 <standardEndpoints>

Thursday, 12 September 2013

what is Model-View-Controller

Models
Models represent knowledge. A model could be a single object (rather uninteresting), or it could be some structure of objects.

There should be a one-to-one correspondence between the model and its parts on the one hand, and the represented world as perceived by the owner of the model on the other hand.

Views
A view is a (visual) representation of its model. It would ordinarily highlight certain attributes of the model and suppress others. It is thus acting as a presentation filter.

A view is attached to its model (or model part) and gets the data necessary for the presentation from the model by asking questions. It may also update the model by sending appropriate messages. All these questions and messages have to be in the terminology of the model, the view will therefore have to know the semantics of the attributes of the model it represents.

Controllers
A controller is the link between a user and the system. It provides the user with input by arranging for relevant views to present themselves in appropriate places on the screen. It provides means for user output by presenting the user with menus or other means of giving commands and data. The controller receives such user output, translates it into the appropriate messages and pass these messages on to one or more of the views.

Saturday, 3 November 2012

About Me

PANKAJ KUAMR

TECHNOLOGY =DOT NET 

LANGUAGE=ASP.NET,C#,WEB SERVICES,WCF, JQUERY,

SQL SERVER,CSS,JAVA SCRIPT,XML

PASSION=software engineering
QUOTES

All life is an experiment. The more experiments you make the better.





Monday, 1 October 2012

Quotes



“Life is like riding a bicycle. To keep your balance, you must keep moving.” 
                                                                                          ― 
Albert Einstein



“Life isn't about finding yourself. Life is about creating yourself.” 
                                                                                         ― 
George Bernard Shaw   

A man who dares to waste one hour of time has not discovered the value of life.
                                                                            Charles Darwin 

?There are three ingredients in the good life: learning, earning and yearning." 
                                                                                              - Christopher Morley  


Happiness has two great advantages over money. People cannot borrow it from you & you love sharing it with everyone " 

Trust yourself, then you will know how to live.
Johann Wolfgang von Goethe  

“Life is what happens to you while you're busy making other plans.” 
                                                                                                ― 
John Lennon
The secret of a good life is to have the right loyalties and hold them in the right scale of values.                          Norman Thomas (1884 - 1968)


Education's purpose is to replace an empty mind with an open one.15/3/12 Malcolm Forbes
The great aim of education is not knowledge but action
A great secret of success is to go through life as a man who never gets used up.
- Albert Schweitzer
All life is an experiment. The more experiments you make the better.
Ralph Waldo Emerson 


Life is a gift, and it offers us the privilege, opportunity, and responsibility to give something back by becoming more.
Anthony Robbins




Everything you can imagine is real 
Good friends, good books, and a sleepy conscience: this is the ideal life
                                                             Mark Twain


All life is an experiment. The more experiments you make the better.
Ralph Waldo Emerson


Fear cannot be without hope nor hope without fear.
Baruch Spinoza


Action is the foundationalkey to all success. 
Pablo Picasso


The best way to find out if you can trust somebody is to trust them
A great secret of success is to go through life as a man who never gets used up.
- Albert Schweitzer


Courage is being scared to death, but saddling up anyway.” John Wayne=8/6/12



Self-trust is the first secret of success" Anonymous




Success has a simple formula:do your best, and people may like it.
Sam Ewing        

A positive thought is the seed of a positive result.

                                                                                                Anonymous
                                                                                              
Your goal should be out of reach but not out of sight. – Anita DeFrantz
                                                                                 


“Mistrust makes life difficult. Trust makes it risky.”

“Education is the most powerful weapon which you can use to change the world.” 
 
Nelson Mandela 

Success is depends on hard work .it do not depends on luck
-Mateen 

[info][add][mail][note]


Education is a progressive discovery of our ignorance.
Will Durant (1885-1981) U.S. author and historian. 
Life is a Continuous process of adjustment.
                                                             Indira Gandhi 


To succeed in life, you need two things: ignoranceand confidence.
Mark Twain    


Life is like sailing.  You can use any wind to go in any direction
~Robert Brault 

Education is a better safeguard of liberty than a standing army. 
Edward Everett 


Dreams do come true if you keep believing in yourself. Anything is possible.
Jennifer Capriati 

Education is not the filling of a pail, but the lighting of a fire. 
William Butler Yeats

An investment in knowledge pays the best interest. 
Benjamin Franklin 

Thursday, 21 June 2012


Android, This word means a lot in present High-Tech World. Today Smartphone are known for its operating system which is Android. Earlier there is no option for operating systems like Android in mobile, as usual there are symbian, java featured operating systems but today things had changed a lot, everyone wants a Smartphone which is functioned on Android only. Even if someone asks me that what smartphone would i should buy? I suggest them to buy a one which consist of android in it with latest version no matter what’s the cost. In a very short span of time android created a reputed place in the market. What is this Android actually? Android is a software cluster for mobile devices that includes an operating system OS, key applications and middleware. The Android SDK provides the tools and APIs required to begin developing applications on the Android platform using the Java programming language. About the design, Kernal of Android is based on Linux kernal and further furnished by Google. Android doesn’t have a essential X Window System nor does it support the full set of standard GNU libraries, which makes it difficult to port existing Linux applications or libraries to Android.
Now, I want to share something about Android’s history. Android Incorporation was founded in Palo Alto, California, United States in October, 2003 by Andy Rubin : co-founder of Danger (Danger Incorporation was a company exclusively in platforms, software, design, and services for mobile computing devices), Rich Miner : co-founder of Wildfire Communications, Incorporation, Nick Sears : once VP at T-Mobile, and Chris White : headed design and interface development at Web TV. From starting Android Incorporation operated secretly, expose only that it was working on mobile software’s. On that same year, Rubin had some sort of financial problems and Steve Perlman gave him $10,000 cash in an envelope and refused a stake in Android Incorporation.
Google took over Android Incorporation in August 2005, making Android Incorporation a entire owned property of Google Incorporation main employees of Android Incorporation, including Andy Rubin, Rich Miner and Chris White, stayed at the company after the possession of Google. Not much was known about Android Incorporation at the time of the acquisition, but people conclude that Google was planning to penetrate the mobile phone market with their weapon i.e Android.