2023年4月10日
摘要: 第1部分 ASP.NET Core 入门 如今,从社交媒体 Web 应用程序、新闻网站到手机应用程序,电子商务应用程序无处不在。在幕后,几乎总是有一台服务器在运行Web应用程序或 HTTP API。Web 应用程序具有无限的可扩展性、部署到云上以及高性能。在最好的情况下,开始可能会让人不知所措,带着 阅读全文
posted @ 2023-04-10 11:36 码农小白修炼记 阅读(180) 评论(0) 推荐(1)
摘要: 在本书的第一部分,我们将简要介绍C#语言,并讨论它的一些特性。第1章介绍了什么是C#和.NET,以及为什么您会(也不会)在项目中使用它们。第2章深入探讨了.NET的各种迭代,并在编译过程中采用了C#方法,在编译过程的每一个主要步骤都停止下来 。 尽管这部分确实是本书的介绍,但它仍然为熟悉C#的人提供 阅读全文
posted @ 2023-04-10 11:32 码农小白修炼记 阅读(177) 评论(0) 推荐(0)
  2023年3月28日
摘要: EXEC sp_configure 'clr enabled', 1;RECONFIGURE;GO ALTER DATABASE INFOSHARE_BASE_TRAINING SET TRUSTWORTHY ON;GOIF EXISTS (SELECT name FROM sys.assembli 阅读全文
posted @ 2023-03-28 11:57 码农小白修炼记 阅读(60) 评论(0) 推荐(0)
  2022年11月2日
摘要: void TestNTFD() { try { try { ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)307 阅读全文
posted @ 2022-11-02 14:00 码农小白修炼记 阅读(115) 评论(0) 推荐(0)
摘要: 示例是调用谷歌短网址的API. 1. HttpClient方式: public static async void DoAsyncPost() { DateTime dateBegin = DateTime.Now; string url = @"https://www.googleapis.com 阅读全文
posted @ 2022-11-02 10:06 码农小白修炼记 阅读(174) 评论(0) 推荐(0)
  2022年10月19日
摘要: /// <summary> /// 去除特殊字符 /// </summary> /// <param name="text"></param> /// <returns></returns> public static string MakeValidFileName(string text) { 阅读全文
posted @ 2022-10-19 09:06 码农小白修炼记 阅读(110) 评论(0) 推荐(0)
  2022年10月18日
摘要: public class CheckResult { public bool IsMp4 { get; set; } public bool SupportStreaming { get; set; } } /// <summary> /// 判断是否Mp4及Moov前置 /// </summary 阅读全文
posted @ 2022-10-18 16:01 码农小白修炼记 阅读(304) 评论(0) 推荐(0)
  2022年10月17日
摘要: public static void SSOAuthenLog(string msg, bool isRemoteAuthen = true) { #region try { ContextHelper helper = new ContextHelper(); string logFolder = 阅读全文
posted @ 2022-10-17 16:17 码农小白修炼记 阅读(153) 评论(0) 推荐(0)
  2022年10月11日
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;using System.IO.Compression;namespace CSIBrowser.Clie 阅读全文
posted @ 2022-10-11 14:19 码农小白修炼记 阅读(267) 评论(0) 推荐(0)
  2022年9月16日
摘要: //public Toolbox() //{ // ItemsControl items = this as ItemsControl; // TextBlock textBlock = new TextBlock(); // textBlock.IsHitTestVisible =false; / 阅读全文
posted @ 2022-09-16 15:57 码农小白修炼记 阅读(90) 评论(0) 推荐(0)