{"id":20338574,"url":"https://github.com/gavinhome/tz.vnext","last_synced_at":"2026-03-10T01:34:29.699Z","repository":{"id":47521318,"uuid":"173011868","full_name":"GavinHome/TZ.vNext","owner":"GavinHome","description":"An enterprise-level development framework for cross-platform development based on asp.net core's front-end and back-end separation. The front end adopts vue + typescript and other technologies, and the background data access adopts the odata standard.","archived":false,"fork":false,"pushed_at":"2022-09-16T02:00:27.000Z","size":13670,"stargazers_count":5,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-04T11:48:35.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GavinHome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-28T00:25:43.000Z","updated_at":"2024-01-31T23:55:35.000Z","dependencies_parsed_at":"2023-01-18T09:30:58.092Z","dependency_job_id":null,"html_url":"https://github.com/GavinHome/TZ.vNext","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GavinHome/TZ.vNext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinHome%2FTZ.vNext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinHome%2FTZ.vNext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinHome%2FTZ.vNext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinHome%2FTZ.vNext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GavinHome","download_url":"https://codeload.github.com/GavinHome/TZ.vNext/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinHome%2FTZ.vNext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30320889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T21:13:33.271Z","updated_at":"2026-03-10T01:34:29.678Z","avatar_url":"https://github.com/GavinHome.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TZ.vNext\n\n#### 项目介绍\n框架代号\"vNext\"，目的是基于asp.net core集成优秀的技术框架，形成一套完善的前后端分离的跨平台开发的企业级开发框架。前端采用vue + typescript等技术，后台数据访问采用odata标准。\n\n#### 软件架构\nasp.net core mvc/webapi + odata + vue + typescript \n\n#### 安装教程\n\n1. git clone https://github.com/GavinHome/TZ.vNext\n2. cd TZ.vNext\n3. dotnet restore\n4. cd TZ.vNext.Web\n5. npm install\n6. 安装vscode \n7. cd TZ.vNext\n8. 用以下命令打开项目:code .\n9. F5运行\n\n#### 使用说明\n\n1. 前端采用kendo-vue \u0026 element ui，具体请前往各自官方技术网站参考学习\n2. 后台框架：asp.net core  \u0026 odata，具体请前往各自官方技术网站参考学习\n3. 本项目可运行至win, mac, linux。win下请使用vs2017/vscode开发;mac下推荐vscode开发，毕竟mac下的vs太大，而且还不是很成熟;linux，鉴于此平台下属于高级玩家的范围，所以我个人建议使用一般的文本编辑器，使用命令编译运行，当然也可以使用vscode等工具，具体请google学习\n4. dotnet core 项目的编译运行等基础知识请前往微软技术网站参考学习\n5. EntityFrameworkProfiler: 抓sql工具，目前仅用于windows端；使用方法参考最后一部分列出的参考网址。\n\n注：第五步之后，运行项目可能会报错误，是typescript的一个语法错误，此时需要修改两个文件:\n\\TZ.vNext.Web\\node_modules\\vue-router\\types\\roueter.d.ts\n\\TZ.vNext.Web\\node_modules\\vue-router\\types\\vue.d.ts \n将这两个文件中的import Vue = require(\"vue\")修改为import Vue  from 'vue'\n\n#### 参与贡献\n\n1. Fork 本项目\n2. 新建 Feat_xxx 分支\n3. 提交代码\n4. 新建 Pull Request\n\n\n#### todo list\n\n1. 权限控制，考虑使用token的方式，需要形成一套单独的机制，包括grid等组件权限控制机制等\n2. 日志，异常处理等基础性的工作\n3. 多数据库多环境\n4. 前后端打包配置，后端teamcity, 前端webpack已做了一部分工作，但是需要优化\n5. 框架级样式调整\n6. 公共组件开发：文件上传/下载，导入导出.....[后续补充]\n7. 一个长期的计划：所有框架的知识要点需要形成一个博客文章系列，不仅仅是介绍的形式，包括介绍，使用，以及进阶主题等等。\n\n#### 打包脚本\n1. 编译： dotnet build -c Release\n2. 发布： dotnet publish TZ.vNext.Web.csproj -c Release -f netcoreapp2.0  -o ./publish/\n3. 运行： dotnet TZ.vNext.Web.dll\n\n#### 参考链接\n1. element ui : http://element-cn.eleme.io/#/zh-CN/component/installation\n\n2. kendo-vue : https://www.telerik.com/kendo-vue-ui/components/grid/\n\n3. vue : https://vuejs.org/v2/guide/\n\n4. odata : http://odata.github.io/WebApi/\n\n5. typescript : http://www.typescriptlang.org/docs/home.html\n\n6. dotnet core : https://www.microsoft.com/net/learn/get-started/macos\n\n7. asp.net core : https://docs.microsoft.com/zh-cn/aspnet/core/?view=aspnetcore-2.1\n\n8. EntityFrameworkProfiler: https://www.hibernatingrhinos.com/products/efprof/learn\n\n#### 其他说明\n\n1. 运行npm install，后运行出现错误：类似找不到Vue，此时请联系作者，告诉你如何修改npm代码后成功运行，或者你也可以自己google。\n2. 本项目服务端依赖\"Telerik.UI.for.AspNet.Core\", 如果还原包时报错，请添加手动添加nuget源：https://nuget.telerik.com/nuget， 并再次还原。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinhome%2Ftz.vnext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinhome%2Ftz.vnext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinhome%2Ftz.vnext/lists"}