Posts

Showing posts from January, 2021

Day 18 : Some important concepts in C#

Image
  In this blog we are going to learn some important concepts like IL, JIT... IL : IL stands for intermediate language. This term is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language. Using JIT (Just-in-time) compiler we can use IL on any computer architecture. The IL is the object-oriented programming language used by compilers on .NET framework. The IL includes two-types of instruction set : Base instruction (CPU instructions) and Object-model instructions (high-level). In C# before the code get compiled in machine code it compile in IL code. How to get IL code : 1) Build the program first 2) Open the program in file explorer. 3) Their is folder named as .dll(dynamic link library) extension which linked with console application. 4) Open the developer command prompt of vs and type "ildasm" and enter We can see a window where we are going to drop the .dll in that window. 4) Click on the console app until we see the void main and open the...

Day 17 : Visual studio installation

Image
                          In this blog we are going to learn the visual studio installation steps. Visual Studio : Microsoft visual studio is an integrated development environment (IDE) from Microsoft .  An   IDE  normally consists of at least a source code editor, build automation tools and a debugger.   Visual studio includes code editor supporting intellisense, debugger having machine-level and source-level. Visual studio supports 36 different programming languages. Some built-int languages are C, C++, HTML, CSS, XML, C# etc. Their are 3 editions of visual studio :  Community : It is free and fully-featured. Professional : It is expensive. Enterprise : It is rich and expensive. Steps to install visual studio : 1)  Click here for downloading  Visual studio  :                                   ...

Day 16 : Installation of .NET

Image
  .NET  Framework : The .Net framework is a software developed by "Microsoft" for running and building various applications of windows. The .Net consists both frontend as well as backend i.e ASP.NET is used as backend and C# &VB.NET are used as frontend. The common mistake is .Net is an programming language, but the .Net is not a programming language it is a framework having C# and Visual basic. The 3 features of .Net framework :  .Net is free : Their is no licensing cost and fees, including for commercial use. .Net is open-source : The .Net is a open-source and cross-platform, with free development tools for Linux, MacOS and Windows. .Net is supported by microsoft and maintains servers in azure. The .Net framework is a windows version of .Net i.e it only runs on windows. It is used for building any types of app that runs on windows. The .Net core and .Net  both are open-source and run on any platform. We have to download the .Net core for development. The LTS ...

Day 14 : Concepts in Angular

Image
We have studied the angular directives in previous blog.....Now we are going to learn the concepts in angular.....  ngModel : The ngModel directive binds select, input and form control. The ngModel try to bind to the property given by evaluating the expression on given scope. If the property doesn't exist on scope, it will be created and added to the scope. One-way binding syntax - [ngModel]=" " it binds to input.value. Two-way binding syntax - [(ngModel)]=" " it update with value of input.value. The two-way binding syntax is compound from [ngModel]=" " and (ngModel)=" ".   ngModel responsibilities :  Binds the view into the model, which other directives require.  Providing validating behavior(i.e email,url)  Setting related css classes like ng-valid, ng-invalid, ng-empty etc. Directives: There are three kinds of directives in angular :  Components : directives with template.  Structural directives : change the structure of the view. Eg. NgFo...

Day 15 : Simple Angular UI

Image
     As we discussed before the angular concepts.....using that now we are going to build a simple app..... Angular contains the components to build a application :  A component class handles data and functionality. An HTML template determines the UI of application. Specific styles in component defines the looks and styles of application. As we are created the application file earlier for HospitalManagement we are updating their further.... Create a folder : Create a new file in HospitalManagement/EMR/src/app as app.model.ts. app.model.ts : We have created this new file. We have to import this file in appComponent so we have to export this so that we can use the declarations. An array stores multiple values as we all know, here we have declared array with genric type i.e  Array<element type>. For now we are not going to see the array.....in upcoming blogs we are going to learn this.                    ...