Modified port for host website from Rider

1_basic
jason.zhu 2021-02-26 11:34:29 +11:00
parent 97dd68d0f3
commit a5d8c2ab78
2 changed files with 82 additions and 82 deletions

View File

@ -158,7 +158,7 @@
<virtualDirectory path="/" physicalPath="C:\Users\jason.zhu\SynologyGitea\dotnettutorial-asp-dot-net-mvc\repo\FirstMVCApplication" /> <virtualDirectory path="/" physicalPath="C:\Users\jason.zhu\SynologyGitea\dotnettutorial-asp-dot-net-mvc\repo\FirstMVCApplication" />
</application> </application>
<bindings> <bindings>
<binding protocol="http" bindingInformation="*:5000:localhost" /> <binding protocol="http" bindingInformation="*:5100:localhost" />
</bindings> </bindings>
</site> </site>
</sites> </sites>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')"/> <Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@ -15,13 +15,13 @@
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews> <MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress/> <Use64BitIISExpress />
<IISExpressSSLPort/> <IISExpressSSLPort />
<IISExpressAnonymousAuthentication/> <IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication/> <IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode/> <IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile/> <UseGlobalApplicationHostFile />
<NuGetPackageImportStamp/> <NuGetPackageImportStamp />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@ -42,24 +42,24 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Microsoft.CSharp"/> <Reference Include="Microsoft.CSharp" />
<Reference Include="System"/> <Reference Include="System" />
<Reference Include="System.Data"/> <Reference Include="System.Data" />
<Reference Include="System.Drawing"/> <Reference Include="System.Drawing" />
<Reference Include="System.Web.DynamicData"/> <Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.ApplicationServices"/> <Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.ComponentModel.DataAnnotations"/> <Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core"/> <Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions"/> <Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xml.Linq"/> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Web"/> <Reference Include="System.Web" />
<Reference Include="System.Web.Extensions"/> <Reference Include="System.Web.Extensions" />
<Reference Include="System.Web.Abstractions"/> <Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing"/> <Reference Include="System.Web.Routing" />
<Reference Include="System.Xml"/> <Reference Include="System.Xml" />
<Reference Include="System.Configuration"/> <Reference Include="System.Configuration" />
<Reference Include="System.Web.Services"/> <Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices"/> <Reference Include="System.EnterpriseServices" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private> <Private>True</Private>
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath> <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
@ -113,77 +113,77 @@
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="App_Start\BundleConfig.cs"/> <Compile Include="App_Start\BundleConfig.cs" />
<Compile Include="App_Start\FilterConfig.cs"/> <Compile Include="App_Start\FilterConfig.cs" />
<Compile Include="App_Start\RouteConfig.cs"/> <Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="Controllers\HomeController.cs"/> <Compile Include="Controllers\HomeController.cs" />
<Compile Include="Global.asax.cs"> <Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon> <DependentUpon>Global.asax</DependentUpon>
</Compile> </Compile>
<Compile Include="Properties\AssemblyInfo.cs"/> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Content\bootstrap-theme.css"/> <Content Include="Content\bootstrap-theme.css" />
<Content Include="Content\bootstrap-theme.min.css"/> <Content Include="Content\bootstrap-theme.min.css" />
<Content Include="Content\bootstrap.css"/> <Content Include="Content\bootstrap.css" />
<Content Include="Content\bootstrap.min.css"/> <Content Include="Content\bootstrap.min.css" />
<Content Include="favicon.ico"/> <Content Include="favicon.ico" />
<Content Include="fonts\glyphicons-halflings-regular.svg"/> <Content Include="fonts\glyphicons-halflings-regular.svg" />
<Content Include="Global.asax"/> <Content Include="Global.asax" />
<Content Include="Content\Site.css"/> <Content Include="Content\Site.css" />
<Content Include="Scripts\bootstrap.js"/> <Content Include="Scripts\bootstrap.js" />
<Content Include="Scripts\bootstrap.min.js"/> <Content Include="Scripts\bootstrap.min.js" />
<None Include="Scripts\jquery-3.3.1.intellisense.js"/> <None Include="Scripts\jquery-3.3.1.intellisense.js" />
<Content Include="Scripts\jquery-3.3.1.js"/> <Content Include="Scripts\jquery-3.3.1.js" />
<Content Include="Scripts\jquery-3.3.1.min.js"/> <Content Include="Scripts\jquery-3.3.1.min.js" />
<Content Include="Scripts\jquery-3.3.1.slim.js"/> <Content Include="Scripts\jquery-3.3.1.slim.js" />
<Content Include="Scripts\jquery-3.3.1.slim.min.js"/> <Content Include="Scripts\jquery-3.3.1.slim.min.js" />
<None Include="Scripts\jquery.validate-vsdoc.js"/> <None Include="Scripts\jquery.validate-vsdoc.js" />
<Content Include="Scripts\jquery.validate.js"/> <Content Include="Scripts\jquery.validate.js" />
<Content Include="Scripts\jquery.validate.min.js"/> <Content Include="Scripts\jquery.validate.min.js" />
<Content Include="Scripts\jquery.validate.unobtrusive.js"/> <Content Include="Scripts\jquery.validate.unobtrusive.js" />
<Content Include="Scripts\jquery.validate.unobtrusive.min.js"/> <Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
<Content Include="Scripts\modernizr-2.8.3.js"/> <Content Include="Scripts\modernizr-2.8.3.js" />
<Content Include="Web.config"/> <Content Include="Web.config" />
<Content Include="Web.Debug.config"> <Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon> <DependentUpon>Web.config</DependentUpon>
</Content> </Content>
<Content Include="Web.Release.config"> <Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon> <DependentUpon>Web.config</DependentUpon>
</Content> </Content>
<Content Include="Views\Web.config"/> <Content Include="Views\Web.config" />
<Content Include="Views\_ViewStart.cshtml"/> <Content Include="Views\_ViewStart.cshtml" />
<Content Include="Views\Shared\Error.cshtml"/> <Content Include="Views\Shared\Error.cshtml" />
<Content Include="Views\Shared\_Layout.cshtml"/> <Content Include="Views\Shared\_Layout.cshtml" />
<Content Include="Views\Home\About.cshtml"/> <Content Include="Views\Home\About.cshtml" />
<Content Include="Views\Home\Contact.cshtml"/> <Content Include="Views\Home\Contact.cshtml" />
<Content Include="Views\Home\Index.cshtml"/> <Content Include="Views\Home\Index.cshtml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="App_Data"/> <Folder Include="App_Data" />
<Folder Include="Models"/> <Folder Include="Models" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="fonts\glyphicons-halflings-regular.woff2"/> <Content Include="fonts\glyphicons-halflings-regular.woff2" />
<Content Include="fonts\glyphicons-halflings-regular.woff"/> <Content Include="fonts\glyphicons-halflings-regular.woff" />
<Content Include="fonts\glyphicons-halflings-regular.ttf"/> <Content Include="fonts\glyphicons-halflings-regular.ttf" />
<Content Include="fonts\glyphicons-halflings-regular.eot"/> <Content Include="fonts\glyphicons-halflings-regular.eot" />
<Content Include="Content\bootstrap.min.css.map"/> <Content Include="Content\bootstrap.min.css.map" />
<Content Include="Content\bootstrap.css.map"/> <Content Include="Content\bootstrap.css.map" />
<Content Include="Content\bootstrap-theme.min.css.map"/> <Content Include="Content\bootstrap-theme.min.css.map" />
<Content Include="Content\bootstrap-theme.css.map"/> <Content Include="Content\bootstrap-theme.css.map" />
<None Include="packages.config"/> <None Include="packages.config" />
<Content Include="Scripts\jquery-3.3.1.slim.min.map"/> <Content Include="Scripts\jquery-3.3.1.slim.min.map" />
<Content Include="Scripts\jquery-3.3.1.min.map"/> <Content Include="Scripts\jquery-3.3.1.min.map" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup> </PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets"/> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''"/> <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"> <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)"/> <AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
</Target> </Target>
<ProjectExtensions> <ProjectExtensions>
<VisualStudio> <VisualStudio>
@ -191,12 +191,12 @@
<WebProjectProperties> <WebProjectProperties>
<UseIIS>True</UseIIS> <UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort> <AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>5000</DevelopmentServerPort> <DevelopmentServerPort>5100</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath> <DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:5000/</IISUrl> <IISUrl>http://localhost:5100/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication> <NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer> <UseCustomServer>False</UseCustomServer>
<CustomServerUrl/> <CustomServerUrl />
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties> </WebProjectProperties>
</FlavorProperties> </FlavorProperties>
@ -206,7 +206,7 @@
<PropertyGroup> <PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))"/> <Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
</Target> </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.