C#项目目录结构

Windows桌面应用–选择开发平台类型

  • UWP, WPF, and Windows Forms

    这三个开发平台提供运行环境(Windows Runtime for UWP,and .NET for WPF and Windows Forms),这对于开发者有很大好处,特别在开发效率、UI界面、安全性等方面尤为显著。这些框架支持可视化设计和快速UI设计,它们使用起来非常便利。

  • Win32 API

    Win32 API(也叫Windows API)提供了一流的开发体验,因为不依靠Windows Runtime.NET这样的运行环境,这使Win32 API开发应用需要更高级的技术能力。

UWP, WPF, and Windows Forms 介绍

对于大多数桌面应用需求情景,这三种平台是最好的选择,以下是这些平台的特点介绍。

  • UWP(Universal Windows Platform 通用Windows平台)

    UWP is a highly customizable platform that uses XAML markup to separate UX (presentation) from code (business logic). It is suitable for desktop applications that that require a sophisticated UI, styles customization, and graphics-intensive scenarios. UWP also has built-in support for the Fluent Design System for the default UX experience and provides access to the Windows Runtime (WinRT) APIs. By adopting Fluent, UWP automatically supports common input methods such as ink, touch, gamepad, keyboard, and mouse. Not only can you use UWP to create desktop applications for Windows PCs, but UWP is also the only supported platform for Xbox, HoloLens, and Surface Hub applications. UWP is our newest, leading-edge application platform.

    For more information about UWP, see Get started with Windows 10 apps.

  • WPF(Windows Presentation Foundation)

    WPF is also a highly customizable platform that uses XAML markup to separate UX from code. This platform is designed for desktop applications that require a sophisticated UI, styles customization, and graphics-intensive scenarios. WPF development skills are similar to UWP development skills, so migration from WPF to UWP apps is easier than migration from Windows Forms.

    For more information about WPF, see Getting started (WPF).

  • Windows Forms

    Windows Forms excels at enabling developers to quickly get started building applications, even for developers new to the platform. This is a forms-based, rapid application development platform with a large built-in collection of visual and non-visual drag-and-drop controls. Windows Forms does not use XAML, so deciding later to extend your application to UWP entails a complete re-write of your UI.

    For more information about Windows Forms, see Getting started with Windows Forms.

UWP, WPF, and Windows Forms 对比
Feature or scenarioUWPWPFWindows Forms
Supported versionsWindows 10Windows 7 and laterWindows 7 and later
LanguagesC#, C++/WinRT, C++/CX, VB, JavaScriptC#, C++/CLI (Managed Extensions for C++), F#, VBC#, C++/CLI (Managed Extensions for C++), F#, VB
UI runtimeNative (C++/WinRT and C++/CX) and managed (.NET Native)Managed (.NET Framework)Managed (.NET Framework)
Open sourceYes (Windows UI Library only)Yes (.NET Core only)Yes (.NET Core only)
Supports XAMLYesYesNo
Win32 API 介绍

Using the Win32 API with C++ makes it possible to achieve the highest levels of performance and efficiency by taking more control of the target platform with unmanaged code than is possible on a managed runtime environment like WinRT and .NET. However, exercising such a level of control over your application’s execution requires greater care and attention to get right, and trades development productivity for runtime performance.

For more information, see Get started with Win32 and C++ and Desktop app technologies.

https://www.cnblogs.com/micua/p/windows-phone-xaml.html?utm_source=tuicool

参考来源:vs项目结构解析
开发环境:Microsoft Visual Studio 2010
项目类型:C# Windows窗体应用程序
项目结构
文件夹目录
windows下是以一个文件夹表示一个项目
*.sln:(Visual Studio Solution) 通过为环境提供对项目、项目项和解决方案项在磁盘上位置的引用,可将它们组织到解决方案中。比如是生成Debug模式,还是Release模式,是通用CPU还是专用的等.
ps:就是打开文件的索引,正确引导你进入环境,进入工程!

*.suo: (solution user options) 解决方案用户选项记录所有将与解决方案建立关联的选项,
以便在每次打开时,它都包含您所做的自定义设置。比如VS布局,项目最后编译的而又没有关掉的文件(下次打开时用)
ps:大概就是保存一些与代码本身无关的一些配置.

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Aonesoft信息管理系统1.0.0 Release 说明文档 1.起源 在我们开发软件过程中,经常做一些大量重复的编程劳动,为了把程序员从繁杂的重复劳动中解脱出来,我们开发了这套代码生成工具,它可以把数据库表映射成相应的.Net 三层架构的类及页面代码,程序员基本不需要编程就能实现信息的增、删、改、查、排序、审核、打印、导出等多种功能,生成后只需添加入我们提供的程序架构即可使用,基本不需修改代码,做到无代码编程,当然,要实现更复杂的逻辑功能还需要程序员去编程实现。 2.功能 1)其可以支持多个应用,多个模块的管理. 2)支持Access和MsSql200/2005及Oracle9i以上. 3)采用角色来进行权限的授权,每个用户可以属于多个角色,享有交差权限. 4)整合方便,权限检测采用httpmodule方式检测.基本不用对原有程序进行修改,便可将原有程序进行整合. 5)可视化编辑,全新的Menu和Tab控件.支持拖拉式编辑. 6)统一的事件日志管理,所有登陆操作都有安全记录. 7)每个模块的每个栏目对应一个目录, 栏目的权限抽象分为(查看/新增/修改/删除/排序/打印/审核/去审).目录里有一个web.config来进行目录文件权限配置,可直接将某个文件名设定到相对应的权限上. 3.开发环境 Vs2008 sp1 + win2003 标准版 + Mssql2000/2005 4.初始用户名:admin 密码:admin 5.官方网站:http://www.wansougu.com/code/ 6.帮助文档:http://www.wansougu.com/help/ 7.官方网站:http://www..wansougu.com 8.安装 先安装DBSetup里的数据库脚本,生成SQL数据库,安装时需输入Sa密码,如没有则直接回车,如有就要输入,输入时屏幕上不会显示密码,输入完后回车即可。 在VS2008里打开本网站程序,使用配套的代码生成工具,把生成的代码加入相应的层,然后在新加的Web表示层部分点右键转换为Web应用程序即可。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值