AriaNg+Aria2 搭建私人离线下载平台

安装环境:windows server 2012

1、下载相关文件

Aria2:https://github.com/aria2/aria2/releases/

AriaNg:https://github.com/mayswind/AriaNg/releases

Aria2 配置文件:https://cdn.mivm.cn/Hill-Blog/article/windows-aria2/aria2_conf.zip

Aria2 控制文件:https://cdn.mivm.cn/Hill-Blog/article/windows-aria2/aria2_bat.zip

2、安装配置Aria2

1、解压下载的Aria2

2、将Aria2 配置文件解压到Aria2目录

3、将Araia2 控制文件解压到Aria2目录

默认已配置,修改配置打开 aria2.conf更改

4、打开Start.bat,启动Aria2

注意:如果需要外网访问,防火墙记得打开6800端口

3、安装配置AriaNg

1、打开IIS新建网站

2、将AriaNg放到新建网站的目录下

3、打开网站出现以下界面即可

如无法连接Aria2,可能需要配置一下

完.

ASP.NET MVC 学习01

2017/8/16晚开始学习ASP.NET MVC,在此随便记一下笔记。

学习地址:极客学院http://www.jikexueyuan.com/course/436_5.html

MVC 定义 Model-View-Controller

默认路由顺序是 controller→action→id,RouteConfig可以配置默认的路由。

新建Controller会自动新建View文件夹。

项目编译IIS Express会自动更新。

URL参数最好进行HttpUtility.HtmlEncode。

Test(string name=”123″)设置缺省值。

Razor注释:@*注释*@。

浏览器中Ctrl+F5刷新清缓存。

XAML编辑器错误 (Exception from HRESULT: 0x80270254) 解决方法

the same started to happen to me today; to reproduce the issue, I just open Visual Studio 2013 Update 4, create a blank Windows Phone 8.1 and double click on MainPage.xaml.

I solved by performing the following (a mix of what I’ve read around the web):

  • exit all Visual Studio instances
  • delete everything on %localappdata%\Microsoft\VisualStudio\12.0\Designer\ShadowCache
  • open a command prompt with admin rights and execute the following commands:
    pushd %VS110COMNTOOLS%
    icacls ..\IDE /grant *S-
    11521:(OI)(F)
    icacls ..\IDE /grant *S-
    11521:(CI)(F)
    icacls ..\IDE\PrivateAssemblies /grant *S-
    11521:(OI)(F)
    icacls ..\IDE\PrivateAssemblies /grant *S-
    11521:(CI)(F)
    icacls ..\IDE\PublicAssemblies /grant *S-
    11521:(OI)(F)
    icacls ..\IDE\PublicAssemblies /grant *S-
    11521:(CI)(F)

finally, reboot. worked on Windows 8.1 64-bit.

来自 <http://stackoverflow.com/questions/24593249/windows-phone-8-app-does-not-contain-a-definition-for-initializecomponent/24772492#24772492>