# Desktop (deprecated)

{% hint style="danger" %}
Wisej Desktop is deprecated and no longer supported. Use [Wisej.NET Hybrid](/deployment/targets/hybrid.md) instead.
{% endhint %}

## .NET Framework

Wisej.NET also supports a local desktop deployment (we call it Standalone deployment) as a local executable. It's very similar to the [Electron ](https://www.electronjs.org/)system, except that we provide the shell for Internet Explorer, Chromium, Firefox and Edge.

You can find the project source on [GitHub](https://github.com/iceteagroup/wisej-extensions/tree/2.5/HostService). After downloading the extensions source code, you can compile the HostService projects. In the /bin directory you will find 4 directories (one for each browser) containing a single executable **Wisej.Application.exe**.

All you need to do to deploy your Wisej app as a local app, is to copy the version of Wisej.Application.exe that you want to use along with the deployment files. <mark style="color:green;">The executable must be placed in the root folder, at the same level as /bin (not inside /bin).</mark>

{% hint style="info" %}
To determine which files to copy to the deployment folder, please follow the [IIS ](/deployment/targets/iis.md)deployment list.
{% endhint %}

![CodeProject demo running as a desktop application](/files/lGRREEpQnVVWHxXsy9Rv)

When your Wisej application is deployed as a Standalone executable running as a desktop application, your "server side" code in .NET is running together with with the "client side" browser. This configuration gives your .NET code full access to the user's machine.

You can:

* Read/write the user's registry
* Read/write the entire file system
* Connect to a local or remote database
* Show native windows and controls
* Launch and control Word or any other local application

<mark style="color:green;">It is basically a local application running in the browser.</mark>

### License

Desktop applications can be redistributed without using a server license. Technology partners can request a free [Desktop License](https://docs.wisej.com/license/license-model-2022/technology-partner#desktop-license) by contacting <sales@wisej.com>.

{% hint style="warning" %}
Add *\<add key="Wisej.DesktopMode" value="true"/>* to web.config. Otherwise Wisej.NET will look for a server licenses instead of the free desktop license.
{% endhint %}

### Personalization

You can customize the final executable in several ways:

1. Each of the standalone applications is a simple WinForms project with a form and a web browser control. You can personalize it freely: i.e. add a toolbar, status bar, icon, etc.
2. Change the initial splash loader simply by placing either a splash.png, splash.gif or splash.jpg file in the root project folder.
3. Change the application's icon.

### IE

Uses the Internet Explorer component that is already preinstalled with Windows. This is the smallest executable of all at roughly 500KB.

### Chromium

Uses [CefSharp ](http://cefsharp.github.io/)integrated in a WinForms application frame. The final executable is roughly **130MB** since we embed the full Chromium system in the executable.

You can update the [CefSharp ](http://cefsharp.github.io/)version simply by copying the newer files over the same files included in our GitHub repository.

### Firefox

Uses [GeckoFx ](https://www.nuget.org/profiles/geckofx)integrated in a WinForms application frame. The final executable is roughly **102MB** since we embed the full Firefox system in the executable.

You can update the [GeckoFx ](https://www.nuget.org/profiles/geckofx)version simply by copying the newer files over the same files included in our GitHub repository.

### Edge/Chromium

Uses the latest [WebView2 ](https://docs.microsoft.com/en-us/microsoft-edge/webview2/)control from Microsoft integrated integrated in a WinForms frame. The final executable is approximately 850KB but it doesn't include the[ WebView2 SDK](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) deployment.

You can  update the [WebView2 ](https://www.nuget.org/packages/Microsoft.Web.WebView2)controls simply by copying the newer files over the same files included in our GitHub repository. However, the WebView2 SDK needs to be downloaded and updated independently.


---

# 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/deployment/targets/standalone.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.
