当前位置: 首页 > article >正文

c#初学者下载_如何为初学者视频下载80多种免费的101级C#、. NET和ASP.NET,以供离线观看

c#初学者下载

c#初学者下载

Earlier this week I announced over 80 new free videos in our .NET Core 3.0 launch video series - Announcing free C#, .NET, and ASP.NET for beginners video courses and tutorials

本周早些时候,我在.NET Core 3.0发布视频系列中宣布了80多个新的免费视频-为初学者视频课程和教程宣布免费的C#、. NET和ASP.NET。

Three questions came up consistently:

始终出现三个问题:

  • My work or country blocks YouTube! What about me?

    我的工作或所在国家/地区阻止了YouTube! 那我呢?
  • How can I download these and watch them offline?

    如何下载这些内容并离线观看?
  • I have very low bandwidth. Can I get smaller versions I can download over 3G/4G?

    我的带宽很低。 我可以得到可以通过3G / 4G下载的较小版本吗?

Here's some answers for you!

这是给您的一些答案!

我的工作或所在国家/地区阻止了YouTube! 那我呢? (My work or country blocks YouTube! What about me?)

First, we have updated http://dot.net/videos to include links to BOTH YouTube *and* to the same videos hosted on Microsoft's Channel 9, which shouldn't be blocked by you country or company!

首先,我们更新了http://dot.net/videos,以包括指向YouTube和*的链接,同时也指向Microsoft的Channel 9上托管的相同视频,而您所在的国家或公司则不应阻止!

如何下载这些内容并离线观看? (How can I download these and watch them offline?)

Good question! Here's how to download a whole series with PowerShell! Let's say I want to download "C# 101."

好问题! 这是使用PowerShell下载整个系列的方法! 假设我要下载“ C#101”。

First, head over to https://dot.net/videos.

首先,转到https://dot.net/videos 。

Second, click "Watch on Channel 9" there at the bottom of the series you want, in my case, C# 101.

其次,在您想要的系列的底部(在我的情况下为C#101)单击“在频道9上观看”。

Note that there's a link there in the corner that says "RSS" - that's Really Simple Syndication!

请注意,角落里有一个链接,上面写着“ RSS”-这真的很简单!

RSS Videos for Channel 9 Videos

Right click on the one you want, for example MP4 Low for people on low bandwidth connections! (Question #3 gets answered too, two for one!), and say "Copy Link Address." Now that link is in your clipboard!

右键单击您想要的一个,例如MP4 Low(低带宽连接人员)! (问题3的答案也得到回答,两个一!),然后说“复制链接地址”。 现在该链接在剪贴板中!

Next, I made a little PowerShell script and put it here in a Gist. If you want, you can right click on this link here and Save Link As and name it something like DownloadVideos.ps1. Maybe save it in C:\temp or c:\users\YOURNAME\Desktop\DotNetVideos. Whatever makes you happy. Make sure you saved it with a *.ps1 extension.

接下来,我制作了一个小PowerShell脚本并将其放在Gist中。 如果需要,可以右键单击此链接,然后将链接另存为,并命名为DownloadVideos.ps1。 也许将其保存在C:\ temp或c:\ users \ YOURNAME \ Desktop \ DotNetVideos中。 令您开心的事。 确保以* .ps1扩展名保存它。

Finally, open up the PS1 file in a text editor and check lines 2 and 3. Put in a path that's correct for YOUR computer, again, like C:\temp, or your downloads folder.

最后,在文本编辑器中打开PS1文件,并检查第2行和第3行。再次输入适合您计算机的路径,例如C:\ temp或您的下载文件夹。

#CHECK THE PATH ON LINE 2 and the FEED on LINE 3
cd "C:\users\scott\Downloads"
$a = ([xml](new-object net.webclient).downloadstring("https://channel9.msdn.com/Series/CSharp-101/feed/mp4"))
$a.rss.channel.item | foreach{
$url = New-Object System.Uri($_.enclosure.url)
$file = $url.Segments[-1]
$file
if (!(test-path $file)) {
(New-Object System.Net.WebClient).DownloadFile($url, $file)
}
}

Make sure the RSS link that you copied earlier above is correct on line 3. We need a Local Folder and we need our Remote RSS Link.

确保您上面上面复制的RSS链接在第3行上正确无误。我们需要一个本地文件夹,我们需要我们的远程RSS链接。

NOTE: If you're an expert you might think this PowerShell script isn't fancy enough or doesn't do x or y, but it'll do pretty nicely for this project. You're welcome to fork it or improve it here.

注意:如果您是专家,您可能会认为此PowerShell脚本不够花哨,或者不执行x或y,但是对于该项目而言,它做得很好。 欢迎您在此处进行分叉或改进。

And finally, open up PowerShell on your machine from the Start Menu and run your downloadvideos.ps1 script like in this screenshot.

最后,从“开始”菜单打开计算机上的PowerShell,并运行此屏幕截图中的downloadvideos.ps1脚本。

如何获得低带宽视频,我可以通过慢速连接下载视频! (What about getting Low Bandwidth videos I can download on a slow connection!)

The low bandwidth videos are super small, some smaller than a JPEG! The largest is just 20 megs, so the full C# course is under 200 megs total.

低带宽视频非常小,有些比JPEG小! 最大的只有20兆,因此完整的C#课程总计不到200兆

You can download ALL the videos for EACH playlist by visiting http://dot.net/videos, getting the RSS URL for the video playlist you want, and running the PS1 script again with the changed URL on line 3.

您可以通过访问http://dot.net/videos下载每个播放列表的所有视频,获取所需视频播放列表的RSS URL,然后在第3行使用更改后的URL再次运行PS1脚本。

Hope this helps!

希望这可以帮助!

Sponsor: Like C#? We do too! That’s why we've developed a fast, smart, cross-platform .NET IDE which gives you even more coding power. Clever code analysis, rich code completion, instant search and navigation, an advanced debugger... With JetBrains Rider, everything you need is at your fingertips. Code C# at the speed of thought on Linux, Mac, or Windows. Try JetBrains Rider today!

赞助商:喜欢C#吗? 我们也这样做! 这就是为什么我们开发了一个快速,智能,跨平台的.NET IDE的原因,它为您提供了更多的编码能力。 巧妙的代码分析,丰富的代码完成,即时搜索和导航,高级调试器...使用JetBrains Rider,您所需的一切都唾手可得。 在Linux,Mac或Windows上以思考的速度编写C#代码。 立即尝试JetBrains Rider !

翻译自: https://www.hanselman.com/blog/how-to-download-over-80-free-101level-c-net-and-aspnet-for-beginners-videos-for-offline-viewing

c#初学者下载

http://www.lryc.cn/news/2418276.html

相关文章:

  • 华为鸿蒙harmonyos面相全场,鸿蒙系统官网2.0报名
  • Netty(10)协议设计与解析(IdleStateHandler:空闲检测器、心跳)
  • class反编译
  • web前端面试题之JavaScript篇
  • 2022年最佳的9种逆向工程工具[持续更新]
  • 共享WiFi贴项目怎么推广?wifi贴详细地推攻略分享!
  • 致敬!向中外9名杰出女数学家
  • 震惊!680万用户信息泄露,国内某人脸识别公司数据库“裸奔”
  • MadPad:个性化的音乐创作应用
  • KUDU同步数据到Hive报错
  • 基于java的叮当书城系统毕业设计(源代码+数据库+部署文档+部署视频)
  • 最新版qq空间刷留言小秘书 V1.20 正式版
  • 服务器无法在此时接收控制信息,如何修复win10专业版wifi错误1061服务无法在此时接受控制信息...
  • PASCAL VOC 2012 数据集解析
  • UWB技术的工作原理
  • 电商系统的简单架构
  • cisco2600路由器破解密码和重装IOS
  • 看这里NetWork location failed because baidu location service can not decrypt the request query,so加载不到
  • Oracle11g安装详细步骤(图文教程)
  • C语言与Java的区别
  • php商城开发人人分销团队级差分红升级规则订制
  • 开通博客通告
  • 进程间通信IPC——管道(1) 两个进程间通信
  • myeclipse 9.0
  • swf反编译工具
  • python主要应用于哪些方面,python一般用来做什么
  • Linux运维工程师常见基础面试题
  • 电子商务网站后台管理系统的设计与实现
  • js中void 0是什么意思,javascript:void()
  • 负载均衡与反向代理