Posts

Showing posts from September, 2017

C# 6 new features: Auto assigning property.

                              C# 6 new features : Auto assigning property.  We have lots of new features and keyword added  in C# 6 but among those new property auto assigning property is one of them . So here we will discuss on this particular features only.                                    You can get this features in visual studio 2015 or higher version of Visual studio .Auto assigning property means we can set the values of property while we will declare the property. Before C# 6.0 we assigning the values to the property usually by declaring a constructor. So to improve the coding productivity the Microsoft Team added this new features in C# 6.0 .But one thing I just want to tell you that in both the cases we will get the same values but the way of initializing will be different. So lets take an exam...

WCF service :The maximum array length quota (16384) has been exceeded.

Image
I was working in my project and in my project WCF service was used. While running the application I got an error message like " The maximum array length quota (16384) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 120363.'.  Please see InnerException for more details. " This was my service binding configuration  <bindings> <basicHttpBinding> <binding name= "BasicHttpBinding" closeTimeout= "00:01:00" openTimeout= "00:01:00" receiveTimeout= "01:00:00" sendTimeout= "01:00:00" allowCookies= "false" bypassProxyOnLocal= "false" hostNameComparisonMode= "StrongWildcard" maxBufferSize= "2147483647" maxBufferPoolSize= "2147483647" maxReceivedMessageSize= ...

What is TypeScript

Image
TypeScript  is a free and open source language which is developed and maintained by  Microsoft technologies . It was released on 2012 for first time. So initially when it was released it was only supporting for Visual studio framework(Visual studio version was 2013) that means only for windows OS. But later it was supported for all other OS like Linux , Mac etc. . Currently we have different editors like Eclipse , Webstrom, Emacs and Atom etc. where we can  create our TypeScript application.We can manages the TypeScript dependencies by two main ways             a. By npm (node.js Package ) . You can download the Node.Js  here  .             b. By TypeScript's Visual studio plugin. Here I am giving more emphasis on TypeScript application on Visual studio. So in Visual studio 2017 and Visual studio 2015 update 3 you will get the TypeScript by default. If you have not installed the TypeScript ...