Articles

Today, we discuss C# code quality and a variety of errors by the example of CMS DotNetNuke. We’re going to dig into its source code. You’re going to need a cup of coffee…

DotNetNuke

DotNetNuke is an open-source content management system (CMS) written mainly in C#. The source code is available on GitHub. The project is part of the .NET Foundation.

Source de l’article sur DZONE


Introduction

I left Microsoft after 19 years, where I led teams that built system software for highly scalable cloud applications. This included leading development of the Microsoft Orleans framework from its inception at Microsoft Research until it became one of the most successful open-source projects within the .NET ecosystem. Orleans powers a number of large-scale Microsoft systems such as Xbox Game Services, Skype, Azure IoT, Azure ML, Azure Active Directory, and many more cloud services outside Microsoft. So if you’ve ever played online multiplayer games like Halo or Call of Duty, our team built much of the underlying infrastructure that supports it.

When I originally joined Orleans, cloud computing was still in its infancy. We had a 10,000-foot vision and not a single line of actual code. We needed to reimagine how cloud-scale applications should be coded because, at the time, available and high-performance scalable systems were only achievable by experts. And while everyone knew the cloud was coming, we had no idea how to build applications in a way that ensured they would be accessible and productive for millions of software engineers.

Source de l’article sur DZONE

In This Series:

  1. Distributed Tracing With Jaeger
  2. Simplifying the Setup With Tye (this article)

Tye is an experimental dotnet tool from Microsoft that aims to make developing, testing, and deploying microservices easier. Tye’s opinionated nature greatly simplifies the lifecycle of development and deployment of .NET Core microservices.

To understand the benefits of Tye, let’s enumerate the steps involved in the development and deployment of the DCalculator application to Kubernetes:

Source de l’article sur DZONE


Introduction

In this article, I will share the steps to create a plugin in nopCommerce 4.40 including debugging of plugin install-uninstall and PreparePluginToUninstall methods. To demonstrate this, I am using the visual studio 2019 version 16.9.0. NopCommerce 4.40 has been upgraded to .NET 5 & C# 9 and many other features

In this article, I will create a simple plugin with the install-uninstall without any other features. But, it’s better to understand how the nopCommerce plugin is working and how you can debug the install-uninstall method of nopCommerce. This is because if you’re going to directly develop features, it will create a small problem. So, better we understand it first. Otherwise, you are maybe facing issues like I made a change in my HTML view, but you won’t see the impact on-page.

Source de l’article sur DZONE

If any company wants to succeed in the market, it needs to strengthen its digital presence. Though social media provides a place to gain some attention, it is impossible to create a brand without an official web page. This is why businesses hire firms offering web development services to get their website designed, which would enable them to get as much traction as possible. 

Web development covers actions such as web design, programming, content creation, network security tasks, and server-side & client-side scripting. Among the technologies available for web development, most web development companies make their programming choice between PHP and.NET.

Source de l’article sur DZONE

The difference between a junior and a senior software developer is 90% their toolset. A senior will choose better tools, because of his experience, and as a result, he or she will deliver better results. This is why most senior software developers have an arsenal of libraries, frameworks, and tools, he or she is using – Because the senior will do anything possible to avoid re-inventing the wheel. Honorable mentions here can be found below.

  • Entity Framework for .Net Core
  • Refit for .Net Core
  • Angular
  • React
  • Etc, etc, etc …

But also commercial tools such as SonarCube and Bugsnag can be listed here.

Source de l’article sur DZONE

Even if you’re not even interested in the automatic CRUD possibilities that Magic gives you, choosing it simply because you need a DSL engine for .Net Core, should probably be enough arguments for you to want to check it out for your enterprise software development requirements. Previously Hyperlambda has suffered from extreme lack of documentation, but today I released a huge new release of the the goods, where one of its most important features is just that – Documentation.

So what is Hyperlambda. Well, instead of me waiving my arms around, arguably trying to explain what a UFO is to a cavemen, let’s have the thing speak for itself. Because I guarantee you that you have never ever ever seen anything even closely resembling it, and I also guarantee you that you will be amazed by it.

Source de l’article sur DZONE

If you think about the World Wide Web, it’s easy to imagine it as a single software system. Once you do, you realize it’s the largest software system the world has ever created — probably by hundreds of orders of magnitude. It contains trillions of lines of code, hundreds of millions of servers, and billions of clients, running thousands of different programming languages. Still, it works more or less as we expect it to work. So, what made it possible for humans to create such an enormous software system? The answer is simple: HTTP!

The HTTP protocol allows us to create perfect encapsulation. The client and the server don’t need to know anything about each other, besides the URL, HTTP verb, and what parameters to pass in and expect as output. This allows billions of clients to interact with each other, without knowing (almost) anything about each other. If you reduce it down to its basic components, it becomes painfully obvious that the following is a recipe for winning.

Source de l’article sur DZONE

For years now, if you wanted to write code to run in a browser, your choices were JavaScript or JavaScript. For a couple of brief periods on certain browsers, there were other languages you could use, but they weren’t significant: VBScript on IE and Dart on a special build of Chrome.

There are also languages that compile down to JavaScript (TypeScript, CoffeeScript, …), but they were still really JavaScript under the covers. The JavaScript monoculture’s days are numbered with the advent of WebAssembly (Wasm). For .NET developers, Wasm is arriving in the form of Blazor.

Source de l’article sur DZONE

Posting of projects sources by Microsoft is a good reason to perform their analysis. This time is no exception, and today, we will look at suspicious places found in Infer.NET code.

Briefly About the Project and the Analyzer

Infer.NET is a Machine Learning system developed by Microsoft specialists. Project source code has become recently available on GitHub, which gave rise to its check. More details about the project can be found here.


Source de l’article sur DZONE (AI)