By default, .NET/Windows hosting support isn’t enabled at a platform. Thus, to try it out, you need to activate Windows hosting manually for the desired group of users or just for a particular user.
This is regulated with the help of two settings: availability of the .NET tab at the topology wizard and enabling the hosting itself. Besides that, there are a few tunable options, that control the availability of some extra options within the confines of Jelastic Windows hosting.
So, let’s examine the mentioned settings one by one.
.NET Wizard Tab
Navigate to your JCA > System settings > User Interface.
Find the ENGINE_TYPES parameter and add “dotnet” to the list of available programming languages (or delete it if you want to disable this language). If you use several programming languages, then just enumerate them, comma separated.
Note: in the case you would like to enable all the supported by Jelastic languages (i.e. Java, PHP, Ruby, Python, Node.js and .NET) for your users, you can state “*” value instead of a comma separated list.
This parameter defines if the .NET programming language is available to be shown within the environment topology wizard at the dashboard. Nevertheless, users won’t see it until the Windows hosting itself is enabled for them, thus specifying the dotnet value for all users here won’t affect those of them, who were not granted access to these services (according to the instruction below).
Enabling Windows Hosting
Providing the ability to work with Windows-based nodes is regulated by the windows.nodes.enabled quota, which can be adjusted separately for a particular group or user.
To give Windows access for:
- a whole group of users - navigate to the JCA > Billing > Groups > Quotas section.
- a particular user - navigate to the JCA > Users section, select the desired user from the list and switch to the Quotas tab at the right-hand panel
Then find and activate the windows.nodes.enabled quota by changing its value to 1.
After that a .NET tab will appear in the Environment topology wizard alongside other programming languages for the chosen user/group of users.
The possibility to use VPS containers with the bare Windows 2008/2012 OS installed is additionally regulated with the help of the environment.vds.enabled quota. It can be activated in the same way - through stating the 1 value in the corresponding field and clicking Update.
Note that this quota simultaneously controls the availability of CentOS VPS containers for the chosen group/user.