Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use iis express #1

Open
wants to merge 1 commit into
base: master
from
Open
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+7 −5
Diff settings

Always

Just for now

use iis express

  • Loading branch information...
hfjia
hfjia committed Feb 17, 2019
commit e4ed787e74850cd83095551cc7beb0493b9950a2
@@ -16,7 +16,7 @@
<RootNamespace>DummyProject</RootNamespace>
<AssemblyName>DummyProject</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<UseIISExpress>false</UseIISExpress>
<UseIISExpress>true</UseIISExpress>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
@@ -31,9 +31,10 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ExcludeGeneratedDebugSymbol>true</ExcludeGeneratedDebugSymbol>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -119,7 +120,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>53671</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost/DummyProject</IISUrl>
<IISUrl>http://localhost:53671/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
Copy path View file
@@ -15,6 +15,7 @@ public class Global : System.Web.HttpApplication

protected void Application_Start(object sender, EventArgs e)
{
RouteTable.Routes.Add(new ServiceRoute("rest", new WebServiceHostFactory(), typeof(DummyService)));
RouteTable.Routes.Add(new ServiceRoute("api-docs", new WebServiceHostFactory(), typeof(SwaggerWcfEndpoint)));
}

Copy path View file
@@ -32,11 +32,11 @@
<httpRuntime targetFramework="4.6.1"/>
</system.web>
<system.serviceModel>
<services>
<!--<services>
<service name="SwaggerWcf.SwaggerWcfEndpoint">
<endpoint address="" binding="webHttpBinding" contract="SwaggerWcf.ISwaggerWcfEndpoint"></endpoint>
</service>
</services>
</services>-->
<behaviors>
<serviceBehaviors>
<behavior name="">
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.