
Loading
Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
Easy way to integrate the application with bundling and minifications for CSS and js files.

Learn Dependency Injection in .NET and ASP.NET Core, including IoC, service lifetimes, constructor injection, testing, anti-patterns, and best practices.

Learn how to build a scalable e-commerce application with ASP.NET Core, EF Core, Redis, SignalR, Docker, authentication, CI/CD, and Kubernetes.

Stream Excel exports in ASP.NET Core using IAsyncEnumerable to avoid memory issues. Process large datasets efficiently without loading them entirely into memory.

Secure your ASP.NET Core API with PASETO! This blog provides a practical guide, showcasing how PASETO offers a safer, simpler alternative to JWT for modern authentication.

Modernize .NET apps for the cloud! Learn 7 key pillars: Kestrel, observability, data ownership, resilience, statelessness, automation, and containerization. Start small, scale big!

Implement JWT authentication in ASP.NET Core Web API for secure and stateless user authorization. Learn to generate, validate, and use JWT tokens. Secure your APIs!

Easily manage PDF documents in .NET Core using iTextSharp, a powerful C# library. Merge multiple PDF files seamlessly within your application, simplifying document processing. Leverage iTextSharp's comprehensive features for efficient PDF manipulation and enhance your project's functionality.

Learn microservices with .NET! This beginner's guide covers architecture, benefits, core components, and a simple example for building scalable applications. Start your cloud-native journey now!

Explore .NET's Native AOT compilation: boost startup speed, cut memory use, and simplify deployments. Perfect for microservices, serverless, and modern apps.

Building a Custom AI Chatbot Using .NET Core, Gemini AI & Embeddings A Complete Developer Guide for Building Secure, Context-Bound AI Assistants

Learn how to fix the Git error: "fatal: protocol 'git clone https' not supported." This issue usually happens due to incorrect URL formatting or missing Git tools.

This blog covers Gzip and Brotli compression to reduce bandwidth usage, speed up API responses, and enhance web performance.

Managing dependencies in .NET projects can be challenging, but NuGet Central Package Management (CPM) simplifies the process by centralizing package versions across multiple projects.

Streamline Your Background Tasks with this new Task Repetitor Library. The FG.TaskRepetitor Library simplifies background task management in .NET. It supports custom scheduling, robust error handling, and both synchronous and asynchronous workflows, making it an essential tool for efficient task execution.

[Produces("application/json")] in ASP.NET Core ensures your API always responds with JSON, regardless of the client’s request format. It provides consistency, control, and simplicity, especially for APIs targeting front-end frameworks or third-party clients.

In ASP.NET Core, the host manages the application's lifecycle, dependencies, and environment. It includes Generic Host (IHost) for various app types and Web Host (IWebHost) for web applications, configuring services, logging, and middleware.

The .NET Community Toolkit has officially released version 8.4, introducing significant updates and improvements. The latest release includes support for partial properties in the MVVM Toolkit generators, new diagnostic analyzers, bug fixes, and other enhancements to facilitate development workflows.

.NET Aspire 9.0 is now generally available, following the earlier release of version 9.0 Release Candidate 1 (RC1). This release brings several features aimed at improving cloud-native application development on both AWS and Azure. It supports .NET 8 (LTS) and .NET 9 (STS).

ASP.NET Core 9.0 introduces several utilities for enhancing web applications, one of which is the MapStaticAssets method, part of the TypedResults class. This feature streamlines serving static assets like images, CSS, JavaScript files, or other resources essential for modern web development.

This step-by-step guide covers the process of changing project settings, adding a Main method, and adjusting references, helping you transform your class library into a functional console app using Visual Studio or .NET.

Attribute routing in ASP.NET Core allows you to define routes directly on controller actions using attributes. This provides precise control over routing, enabling complex scenarios with route parameters, optional values, constraints, and combined routes, enhancing clarity and flexibility in your API design.

In ASP.NET Core and .NET Generic Host, IConfiguration is available by default via dependency injection. For a console app without default settings, use a custom CreateServices() method to configure IConfiguration.

To handle dynamic views and data storage in a .NET Core sports project, create a flexible data model using key-value pairs or JSON columns for varying attributes. Dynamically generate forms based on selected sports, process form submissions, and store data in a scalable, adaptable structure without rigid schema constraints.

In this guide, learn how to implement centralized exception handling in ASP.NET Core using custom middleware. We'll explore how to capture and manage exceptions globally, ensuring consistent error responses across your application.
Everything on .NET Core, not only its blogs: the .NET Core page →
Write a blog post and earn +250 SHARP when it is approved.
Write a blog