In this article, we will see How to install MySQL in Windows operating system step by step. MySQL is one of the popular open-source RDBMS (Relational database management system).
Sunday 23 May 2021
How to Install MySQL in Windows Operating System
Monday 26 April 2021
Cookie Authentication in ASP.NET Core
Wednesday 14 April 2021
How to install Visual Studio 2019
In this article, we will see How to install Visual Studio 2019 in the windows 10 operating system.
Microsoft Visual Studio is an Integrated Development Environment (IDE) which is used to develop computer programs, websites, web applications, web services, mobile applications, etc. It supports around 36 different programming languages with a code editor having IntelliSense (code completion component). One of the most basic and popular editions of Visual Studio is Community Edition. Visual Studio includes a debugger that works both as a source-level debugger and as a machine-level debugger. Debugger allows setting the breakpoints and watches to monitor the value of the variables as the execution progresses.
In the next step, it will download the files required to proceed with the installation. Once all files are downloaded, a screen as shown in the below image will appear. Select the workload as per your development requirement. You can also select the Individual components; language packs, etc., and then click on Install. On the right-hand side, it will show the total space required for the installation.
Selected workloads, components will start downloading. Select the start after installation checkbox option in case if you want to start the Visual Studio after the installation.
Wednesday 31 March 2021
Understanding OutOfProcess Hosting Model in ASP.NET Core
In this article, we will learn OutOfProcess Hosting Model in ASP.NET Core. If you are new to ASP.NET Core, then I will recommend you to go through the below articles of this series:
- Create your first application with ASP.NET Core 3.1
- Project Structure in ASP.NET Core 3.1 Web Application
- Create ASP.NET Core Web Application with Visual Studio Code
- Understanding InProcess Hosting Model in ASP.NET Core
Now let’s run the Application through Launch Application by selecting the profile to run the application with DotNet CLI or by the DotNet CLI command in order to check the Worker Process / Server serving the application. As we can see Kestrel server is serving the application.
Saturday 27 March 2021
Understanding InProcess Hosting Model in ASP.NET Core
In this article, we will learn about one of the AspNetCoreHostingModel i.e. InProcess Hosting Model. If you are new to this ASP.NET Core tutorials series then I will recommend you to check the below articles:
- Create your first application with ASP.NET Core 3.1
- Project Structure in ASP.NET Core 3.1 Web Application
- Create ASP.NET Core Web Application with Visual Studio Code
Saturday 20 March 2021
Evolution / History of ASP.NET
Thursday 11 March 2021
Create ASP.NET Core Web Application with Visual Studio Code
In this article, we will see How to create an empty ASP.NET Web Application with .NET CLI and Visual Studio Code. In the previous article of this series, we already covered the below articles.
- Create your first application with ASP.NET Core 3.1
- Project Structure in ASP.NET Core 3.1 Web Application
Run the dotnet command in the terminal. If dotnet core is already installed in your system, then you will see the options as shown in the below image. Run the dotnet --version command in order to check the version of .Net Core SDK installed in your system. In my system, I have .Net Core 3.1.402 Version. You can use --help in order to check the options and commands in case of any help required. Use the dotnet new command in order to create a new project and pass the short name for the type of project/solution you want to create. You can use the--help in order to the available projects as well as options related to .Net Core CLI.
As you can see, we can create several kinds of projects through .Net Core CLI. In this example, I am going to create an ASP.NET Core Empty project.
Once the application is launched successfully, copy or click on the URL on which your application is running. You can see Hello World! on the screen which is basically coming from the startup.cs class.
Now let’s open that project into Visual Studio Code. We can directly open the folder through the File menu and clicking on the open folder menu option or by running “code .” in the terminal as shown in the below image.
On opening the project for the first time, A message is prompted to add the required assets to build and debug the application. Click on Yes. On clicking on Yes, a folder i.e. .vscode will be created in the project.
You can see that our ASP.NET Core project is opened in the Visual Studio Code editor with the structure as shown in the below image. (Please check, Project Structure in ASP.NET Core 3.1 Web Application in case you want to understand the project as well as files structure and its role)
Now, go to the Run menu, click on Run without debugging in order to run the application without debugging it. In a few seconds application is launched with the ports specified in the launchsettings.json file.
In case you want to debug the application, add the breakpoint where you want to test and debug the application. And then go to the Run menu & then click on the Start Debugging option. Once the application reached the breakpoint, it will be highlighted (in a similar manner as in Visual Studio IDE). You can do step in, step out, add items to the watch window, etc.
Saturday 6 March 2021
Project Structure in ASP.NET Core 3.1 Web Application
In this article, we will learn about the Project Structure of the ASP.NET Core 3.1 Web Application. This is the continuation of the ASP.NET 3.1 Tutorials series. I will recommend you to go through the below article of this series if not already gone through that:
As in the previous article, we created an empty ASP.NET Core Project and the structure of the project is as shown in the below image.