Skip to content

Commit e58de49

Browse files
committed
Adding publish profile for azure
1 parent ea48142 commit e58de49

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
4+
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121.
5+
-->
6+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
7+
<PropertyGroup>
8+
<WebPublishMethod>MSDeploy</WebPublishMethod>
9+
<ResourceId>/subscriptions/3ce5a23c-8060-42c6-9926-14831822b161/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/dynamic-expresso</ResourceId>
10+
<ResourceGroup>Default-Web-WestUS</ResourceGroup>
11+
<PublishProvider>AzureWebSite</PublishProvider>
12+
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
13+
<LastUsedPlatform>Any CPU</LastUsedPlatform>
14+
<SiteUrlToLaunchAfterPublish>http://dynamic-expresso.azurewebsites.net</SiteUrlToLaunchAfterPublish>
15+
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
16+
<ExcludeApp_Data>False</ExcludeApp_Data>
17+
<ProjectGuid>970a9b0d-4ddf-4e8f-a184-89cc202db542</ProjectGuid>
18+
<MSDeployServiceURL>dynamic-expresso.scm.azurewebsites.net:443</MSDeployServiceURL>
19+
<DeployIisAppPath>dynamic-expresso</DeployIisAppPath>
20+
<RemoteSitePhysicalPath />
21+
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
22+
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
23+
<EnableMSDeployBackup>True</EnableMSDeployBackup>
24+
<UserName>$dynamic-expresso</UserName>
25+
<_SavePWD>True</_SavePWD>
26+
<_DestinationType>AzureWebSite</_DestinationType>
27+
</PropertyGroup>
28+
</Project>

sample/DynamicExpressoWebShell/Views/Shared/Error.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
@model ErrorViewModel
1+
@using DynamicExpressoWebShell.Models
2+
@model DynamicExpressoWebShell.Models.ErrorViewModel
23
@{
34
ViewData["Title"] = "Error";
45
}

0 commit comments

Comments
 (0)