Let's learn about Aspnet via these 50 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the Learn Repo or LearnRepo.com to find the most read blog posts about any technology.
A free, cross-platform, open-source framework for building modern, cloud-based, internet-connected applications, enabling rapid web development.
1. ASP.NET Core — How to use Dependency Injection in Entity Framework Core
<strong>ASP.NET Core</strong> has an excellent <strong>Dependency Injection</strong> 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.
2. ASP.NET Core Razor Pages Vs MVC: Which Will Create Better Web Apps in 2018?
<em>Brace yourself because this is going to be a lengthy but informative article!</em>
3. A Step-by-Step Guide to Migrating a Project from ASP.NET MVC to ASP.NET Core
Step-by-step guide
4. How Blazor Is Going to Change Web Development
A couple of weeks ago I wrote an article about building and deploying a Blazor app without touching a Windows machine and realized maybe I should take a step back and explain what Blazor is and why anyone would use it. It's still fairly new to most in the front end development world, but it's awesome and you should check it out.
5. Learn how to Implement Ninject in ASP.NET MVC in just 2 minutes
Ninject is a lightning-fast and ultra-lightweight Dependency Injector for .NET applications. By using it you can split your application into a collection of loosely-coupled, highly-cohesive pieces, and then glue them back together in a flexible manner. This makes your code easier to write, reuse, test, and modify.
6. A Guide to Running ASP.NET Core & SQL Server from Docker
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.
7. How To Write Decoupled Code with MediatR: The Mediator Pattern
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.
8. Fixing Logging Issues In ASP.NET: TelemetryClient Vs. ILogger
TelemetryClient vs ILogger or how to improve logging experience in C# ASP.NET for Application Insights
9. How to Code a Blog With ASP.NET Core and C#
Learning by doing
10. JavaScript Interop and ASP.NET Core Blazor
Blazor is here, Will JavaScript be dead? I would say that the answer is NO at-least for now.
11. How to Generate a QR Code Image in Four Lines of Code
QR code is a computer-readable identification that contains data about the item to which it is attached. The article demonstrates how to generate QR-Code image.
12. How to Add Payment Method onto Your Website
When customers shop online, they often enter their credit information into a secure payment gateway. This protects the customer and the business.
13. How to Run C# Azure Functions in an Isolated Process
We can run our C# Azure Functions in an isolated process, decoupling the version of .NET that we use in our functions from the runtime version.
14. C# 8.0 Indices and Ranges
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.
15. The Differences Between Blazor WebAssembly And Blazor Server
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.
16. ASP.Net Core Blazor Hosting Models
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.
17. How To Optimize Background Tasks Using Hangfire and ASP.NET Core
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.
18. What's Pattern Matching in C# 8.0?
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.
19. Need To Know Tips for Autofac ContainerBuilder in ASP.NET Core
Learn how to use Autofac ContainerBuilder in ASP.NET Core to wire up dependency injection. I'll explore what we can and cannot do with this approach!
20. Spotting and Preventing Formatting Errors in Your Code
In this post I'll show how to use Roslyn Analyzers with C# to enforce some standards of code quality and code style on your code.
21. How to Use MudBlazor with Blazor Interactive SSR
Learn how to use MudBlazor with Blazor interactive SSR! Blazor's Server Side Rendering can be used alongside MudBlazor for building your next Blazor app!
22. Your Updated Guide to Building a Multi-language Asp.Net 8 MVC Application
A practical guide to building a multi-language Asp.Net 8 MVC application where all language resource strings are kept in a single shared file.
23. How to Master .NET 8 Web API: From Setup to Security - The Best 50 Tips
From the initial project setup using the .NET CLI to configuring middleware, controllers, and services, learn every step to build a robust API. Discover best
24. How to Build a Web App with ASP NET Core and Vue
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.
25. The Top 4 Nuget Packages According to This Software Developer
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.
26. The Ultimate C# .Net Testing Setup
Basically, we need to ability to write test classes and methods and have the base infrastructure for them.
27. The 30-Day .NET Challenge - Day 22: Use Array Pool
ArrayPool is a mechanism to recycle temporary buffers and optimize performance by reducing garbage collection cycles. It is part of the System.Buffers namespace
28. AutofacServiceProviderFactory in ASP.NET Core
Learn how to use AutofacServiceProviderFactory in ASP.NET Core for dependency injection! This article explains how to set it up along with the pros and cons.
29. Entity Framework 8 – Partial Classes Tricks You Should Know About
This article demonstrates several techniques for using partial C# classes to address common issues in EF 8/ASP.NET8.
30. Using Hangfire to Execute Background Processing in ASP.Net
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.
31. How To Migrate from .NET Core 2.2 to .NET Core 3.1: Real Life Project
Introduction
32. How To Master Plugin Architecture in ASP.NET Core
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.
33. Your Updated Guide to Building a Multi-language Asp.Net 8 MVC Application: Forms Validation Strings
How to handle in Asp.Net MVC application a localization of form validation error strings, or so-called Data Annotation Localization.
34. A Guide to Troubleshooting Frequent Compile-Time Errors: C# for Beginners
The article demonstrates common compile-time errors from missing semicolons to type mismatches and solutions to fix those compile-time errors.
35. Who Wins The Battle Between .Net Core and .Net Frameworks in 2022?
Entrepreneurs and startups are always confused about choosing between .Net Core vs .Net Framework due to their high functionalities and popularity.
36. A Guide to Using Scoped Services Inside Singletons
Disclaimer
37. The 30-Day .NET Challenge, Day 1: Boolean Expressions
Dive in to master Boolean expressions for precise C# coding, ensuring your apps handle user data flawlessly! 🚀
38. C# 8.0 Nullable Reference Types Are Here
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?
39. Your Updated Guide to Building a Multi-language Asp.Net 8 MVC Application: Resource Manager
For those who like the old-fashioned approach, the good news is that the Resource Manager is still working in Asp.Net 8 MVC.
40. Using the WebApplicationFactory in ASP.NET Core for Testing
Explore the power of WebApplicationFactory in ASP.NET Core testing to ensure code quality and prevent issues.
41. 5 Tips to Improve Your Productivity in C# 8.0
Introduction
42. The 30-Day .NET Challenge Day 15: Lazy Initialization
Developers often make objects instantiated as soon as the application starts or when a class is instantiated, regardless of whether they are immediately needed
43. PHP vs. ASP.NET: Determining Which Stack to Use For Your Next Project
The ultimate goal of the web development project is to build feature-rich web applications or corporate websites but which is better?
44. The 30-Day .NET Challenge - Day 21: StringComparison
The article demonstrates the importance of using StringComparison options for efficient string comparison in.NET. How you compare strings can significantly impa
45. Essential Guide to Running Nuxt from an ASP.NET Core Web Application
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.
46. The 30-Day .NET Challenge—Day 19: Stack vs. Heap Allocation
The article demonstrates the idea of memory allocations to be used for vibrant and high-performance applications.
47. The 30-Day .NET Challenge Day 6: String built-in Methods
Day 6 of 30-Day .NET Challenge: String built-in Methods
48. The Noonification: Sam Bankman-(Never Getting)Fried (4/4/2024)
4/4/2024: Top 5 stories on the HackerNoon homepage!
49. Your Updated Guide to Building a Multi-language Asp.Net 8 MVC Application: Alternative Approach
This article shows a variant of a solution in a previous article on how to solve the issue of having only one Resx file of language strings.
50. C# Sorting - A Minor Error
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
Thank you for checking out the 50 most read blog posts about Aspnet on HackerNoon.
Visit the /Learn Repo to find the most read blog posts about any technology.
