这是使用
yeoman
简单模板创建的一个ASP.Net MVC应用程序,下面正文内容均为默认模板生成。为了和默认内容区分,个人新增说明均以引用形式插入,包括这一段文字。
有关在 Mac OS X 上运行ASP.Net MVC应用的更多说明,请转到ASP.NET官网查看。而具体配置说明,也可以从VS Code说明文档中找到。
We've made some big updates in this release, so it’s important that you spend a few minutes to learn what’s new.
ASP.NET 5 has been rearchitected to make it lean and composable. It's fully open source and available on GitHub. Your new project automatically takes advantage of modern client-side utilities like Bower and npm (to add client-side libraries) and Gulp (for client-side build and automation tasks).
We hope you enjoy the new capabilities in ASP.NET 5 and Visual Studio 2015. The ASP.NET Team
对于Linux和Mac OS X平台,可以使用
VS Code
进行开发,目前(2015年9月23日)还不支持调试。 注意运行ASP.NET MVC应用需要.Net运行环境(DNX),推荐使用相对稳定的mono
环境,这也是默认的选择,未来当微软自己的coreCLR
完善之后可以在切换。
You've created a new ASP.NET 5 project. Learn what's new
本项目使用实体框架EF 7.0 beta版作为数据访问库。可以从Entity Framework官方文档中查看如何在Mac OS X中使用。
- Sample pages using ASP.NET MVC 6
- Gulp and Bower for managing client-side resources
- Theming using Bootstrap
- The 'wwwroot' explained
- Configuration in ASP.NET 5
- Dependency Injection
- Razor TagHelpers
- Manage client packages using Gulp
- Develop on different platforms
- Add Controllers and Views
- Add Data using EntityFramework
- Add Authentication using Identity
- Add real time support using SignalR
- Add Class library
- Add Web APIs with MVC 6
- Add client packages using Bower
- Run your app locally
- Run your app on ASP.NET Core 5
- Run commands in your 'project.json'
- Publish to Microsoft Azure Web Sites
- Publish to the file system
We would love to hear your feedback