好的 .net 系统平台

好的 .net 系统平台 1,.NET 企业级电子商务平台 (b2b & b2c) .NET Ecommerce Platform for B2B & B2C solutions 网站介绍:http://virtocommerce.com/ demo: http://www.nopcommerce.com/demo.aspx github:https://github.com/VirtoCommerce/vc-community 2,.NET 商城系统 nopcommerce Read more

github 资源

github 有用的资源库 1,javascript 3D 库 https://github.com/mrdoob/three.js 2,https://github.com/projectkudu/kudu 3,.NET Ecommerce Platform for B2B & B2C solutions https://github.com/VirtoCommerce/vc-community Read more

asp.net 虚拟路径

VirtualPathUtility 为常见的虚拟路径操作提供实用工具方法。 虚拟路径:指的是 以 ~/ 或者是正斜杠 / 开头的路径,如: string virtualPath1 = "~/abc/"; string virtualPath2 = "/abc"; 绝对路径 absolute ,是正斜杠 / 开头的路径。 想对路径 relative ,是 ~/ 开头的路径。 VirtualPathUtility.IsAbsolute("/abc") // true VirtualPathUtility.IsAppRelative("~/abc") // true Read more

asp.net mvc 路由绑定域名

原文地址:https://gist.github.com/IDisposable/77f11c6f7693f9d181bb using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text.RegularExpressions; using System.Web; using System.Web.Http; using System.Web.Http.Routing; using System.Web.Mvc; using System.Web.Routing; Read more

PHP 常用

1, 跳转 header("Location: abc.php");exit; 2.文件下载 $filepath = (you file path); //$_SERVER['DOCUMENT_ROOT'] header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.basename($filepath)); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: '.filesize($filepath)); readfile($filepath); Read more

...23456...