NET Core, PowerShell Core will regain some APIs that had been dropped in the transition to. With the announcement of the Windows Compatibility Pack for. If you need more : Windows PowerShell Compatibility Pack
Leave a Comment » | Client, Windows | Tagged. NET Core App is a true cross platfrom framework So try again using the correct command.Īnd the SQL Database location is not found.īecause I started it not from the default folder location, which should be C:\CoreIoT\ASPnetRazorSQLiteWsAPI\Dataīut all runs well, so the. I get an error because the Linux is CASE Sensitive. Net Core App in WSL using BashĪnd TEST the Linux. If you did not stop the server you can do a reload :Ħ. Now test the config changes are working : Sudo vi /etc/nginx/sites-available/default Open the file in Notepad++ and make the make the following changes in the DEFAULT file:Ĭ:\Users\xxxx\AppData\Local\lxss\rootfs\etc\nginx\sites-availableĬhange the default port from 80 to whatever you like, example 81Ĭomment out this line : #try_files $uri $uri/ =404 Īdd this line proxy_pass line : proxy_pass You can also use the VI editor in Linux if you like this : Go in Windows to the Linux installation folder … It runs on PORT 80 by default, so stop other windows webservers if needed.Īnd test it by opening a browser in windows, you should see this webpage.Ĥ.
Sudo sh -c ‘echo “deb xenial main” > /etc/apt//dotnetdev.list’ģ. Sudo mv microsoft.gpg /etc/apt//microsoft.gpg
Open command prompt in that folder and run BASH Use this command : dotnet publish -r linux-圆4 -c Releaseįirst in windows go to the project folder where you find the published project see step 1.Īnd start the WSL there.
After installing Mono on Ubuntu using Windows 10 WSL, see here