# UWP的產品新建到發佈流程一覽
1,UWP開發特性
U: Universal(通用)編程
W: Windowswindows
P: Plantform(平臺)app
- 運行在Windows10設備
- 比WPF更加多樣化和完善的控件,以及更增強大的自適應能力
- 只能從Windows應用商店下載
- 擁有Windows 10獨特的系統API調用
- 權限控制
- 更多異步方法和編程特性
- 運行環境爲 .Net core
- 非託管式
- SDK隨Windows 10版本升級
- DirectComposition渲染
- 非託管Native代碼
一個安裝包適配多種運行平臺
2,新建項目
2.1安裝UWP開發環境
![](http://static.javashuo.com/static/loading.gif)
根據本身的須要來選擇要安裝的SDK
2.2使用VS默認新建一個UWP項目
![](http://static.javashuo.com/static/loading.gif)
選擇空白應用
![](http://static.javashuo.com/static/loading.gif)
選擇支持的最低最高版本
2.3使用Windows Template建立一個UWP項目(須要在拓展裏面安裝插件)
![](http://static.javashuo.com/static/loading.gif)
選擇windows template studio
![](http://static.javashuo.com/static/loading.gif)
一鍵式UWP模板
![](http://static.javashuo.com/static/loading.gif)
模板生成的框架
2.4配置運行系統版本
![](http://static.javashuo.com/static/loading.gif)
2.5配置appmainfest清單
![](http://static.javashuo.com/static/loading.gif)
1,應用程序
2,視覺對象資源
2,功能
3,聲明
4,內容URI
5,打包
2.6寫代碼
略
2.7調試
![](http://static.javashuo.com/static/loading.gif)
1,支持模擬器調試
2,支持遠程調試
3,UWP 使用 dot net core 編譯出來的是 Native 本地代碼,WPF 使用 dot net Framework 編譯出來是 IL 代碼,須要知道 編譯出來 Native 代碼的性能是 80% C++非託管。因此代碼運行會快不少。
4,系統級的調試
3,生成安裝包
1,VS綁定帳號和產品
2,應用程序與應用商店關聯
3,建立應用程序包
![](http://static.javashuo.com/static/loading.gif)
項目-應用商店
![](http://static.javashuo.com/static/loading.gif)
商店應用列表
![](http://static.javashuo.com/static/loading.gif)
建立應用程序包
![](http://static.javashuo.com/static/loading.gif)
選擇和配置包
![](http://static.javashuo.com/static/loading.gif)
開始生成
![](http://static.javashuo.com/static/loading.gif)
生成成功後,能夠選擇本地測試商店可行性
![](http://static.javashuo.com/static/loading.gif)
上傳到商店的應用程序包appxupload
![](http://static.javashuo.com/static/loading.gif)
用做提供給測試的包appxbundle
3.1appxbundle的安裝方法
1,右鍵appxbundle包-打開包的簽名
框架
2,安裝證書
異步
3,爲本地計算機安裝
性能
4,瀏覽證書
測試
5,選擇受信任的根證書頒發機構
插件
6,安裝證書完成
3d
6,安裝旁加載應用程序
調試
7,安裝
![](http://static.javashuo.com/static/loading.gif)
4,發佈
4.1 提交地址
https://partner.microsoft.com/zh-cn/dashboard/windows/overview
![](http://static.javashuo.com/static/loading.gif)
啓動第一次提交
![](http://static.javashuo.com/static/loading.gif)
提交中要提交安裝包的地方
5,其餘