Skip to main content

Posts

Difference between .NET Framework & .NET Core

 Microsoft released .NET Framework 1.0 as its software framework for Windows platform. Since then it has been continuously updating it to meet the technological advancements. In June 2017, Microsoft redefined the core architecture of .NET Framework to simplify development, testing and deployment. The company released .NET core 1.0 along with ASP .NET Core 1.0 with Entity Framework. .NET Core does have some learning curve in it.     As of Oct 2020, the latest version of .NET Framework is 4.7. Microsoft is unlikely to release new versions of this framework in the future. The latest version of .NET Core is 3.0 Understanding the major differences between the 2 platforms: Open Source -               .NET Framework was released as a licensed and proprietary framework. But the company has released .NET Core as open source framework. Hence individuals can build apps on .NET Core without paying any license fees. Cross Platform -  ...
Recent posts

Singleton Design Pattern

  What is Singleton design pattern?     Of the Gang of Four design patterns, Singleton is the Creational design pattern used while creation of the object of the class. The creational design pattern is a technique to ensure that there is strictly only one instance of a particular class in your program. Why Singleton?     Suppose that your classes are using external resources like a database server, or a web Api  etc, it would be a real problem if multiple objects try to use those resources at the same time. In such cases, singleton design pattern can help in overcoming the drawback in the above scenarios. Real world example with code     Suppose your program need to log the changes made in some data into a log file. Generally, in absence of the pattern, multip le objects may try to access the same log file which could create conflict. With a singleton log class object, you don't need to worry about several different objects trying to access the sa...

C# Types

C# Types Guys please find below the diagram of type system in C# Please comment if you need the explanation of the Type system in details with easy examples. Click to view larger size

Best E-learning Tech sites

Few are some awesome sites to begin coding  https://www.w3schools.com/    - W3Schools If you ever tried coding at-least once , I am sure you are aware of this website. This is the go-to website for all the beginners there. It has learning options for may programming languages like C#, Python. You can also learn DBMS like SQL and also Javascript framework like Jquery and Bootstrap. Moreover, it also has 'Try it Yourself' section. https://mva.microsoft.com/  - Microsoft Virtual Academy This is my personal favorite. I started to learn coding while I was in college. I started to love coding after I took my first lesson on this website. It is official Microsoft certification e learning hub. Why don't you give it a try? https://www.codecademy.com/  - Code Academy This website helps realizing your learning curve by defining learning path for a particular course. Also you practice while you code with the help of the websites training section. ht...

Code to live ! Live to code !

One more tech site to add up the pile ? Every time I wanted to learn something or moreover understand the actual concept and reasoning of code, I surfed up like 100 websites to really understand why and what of logic . I ended up in the web to search engine keywords like 'C# reflection for dummies',  'Dependency Injection explanation to child', 'Design pattern example for newbie' etc.           Learn to code perfectly is really not a child's play. You need self motivation and continuous learning to keep up your interest as well as umm...your Job . I always wondered if there was one site that really and in really really simplest way could solve my doubts. If for a concept i search 5 or more websites, in each of them i learn something which is did not understood previously. I really wanted to take notes from all of these sites and combine them to make a concept in truly readable and amateur format. This blog seemed to be perfect way to start. Why...