经过一系列重构,你眼明的话,还是可以看到还有重构的地方,如:
string newFileName = "~/Temp/" + Guid.NewGuid().ToString() + ".json"; //"~/Temp/Order1.json";
string newFilePhysicalPath = HttpContext.Current.Server.MapPath(newFileName);
经过一系列重构,你眼明的话,还是可以看到还有重构的地方,如:
string newFileName = "~/Temp/" + Guid.NewGuid().ToString() + ".json"; //"~/Temp/Order1.json";
string newFilePhysicalPath = HttpContext.Current.Server.MapPath(newFileName);
相关文章: