zoukankan      html  css  js  c++  java
  • .net 生成静态页面

     上班无聊时写的,可能还有很多方面考虑到,希望各位园友多多指教!

      1using System;
      2using System.Data;
      3using System.Text;
      4using System.Configuration;
      5using System.IO;
      6using System.Web;
      7using System.Web.Security;
      8using System.Web.UI;
      9using System.Web.UI.WebControls;
     10using System.Web.UI.WebControls.WebParts;
     11using System.Web.UI.HtmlControls;
     12
     13/// <summary>
     14/// Class1 的摘要说明
     15/// </summary>

     16public class Tohtml
     17{
     18 private string FileName;
     19 public string SavePath;
     20 public string TemplateFilePath;
     21 public string ExecSite;
     22
     23 public Tohtml()
     24 {
     25  //
     26  // TODO: 在此处添加构造函数逻辑
     27  //
     28 }

     29
     30 public Tohtml(string SavePath,string TemplateFilePath)
     31 {
     32  this.SavePath = SavePath;
     33  this.TemplateFilePath = TemplateFilePath;
     34 }

     35
     36 文件名类型
     69
     70 利用模板创建静态页面
    126
    127 执行某个aspx页面后再产生静态页面
    160
    161}

    162
  • 相关阅读:
    查看进程在CPU和内存占用的命令
    Android studio 启动模拟器出现 VT-x is disabled in BIOS 以及 /dev/kvm is not found
    awk命令过滤tomcat的访日日志中IP地址
    windows 2008R2系统程序运行提示无法定位程序输入点ucrtbase.terminate
    k8s中yaml文件pod的语法(转)
    etcd和redis的比较和日常使用场景
    从gitlab或者github采用git clone和download zip的区别
    记录一次mysql查询速度慢造成CPU使用率很高情况
    USG防火墙DHCP设置保留IP地址
    让docker容器开机启动
  • 原文地址:https://www.cnblogs.com/coolkiss/p/1298222.html
Copyright © 2011-2022 走看看