Archives for May, 2017 - Page 2
Working with Local Functions in C# 7.0
Today we will learn something cool feature called Local Functions in our newly upgraded version of C# , As we already know about Public and Private functions in our C# language.…
Use of AllowAnonymous Attribute in ASP.Net MVC ?
AllowAnonymous Attribute that helps you secure an entire MVC 4 Website or Controller while providing a convenient means of allowing anonymous users access to certain controller action. using ; namespace…
Routing in ASP.NET MVC
Routing is a pattern matching system that monitor the incoming request and figure out what to do with that request. At run time, Routing engine use the Route table for…
ASP.Net MVC Entity Framework
Entity Framework is an Object/Relational Mapping (ORM) framework that enables developers to work with various relational databases like SQL Server, Oracle, DB2, MYSQL etc. It enables developers to deal with…
Working with Concurrent Dictionary in C#
Concurrent Dictionary is a new member of Collection family and this Dictionary will be used to handle multiple threads scenarios. Let's dig more into this collection. ConcurrentDictionary can be found…
ASP.NET Core Features
5 has been renamed to Core and first version of NET Core was released in June 2016. The latest version of Core was released in Nov 2016. Open Source:…
NET Core command-line interface (CLI) Tools
The .NET Core command-line interface (CLI) is a new cross-platform toolchain for developing .NET applications. Command : dotnet -help Basic Commands: new restore build publish run test vstest pack migrate…
Do we need to use Newtonsoft.Json.JsonConvert.DeserializeObject() or Newtonsoft.Json.Linq.JToken.Parse()?
So many people got this question like to deserialize any JSON string should we need to use ()or ()method?? Let begin the explanation uses LINQ-TO-JSON API internally to loop through…
How Inheritance is importance in Object Oriented Programming?
One of the important features in the Object Oriented Programming is Reusability, as we said above that it is always a good way to reuse the already existing functionality rather than…