Skip to content

Commit fcc3ae5

Browse files
author
Praburaj
committed
Pointing dev branch scripts to point to the dev feed.
1. Modified nuget.config 2. Changed all kvm scripts to point to dev feed. 3. Modified readme to reflect the same.
1 parent 9459c55 commit fcc3ae5

File tree

8 files changed

+26
-28
lines changed

8 files changed

+26
-28
lines changed

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetmaster/api/v2" />
4+
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" />
55
<add key="NuGet.org" value="https://nuget.org/api/v2/" />
66
</packageSources>
77
</configuration>

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Home repository is the starting point for people to learn about ASP.NET vNex
44

55
ASP.NET vNext is being actively developed by the ASP.NET team assigned to the Microsoft Open Tech Hub and in collaboration with a community of open source developers. Together we are dedicated to creating the best possible platform for web development.
66

7-
The samples provided in this repo are designed to show some of the features of the new framework and to provide a starting point for further exploration. The NuGet.config file in the repo points to a MyGet feed (https://www.myget.org/F/aspnetmaster/) that has all the packages being developed. This feed is updated with each preview release. To try out the latest bits under development use the dev feed instead (https://www.myget.org/F/aspnetvnext).
7+
The samples provided in this repo are designed to show some of the features of the new framework and to provide a starting point for further exploration. The NuGet.config file in the repo points to a MyGet feed (https://www.myget.org/F/aspnetvnext/) that has all the packages being developed. This feed is updated with each preview release. To try out the latest bits under development use the dev feed instead (https://www.myget.org/F/aspnetvnext).
88

99
## Minimum Requirements
1010

@@ -31,7 +31,7 @@ The first thing we need to do is setup the tools required to build and run an ap
3131
#### Windows
3232
To install KVM on Windows run the following command, which will download and run a script that installs KVM for the current user (requires admin privileges):
3333
```powershell
34-
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.ps1'))"
34+
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.ps1'))"
3535
```
3636
After the script has run open a new command prompt to start using KVM.
3737

@@ -41,36 +41,34 @@ To install KVM and the correct version of Mono on OS X using [Homebrew](http://b
4141

4242
* Install [Homebrew](http://brew.sh) if it is not already installed.
4343
* Run command `brew tap aspnet/k` to tap the ASP.NET vNext related git repositories.
44-
* Run command `brew install kvm` to install KVM. This also automatically install the latest KRE package from https://www.myget.org/f/aspnetmaster/api/v2 feed.
44+
* Run command `brew install kvm` to install KVM. This also automatically install the latest KRE package from https://www.myget.org/f/aspnetvnext/api/v2 feed.
4545
* Run command `source kvm.sh` on your terminal if your terminal cannot understand kvm.
4646

4747
#### Linux:
4848

4949
To install KVM on Linux run the following command:
5050

5151
```
52-
curl https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.sh | sh && source ~/.kre/kvm/kvm.sh
52+
curl https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.sh | sh && source ~/.kre/kvm/kvm.sh
5353
```
5454

5555
Note that on Linux you need to also install [Mono](http://mono-project.com) 3.4.1 or later.
5656

5757
### Install the K Runtime Environment (KRE)
5858

59-
Now that you have KVM setup you can install the latest version of the runtime by running the following command: ```kvm install 1.0.0-alpha3```
59+
Now that you have KVM setup you can install the latest version of the runtime by running the following command: ```kvm upgrade```
6060

6161
This command will download the specified version of the K Runtime Environment (KRE), and put it on your user profile ready to use. You are now ready to start using ASP.NET vNext!
6262

6363
# Samples
6464

6565
The samples in this repo are basic starting points for you to experiment with.
6666

67-
+ [ConsoleApp](https://github.com/aspnet/Home/tree/master/samples/ConsoleApp). This is just basic console app if you want to use it as a starting point.
68-
+ [HelloWeb](https://github.com/aspnet/Home/tree/master/samples/HelloWeb). This is a minimal startup class that shows welcome page and static file middleware. This is mostly for you to run through the steps in the readme and make sure you have everything setup and working correctly.
69-
+ [HelloMvc](https://github.com/aspnet/Home/tree/master/samples/HelloMvc). This sample is a basic MVC app. It is not designed to show all the functionality of the new web stack, but to give you a starting point to play with features.
67+
+ [ConsoleApp](https://github.com/aspnet/Home/tree/dev/samples/ConsoleApp). This is just basic console app if you want to use it as a starting point.
68+
+ [HelloWeb](https://github.com/aspnet/Home/tree/dev/samples/HelloWeb). This is a minimal startup class that shows welcome page and static file middleware. This is mostly for you to run through the steps in the readme and make sure you have everything setup and working correctly.
69+
+ [HelloMvc](https://github.com/aspnet/Home/tree/dev/samples/HelloMvc). This sample is a basic MVC app. It is not designed to show all the functionality of the new web stack, but to give you a starting point to play with features.
7070
+ [MVC Music Store](https://github.com/aspnet/MusicStore) and [BugTracker](https://github.com/aspnet/BugTracker) are application samples that are both being ported to ASP.NET vNext. Each of these samples have their own separate repositories that you can look at.
7171

72-
**NOTE: The samples are pinned to a specific version of the packages. If you want to try the latest builds then update the project.json and replace the last part of the version with a '\*', so '1.0.0-alpha3' becomes '1.0.0-alpha3-\*', and then run ```kpm restore``` to pull down the latest packages**
73-
7472
### Running the samples
7573

7674
1. Clone the Home repository
@@ -87,7 +85,7 @@ The samples in this repo are basic starting points for you to experiment with.
8785

8886
By default when running ASP.NET vNext applications on the Windows platform you are running on the full .NET Framework. You can switch to use the new Cloud Optimized runtime, or Core CLR, using the KVM command.
8987

90-
1. Run ```kvm install 1.0.0-alpha3 -svrc50``` This command gets the latest Core CLR version of the k runtime and sets it as your default. The -svrc50 switch tells it to use Core CLR. You can use -svr50 to target desktop again.
88+
1. Run ```kvm upgrade -svrc50``` This command gets the latest Core CLR version of the k runtime and sets it as your default. The -svrc50 switch tells it to use Core CLR. You can use -svr50 to target desktop again.
9189
2. Run ```k web``` to run on WebListener.
9290
3. The first line of your output should say "Loaded Module: klr.core45.dll" instead of "Loaded Module: klr.net45.dll"
9391
4. The HelloWeb app should work the same as when running on the full desktop .NET Framework but now as a fully self-contained app with true side-by-side versioning support.
@@ -98,4 +96,4 @@ By default when running ASP.NET vNext applications on the Windows platform you a
9896

9997
# Feedback
10098

101-
Check out the [contributing](https://github.com/aspnet/Home/blob/master/CONTRIBUTING.md) page to see the best places to log issues and start discussions.
99+
Check out the [contributing](https://github.com/aspnet/Home/blob/dev/CONTRIBUTING.md) page to see the best places to log issues and start discussions.

kvm.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function String-IsEmptyOrWhitespace([string]$str) {
2828

2929
if (!$feed)
3030
{
31-
$feed = "https://www.myget.org/F/aspnetmaster/api/v2";
31+
$feed = "https://www.myget.org/F/aspnetvnext/api/v2";
3232
}
3333

3434
$scriptPath = $myInvocation.MyCommand.Definition

kvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ KRE_MONO45=
1818
KRE_X86=
1919
KRE_X64=
2020
if [ -z "$KRE_FEED" ]; then
21-
KRE_FEED="https://www.myget.org/F/aspnetmaster/api/v2"
21+
KRE_FEED="https://www.myget.org/F/aspnextvnext/api/v2"
2222
fi
2323

2424
_kvm_find_latest() {

kvminstall.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ if (!(Test-Path $tempPath)) { md $tempPath | Out-Null }
88

99
$webClient = New-Object System.Net.WebClient
1010
Write-Host "Downloading KVM.ps1 to $kvmPs1Path"
11-
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/master/kvm.ps1', $kvmPs1Path)
11+
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/dev/kvm.ps1', $kvmPs1Path)
1212
Write-Host "Downloading KVM.cmd to $kvmCmdPath"
13-
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/master/kvm.cmd', $kvmCmdPath)
13+
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/dev/kvm.cmd', $kvmCmdPath)
1414
Write-Host "Installing KVM"
1515
& $kvmCmdPath setup

kvminstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if ! _kvmsetup_has "curl"; then
2727
fi
2828

2929
if [ -z "$KVM_SOURCE" ]; then
30-
KVM_SOURCE="https://raw.githubusercontent.com/aspnet/Home/master/kvm.sh"
30+
KVM_SOURCE="https://raw.githubusercontent.com/aspnet/Home/dev/kvm.sh"
3131
fi
3232

3333
# Downloading to $KVM_DIR

samples/HelloMvc/project.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
3-
"Kestrel": "1.0.0-alpha3",
4-
"Microsoft.AspNet.Diagnostics": "1.0.0-alpha3",
5-
"Microsoft.AspNet.Hosting": "1.0.0-alpha3",
6-
"Microsoft.AspNet.Mvc": "6.0.0-alpha3",
7-
"Microsoft.AspNet.Server.WebListener": "1.0.0-alpha3"
3+
"Kestrel": "1.0.0-*",
4+
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
5+
"Microsoft.AspNet.Hosting": "1.0.0-*",
6+
"Microsoft.AspNet.Mvc": "6.0.0-*",
7+
"Microsoft.AspNet.Server.WebListener": "1.0.0-*"
88
},
99
"commands": {
1010
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001",

samples/HelloWeb/project.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
3-
"Kestrel": "1.0.0-alpha3",
4-
"Microsoft.AspNet.Diagnostics": "1.0.0-alpha3",
5-
"Microsoft.AspNet.Hosting": "1.0.0-alpha3",
6-
"Microsoft.AspNet.Server.WebListener": "1.0.0-alpha3",
7-
"Microsoft.AspNet.StaticFiles": "1.0.0-alpha3"
3+
"Kestrel": "1.0.0-*",
4+
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
5+
"Microsoft.AspNet.Hosting": "1.0.0-*",
6+
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
7+
"Microsoft.AspNet.StaticFiles": "1.0.0-*"
88
},
99
"commands": {
1010
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001",

0 commit comments

Comments
 (0)