简体   繁体   English

创建Windows Phone应用,Expression Blend和Visual Studio时的工作流程

[英]Workflow when creating a Windows Phone App, Expression Blend and Visual Studio

I'm busy with a Windows Phone 7 application using Visual Studio 2010 only. 我正忙于仅使用Visual Studio 2010的Windows Phone 7应用程序。 I've read that one can also use Expression Blend to develop the app. 我读过,也可以使用Expression Blend来开发应用程序。 But there a few things that I'd like to clear up regarding how one works with both these applications when developing an app. 但是,关于开发应用程序时如何同时使用这两个应用程序,我想讲几件事。

Firstly I know how it works in Visual Studio, you can create the UI with xaml code, and then add interactivity with your C# code. 首先,我知道它在Visual Studio中是如何工作的,您可以使用xaml代码创建UI,然后与C#代码添加交互性。 So what exactly is Expression blend for? 那么Expression Blend到底是干什么的呢? Is it more geared toward designing the interface and not so much interactivity? 它是否更适合设计界面而不是那么多的交互性? Can you do interactivity in Expression blend at all? 可以完全在Expression blend中进行交互吗?

From what I can gather (again I'm not sure about this), one works with both these applications. 从我可以收集到的内容(同样我不确定),可以同时使用这两种应用程序。 Expression Blend for the UI, and Visual Studio for the back-end/interactivity. UI的Expression Blend,后端/交互的Visual Studio。 Is this correct? 这个对吗?

Assuming that the above is correct. 假设以上是正确的。 How do you go about this? 您如何处理? Can you work on the same solution in both programs? 您可以在两个程序中使用相同的解决方案吗? What would your typical workflow be like when working on both these programs? 在这两个程序上工作时,典型的工作流程是什么样的?

Thanks in advance! 提前致谢!

Your assumptions are correct; 您的假设是正确的; Visual Studio is used primarily to write the code that makes the programs work, while Blend is used to design the UI. Visual Studio主要用于编写使程序正常工作的代码,而Blend用于设计UI。 Blend primarily works by dragging UI elements into their desired position, though you can also directly manipulate the XAML if you wish, or both, even. Blend主要是通过将UI元素拖动到所需位置来工作的,尽管您也可以直接操作XAML,或者甚至直接操作XAML。

You can edit the code-behind in Blend, but you'll be missing a lot of functionality Visual Studio offers in that department. 您可以在Blend中编辑后台代码,但是您将缺少Visual Studio在该部门提供的许多功能。

You can have the same solution open in both Blend and Visual Studio and switch between them as needed, but changes to either won't be picked up by the other until you save the modified files. 您可以在Blend和Visual Studio中都打开相同的解决方案,并根据需要在它们之间进行切换,但是在保存修改后的文件之前,其他任何一个都不会选择对它们的更改。

Personally, I use Visual Studio for the coding, and Blend for the design. 就个人而言,我使用Visual Studio进行编码,并使用Blend进行设计。 Both open at the same time, with the same solution loaded. 两者都同时打开,并加载了相同的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows Phone 8和Microsoft Expression Blend 4 - Windows Phone 8 and Microsoft Expression Blend 4 Expression Blend 4和Visual Studio 2012的Blend是否相同? - Are Expression Blend 4 and Blend for Visual Studio 2012 same? Expression Blend vs Visual Studio - Expression Blend vs Visual Studio Windows Phone 8和Microsoft Expression Blend 12 - Windows Phone 8 and Microsoft Expression Blend 12 使用Visual Studio打包Windows Phone应用 - Package windows phone app with visual studio 有没有办法在Windows 7和Visual Studio 2012中创建一个Windows Phone 8应用程序 - Is there a way to create a windows phone 8 app in windows 7 and visual studio 2012 Windows Phone 8.1应用程序共享图像-在连接了Visual Studio调试器的手机上可以正常工作,但是在没有调试器的情况下运行时会崩溃 - Windows Phone 8.1 app to share image - works fine on my phone with Visual Studio debugger attached, but crashes when run without the debugger Visual Studio社区版Windows Phone应用程序丢失 - Visual Studio community edition windows phone app missing 如何在Visual Studio 2013中制作Windows Phone 8应用的幻灯片显示? - how to make a slideshow for windows phone 8 app in visual studio 2013? 如何为 Windows 手机制作 LED 手电筒/手电筒应用程序 (Visual Studio) - How to make an led torch/flashlight app for windows phone (Visual Studio)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM