Skip to content

Commit 942beb8

Browse files
committed
Ported MusicStore sample to 1.0.0
1 parent 3f1a5fc commit 942beb8

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

samples/MusicStore/MusicStore.Web/MusicStore.Web.xproj

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@
44
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
55
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
66
</PropertyGroup>
7-
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
7+
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
88
<PropertyGroup Label="Globals">
99
<ProjectGuid>c1d5718b-935e-4465-99ae-04838deea708</ProjectGuid>
10+
<RootNamespace>MusicStore</RootNamespace>
1011
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
1112
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
1213
</PropertyGroup>
13-
<PropertyGroup Label="Configuration">
14-
<RootNamespace>MusicStore</RootNamespace>
15-
</PropertyGroup>
1614
<PropertyGroup>
1715
<SchemaVersion>2.0</SchemaVersion>
18-
<DevelopmentServerPort>5001</DevelopmentServerPort>
1916
</PropertyGroup>
20-
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
17+
<ItemGroup>
18+
<DnxInvisibleContent Include="bower.json" />
19+
<DnxInvisibleContent Include=".bowerrc" />
20+
<DnxInvisibleContent Include="package.json" />
21+
<DnxInvisibleContent Include=".npmrc" />
22+
</ItemGroup>
23+
<Import Project="$(VSToolsPath)\DotNet.Web\Microsoft.DotNet.Web.targets" Condition="'$(VSToolsPath)' != ''" />
2124
</Project>

samples/MusicStore/MusicStore.Web/Properties/launchSettings.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
"Hosting:Environment": "Development"
1616
}
1717
},
18-
"web": {
19-
"commandName": "web",
20-
"environmentVariables": {
21-
"Hosting:Environment": "Development"
22-
}
18+
"MusicStore.Web": {
19+
"commandName": "Project",
20+
"launchBrowser": true,
21+
"launchUrl": "http://localhost:5000"
2322
}
2423
}
2524
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
@using MusicStore
2+
@using MusicStore.Models
3+
@using Microsoft.Extensions.Options
4+
@using Microsoft.AspNetCore.Identity
15
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

0 commit comments

Comments
 (0)