Archives for May, 2017
Create your first angular application in typescript using angular CLI
The Angular CLI is a command line interface tool that can create a project, add files, and perform a variety of ongoing development tasks such as testing, bundling, and deployment. Now, let us start…
for..of vs. for..in in TypeScript
Both and statements iterate over lists; the values iterated on are different though. returns a list of values of the numeric properties of the object being iterated. returns a list…
Problem with ASP.NET using MySQL Connecting through ODBC Driver in some Hosting Servers
Recently I hosted one of my application which is using MySQL as backend and I decided to use MySQL .NET connector to access the MySQL server. I hosted one of the…
How to check if an appSettings key exists or not in web.config?
Problem Statement There might be a chance of missing the appSettings Key and it leads to an runtime exception when system doesn't found particular Key. Solution For this we have…
Using Caller Information attributes in C#
Caller Information attributes are newly introduced in Framework There are three attributes which are more helpful in tracing, debugging and diagnosis the application. These attributes will provide some information about…
Issue: The length of the string exceeds the value set on the maxJsonLength property
Problem Statement Many people had faced with their MVC Applications with the following issue. Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the…
Find given number is Palindrome Number or Not ?
What is Palindrome Number? A Palindrome number or numeral palindrome is a number that remains the same when its digits are reversed ( 11,121, 1331,12321). using System; namespace PalindromeNumber {…
Find given number is Prime or Not? Using Recursion & Non Recursion Methods.
What is Prime Number ? A number that is divisible only by itself and 1 ( 2, 3, 5, 7, 11). using System; using ; using ; using ; using…
Naming Conventions in C#.Net
For any developer, Naming Convention is a best practice to work on any development project. Let’s discuss more about Naming convention in this article. Why Naming Conventions? Naming Convention is…
Working with new Value Tuple Data Structure in C# 7.0
Problem Statement: Want to return multiple results from the single method of different types. To achieve this functionality, there are three methodologies until Framework version * and following are those…