ASP.NET

ASP.NET Initial creation of the Web API In order to create the Web API using .net we need to create a project of the respective type, this can be done by using the followign command 1 dotnet new webapi However a project may also be initialized by the IDE if you don’t want to go through the CLI. Basics of the code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 var builder = WebApplication.CreateBuilder(args); builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(); var app = builder.Build(); if (app.Environment.IsDevelopment()) { app.UseSwagger(); app.UseSwaggerUI(); } app.UseHttpsRedirection(); app.Run(); Explaination Certainly! Let’s break down the provided code snippet line by line. This code is typically found in the Program.cs file of an ASP.NET Core application and is part of the setup for a minimal API or web application. ...

July 22, 2025 · 5 min · 998 words · Aum Pauskar

Apache Subversion (SVN) Basics

Apache Subversion (SVN) Basics Apache Subversion (often abbreviated as SVN) is a centralized version control system. It is an open-source tool used by software developers and other professionals to manage and track changes to files, such as source code, web pages, and documentation. At its core, SVN operates on a client-server model. A single, central repository stores all versioned files and their complete history. Users “check out” a copy of the files they need from this repository to a local working directory, make their changes, and then “commit” those changes back to the central server. ...

July 22, 2025 · 4 min · 702 words · Aum Pauskar

PostgreSQL

PostgreSQL guide Connection Commands psql Definition: The PostgreSQL interactive terminal for connecting to a PostgreSQL database. Usage: 1 psql -h hostname -p port -U username -d database \connect (or \c) Definition: Connects to a new database and/or under a different user. Usage: 1 \\c database_name [username] \password Definition: Changes the password for the currently connected user. Usage: 1 \\password [username] \conninfo Definition: Displays information about the current database connection. ...

July 22, 2025 · 2 min · 341 words · Aum Pauskar

Angular basics

Angular basics What is angular and what workflows is it ideal at? Angular is a platform and framework for building single-page client applications using HTML and TypeScript. Developed and maintained by Google. t is designed to make the development and testing of such applications easier by providing a framework for client-side MVC (Model-View-Controller) architecture. Installing Angular from scratch involves setting up your development environment, which includes installing Node.js, the Angular CLI (Command Line Interface), and creating a new Angular project. Here’s a step-by-step guide to get you started: ...

July 22, 2025 · 4 min · 725 words · Aum Pauskar

C# Basics

C# Basics C# is a versatile programming language developed by Microsoft, widely used for building a variety of applications, from web to desktop and mobile. This post covers the basics of C#, including syntax, data types, and object-oriented programming concepts. Dotnet is a framework that supports C# and provides a rich set of libraries and tools for developers. Creating an application Dotnet provides a cli to create applicaitons. The entrypoint will always be Program.cs, here are the types of applications that the dotnet CLI helps to create ...

July 12, 2025 · 23 min · 4782 words · Aum Pauskar