Send ETag headers in ASP.NET Core β¨
ASP.NET Core doesnβt add an ETag header automatically to HTTP responses from MVC action methods or Razor Pages. β
We have to implement that ourselves to provide the users with true Conditional GET support that honors the If-None-Match request header. β
Wouldnβt it be nice if all we had to do was to register it using app.UseETagger() like thisβ
https://t.me/pgimg/88
[ Article ] : http://bit.do/etags
γ°γ°γ°γ°γ°γ°
#AspMvc #AspCore #ETag
@ProgrammingTip
ASP.NET Core doesnβt add an ETag header automatically to HTTP responses from MVC action methods or Razor Pages. β
We have to implement that ourselves to provide the users with true Conditional GET support that honors the If-None-Match request header. β
Wouldnβt it be nice if all we had to do was to register it using app.UseETagger() like thisβ
https://t.me/pgimg/88
[ Article ] : http://bit.do/etags
γ°γ°γ°γ°γ°γ°
#AspMvc #AspCore #ETag
@ProgrammingTip
Telegram
Programming Tips Resources
ASP.NET Core Interview Questions πΌ
This post is about ASP.NET Core Interview Questions. βοΈ
These questions are directly tied to ASP.NET Core. β
They are not meant to serve as only questions that you would ask a candidate during an interview. β
Use these to assess if the candidate has any knowledge about ASP.NET Core. π
The questions should serve as guidelines for core ASP.NET Core concepts that candidate should be familiar with. πͺ
https://t.me/pgimg/100
[ Article ] : http://bit.do/aspint
γ°γ°γ°γ°γ°γ°
#AspMvc #AspCore #Core #Interview
@ProgrammingTip
This post is about ASP.NET Core Interview Questions. βοΈ
These questions are directly tied to ASP.NET Core. β
They are not meant to serve as only questions that you would ask a candidate during an interview. β
Use these to assess if the candidate has any knowledge about ASP.NET Core. π
The questions should serve as guidelines for core ASP.NET Core concepts that candidate should be familiar with. πͺ
https://t.me/pgimg/100
[ Article ] : http://bit.do/aspint
γ°γ°γ°γ°γ°γ°
#AspMvc #AspCore #Core #Interview
@ProgrammingTip
Telegram
Programming Tips Resources
The Evolving Infrastructure of .NET Core β‘οΈ
It would be useful to take a brief look at the history of ASP.NET Core's infrastructure systems and the significant improvements that have been made in the last year or so. π
This post will be interesting if you are interested in build infrastructure or want a behind-the-scenes look at how we build a product as big as .NET Core. π₯
[ Article ] : kutt.it/netInfra
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Microsoft #AspMvc #Core #AspCore
@ProgrammingTip
It would be useful to take a brief look at the history of ASP.NET Core's infrastructure systems and the significant improvements that have been made in the last year or so. π
This post will be interesting if you are interested in build infrastructure or want a behind-the-scenes look at how we build a product as big as .NET Core. π₯
[ Article ] : kutt.it/netInfra
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Microsoft #AspMvc #Core #AspCore
@ProgrammingTip
Telegram
Programming Tips Resources
JSON API .NET Core β¨
A framework for building json:api compliant web APIs. π
The ultimate goal of this library is to eliminate as much boilerplate as possible by offering out-of-the-box features such as sorting, filtering and pagination. π
You just need to focus on defining the resources and implementing your custom business logic. ππ»
This library has been designed around dependency injection making extensibility incredibly easy. π
[ Github ] : kutt.it/JsonApiCore
[ Documentation ] : json-api-dotnet.github.io
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AspMvc #AspCore #DotNet
@ProgrammingTip
A framework for building json:api compliant web APIs. π
The ultimate goal of this library is to eliminate as much boilerplate as possible by offering out-of-the-box features such as sorting, filtering and pagination. π
You just need to focus on defining the resources and implementing your custom business logic. ππ»
This library has been designed around dependency injection making extensibility incredibly easy. π
[ Github ] : kutt.it/JsonApiCore
[ Documentation ] : json-api-dotnet.github.io
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AspMvc #AspCore #DotNet
@ProgrammingTip
Telegram
Programming Tips Resources
Kubernetes for .NET Developers βΈοΈ
Have you started building containerized application and struggled with scaling across multiple hostsβ
Would you like to simplify DevOps tasks such as deployment and configurationβ
Have you heard about Kubernetes and would like to learn moreβ
Then this presentation is for you. π
Kubernetes is an open source system for managing containerized applications across multiple hosts; providing basic mechanisms for deployment, maintenance, and scaling of applications. π₯
In this presentation, I will walk you through Kubernetes fundamentals, the high level architecture, how would you deploy an ASP.NET Core application to Kubernetes and finally how would you configure and launch auto-scaling, self-healing Kubernetes cluster. β‘οΈ
[ YouTube ] : youtu.be/uh4V2IjSrlI
[ Github ] : kutt.it/KubeAsp
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Kubernetes #DotNet #Core #AspMvc #AspCore
@ProgrammingTip
Have you started building containerized application and struggled with scaling across multiple hostsβ
Would you like to simplify DevOps tasks such as deployment and configurationβ
Have you heard about Kubernetes and would like to learn moreβ
Then this presentation is for you. π
Kubernetes is an open source system for managing containerized applications across multiple hosts; providing basic mechanisms for deployment, maintenance, and scaling of applications. π₯
In this presentation, I will walk you through Kubernetes fundamentals, the high level architecture, how would you deploy an ASP.NET Core application to Kubernetes and finally how would you configure and launch auto-scaling, self-healing Kubernetes cluster. β‘οΈ
[ YouTube ] : youtu.be/uh4V2IjSrlI
[ Github ] : kutt.it/KubeAsp
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Kubernetes #DotNet #Core #AspMvc #AspCore
@ProgrammingTip
Telegram
Programming Tips Resources
Using the ReferenceAssemblies NuGet package to build .NET Framework libraries on Linux, without installing Mono π
In this post I show how you can build .NET projects that target .NET Framework versions on Linux, without using Mono! π€·π»ββοΈ
By using the new Microsoft.NETFramework.ReferenceAssemblies NuGet packages from Microsoft you don't need to install anything more than the .NET Core SDK! π₯
[ Article ] : kutt.it/coremono
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#CSharp #DotNet #AspCore #NetCore
@ProgrammingTip
In this post I show how you can build .NET projects that target .NET Framework versions on Linux, without using Mono! π€·π»ββοΈ
By using the new Microsoft.NETFramework.ReferenceAssemblies NuGet packages from Microsoft you don't need to install anything more than the .NET Core SDK! π₯
[ Article ] : kutt.it/coremono
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#CSharp #DotNet #AspCore #NetCore
@ProgrammingTip
Telegram
Programming Tips Resources
Running async tasks on app startup in ASP.NET Core 3.0 β‘οΈ
In this post, I describe how a small change in the ASP.NET Core 3.0 WebHost makes it easier to run asynchronous tasks on app startup using IHostedService. β
Unfortunately, in 2.x it wasn't possible to use any of the built-in ASP.NET Core primitives to achieve this β :
β’ IStartupFilter has a synchronous API, so would require doing sync over async. π€¦π»ββοΈ
β’ IApplicationLifetime has a synchronous API and raises the ApplicationStarted event after the server starts handling requests. π€·π»ββοΈ
β’ IHostedService has an asynchronous API, but is executed after the server is started and starts handling requests. ππ»
With ASP.NET Core 3.0, a small change in the WebHost code makes a big difference - we no longer need these solutions, and can use IHostedService without the previous concernsβοΈ
[ Article ] : kutt.it/asphost
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AspNet #AspMvc #AspCore
@ProgrammingTip
In this post, I describe how a small change in the ASP.NET Core 3.0 WebHost makes it easier to run asynchronous tasks on app startup using IHostedService. β
Unfortunately, in 2.x it wasn't possible to use any of the built-in ASP.NET Core primitives to achieve this β :
β’ IStartupFilter has a synchronous API, so would require doing sync over async. π€¦π»ββοΈ
β’ IApplicationLifetime has a synchronous API and raises the ApplicationStarted event after the server starts handling requests. π€·π»ββοΈ
β’ IHostedService has an asynchronous API, but is executed after the server is started and starts handling requests. ππ»
With ASP.NET Core 3.0, a small change in the WebHost code makes a big difference - we no longer need these solutions, and can use IHostedService without the previous concernsβοΈ
[ Article ] : kutt.it/asphost
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AspNet #AspMvc #AspCore
@ProgrammingTip
Telegram
Programming Tips Resources