C# DateTime的11种构造函数 别的也不多说没直接贴代码 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; namespace
一.前言 最近需要将自己写的WCF服务部署到远程服务器上,也就是公网上.宿主是IIS,在配置成功之前遇到了很多问题,问题如下: 1. WCF该怎么宿主在IIS上,为何会出现 400 Bad Request 2. 防火墙如何开放 3. 为何我能在客户端引用服务,但是运行时依然提示Soap操作错误,404 Not Found 那么接下来,我就告诉大家我走过的坑,也避免了百度上各种司机瞎带路.(网上好多其实是本地部署,Localhost谁都会,VS直接Debug都行) 二.准备阶段
在使用NuGet把包push到nuget官网的时候,提示了如下信息: Failed to process request. 'The specified API key is invalid or does not have permission to access the specified package.' 远程服务器返回错误:(403)已禁用 解决方法: 1.检查是否已经设置过apikey,可以使用设置apikey的命令设置一下,在进行push,如果在设置的时候有错误提示,可以尝试使用管