Skip to content

Latest commit

 

History

History
298 lines (220 loc) · 28 KB

File metadata and controls

298 lines (220 loc) · 28 KB

drawing

Let's learn about Aspnetcore via these 72 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the /Learn or LearnRepo.com to find the most read blog posts about any technology.

ASP.NET Core is a free, open-source web framework from Microsoft for building modern, cloud-based, internet-connected applications on Windows, macOS, and Linux. It enables developers to create high-performance web APIs and web UIs with full control over the development environment.

ASP.NET Core has an excellent Dependency Injection feature through which this framework provides you with an object of any class that you want. So you don’t have to manually create the class object in your code.

Brace yourself because this is going to be a lengthy but informative article!

Step-by-step guide

In this post I'll show how to maintain a standard for everyone who works in the code, no matter the editor used.

NLog: It is an open source logging framework that provides a great flexibility and configurable options to log the insights of your application. It allows to select multiple targets like database, cloud services, files, console, etc. at the same time so that user don’t have to maintain different configurations in code. This is the most widely used logging framework out there.

NLog: It is an open source logging framework that provides a great flexibility and configurable options to log the insights of your application. It allows to select multiple targets like database, cloud services, files, console, etc. at the same time so that user don’t have to maintain different configurations in code. This is the most widely used logging framework out there.

I've recently gotten into using Docker in my development cycle and I'm really enjoying how much of a wonderful tool it is. One thing that always used to be a pain was setting up a development server to run SQL Server. Now with Docker, I can just spin up a Docker container and I instantly have a SQL Server ready to go.

I recently wrote a blog post introducing some of my favourite NuGet packages: My Top 4 NuGet Packages for ASP.NET Core. In that post, I briefly introduced a package called MediatR. Today, I will dedicate this post to revisiting MediatR in further detail.

The story is about how to create a Web API to generate JWT and then use it for authorization in the CRUD Web API.

More than two years ago I wrote the following in my debut Medium article:

TelemetryClient vs ILogger or how to improve logging experience in C# ASP.NET for Application Insights

Blazor is here, Will JavaScript be dead? I would say that the answer is NO at-least for now.

One aspect of application development that is often overlooked, especially by beginner developers is application resilience.

When customers shop online, they often enter their credit information into a secure payment gateway. This protects the customer and the business.

Compared to other languages, C# was way behind in capabilities to handle data efficiently. Well, those days are over now. Microsoft just improved the C# syntax, making it easier for developers to manage data in arrays.

If you are aware of the latest developments in .NET for the last couple of years, you must have heard the buzzword ‘Blazor’ quite often. It is a revolutionary client-end User Interface framework developed by Microsoft’s mighty ASP.NET Expert team.

In this article, we provide you with an introduction to designing and maintaining microservices-based applications using ASP.NET Core.

It is very glad to see that the web technology is improvising day by day. One such notable improvement is the introduction of WebAssembly and direct usage of them in evergreen browsers.

Hangfire is a .NET library that makes it really easy to adding background tasks to your .NET app. It supports one-off "fire and forget" tasks, as well as scheduling recurring tasks. On top of that it supports persistence, so all of your tasks will continue to exist even after restarting your app.

Is it me or Functional programming (FP) seems to be trending lately? FP languages like Haskell, Elixir, and F# are stronger than ever and large frameworks try to adopt a more functional approach. Even C# tries to include functional constructs in the language.

How to add GraphQL wrapper along with swagger documentation in ASP.Net C# using NSwag tool

See how you can use MudBlazor list items to make awesome GUIs! Properly leverage the MustList and MudListItem controls to get custom user interfaces!

This article will guide you through an example of how you can implement our JSViewer web report viewer to create an ASP.NET 6.0 (or ASP.NET Core) report viewer

Learn how to optimize your C# application development with Clean Architecture and MediatR.

In this article, I will teach you the basics of making your own web app, by creating a checklist app. ASP NET Core will be used to create a CRUD API and Vue will be used to create the frontend UI. Using the knowledge gained here, you should be able to apply it to start making your own web apps. You can find the complete solution in the GitHub repository.

Software development is a complex task and as a developer you gain nothing from "reinventing the wheel". I'm a firm believer that you should make your life as easy as possible as a developer, by using tried and tested packages where possible; it will take so much headache out of your development experience.

The article explores the different logging options available in C#: ILogger, ILoggerFactory, and ILoggerProvider. By understanding their characteristics

In the latest release of .NET 9, several enhancements have been introduced to LINQ, providing developers with more powerful and efficient ways to work with data

ArrayPool is a mechanism to recycle temporary buffers and optimize performance by reducing garbage collection cycles. It is part of the System.Buffers namespace

Default Hangfire design sets up for native environment as. Hangfire is an open-source library to schedule and execute background jobs in ASP.NET applications.

According to Gang of Four, a creational pattern “Builder” allows to separate and reuse a specific method to build something.

Learn how to use response compression in ASP.NET Core for improved performance and faster load times with this comprehensive guide.

According to Gang of Four, the iterator pattern provides a process to obtain the aggregator object without knowing its implementation.

Use the facade design pattern to simplify the interaction between subsystems. It provides a single entry point to a subsystem,

Introduction

For this post, we'll delve into plugin architecture, exploring how they can be leveraged in ASP.NET Core to create more flexible and maintainable applications.

How dotNetify implemented horizontal scaling of SignalR apps with proxy instead of a backplane.

Running into issues with your Blazor render mode? In my case, I didn't even know it was breaking my dependency injection AND my event handlers. My error though!

A practical guide to configuring Serilog in .NET 10, filtering noisy logs, and generating daily transaction reports from SQL or NDJSON files.

The .Net provide a powerful tool called the “Interlocked” class for all atomic operations through which developers can reduce contention and improve the perform

Entrepreneurs and startups are always confused about choosing between .Net Core vs .Net Framework due to their high functionalities and popularity.

Disclaimer

I am a big fan of executing multi-threads in an application, and it is interesting to see how quickly parallelism can solve a complex query.

Dive in to master Boolean expressions for precise C# coding, ensuring your apps handle user data flawlessly! 🚀

Learn to enhance your performance with stackalloc in C#. Discover a better approach on Day 28 of our 30-Day .NET Challenge.

Learn to enhance your C# code’s performance and readability by avoiding exceptions for flow control. Discover a better approach using TryParse.

C# 8.0 just rolled out with plenty of new features. One of the most important is the support of nullable reference types (NRT). A bunch of words that don't seem to explain what it does. I mean, aren't all types (except value types) already nullable?

Learn how to effectively utilize xUnit for testing ASP.NET Core applications, ensuring product quality and reliability.

Explore the power of WebApplicationFactory in ASP.NET Core testing to ensure code quality and prevent issues.

Learn how to use the .Net Aspire Oracle component in Visual Studio.

Introduction

Learn how to use Autofac in ASP NET Core applications with only a couple of lines of code! Avoid this common problem when setting up dependency injection.

The article describes how pattern matching effectively utilises and processes data in forms not part of the primary system.

Developers often make objects instantiated as soon as the application starts or when a class is instantiated, regardless of whether they are immediately needed

Use Testcontainers in ASP.NET Core testing to get better coverage! Learn how to simulate dependencies, test in parallel, and integrate with CI/CD tools!

The article demonstrates the use of ConfigureAwait(false) efficiently to add deadlock-free asynchronous code. The method mitigates the risk of deadlocks

Heap allocations aren’t entirely bad but when an object is allocated on a heap it contributes to the garbage collection cycles which in turn reduces overall app

To assist developers in designing safe applications, the most recent version of the.NET platform, .NET 6, has various built-in security capabilities.

The ultimate goal of the web development project is to build feature-rich web applications or corporate websites but which is better?

The article demonstrates the importance of using StringComparison options for efficient string comparison in.NET. How you compare strings can significantly impa

It is becoming a common pattern to see websites and web apps written as a front end single page application (SPA) connected to a backend API. For this reason, the Visual Studio provides a several project templates for getting up and going with a Web API + SPA project.

The article demonstrates the idea of memory allocations to be used for vibrant and high-performance applications.

Day 6 of 30-Day .NET Challenge: String built-in Methods

2/13/2024: Top 5 stories on the HackerNoon homepage!

Azure Functions are serverless applications on Microsoft Azure Cloud Platform without worrying about the infrastructure to run it. It’s very similar to the lamb

Learn how to use Feature Flags in ASP.NET Core apps and read values from Azure App Configuration.

Step-by-step guide on how to use the .Net Aspire Azure Queue Storage component in Visual Studio.

According to Gang of Four, it defines a chain of responsibilities to process a request. In other words, pass the request from one object to another until an obj

Discover how Scrutor enhances dependency injection in C# applications.

Challenges are hard when the database resides in a remote machine or experiencing heavy load. The in-memory caching acts as a better implementation to avoid per

The article demonstrates the IndexOfAny() method to locate the initial occurrence of any string from a chosen array.

Is it true that the inverse of a negative number is always a positive number? If you think it's true, you might get a subtle error while implementing comparison