Posts

Showing posts from February, 2019

Featured post

Logging in ASP.NET Core 3.1 Using NLog

Image
  NLog          NLog is an open source logging framework that provides a great flexibility and configurable options to log the insights of your application. It allows to select multiple targets like database, files, console, etc. at the same time so that user don’t have to maintain different configurations in code. This is the most widely used logging framework out there.  For more details :  https://nlog-project.org/    It is easy to implement in your Asp.Net core application. We'll see step by step with image.    1.     Open Visual Studio and Create new project 2.    Choose ASP.Net Core Web Application 3. Enter Name of project 4.  Choose Web Application  5.  Right Click on your project name and choose Manage Nudget packages.         Search these two nudget packages and install.            1. NLog.Config         2. NLog.Web.AspNetCore                   6.  Open Nlog.config file and paste the code.   <?xml version= "1.0" encoding= "utf-8" ?> < nlog

What is JVM, JDK and JRE

Image
JVM JVM (Java Virtual Machine) is an abstract machine. It is called a virtual machine because it doesn't physically exist. It is a specification that provides a runtime environment in which Java bytecode can be executed. It can also run those programs which are written in other languages and compiled to Java bytecode. JDK JDK is an acronym for Java Development Kit. The Java Development Kit (JDK) is a software development environment which is used to develop Java applications and applets. It physically exists. It contains JRE + development tools. The JDK contains a private Java Virtual Machine (JVM) and a few other resources such as an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc), etc. to complete the development of a Java Application. JRE JRE is an acronym for Java Runtime Environment. It is also written as Java RTE. The Java Runtime Environment is a set of software tools which are used for developing