Posts

Showing posts from May, 2021

Featured post

Learn Basics of Computer

What is Computer ? Computer is an electronic data processing machine which accepts input data from the user, stores the input data in its memory, processes the input data according to given instructions and finally gives us the desired output. What are Data ? Data are the raw facts and figures in the form of bits and bytes. What is information ? Information is processed data. Components of Computer Computer has two components. Such as: Hardware Software What is Hardware ? All the parts of computer that we can see and touch are known as hardware. Example - Keyboard, Mouse, Monitor, etc. What is Software ? A set of statements written in a programming language is known as a instruction. A set of instructions is known as a program. A set of programs is known as a software. Example - Microsoft Windows, Adobe Photoshop, Typing Master, etc. Classification of Computers Computers can be classified into three categories. Those are: According to type of dat...

How to Install Croogo CMS on Ubuntu 18.04 LTS

Image
How to Install Croogo CMS on Ubuntu 18.04 LTS Croogo is a free, open source Content Management System (CMS) written in PHP. It is powered by CakePHP MVC framework. Croogo CMS source code is hosted on Github. In this tutorial we will walk you through the Croogo CMS installation process on a fresh Ubuntu 18.04 LTS server. Requirements PHP 5.6 or higher MySQL 5.7 or higher Apache with  mod_rewrite  or Nginx Prerequisites A server running Ubuntu 18.04 A non-root user with sudo privileges. Initial steps Check the Ubuntu version: lsb_release -ds # Ubuntu 18.04 LTS Set up the timezone: timedatectl list-timezones sudo timedatectl set-timezone 'Region/City' Update your operating system’s packages: sudo apt update  &&  sudo apt upgrade -y Install vim, git and socat packages: sudo apt install -y vim git socat Step 1 - Install PHP Install PHP and required PHP extensions: sudo apt install -y php7.2 php7.2-cli php...

Get started with ASP.NET Core MVC

Image
Get started with ASP.NET Core MVC Table of Contents Prerequisites Create a web app Visual Studio help This tutorial teaches ASP.NET Core MVC web development with controllers and views. If you're new to ASP.NET Core web development, consider the  Razor Pages  version of this tutorial, which provides an easier starting point. This is the first tutorial of a series that teaches ASP.NET Core MVC web development with controllers and views. At the end of the series, you'll have an app that manages and displays movie data. You learn how to: Create a web app. Add and scaffold a model. Work with a database. Add search and validation. View or download sample code  ( how to download ). Prerequisites Visual Studio Visual Studio Code Visual Studio for Mac Visual Studio 2019 16.8 or later  with the  ASP.NET and web development  workload .NET 5.0 SDK or later Create a web app Visual Studio Visual Studio Code Visual Studio for Mac Start Visual Studio and select  Creat...

Tutorial: Create a web API with ASP.NET Core

Image
Tutorial: Create a web API with ASP.NET Core Table of Contents Overview Prerequisites Create a web project Add a model class Add a database context Add the TodoContext database context Register the database context Scaffold a controller Update the PostTodoItem create method Examine the GET methods Routing and URL paths Return values The PutTodoItem method The DeleteTodoItem method Prevent over-posting Call the web API with JavaScript Add authentication support to a web API 2.1 Additional resources 2.1 This tutorial teaches the basics of building a web API with ASP.NET Core. In this tutorial, you learn how to: Create a web API project. Add a model class and a database context. Scaffold a controller with CRUD methods. Configure routing, URL paths, and return values. Call the web API with Postman. At the end, you have a web API that can manage "to-do" items stored in a database. Overview This tutorial creates the following API: OVERVIEW API Description Request body Response body...