This repository contains the source code for the .NET Portability website.
Today, the repository contains the following components:
- DotNetStatus. An ASP.NET 5 implementation of .NET Portability site.
- Install the following:
- Go to
src\DotNetStatus - Run command:
dnu restore - Run command:
dnx . web - The website should be started on
http://localhost:5000
-
Open
DotNetStatus.sln -
Check that all the Dependencies have loaded (like NPM and Bower) and packages were restored
- Check the
Output window -> Package Manager Logto make sure that everything was successful
- Check the
-
There are two targets you can run/debug with:
- IIS Express
- web - To run on DNX
These can be found under the
Project Properties -> Debugor by clicking the drop-down menu on the Debug button in your main toolbar. -
You can also change the Target DNX Version (ex. so that it runs on .NET Core) by:
- Go to
Project Properties -> Application - Check off "Use specific DNX version"
- Change the Platform from
.NET Frameworkto.NET Core
- Go to
dnu restoreoutputs: Error: ENOENT, stat 'C:\Users\CurrentUser\AppData\Roaming\npm'- Execute:
mkdir %APPDATA%\npm(Command Prompt) ormkdir $env:AppData\npm(Powershell) - Execute:
dnu restore
- Execute:
dnu restoreoutputs: 'grunt' is not recognized as an internal or external command- Execute:
npm install -g grunt-cli - Execute:
dnu restore
- Execute:
- Go to
src/DotNetStatus - Install npm
sudo apt-get updatesudo apt-get install nodejssudo apt-get install npm
- Install Grunt globally
sudo npm install -g grunt-cli
dnu restorecd src/DotNetStatusgrunt- Run the site:
dnx . kestrel
dnu restorecannot find Microsoft.Fx.Portability- Open
~/.config/NuGet/NuGet.configin a text editor - Add
<add key="dotnet-apiport" value="https://www.myget.org/F/dotnet-apiport" />under<packageSources> - Try again
- Open
Some of the best ways to contribute are to try things out, file bugs, and join in design conversations.
Want to get more familiar with what's going on in the code?
Looking for something to work on? The list of up-for-grabs issues is a great place to start.
We're re-using the same contributing approach as .NET Core. You can check out the .NET Core contributing guide at the corefx repo wiki for more details.
You are also encouraged to start a discussion on the .NET Foundation forums!
For an overview of all the .NET related projects, have a look at the .NET home repository.
This project is licensed under the MIT license.