Last Changed: 26 May 2006
Version: 0.1
WPF Flexible Application Readme
----------------------------------
This project enables you to run your application as either a full trust standalone application
or a sandboxed XAML Browser Application (XBAP).
Note: Because XAML Browser Applications (XBAPs) run partially trusted with internet zone permissions,
certain features are not available to them. This includes standalone windows and BitmapEffects.
Switching between Standalone & XBAP
-----------------------------------
To switch from standalone to XBAP choose, choose the appropriate project configuration:
Standalone app:
"Debug"
"Release"
XAML Browser Application (XBAP)
"XBAP Debug"
"XBAP Release
In your code, you can have conditional compilation:
#if XBAP
// XBAP specific code
#else
// Standalone specific code
#endif
Or runtime switching:
if (MyApp.IsXBAP)
{
// XBAP specific code
}
else
{
// Standalone specific code
}
Or XAML switching:
//Sample of visibilty toggling
<Grid>
<Grid.Resources>
<BooleanToVisibilityConverter x:Key="BoolToVis" />
</Grid.Resources>
<Button Visibility="{Binding Source={x:Static Application.Current}, Path=IsXBAP, Converter={StaticResource BoolToVis}}">
FOO BAR
</Button>
Debugging as XAML Browser Applications - (F5)
--------------------------------------------------------
Developers using Visual C# and Visual Basic Express need to save any newly created
project. Close the Solution. Then open it, or F5 will not work.
If you are using the "Debug from URL" feature, you will also need to save your project,
close the solution and reopen it in order for it to work.
Release Notes
--------------
This drop of the template does NOT have publishing support.
If you want to deploy the standalone, you can distribute the EXE.
To publish the standalone XBAP, copy the files from bin\XBAP Release or
bin\XBAP Debug to your web server. Users should navigate to the .xbap file.
You should also add the following mime-times to your server:
Extension MIME Type
--------- ---------
.manifest application/manifest
.xaml application/xaml+xml
.application application/x-ms-application
.xbap application/x-ms-xbap
.deploy application/octet-stream
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
wpf mvvm动态加载菜单,无限级 (155个子文件)
TestMenu.application 2KB
TestMenu.application 2KB
TestMenu.vshost.application 2KB
Page1.baml 2KB
Page1.baml 2KB
TestMenu.csprojResolveAssemblyReference.cache 44KB
DesignTimeResolveAssemblyReferencesInput.cache 14KB
DesignTimeResolveAssemblyReferencesInput.cache 14KB
TestMenu.csproj.GenerateResource.Cache 955B
TestMenu.csproj.GenerateResource.Cache 955B
TestMenu_MarkupCompile.i.cache 297B
TestMenu_MarkupCompile.cache 295B
TestMenu_MarkupCompile.cache 286B
TestMenu_MarkupCompile.i.cache 254B
packages.config 289B
TestMenu.vshost.exe.config 163B
TestMenu.exe.config 163B
TestMenu.exe.config 163B
app.config 163B
Page1ViewModel.cs 4KB
GeneratedInternalTypeHelper.g.cs 3KB
GeneratedInternalTypeHelper.g.i.cs 3KB
GeneratedInternalTypeHelper.g.i.cs 3KB
Page1.g.i.cs 3KB
Page1.g.cs 3KB
Page1.g.i.cs 3KB
Page1.g.cs 3KB
Resources.Designer.cs 3KB
MyApp.g.cs 2KB
MyApp.g.i.cs 2KB
MyApp.g.i.cs 2KB
MyApp.g.cs 2KB
AssemblyInfo.cs 2KB
MenuItemViewModel.cs 1KB
Settings.Designer.cs 1KB
Page1.xaml.cs 591B
MyApp.xaml.cs 576B
GeneratedInternalTypeHelper.g.cs 7B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TestMenu.csproj 9KB
Prism.Wpf.dll 137KB
Prism.Wpf.dll 137KB
Prism.Wpf.dll 137KB
Microsoft.Practices.Unity.dll 133KB
Microsoft.Practices.Unity.dll 133KB
Microsoft.Practices.Unity.dll 133KB
Microsoft.Practices.Unity.dll 133KB
Microsoft.Practices.Unity.Configuration.dll 80KB
System.Windows.Interactivity.dll 55KB
System.Windows.Interactivity.dll 55KB
System.Windows.Interactivity.dll 55KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Prism.dll 31KB
Microsoft.Practices.Unity.RegistrationByConvention.dll 23KB
Microsoft.Practices.Unity.RegistrationByConvention.dll 23KB
Microsoft.Practices.Unity.RegistrationByConvention.dll 22KB
Prism.Unity.Wpf.dll 18KB
Microsoft.Practices.ServiceLocation.dll 18KB
Microsoft.Practices.ServiceLocation.dll 18KB
Microsoft.Practices.ServiceLocation.dll 18KB
Prism.Unity.Windows.dll 11KB
Properties.Resources.Designer.cs.dll 4KB
Properties.Resources.Designer.cs.dll 4KB
TestMenu.vshost.exe 22KB
TestMenu.exe 16KB
TestMenu.exe 16KB
TestMenu.exe 16KB
TestMenu.exe 15KB
TestMenu.exe 14KB
TestMenu.exe 14KB
TestMenu_MarkupCompile.lref 197B
TestMenu_MarkupCompile.i.lref 164B
TestMenu_MarkupCompile.lref 87B
TestMenu.exe.manifest 10KB
TestMenu.exe.manifest 10KB
TestMenu.exe.manifest 6KB
TestMenu.exe.manifest 6KB
TestMenu.vshost.exe.manifest 6KB
app.manifest 658B
Unity.4.0.1.nupkg 454KB
Prism.Core.6.3.0.nupkg 192KB
Prism.Wpf.6.3.0.nupkg 124KB
CommonServiceLocator.1.3.nupkg 21KB
Prism.Unity.6.3.0.nupkg 21KB
TestMenu.pdb 40KB
TestMenu.pdb 40KB
TestMenu.pdb 36KB
共 155 条
- 1
- 2
资源评论
- qq149233492017-08-07居然加密 有意思吗akwkevin2018-12-05没有密码。
- louxy20122017-07-26很好的学习思路,谢谢
akwkevin
- 粉丝: 4
- 资源: 34
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功