by cezarypiatek, 2019-09-11T19:07:32.464Z
Multithreading is one of the most difficult aspects of programming and can cause a lot of headaches. The main source of problems is often the improper usage of synchronization mechanisms, which can result in deadlocks or a complete lack of synchronization despite our expectations. The effect of the broken synchronization can be analyzed with various runtime tools, but it would be nice to have an asset that is able to report all those issues in the design time right on the stage of writing code. This blog post continues the series Avoid thread synchronization problems with Roslyn and this part is about the traps related to the usage of synchronization primitives.
by solpin, 2019-09-11T09:03:58.967Z
.NET DeveloperDays is the biggest event in Central and Eastern Europe dedicated exclusively to application development on the .NET platform. It is designed for architects, developers, testers and project managers using .NET in their work and to those who want to improve their knowledge and skills in this field. The conference content is 100% English, making it easy for the international audience to attend
by bill-s, 2019-09-10T07:11:55.931Z
In the last post, I looked at creating a generic host endpoint that many of the deployed versions in Azure can share. By using a hosted service, we can then host NServiceBus in just about anything that can work with the .NET Core generic host. The differences then come to hosting and scaling models.
First up is the closest we have to "Platform-as-a-Service" for background tasks - Azure WebJobs. WebJobs can be any executable/script, but a very common model for building is to use the Azure WebJobs SDK.
by bill-s, 2019-09-10T05:39:37.523Z
Enums are a double-edged sword. They are extremely useful to create a set of possible values, but they can be a versioning problem if you ever add a value to that enum.
In a perfect world, an enum represents a closed set of values, so versioning is never a problem because you never add a value to an enum. However, we live in the real, non-perfect world and what seemed like a closed set of values often turns out to be open.
So, let's dive in.
by bill-s, 2019-09-10T05:42:47.812Z
GraphQL has been gaining wide adoption as a way of building and consuming Web APIs. GraphQL is a specification that defines a type system, query language, and schema language for your Web API, and an execution algorithm for how a GraphQL service (or engine) should validate and execute queries against the GraphQL schema. It’s upon this specification that the tools and libraries for building GraphQL applications are built.
by bill-s, 2019-09-11T02:43:23.479Z
One of the great extensibility points in the routing feature of the older versions of the ASP.NET MVC and ASP.NET Core MVC frameworks was the ability to pick up any route and dynamically point it at a given controller/action.
This had a lot of excellent use cases – as we will briefly see – and since ASP.NET Core 3.0 Preview 7, the feature is actually finally available in ASP.NET Core 3.0 (despite not being mentioned in the official release blog post).
So, let’s have a look at dynamic routing in ASP.NET Core 3.0 together!
by bill-s, 2019-09-10T05:43:06.571Z
You may or may not have heard of this statistic from Google:
53% of mobile site visits leave a page that takes longer than three seconds to load
With that in mind, it’s important to make our site as responsive and quick as possible.
We recently rewrote one of our APIs from scratch, Saved Items, to better pave the way for new functionality and improve the performance by utilising new technologies such as .NET Core 2.
by bill-s, 2019-09-11T01:15:25.511Z
This is a continuation of a series of articles I've written on SQL Server concepts.
When you work with SQL Server long enough on a database with enough traffic, you're eventually going to encounter deadlocks.
This article discusses what deadlocks are, how to interpret deadlock graphs, and some options for handling deadlocks.
by bill-s, 2019-09-11T02:41:02.831Z
In continuation with our announcement of SQL Server 2019 release candidate last week, we’re announcing that the release candidate refresh for SQL Server 2019 is now available to download. The release candidate now includes bits for Big Data Clusters in SQL Server 2019 in this refresh.
Back in July, we announced the preview of Big Data Clusters in SQL Server 2019 and since then we’ve seen our customers actively bringing their big data analytical workloads to SQL Server 2019 to operationalize their AI and machine learning projects.
by bill-s, 2019-09-10T05:46:12.459Z
For a limited time, you can build the technology skills you need at a seriously discounted rate.
Take advantage of this awesome offer and get $100 off premium and personal annual subscriptions.
Building the tech skills of the future never felt so good.
This deal ends 9/20 at 11:59 p.m. MT.
by bill-s, 2019-09-10T05:41:56.575Z
.NET Conf is a FREE, 3 day virtual developer event co-organized by the .NET community and Microsoft. This year .NET Core 3.0 will launch at .NET Conf 2019! Come celebrate and learn about the new release!
Learn more at => https://www.dotnetconf.net/
by bill-s, 2019-09-11T02:41:41.089Z
If you're working with ASP.NET Core then you now have two options for creating Web Services: the current default style that leverages the HTTP protocol (what I think of as a "RESTful services") and the new kid on the block, gRPC services.