Skip to main content

Posts

Showing posts from February, 2021

Internals of the POH

As folks are aware we added a new kind of heap in .NET 5 called the POH (Pinned Object Heap). Since this is a user facing feature (and there aren't that many of those in GC) I've been meaning to write about it but didn't get around till now. In this blog entry I'll explain the internals of it, partly because if you understand them it'll make it easier to reason about scenarios that I don't already cover; partly just because I know people who read my blog tend to want the internals Why POH? First of all, why did we add this POH and why did we only add it in .NET 5? Pinning was (and still is) thought to be an outlier scenario as it clearly hinders GC's ability to compact the heap (from here on, I will use "pins" interchangeably with "pinned objects"). And you can pin any existing object with blittable fields as long as you can get a hold of it. This means you can pin an object in any generation, old or young. The best scenario is when y

Create a Arkanoid Game with TypeScript - Tutorial

Curriculum for the course Create a Arkanoid Game with TypeScript - Tutorial Learn how to build a game with vanilla Typescript. Build the classic Arkanoid game with types, classes, modules and modern code in Typescript. Use modules thanks to Parcel that bundles and builds the code. 💻 Starter files and finished project: https://github.com/weibenfalk/typescript-arkanoid ✏️ Course developed by Thomas Weibenfalk. Check out his channel: https://www.youtube.com/channel/UCnnnWy4UTYN258FfVGeXBbg -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp Watch Online Full Course: Create a Arkanoid Game with TypeScript - Tutorial Click Here to watch on Youtube: Create a Arkanoid Game with TypeScript - Tutorial This video is first published on youtube via freecodecamp. If Vid

App Building with Azure API Management, Functions, Power Apps, and Logic Apps

This month’s series on building and integrating your HTTP APIs using Web API and lots of other goodies together comes to a close with this post, which will show you some exciting ways your Web API projects and Azure Functions can be integrated in new and exciting ways when you describe them with OpenAPI. In case you haven’t seen the previous posts leading up to this, here’s the list of articles in the Month’o’API series: Creating Discoverable HTTP APIs with ASP.NET Core 5 Web API Open-source HTTP API packages and tools Generating HTTP API clients using Visual Studio Connected Services App Building with Azure API Management, Power Apps, and Logic Apps (this post) The previous posts went deep into how your .NET code could be used to build HTTP APIs and describe their various operations using OpenAPI. Now that we’ve build a well documented HTTP API with .NET and OpenAPI, I’m going to show you how we can leverage that using Azure API Management to light up in Azure Functions, Power

.NET Framework February 2021 Cumulative Update Preview for Windows 10 2004, Windows Server, version 2004, Windows 10, version 20H2 and Windows Server, version 20H2

Today, we are releasing the February 2021 Cumulative Update Preview for .NET Framework for Windows 10 2004, Windows Server, version 2004, Windows 10, version 20H2 and Windows Server, version 20H2. Quality and Reliability This release contains the following quality and reliability improvements. CLR 1 Addresses an issue where the entire process would be torn down when a NullReferenceException propagated out of an exception filter. Addresses an issue with slowdowns that could occur when making large numbers of devirtualized calls into MarshalByRefObject-derived code. WPF 2 Addresses an issue with lag responding to typing in TextBox, when spell-checking is enabled that was introduced in an update earlier this year. Addresses an issue with a leak of touch-related resources, including OS handles, when closing a window. The leak only occurs when a touch device is active, and only for windows whose HwndSource is created directly by the app. Addresses a crash when docking a window w

Serverless Functions Course - Create a Serverless API

Curriculum for the course Serverless Functions Course - Create a Serverless API Serverless functions and computing allows you to build and run applications and services without thinking about servers. Learn how to implement your own serverless functions in this complete course. ✏️ Course developed by John Smilga. Check out his channel: https://www.youtube.com/channel/UCMZFwxv5l-XtKi693qMJptA 💻 Code (Starter) - https://github.com/john-smilga/serverless-functions-starter 💻 Code (Complete) - https://github.com/john-smilga/serverless-functions-complete-project ⭐️ Course Contents ⭐️ ⌨️ (0:00:00)​ Intro ⌨️ (0:01:17)​ Serverless Functions Info ⌨️ (0:07:25)​ Services Info ⌨️ (0:09:31)​ Front-End ⌨️ (0:11:11)​ Requirements ⌨️ (0:12:55)​ Text Editor ⌨️ (0:13:54)​ Starter Project ⌨️ (0:14:53)​ Install Starter ⌨️ (0:17:21)​ Starter Overview ⌨️ (0:32:12)​ First Function ⌨️ (0:41:30)​ Function Syntax Overview ⌨️ (0:51:36)​ Status Codes ⌨️ (0:59:20)​ First Example ⌨️ (1:11:44)​

Generating HTTP API clients using Visual Studio Connected Services

We’re continuing our series on building HTTP APIs with .NET 5. In the first post in this series we talked about building well-described APIs using OpenAPI, and then followed that up taking a deeper dive into some of the open-source tools and packages you can use to make your HTTP API development easier. In this post, the third in the series, we’ll talk about how Visual Studio Connected Services gives you a convenient way of generating .NET clients for your HTTP APIs so your .NET apps can use the APIs via the Internet. Let’s get right to it! Creating Discoverable HTTP APIs with ASP.NET Core 5 Web API Open-source HTTP API packages and tools Generating HTTP API clients using Visual Studio Connected Services (this post) App Building with Azure API Management, Power Apps, and Logic Apps Visual Studio Connected Services Building an HTTP API is only useful when the API can be called from apps or other APIs. Consuming an HTTP API isn’t complex, but it does require a good amount of boil

Survey: Library & Open Source

Are you an open source maintainer, contributor or consumer? Or are you building NuGet packages? Please take this 10 minute survey to share your pain points and concerns so we can make your experience better! Take the .NET open source & library survey And while you’re at it: The .NET Foundation is also conducting a .NET developer survey and they would like you to participate to help them understand the community needs better in order to prioritize the work that they do. The survey will stay open until March 31, 2021 after which the anonymous results will be made public. As a thank you for filling out the survey, you can enter to win one of multiple $250USD gift certificates . Take the .NET Foundation “State of .NET” survey The post Survey: Library & Open Source appeared first on .NET Blog . source https://devblogs.microsoft.com/dotnet/survey-library-open-source/

Tune in for .NET Conf: Focus on Windows, February 25th

The .NET Conf team is bringing you another “.NET Conf: Focus” event Thursday, February 25 all about building Windows desktop apps. We have finalized the agenda, speakers, and hosts that will make the day educational and fun. We have .NET and Windows team members along with community speakers and MVPs to show you some amazing things you can do. Check out the agenda and save the date! I had the pleasure of talking with Leslie on the Visual Studio Toolbox show all about the event and some of the history and behind the scenes tid bits about the .NET Conf series. It’s a short 15 minute interview so check it out. Tune into focus.dotnetconf.net on February 25, 2021 . See how you can move your Windows apps forward to take advantage of modern platforms, components, and tools no matter what .NET app model you’re using. Learn why and how to upgrade WPF and Windows Forms apps to .NET 5, see Visual Studio tooling improvements, learn how to leverage cloud services from your client apps, and a

Data Visualization with D3, JavaScript, React - Full Course [2021]

Curriculum for the course Data Visualization with D3, JavaScript, React - Full Course [2021] Learn Data Visualization with D3, JavaScript, and React in this 17-hour course. Part 2: https://youtu.be/H2qPeJx1RDI 🎥 Created by Curran Kelleher. His channel: https://www.youtube.com/channel/UCSwd_9jyX4YtDYm9p9MxQqw ⭐️Sections/Code⭐️ 00:00 Datavis 2020 Introduction 14:30 What is Data Visualization 22:49 Week 1 Q & A 29:17 Finding Visualizations 39:11 Introduction to Web Technologies 57:02 Let's Make a Face Part I (HTML, CSS, SVG) 💻 https://vizhub.com/curran/e54aba86481147a482f339763d4fc598 💻 https://vizhub.com/curran/fbf0dfea4bcc41f898f3ab9f10c4a279 1:14:57 Let's Make a Face Part II (React) 💻 https://vizhub.com/curran/fbf0dfea4bcc41f898f3ab9f10c4a279 💻 https://vizhub.com/curran/3a00f5c877ac4e30b7269c17f29d2e4d 1:26:53 Let's Make a Face Part III (React & D3) 💻 https://vizhub.com/curran/3a00f5c877ac4e30b7269c17f29d2e4d 💻 https://vizhub.com/curran/4297

Exploratory Data Analysis in Python, Numpy & Pandas for Data Visualization

Exploratory Data Analysis in Python, Numpy & Pandas for Data Visualization - Introduction Learn the basics of Python, Numpy, Pandas, Data Visualization, and Exploratory Data Analysis in this course for beginners. This was originally presented as a live course. By the end of the course, you will be able to build an end-to-end real-world course project and earn a verified certificate of accomplishment. Data Analysis with Python and Numpy - Free Course | Credit: Freecodecamp Exploratory Data Analysis in Python, Numpy & Pandas for Data Visualization - Prerequisite There are no prerequisites for this course.  Exploratory Data Analysis in Python, Numpy & Pandas for Data Visualization  -  Curriculum  This full course video includes 6 lectures (all in this video):  Introduction to Programming with Python Next Steps with Python Numerical Computing with Numpy Analyzing Tabular Data with Pandas Visualization with Matplotlib and Seaborn Exploratory Data Analysis - A Case Study 💻 Co

Announcing Entity Framework Core 6.0 Preview 1

Today, the Entity Framework Core team announces the first preview release of EF Core 6.0 . This release includes new attributes, built-in functions, and database-specific improvements to SQLite and SQL Server capabilities. Prerequisites EF Core 6.0 currently targets .NET 5. This will likely be updated to .NET 6 as we near the release. EF Core 6.0 does not target any .NET Standard version; for more information see the future of .NET Standard . EF Core 6.0 will not run on .NET Framework. How to get EF Core 6.0 previews EF Core is distributed exclusively as a set of NuGet packages. For example, to add the SQL Server provider to your project, you can use the following command using the dotnet tool: dotnet add package Microsoft .EntityFrameworkCore .SqlServer --version 6 .0 .0-preview .1 .21102 .2 This following table links to the preview 1 versions of the EF Core packages and describes what they are used for. Package Purpose Microsoft.EntityFrameworkCore The main