How to Embed a Json File in a .Net Assembly

How to Embed a Json File in a .Net Assembly?

Before directly jump into the implementation. It is better to understand what is assembly and why sometimes we need to embed files like text, json etc. in the assembly. What is an assembly within the .NET framework? As a new .NET programmer, understanding assembly can be very difficult. If you go to Microsoft documentation, you will find the following definition of a web assembly: An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality....

August 20, 2023 · 4 min · 647 words · Prakash Bhandari
Parameters vs arguments

Parameter vs Argument

Parameter vs. argument As a beginner, two terms that often cause confusion to the developers are “parameters” and “arguments”. As a Junior Engineer I was interchangeably using the terms parameter and argument. It took me a while to understand. Many of you also using these two term interchangeably. In this article, I will try to explain the basic difference between parameter and arguments used in the function. Parameters In programming, a parameter is a variable or a placeholder used in a function definition....

August 2, 2023 · 2 min · 378 words · Prakash Bhandari