by bill-s, 2020-09-10T01:05:13.803Z
One of the big differences between .NET Core and .NET Framework is that .NET Core supports self-contained deployment – everything needed to run the application is bundled together. It doesn’t depend on having the framework separately installed. From an application developer perspective, this means that you know exactly which version of the runtime is being used, and the installation/setup is easier. The downside is the size – it pulls along a complete copy of the runtime & framework.
by bill-s, 2020-09-09T15:53:39.246Z
This post is the first in a series on deploying ASP.NET Core applications to Kubernetes. In this series I'll cover a variety of topics and things I've learned in deploying applications to Kubernetes. I'm not an expert on Kubernetes by any means, so I'm not going to go deep into a lot of the technical aspects, or describe setting up a Kubernetes cluster. Instead I'm going to focus on the app-developer's side, taking an application and deploying it to an existing cluster.
by bill-s, 2020-09-09T15:54:18.813Z
I've always loved coding in C#. Equally, I love using Heroku to host personal projects - they have a nice UI, and a free tier!
However, there are a few limitations. Notably, .NET Core is not supported out of the box 😢. We can fix that!
by miguelbernard, 2020-09-09T18:41:44.023Z
If you liked the expressiveness of VB and always wish you could do something like this in C#, you are in luck.
Discover all about the new logical expressions in C# 9.0 and how they improve pattern matching.
by ThomasArdal, 2020-09-08T06:39:53.336Z
Get an overview of the best Facebook and LinkedIn groups to be a part of. Stay updated on new blog posts and ask questions or help other .NET developers.
by bill-s, 2020-09-09T16:48:36.799Z
The Fluid Framework is a TypeScript library for building distributed, real-time collaborative web applications.
by bill-s, 2020-09-11T19:25:39.443Z
We are thrilled to announce the release of our new e-book: Blazor for ASP.NET Web Forms developers. This book caters specifically to ASP.NET Web Forms developers looking for guidelines. As well as strategies for migrating their existing apps to a modern, open-source, and cross-platform web framework.
by mizrael, 2020-09-09T02:46:55.509Z
Long-running operations. Everyone, at some point in their career, has to face a time-consuming task. And on many occasions, you also need to know what's the status and what's going on right now. Did it fail? Did it complete successfully?
by bill-s, 2020-09-09T15:52:54.931Z
The IEEE 754 specification defines many floating point types, including: binary16, binary32, binary64 and binary128. Most developers are familiar with binary32 (equivalent to float in C#) and binary64 (equivalent to double in C#). They provide a standard format to represent a wide range of values with a precision acceptable for many applications. .NET has always had float and double and with .NET 5 Preview 7, we’ve added a new Half type (equivalent to binary16)!
by bill-s, 2020-09-10T01:04:42.972Z
Go from zero to production readiness with Docker in 20 days! I'm streaming my new book Learn Docker in a Month of Lunches, covering a chapter every weekday. And I have copies to give away every week! Find out more at https://diamol.net
by bill-s, 2020-09-10T01:06:55.661Z
GitHub Actions makes it easy to automate all your software workflows. Tim Heuer joins Scott Hanselman to saunter through the process of deploying .NET Core apps to Azure using GitHub Actions.
[0:00:19]- Project setup
[0:04:02]- Configuring the workflow
[0:07:29]- Build job - setting up the environment
[0:13:18]- Build job - configuring the build
[0:16:07]- Getting the publish profile from Azure
[0:17:45]- Build job - handling secrets
[0:20:37]- Build job - deploying to Azure
[0:22:34]- Actions tab in GitHub and workflow log review
[0:24:59]- Adding artifacts to the job
by tpeczek, 2020-09-10T07:33:46.198Z
In every ASP.NET Core release, there are small features that nobody talks about. This post talks about one of such features - HTTP Trailers.
by bill-s, 2020-09-10T01:00:20.105Z
This blog post will discuss about the commonly used API Versioning strategies and how to implement them in ASP.NET Core Web API.
For the demo purposes I am creating an ASP.NET Core WEB API project using dotnet new webapi command. To implement versioning we need to add reference of the Microsoft.AspNetCore.Mvc.Versioning nuget package, which we can do by running ` dotnet add package Microsoft.AspNetCore.Mvc.Versioning` command.
Once the package reference is added, in the ConfigureServices method, Versioning support can be added using AddApiVersioning(); method, like this.
by bill-s, 2020-09-11T19:23:32.046Z
In this post, an Azure Function is deployed in an Azure Virtual Network and the access to the Azure Function is restricted so that it cannot be reached from the Internet. Only Applications deployed in the same VNET can access the Azure Functions.
by nickproud180, 2020-09-10T12:50:46.468Z
String and string in C#. What's the difference?
by bill-s, 2020-09-10T01:02:01.902Z
Hi All! Today we’re going to talk a bit about testing strategies for Azure Functions. We’ll see how setup our test framework and in another article, we’ll see how to create a build pipeline on Azure DevOps.
by bill-s, 2020-09-11T19:25:18.002Z
For the longest time, if you wanted to sync settings across Visual Studio Code instances, you’d need to use Shan Khan’s extension Settings Sync. That was essentially your only option. In fact, that extension has had nearly 2 million installs to date! There’s still a great benefit to using the extension. For one, you could backup the settings to GitHub and compare versions of the settings. However, if you’re looking for a native implementation, the Visual Studio Code team now has one.
by nickproud180, 2020-09-10T12:51:20.032Z
The Power of Extension Methods
by bill-s, 2020-09-11T19:24:36.332Z
We all need to unit test our code to verify that it works the way it’s supposed to. Fortunately, Rider has the tools to enable you to test code more efficiently and quickly. In this post, we’ll look at using Mocha and Chai to write unit tests in TypeScript.
by bill-s, 2020-09-09T21:08:53.687Z
Azure Cache for Redis is an in-memory data store that is used to power fast, scalable applications. Now in preview, you can access all the caches under your Azure subscriptions and view their data with the new Azure Cache for Redis Visual Studio Code extension.
With this new integration, you’ll be able to use Visual Studio Code to view, test, and debug your caches—in one streamlined experience. This extension enhances ease of development by eliminating the need to manually track connection and access keys to connect to your caches. Simply authenticate with your Azure account, and you’ll instantly be able to access your Azure Cache for Redis instances.
by spetzu, 2020-09-11T05:20:05.017Z
Have you ever heard of YARP project? Did you ever use an API Gateway in your solution? Regardless of the answers being true or false - let us introduce YAG - Yet Another Gateway. This is the very first post from the series focused on building your own API Gateway.
by iammukeshm, 2020-09-07T15:15:43.288Z
In this article, we will learn about working with MongoDB in ASP.NET Core. We will be building a WebAPI Project that can manage customer data. Along the way we will cover various concepts including Introduction to NoSQL Database, What is MongoDB, Installing MongoDB Locally and on the Cloud, Integrating with ASP.NET Core and much more. In general, you will be getting a complete working knowledge with MongoDB and probably set enough to start implementing MongoDB in your next ASP.NET Core Project.
Here are the topics covered.
1. What are NOSQL Databases?
2. How NOSQL differs from SQL Databases?
3. When to use NOSQL Databases?
4. What is MongoDB?
4.1 Installing MongoDB Server Locally
4.2 Setting up MongoDB Cloud Atlas
5. Setting up the ASP.NET Core 3.1 WebAPI Project - Customer CRUD
6. Testing with POSTMAN