In this article we will see how to create a basic Web API with the new IDX Project from Google, completely from the browser without the need to install anything at all in it.
The IDX Project, according to Google is:
PProject IDX is an AI-assisted workspace for full-stack, multiplatform app development in the cloud. With support for a broad range of frameworks, languages, and services, alongside integrations with your favorite Google products, IDX streamlines your development workflow so you can build and ship apps across platforms with speed, ease, and quality.
More info here
In this article we will see how to create a backend app with .NET, very simple as a demonstration. To do this, we will follow the following steps:
We enter the IDE (web) here. You need to log in with a Google account.
We are looking for more templates (the idea is to find .NET):
In the Backend section, we look for .NET and select it:
We put a descriptive name, select the ideal environment and create the project:
It will show us the project creation indicator:
It opens the IDX (until now I saw that it is a Visual Studio Code in the cloud, just like GitHub Codespace) and we look at the example code:
We proceed to execute the application in question:
It offers us options to open the website:
In a new tab, it shows us the web App.
Something I noticed is that the template appears in Backend, but we can easily create a Full Stack application with .NET as a base to meet our needs.
At the time of writing this article I notice that Project IDX = GitHub Codespace. The base is Visual Studio Code.
I hope it is useful!