简体   繁体   English

自定义项目Visual Studio 2017

[英]Custom project visual studio 2017

Is it possible to create a project in Visual studio 2017 that: 是否可以在Visual Studio 2017中创建一个项目:

  1. I can write html / jss / css only in the front end (can still be aspx extension) 我只能在前端编写html / jss / css(仍然可以是aspx扩展名)
  2. Have the visual design mode available 提供视觉设计模式
  3. Create a separate web service for the server side c# connectivity. 为服务器端c#连接创建一个单独的Web服务。

I want to create a javascript html css only front end (but I like VS IDE). 我想只创建一个javascript html css前端(但是我喜欢VS IDE)。 all back end stuff will just be web services and front end ajax where needed. 所需的所有后端内容都只是Web服务和前端Ajax。

ps how does this approach sound? ps这种方法听起来如何?

I would recommend the use of Visual Studio Code , which is the open source, cross-platform version of Visual Studio. 我建议使用Visual Studio Code ,它是Visual Studio的开源,跨平台版本。 It comes with Intellisense, the colour theme and a solution explorer. 它带有Intellisense,颜色主题和解决方案资源管理器。 It had less of the features, as it is more of an editor than an IDE. 它具有较少的功能,因为它比IDE更像一个编辑器。

The only thing this application doesn't have is the visual design mode, but the autocomplete functions will help you out there! 该应用程序唯一没有的是视觉设计模式,但是自动完成功能将为您提供帮助! :D :D

Visual Studio wasn't really developed for pure client-side web development, so I would suggest using Code, over Community! Visual Studio并不是真正为纯客户端Web开发而开发的,所以我建议在社区上使用Code!

As for your approach, if you wanted to spread your wings a little and perhaps expand your sphere of skills, I'd totally recommend using ASP.NET Core MVC . 至于您的方法,如果您想稍微张开双翼,甚至扩大您的技能范围,我完全建议您使用ASP.NET Core MVC It is the latest roll out of the ASP.NET family and contains support for C# inline with HTML as well as data controlling with C# classes. 它是ASP.NET系列的最新产品,包含对内联HTML的C#以及对C#类进行数据控制的支持。

I hope this has helped you with your project! 希望这对您的项目有所帮助! :) :)

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM