Skip to main content

Posts

Showing posts from May, 2022

Incremental ASP.NET to ASP.NET Core Migration

ASP.NET Core is the modern, unified, web framework for .NET that handles all your web dev needs. It is fully open source, cross-platform, and full of innovative features: Blazor, SignalR, gRPC, minimal APIs, etc. Over the past few years, we have seen many customers wanting to move their application from ASP.NET to ASP.NET Core. Customers that have migrated to ASP.NET Core have achieved huge cost savings, including Azure Cosmos DB , Microsoft Graph , and Azure Active Directory . We have also seen many of the challenges that customers face as they go through this journey. This ranges from dependencies that are not available on ASP.NET Core as well as the time required for this migration. We have been on a journey ourselves to help ease this migration for you as customers, including work over the past year on the .NET Upgrade Assistant . Today we are announcing more tools, libraries and patterns that will allow applications to make the move to ASP.NET Core with less effort and in an incr

Build a Shopping Cart with JavaScript – Project Tutorial

Curriculum for the course Build a Shopping Cart with JavaScript – Project Tutorial Improve your JavaScript skills by coding a shopping cart using vanilla JavaScript ('vanilla' just means JavaScript with no frameworks or libraries). 💻 GitHub: https://github.com/JoyShaheb/shopping-cart-js/tree/starter-files 🖥 Live Demo: https://shopping-cart-js-joyshaheb.vercel.app/ ✏️ Joy Shaheb created this course. Check out his channel: https://www.youtube.com/c/JoyShaheb ⭐️ Course Contents ⭐️ ⌨️ (0:00:00) Intro ⌨️ (0:02:56) Setup ⌨️ (0:09:19) Navbar ⌨️ (0:24:41) Product Cards ⌨️ (1:04:18) Increment Function ⌨️ (1:18:28) Decrement Function ⌨️ (1:21:37) Update Functions ⌨️ (1:27:46) Calculation ⌨️ (1:36:11) local Storage ⌨️ (1:48:50) Cart Page ⌨️ (2:50:00) remove Item ⌨️ (2:56:00) Total Bill ⌨️ (3:07:53) Clear Cart ⌨️ (3:14:17) Adding more Products 🎉 Thanks to our Champion and Sponsor supporters: 👾 Raymond Odero 👾 Agustín Kussrow 👾 aldo ferretti 👾 Otis Morgan 👾 DeezMaster -

.NET Framework May 2022 Cumulative Update

We are releasing the May 2022 Cumulative Update Preview Updates for .NET Framework. Quality and Reliability This release contains the following quality and reliability improvements. WPF 1 Addresses an issue where DWM failures can cause WPF’s render thread to fail. An app can opt-in to the behavior of ignoring all DwmFlush errors by setting a regkey in HKCUSoftwareMicrosoftAvalon.GraphicsIgnoreDwmFlushErrors or HKLMSoftwareMicrosoftAvalon.GraphicsIgnoreDwmFlushErrors whose name is the full path to the .exe that wants to opt-in, and whose DWORD value is 1. Addresses an issue of WPF apps not working with “Text Cursor Indicator” enabled when using RichTextBox. Winforms Improved the hardened rendering of ComboBox controls on 64 bit architectures. Improved the reliability of data-bound ComboBox controls under assistive technology. .NET Runtime Addresses several issues that would cause too many garbage collections under high memory load. The part of the change that reduces the

.NET Framework May 2022 Cumulative Update

We are releasing the May 2022 Cumulative Update Preview Updates for .NET Framework. Quality and Reliability This release contains the following quality and reliability improvements. WPF 1 Addresses an issue where DWM failures can cause WPF’s render thread to fail. An app can opt-in to the behavior of ignoring all DwmFlush errors by setting a regkey in HKCUSoftwareMicrosoftAvalon.GraphicsIgnoreDwmFlushErrors or HKLMSoftwareMicrosoftAvalon.GraphicsIgnoreDwmFlushErrors whose name is the full path to the .exe that wants to opt-in, and whose DWORD value is 1. Addresses an issue of WPF apps not working with “Text Cursor Indicator” enabled when using RichTextBox. Winforms Improved the hardened rendering of ComboBox controls on 64 bit architectures. Improved the reliability of data-bound ComboBox controls under assistive technology. .NET Runtime Addresses several issues that would cause too many garbage collections under high memory load. The part of the change that reduces the

Introducing .NET MAUI – One Codebase, Many Platforms

Welcome to .NET Multi-platform App UI . This release marks a new milestone in our multi-year journey to unify the .NET platform. Now you and over 5 million other .NET developers have a first-class, cross-platform UI stack targeting Android, iOS, macOS, and Windows to complement the .NET toolchain (SDK) and base class library (BCL). You can build anything with .NET. Join us at Microsoft Build 2022 where we’ll give you a tour of all the updates for building native apps for any device with .NET and Visual Studio. » Learn more . This is just the beginning of our journey to create a desktop and mobile app experience that delights .NET developers. For the next phase, the foundation is now established for the broader .NET ecosystem to bring plugins, libraries, and services from .NET Framework and the old project system to .NET 6 and SDK style projects. Among those available today are: AndroidX AlohaKit CommunityToolkit.MVVM CommunityToolkit.Maui CommunityToolkit Maui

What’s new with ML.NET Automated ML (AutoML) and tooling

ML.NET is an open-source, cross-platform machine learning framework for .NET developers that enables integration of custom machine learning into .NET apps. We are excited to update you on what we’ve been working on over the past few months. AutoML Updates Training machine learning models is a time-consuming and iterative task. Automated Machine Learning (AutoML) automates that process by making it easier to find the best algorithm for your scenario and dataset. AutoML is the backend that powers the training experiences in Model Builder and the ML.NET CLI. Last year we announced updates to the AutoML implementation in our Model Builder and ML.NET CLI tools based Neural Network Intelligence (NNI) and Fast and Lightweight AutoML (FLAML) technologies from Microsoft Research. These updates provided a few benefits and improvements over the previous solution which include: Increase in the number of models explored. Improved time-out error rate. Improved performance metrics (for exam

Regular Expression Improvements in .NET 7

A friend once quipped to me that “computer science is entirely about sorting and searching”. While that’s a gross overgeneralization, there’s a grain of truth to it. Searching is, in one way, shape, or form, at the heart of many workloads, and it’s so important that multiple domain-specific languages have been created over the years to ease the task of expressing searches. Arguably none is more ubiquitous than regular expressions. A regular expression, or regex, is a string that enables a developer to express a pattern being searched for, making it a very common way to search text and to extract from the results key finds. Every major development platform has one or more regex libraries, either built into the platform or available as a separate library, and .NET is no exception. .NET’s System.Text.RegularExpressions namespace has been around since the early 2000s, introduced as part of .NET Framework 1.1, and is used by thousands upon thousands of .NET applications and services. At