# Visual Studio Code

Wisej.NET is a powerful web framework for building real-time web applications using .NET. While Visual Studio is the primary IDE for Wisej.NET development, you can also integrate and develop Wisej.NET applications in Visual Studio Code.

{% hint style="danger" %}
The Wisej.NET Designer is not supported in Visual Studio Code.
{% endhint %}

### Prerequisites

Before integrating Wisej.NET with Visual Studio Code, ensure you have the following installed:

* [Visual Studio Code](https://code.visualstudio.com/)
* [.NET SDK](https://dotnet.microsoft.com/en-us/download)
* [C# Dev Kit Extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit)

### Setting Up Wisej.NET in Visual Studio Code

#### 1. Open the Wisej.NET Project

1. Launch Visual Studio Code.
2. Click on **File** → **Open Folder** and select your Wisej.NET project directory.
3. Wait for Visual Studio Code to load the project dependencies.

#### 2. Configure Build and Debugging

1. Navigate to the **Run and Debug** tab (`Ctrl+Shift+D`).
2. Click **C# Project** as the **Run and Debug** target.
3. The necessary configuration files (`launch.json` and `tasks.json`) will be generated automatically.

#### 3. Run the Wisej.NET Application

1. Open the **Run and Debug** tab.
2. Select the generated **C# Project** configuration.
3. Click **Start Debugging** (`F5`).
4. The application will start, and you can access it via the local development server.

### Troubleshooting

* Ensure that the correct **.NET SDK** version is installed and matches your project's requirements.
* If dependencies fail to load, run `dotnet restore` in the terminal.
* If debugging does not start, check the `launch.json` file and verify that the correct target framework is specified.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/docs/concepts/visual-studio-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
