Skip to main content

Posts

Showing posts from April, 2023

Announcing .NET Community Toolkit 8.2! Faster generators, code fixers, performance improvements and more!

We’re happy to announce the official launch of the 8.2 release of the .NET Community Toolkit! This new version includes performance improvements both at runtime and in the MVVM Toolkit source generators, new code fixers to enhance your productivity, new user requested features and much more! As always, we deeply appreciate all the feedback received both by teams here at Microsoft using the Toolkit, as well as other developers in the community. All the issues, bug reports, comments and feedback continue to be extremely useful for us to plan and prioritize feature work across the entire .NET Community Toolkit. Thank you to everyone contributing to this project and helping make the .NET Community Toolkit better! What’s in the .NET Community Toolkit? The .NET Community Toolkit includes the following libraries: CommunityToolkit.Common CommunityToolkit.Mvvm (aka “Microsoft MVVM Toolkit”) CommunityToolkit.Diagnostics CommunityToolkit.HighPerformance These components are also widel

Scrapy full course for beginners - Web scraping using python and scrapy

Scrapy full course for beginners - Web scraping using python and scrapy The Scrapy Beginners Course will teach you everything you need to learn to start scraping websites at scale using Python Scrapy. The course covers: - Creating your first Scrapy spider - Crawling through websites & scraping data from each page - Cleaning data with Items & Item Pipelines - Saving data to CSV files, MySQL & Postgres databases - Using fake user-agents & headers to avoid getting blocked - Using proxies to scale up your web scraping without getting banned - Deploying your scraper to the cloud & scheduling it to run periodically ✏️ Course created by Joe Kearney. ⭐️ Resources ⭐️ Course Resources - Scrapy Docs: https://docs.scrapy.org/en/latest/  - Course Guide: https://thepythonscrapyplaybook.com/freecodecamp-beginner-course/ - Course Github: https://github.com/orgs/python-scrapy-playbook/repositories - The Python Scrapy Playbook: https://thepythonscrapyplaybook.c

Get Started with OpenAI Completions with .NET

Welcome to this blog series on OpenAI and .NET! If you’re new here, check out our first post where we introduce the series and show you how to get started using OpenAI in .NET. The focus of this post is on completions. Let’s get started! What are completions? Completions are the responses generated by a model like GPT. The types of responses you can generate include: Text Input Translate “Hello” to Spanish. Output “Hola” Code Input Create a C# function that adds two integers Output int Add(int x, int y) { return x + y } Images Input A snug pug in a rug Output In this post, the focus is on text and code completions. How are completions generated? There are a few parts needed to generate a completion: Model User input (prompt) You can think of a model as a stateful function. A model is a system that’s been developed to identify patterns in data using algorithms. The model’s capabilities depend on the data and algorithms used to build the model. For more

Build a Simple Website with HTML, CSS, JavaScript – Course for Beginners

Curriculum for the course Build a Simple Website with HTML, CSS, JavaScript – Course for Beginners Improve your skills in JavaScript, HTML, and CSS by building a social media dashboard with a dark/light theme. Jess, who runs the popular Coder Coder YouTube channel, will guide you through a beginner Frontend Mentor challenge. ✏️ Course created by @TheCoderCoder Resources: 🔗 Responsive Design for Beginners! https://coder-coder.com/responsive/ 🔗 Source code on GitHub: https://github.com/thecodercoder/fem-dklt-toggle 🔗 Challenge on Frontend Mentor: https://www.frontendmentor.io/challenges/social-media-dashboard-with-theme-switcher-6oY8ozp_H 🔗 Andy Bell: Create a user controlled dark or light mode -- https://piccalil.li/tutorial/create-a-user-controlled-dark-or-light-mode/ ⭐️ Contents ⭐️ Part 1 ⌨️ (0:00:00) Intro ⌨️ (0:01:26) Functional requirements of design ⌨️ (0:11:31) Accessible form controls ⌨️ (0:15:37) Update CSS custom properties with JS ⌨️ (0:23:39) Screen reader-only t

.NET Framework April 2023 Cumulative Update Preview Updates

Today, we are releasing the April 2023 Cumulative Update Preview for .NET Framework. Quality and Reliability This release contains the following quality and reliability improvements. WPF 1 Addresses an issue where using IsReadOnly property of TextBox and RichTextBox in ControlTemplate.Triggers throws an exception. Addresses Null Reference Exception reloading XPS document after adjusting column width for Datagrid and Gridview controls. Addresses Null Reference Exception when ToolTip is visible property is overridden to be always be false. 1 Windows Presentation Foundation (WPF) Note: This update includes the resolution to a known issues discussed in KB5022083 . If you used any workaround or mitigations for this issue, they are no longer needed, and we recommend you remove them. To remove a workaround, review the Workaround or Alternate Workaround instructions as outlined in the KB5022083 . New .NET preview updates experience For customers on Windows 11, version 22H2 we hav

Let’s Learn .NET Virtual Events – All Around the World

Part of what makes .NET amazing is the global community of developers who use it. And of course with a global community not everybody who develops with .NET is a native English speaker. At Microsoft – and the .NET team – we want to make sure everybody is included in the journey to be the best .NET developer they can be. In other words, we want to talk about development topics that matter to you in your local language. Let’s Learn .NET in Your Native Language You may have started to see some of this already, the .NET web page has been translated into 5 languages other than English. Several episodes of the On.NET Show have been recorded in Korean with stories interesting to Korean developers. In that spirit, today I’m excited to announce that in late April and early May we will stream 9 episodes of the popular Let’s Learn .NET series for 9 different locales around the world. In these episodes, you’ll learn the fundamentals of Azure. From Africa to China, these episodes will be str

Drawing Elements on Maps with .NET MAUI

Did you know that .NET MAUI features a full Map control for iOS, Android, and MacCatalyst apps? It came with the launch of .NET 7 and it allows you to not only display a map with pins, but it also allows for full drawing with polygons, polylines, and circles! Lets take a look today at the Map control, how to display pins, and how to draw outlines and walking paths on the Microsoft campus in Redmond! Pins on a Map The Map controls in .NET MAUI offers a wide arrange of customization of how to display the map. One of the basic elements that people place on a map is a Pin that displays a marker with text. The Pins property on the Map control is an IList that we can populate dynamically to put as many pins on the map. This can be accomplished in XAML: <ContentPage ... xmlns:maps="clr-namespace:Microsoft.Maui.Controls.Maps;assembly=Microsoft.Maui.Controls.Maps" xmlns:sensors="clr-namespace:Microsoft.Maui.Devices.Sensors;assembly=Microso

Zustand React State Management Course (Simple Redux Alternative)

Curriculum for the course Zustand React State Management Course (Simple Redux Alternative) Learn Zustand in this full course for beginners. Zustand is a minimalistic state management library for React, offering a simpler API compared to Redux. It aims to provide ease-of-use without sacrificing flexibility and performance in modern web applications. It provides a simple and intuitive API for managing and updating application state without the need for boilerplate code or complex patterns. ✏️ This course was created by @NiklasZiermann 🔗 Zustand GitHub repo: https://github.com/pmndrs/zustand 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news Watch Online Full Course: Zustand React St

Join the .NET Team at Microsoft Build 2023!

Are you ready for Build 2023? Microsoft’s premier developer conference is just around the corner, and there are several exciting .NET sessions that you won’t want to miss! This year Microsoft Build is both virtual and in-person in Seattle, Washington! You will be able to watch many sessions live online, but if you are joining us in person this year, the .NET team will be there with in-person only sessions, meet the experts, demo areas, workshps, and more! .NET Sessions at Build Be sure to browse all of the Build sessions online , but here is a sampling of some of the .NET sessions that will offer a detailed dive into what we’re currently developing for .NET 8, with a strong technical focus. All things client and mobile app development with .NET Code, test, ship, and continuously improve your mobile and desktop applications with the latest release of .NET Multi-platform App UI (MAUI). From the latest UI controls and native platform integrations on Android, iOS, macOS, and Windows

React Router 6 – Full Course

Curriculum for the course React Router 6 – Full Course This course will teach you to build real-world apps with React Router 6. Click here to get to the interactive version 👉 https://scrimba.com/links/react-router-6-course Throughout the course, you’ll be building an app called “VanLife” – an Airbnb-style web app dedicated to renting out travel vans for your next big road trip! As you build “VanLife”, you will learn all the important parts of React Router, such as layout and index routes, nested routes, filtering results with search parameters, protecting routes for authenticated users, and more. You will also learn about the new Remix-inspired data router APIs, including Loaders and Actions. This course was created by Bob Ziroll, Scrimba’s Head of Education. 🔗 Follow Bob on Twitter here: https://twitter.com/bobziroll 🔗 Follow Scrimba on YouTube: https://www.youtube.com/c/Scrimba ⭐️ Get the code ⭐️ 🔗 Via the Scrimba course: https://scrimba.com/links/react-router-6-course 🔗

JavaScript Interview Prep: Functions, Closures, Currying

Curriculum for the course JavaScript Interview Prep: Functions, Closures, Currying Prepare for JavaScript interview questions focusing on closures, functions, and currying. Throughout the course, you'll delve into various aspects of JavaScript, such as function declarations, expressions, scopes, and hoisting, as well as learning about advanced concepts like closures and lexical scope. You'll also gain a deeper understanding of currying and its practical applications in JavaScript. Course created by @RoadsideCoder Useful Links mentioned in the video - 🎥 var, let and const Video - https://www.youtube.com/watch?v=oUWRxJ19gfE&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5 🎥 map, filter, and reduce Video - https://www.youtube.com/watch?v=dGq0gi0wv64&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=2 🎥 FE Interview Experience Video - https://www.youtube.com/watch?v=vxggZffOqek&list=PLKhlp2qtUcSb_WQZC3sq9Vw3NC4DbreUL&index=1 ⭐️ Contents ⭐️ ⌨️ (0:00:00) Intro ⌨️ (

ChatGPT Course – Use The OpenAI API to Code 5 Projects

Curriculum for the course ChatGPT Course – Use The OpenAI API to Code 5 Projects Learn how to use the OpenAI API to create five projects, including a ChatGPT clone, a DALL-E Image Creator, and a SQL Generator. This is a dive deep into the world of the OpenAI API, exploring its diverse capabilities and potential applications. ✏️ Course created by @AniaKubow Donate to freeCodeCamp: https://www.freecodecamp.org/donate/ ⭐️ Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:02:57) Authentication ⌨️ (0:06:22) Models ⌨️ (0:07:27) Text Completions ⌨️ (0:18:31) Creating effective prompts ⌨️ (0:20:18) Chat Completions ⌨️ (0:30:14) Chat Completion Project 1 | JavaScript ⌨️ (1:15:41) Chat Completion Project 2 | React + Node.js ⌨️ (2:20:59) DALL-E Model ⌨️ (2:21:41) Image Generation ⌨️ (2:27:04) Image Variation ⌨️ (2:27:44) Image Edits ⌨️ (2:28:28) Image Generation Project 1 | JavaScript ⌨️ (3:00:29) Image Generation Project 2 | React + Node.js + openai npm library ⌨️ (4:23:39) SQL Generator Proje

Godot Game Development – Crash Course for Beginners

Curriculum for the course Godot Game Development – Crash Course for Beginners Learn how to use the Godot game engine to create your own platformer game. Throughout the course, you'll learn everything from setting up your first 2D scene and animating the player, to designing enemies, incorporating UI elements, and implementing game-saving features. ✏️ Course created by @NULLGameDev 💻 Code: https://github.com/GDSimplified/Platformer-game 💻 Assets: https://ansimuz.itch.io/sunny-land-pixel-game-art ⭐️ Contents ⭐️ ⌨️ (0:00:00) Into and Course Overview ⌨️ (0:02:08) Downloading Godot ⌨️ (0:03:19) Setting Up the Godot Project ⌨️ (0:05:21) Your First 2D Scene ⌨️ (0:07:32) UI with Control Nodes ⌨️ (0:09:41) Main Menu Script ⌨️ (0:14:10) Your Second Scene ⌨️ (0:16:19) Downloading The Game Assets ⌨️ (0:17:11) Fixing Asset Pixelation ⌨️ (0:18:12) Making the Player Character ⌨️ (0:22:42) Making the Background ⌨️ (0:24:29) Understanding The Default Player Script ⌨️ (0:26:57) Animating t

Running non-root .NET containers with Kubernetes

Rootless or non-root Linux containers have been the most requested feature for the .NET container team. We recently announced that all .NET 8 container images will be configurable as non-root with a single line of code. This change is a welcome improvement in security posture. In that last post, I promised a follow-up on how to approach non-root hosting with Kubernetes. That’s what we’ll cover today. You can try hosting a non-root container on your cluster with our non-root Kubernetes sample . It is part of a larger set of Kubernetes samples we’re working on. This post will help you follow Kubernetes “Restricted” hardening best practices . Non-root hosting is a key requirement of the guidance. runAsNonRoot Most of what we’ll be discussing relates to the SecurityContext section of a Kubernetes manifest. It holds security configuration that is applied by Kubernetes. spec: containers: - name: aspnetapp image: dotnetnonroot.azurecr.io/aspnetapp secur

No Black Box Machine Learning Course – Learn Without Libraries

Curriculum for the course No Black Box Machine Learning Course – Learn Without Libraries In this No Black Box Machine Learning Course in JavaScript, you will gain a deep understanding of machine learning systems by coding without relying on libraries. This unique approach not only demystifies the inner workings of machine learning but also significantly enhances software development skills. ✏️ Course created by @Radu (PhD in Computer Science) HOMEWORK 🏠 1st assignment spreadsheet: https://docs.google.com/spreadsheets/d/16wIddJ9jKAAvJOXPcF0gNRx39AOE9A2-mQeK6UR2qnY/edit?usp=sharing 🏠 Submit all other assignments to Radu's Discord Server: https://discord.com/invite/gJFcF5XVn9 GITHUB LINKS 💻 Drawing App: https://github.com/gniziemazity/drawing-app 💻 Data: https://github.com/gniziemazity/drawing-data 💻 Custom Chart Component: https://github.com/gniziemazity/javascript_chart 💻 Full Course Code (In Parts): https://github.com/gniziemazity/ml-course PREREQUISITES 🎥 Interpolat

Build a LinkedIn Clone with React and Firebase – Tutorial

Curriculum for the course Build a LinkedIn Clone with React and Firebase – Tutorial Learn how to create a LinkedIn Clone using React and Firebase in this full course for beginners. ✏️ Course created by @CybernaticoByNishant 💻 Code: https://github.com/nishant-666/Linkedin-clone-using-React-and-Firebase-9 ⭐️ Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:08:51) The Base Setup ⌨️ (0:40:08) Log in and Sign Up Page ⌨️ (1:41:02) Authentication States ⌨️ (1:56:12) Building the Topbar ⌨️ (2:22:49) Adding Posts in Firebase ⌨️ (3:02:03) Reading Posts from Firebase ⌨️ (3:35:11) Profile Page Prerequisites ⌨️ (3:54:59) Building the Profile Page ⌨️ (5:48:36) Implementing a Likes System ⌨️ (6:37:23) Implementing a Comments System ⌨️ (7:20:12) Uploading Images to Firebase ⌨️ (7:47:10) Designing the File Upload Modal ⌨️ (8:05:10) Small Profile Icons ⌨️ (8:21:05) Updating and Deleting Posts ⌨️ (8:39:38) Home Page Profile Card ⌨️ (8:58:14) Building the Connections Page ⌨️ (9:31:31) Designing the C

Get started with OpenAI in .NET

Introduction Welcome to this blog series on OpenAI and .NET! Artificial intelligence (AI) is changing the ways we live and work. Some early examples of how AI is being embedded into the applications you use today include search in Bing , office productivity in Microsoft 365 , and developer productivity in GitHub . As a developer, you might be thinking, “I want to use these same AI features in my own applications”. Although the technology used to train the underlying AI models can be complex, using these models in your applications doesn’t have to be. Over the next few months, we plan on publishing a series of blog posts showcasing samples and discussing a series of AI-related building blocks to help you add OpenAI-powered AI capabilities to your .NET applications. But first, an introduction. What is OpenAI OpenAI is a research and deployment company. They are the creators of the models powering experiences like ChatGPT and Bing Image Creator . These models include: Generative