by bill-s, 2020-02-19T16:27:03.095Z
At Microsoft Ignite 2019, we were happy to announce that the "Try .NET global tool" added support for C# and F# Jupyter notebooks. Last week, the same team that brought you .NET Notebooks announced Preview 2 of the .NET Notebook.
NAME CHANGE - .NET INTERACTIVE
As the scenarios for what was "Try .NET" continued to grow, the team wanted to a name that encompassed all the experiences they have as well as all the experiences they will have in the future. What was the Try .NET family of projects is now .NET interactive.
by bill-s, 2020-02-19T16:34:07.828Z
There are many ways to communicate between a C# client and a C# server. Some are robust, others not so much. Some are very fast, others aren’t. It’s important to know the different options so you can decide what’s best for you. This article will go through the most popular technologies today and why they got to be so widely used. We’ll talk about REST, gRPC, and everything in between.
by ThomasArdal, 2020-02-18T06:33:06.956Z
Learn how to create Roslyn Analyzers to help add ASP.NET Core middleware and in the right order.
by bill-s, 2020-02-19T16:41:11.306Z
So you are new to Dapr and you are trying to understand how it works with you .NET Core application. You already tried launching your app with the Dapr CLI and then you find yourself wondering on how to debug the mix with Visual Studio Code.
Well, follow this simple steps and you’ll be ready:
by bill-s, 2020-02-19T16:29:56.717Z
In the managed-code world of .NET, we can be sometimes spoiled by the seamless intervention of Garbage Collection which quite happily waits until our objects are no longer referenced and then scoops them up and destroys them. That ‘Person’ object you’re no longer referencing? Gone. That ‘Tesla’ object you lovingly inherited from ‘Car’ and then added loads of ‘door’ properties to? Obliterated. See ya.
What about when our old-buddy-old-pal the collector can’t pick up our trash? What do we do when we are using a resource which is unmanaged and therefore cannot be picked up for us?
In these scary, less comfortable unmanaged situations, it’s time for us to roll up our sleeves and muck in with the dispose pattern.
by bill-s, 2020-02-19T16:27:35.943Z
Have you ever found yourself debugging a .NET project or memory dump only to be confronted with a No Symbols Loaded page? Or maybe experienced an exception occurring in a 3rd party .NET assembly but had no source code to figure out why? You can now use Visual Studio to decompile managed code even if you don’t have the symbols, allowing you to look at code, inspect variables and set breakpoints.
We have recently released a new decompilation and symbol creation experience in the latest preview of Visual Studio 2019 version 16.5 that will aid debugging in situations where you might be missing symbol files or source code. As we launch this feature, we want to ensure that we are creating the most intuitive workflows so please provide feedback.
by bill-s, 2020-02-19T16:20:02.294Z
Elastic Jobs is a feature of Azure SQL Database that lets you run a set of T-SQL scripts against a collection of servers or databases, as a one-time job, in an ad-hoc manner, or according to a pre-defined schedule. This feature allows regular maintenance and any action that must be repeated – either across a set of databases or over time, much simpler. Set it up one time, and it will continue to run on any cadence you decide, across any scope you decide, for as long as you wish.
I am releasing a series of posts that will demonstrate and explain the basics of setting up Elastic Jobs to work with a set of databases, including both a General Purpose database and a Hyperscale database. You will understand the fundamental concepts needed to properly create Elastic Jobs, how to create, run, and schedule them using PowerShell or T-SQL, as well as some troubleshooting basics.
by bill-s, 2020-02-19T16:26:11.386Z
Email Confirmation is quite an important part of the user registration process. It allows us to verify the registered user is indeed an owner of the provided email. But why is this important?
Well, let’s imagine a scenario where two users with similar email addresses want to register in our application. Michael registers first with email@example.com instead of firstname.lastname@example.org which is his real address. Without an email confirmation, this registration will execute successfully. Now, Michel comes to the registration page and tries to register with his email email@example.com. Our application will return an error that the user with that email is already registered. So, thinking that he already has an account, he just resets the password and successfully logs in to the application.
by bill-s, 2020-02-19T16:32:33.512Z
Whoo, already five years have passed since Facebook publicly released GraphQL in 2015. It's not anymore just a new shiny thing - GraphQL ecosystem greatly matured and you should take it into consideration when choosing between different API design approaches.
by firstname.lastname@example.org, 2020-02-17T09:16:04.714Z
Learn how to build full-stack web applications using the latest ASP.NET Core technologies. The book follows the development of a real-life small project, so you are sure to have a fully functional project by the end.
by bill-s, 2020-02-19T16:28:29.249Z
Earlier this week we discussed how to build fully-featured React forms with KendoReact, which is another great React forms tutorial. In this article, we’ll take a step back and discuss the challenges inherent to building forms with just React, such as state management and validation, and then how to solve them with the KendoReact Form component.
Forms are hard, regardless of the framework or libraries you use to create them. But with React forms are especially tricky, as the official React form documentation is brief and doesn’t discuss topics that real-world forms always need, such as form validation.
In this article, you’ll learn how to build React forms the easy way using the newly released KendoReact Form component. You’ll learn how to simplify your form’s state management, how to integrate with custom components like date pickers and drop-down lists, and how to implement robust form validation.
Let’s get started.
by andrea.angella, 2020-02-17T10:36:48.478Z
The new set of warnings the compiler can generate when you enable the Nullable Reference Types feature can be a massive help for the developers and will help to spot bugs and write code of better quality. This feature is definitely a game-changer for C# developers and I invite you to use it especially on new projects.
by bill-s, 2020-02-19T16:35:58.102Z
There's a growing world of .NET 101 samples out there. From our own http://dot.net/videos starter videos on YouTube (over 100 and adding more all the time!) to the whole .NET learning center where you can learn and practice C# online in your browser with no install!
There's also a new "Take your first steps with C#" 4 hour online Learning Path that you can also take entirely online!
by Kavignon, 2020-02-19T14:34:56.806Z
Functional programming is the new hotness right now, but regardless of the hype, most modern programming languages are introducing FP-friendly features that make a big difference to software quality:
Readonly value types
As we’re adding features and applying good software engineering practices, we’re actively working to make sure that the code we’re trying to implement is correct. An OO first language like C# provides support for this thanks through features such as static typing, scoping and access modifiers. If you make a mistake, the compiler will warn you. Although those features are great, there’s more that can help the developers to reason with their code and make sure that the code that was either added or maintained will behave as expected and have little to no ripple effects in the system(s).
by email@example.com, 2020-02-20T20:25:08.426Z
Creating a “bot” that sends messages to your Slack channel is a great way to engage with your colleagues. You can let them know when an important event happens in the application, such as someone buying your product, you can send them reminders, or you can make it post a funny message to brighten their day. This tutorial explores how to post automatic messages on a Slack channel, by using ASP.NET Core and Hangfire.
by bill-s, 2020-02-19T16:39:05.716Z
Are you considering adopting a microservices architecture? Won’t it fix all your problems? Join me for a look into the realities of microservices!