代码 : @Html.ActionLink("Link", "Action", "Controller", new { id = Id } )
目前我可以生成这样的链接:
我想生成一个这样的链接:
但我无法编辑路线/创建另一条路线.
什么是最好的解决方案?
对于winform应用程序,我必须创建一个安装程序项目,这是我的选择:

安装项目和安装向导之间有什么区别?
我的问题实际上接近这个问题:根据文化,Umbraco V6 404没有得到妥善处理
我有2个不同文化的目录:
Content
EN
page1
page2
404
FR
page1
404
Run Code Online (Sandbox Code Playgroud)
当我从FR页面转到404页面时,文化又回归英语.
看起来它是基于网址的,并且可能使用404引擎无法找到链接,因此它将文化设置为默认,但我希望在用户遇到404页面时保持这种文化.
我的配置:
<error404>
<errorPage culture="en-US">1187</errorPage>
<errorPage culture="fr-FR">1189</errorPage>
</error404>
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点 ?
我在域中使用一级路径.
网址示例:
我使用umbraco 7.2.5
我尝试在视图中呈现可点击项目列表.我想添加一个带图像和白色边框的按钮(第一个).我发现StackLayout/ViewCell中的按钮无法呈现边框.
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:controls="clr-namespace:XLabs.Forms.Controls;assembly=XLabs.Forms"
x:Class="*.PlacesPage"
Title="TEST">
<ContentPage.Padding>
<OnPlatform x:TypeArguments="Thickness" iOS="0, 20, 0, 0" />
</ContentPage.Padding>
<ContentPage.Content>
<Grid>
<ListView x:Name="lvPlaces" ItemsSource="{Binding Places}" SeparatorColor="Gray" SeparatorVisibility="Default" RowHeight="120" >
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ViewCell.View>
<StackLayout Orientation="Horizontal">
<Button HorizontalOptions="Center" VerticalOptions="Center" BorderWidth="3" BorderColor="White" Text="IMG"></Button>
<Button Text="{Binding Name}" BorderWidth="0" FontSize="20" BackgroundColor="Transparent" Clicked="OnButtonClickedPlace"></Button>
</StackLayout>
</ViewCell.View>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</Grid>
</ContentPage.Content>
Run Code Online (Sandbox Code Playgroud)
actionlink ×1
bookmarks ×1
c# ×1
multilingual ×1
razor ×1
setup-wizard ×1
umbraco ×1
umbraco7 ×1
xamarin ×1
xaml ×1