CodingBlast | Adventures in web development
324 FOLLOWERS
The main theme of this blog is ASP.NET Core. There will be regular posts about old and new features of ASP.NET Core, upcoming features, news from the ASP.NET team, sample snippets, projects and also smaller real-world projects.
CodingBlast | Adventures in web development
3y ago
Windows Terminal
First of all, you should install Windows Terminal. It is a modern terminal emulator for users of command-tools and shells, including PowerShell, bash within WSL, SSH, Command Prompt, and any other command-line app.
It has easily configurable and dynamic profiles (you can see changes in real-time while changing JSON settings), color schemes, it has GUI for settings, it has command palette, and many other features.
You can get Windows Terminal in 3 different easy ways
Microsoft Store
GitHub releases page
Via chocolatey if you have it installed
Visual Studio Code
I also ..read more
CodingBlast | Adventures in web development
3y ago
Speed
ASP.NET Core is by far the fastest full-stack major web framework out there. Full-stack, meaning a framework that provides wide feature coverage, including server-side templates, database connectivity, form processing, and so on. Major means it’s widely adopted, used by the community, and supported by a big company and/or community.
ASP.NET Core can handle over 7 million requests per second. 7 000 000 requests per second! ASP.NET Core MVC can handle over 1.7 million requests per second! This is crazy fast! In comparison, Node.js can handle around 665 000 requests per second, and Spring ..read more
CodingBlast | Adventures in web development
4y ago
When working with ASP.NET Core and it’s Dependency Injection container, you will likely run into an error that’s similar to this one:
Some services are not able to be constructed (Error while validating the service descriptor ‘ServiceType: AspNetCoreDi.IMyConnectionManager Lifetime: Singleton ImplementationType: AspNetCoreDi.MyConnectionManager’: Cannot consume scoped service ‘AspNetCoreDi.IMyScopedService’ from singleton ‘AspNetCoreDi.IMyConnectionManager’.)
This happens when you have something like this:
View the code on Gist.
View the code on Gist.
View the code on Gist.
So, what’s going ..read more