<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ASP.NET Core on CodingBlast</title><link>https://codingblast.com/categories/asp.net-core/</link><description>Recent content in ASP.NET Core on CodingBlast</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 27 Dec 2022 01:58:41 +0000</lastBuildDate><atom:link href="https://codingblast.com/categories/asp.net-core/index.xml" rel="self" type="application/rss+xml"/><item><title>Why is ASP.NET Core good for Enterprise applications</title><link>https://codingblast.com/asp-net-core-for-enterprise/</link><pubDate>Sat, 13 Mar 2021 17:40:33 +0000</pubDate><guid>https://codingblast.com/asp-net-core-for-enterprise/</guid><description>&lt;h2 id="speed"&gt;Speed&lt;/h2&gt;
&lt;p&gt;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&amp;rsquo;s widely adopted, used by the community, and supported by a big company and/or community.&lt;/p&gt;</description></item><item><title>ASP.NET Core Dependency Injection - Cannot consume scoped service</title><link>https://codingblast.com/asp-net-core-dependency-injection-cannot-consume-scoped-service/</link><pubDate>Sat, 18 Jan 2020 12:23:12 +0000</pubDate><guid>https://codingblast.com/asp-net-core-dependency-injection-cannot-consume-scoped-service/</guid><description>&lt;p&gt;When working with ASP.NET Core and it&amp;rsquo;s Dependency Injection container, you will likely run into an error that&amp;rsquo;s similar to this one:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Some services are not able to be constructed (Error while validating the service descriptor &amp;lsquo;ServiceType: AspNetCoreDi.IMyConnectionManager Lifetime: Singleton ImplementationType: AspNetCoreDi.MyConnectionManager&amp;rsquo;: Cannot consume scoped service &amp;lsquo;AspNetCoreDi.IMyScopedService&amp;rsquo; from singleton &amp;lsquo;AspNetCoreDi.IMyConnectionManager&amp;rsquo;.)&lt;/p&gt;</description></item><item><title>Hosting ASP.NET Core on Heroku (with Docker&amp;CircleCI) for free</title><link>https://codingblast.com/hosting-asp-net-core-on-heroku-with-dockercircleci-for-free/</link><pubDate>Fri, 08 Feb 2019 07:31:03 +0000</pubDate><guid>https://codingblast.com/hosting-asp-net-core-on-heroku-with-dockercircleci-for-free/</guid><description>&lt;h2 id="the-problem"&gt;&lt;strong&gt;The problem&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;You have an application that you need to show off to your friends or a client, and they all need to access it online, and you don&amp;rsquo;t want to use your old server in your basement. If it&amp;rsquo;s a &lt;em&gt;small&lt;/em&gt; application, you can easily do all this for FREE!&lt;/p&gt;</description></item><item><title>ASP.NET Core Authorization - Using attributes for handlers and requirements</title><link>https://codingblast.com/asp-net-core-authorization-resources/</link><pubDate>Thu, 26 Apr 2018 22:08:47 +0000</pubDate><guid>https://codingblast.com/asp-net-core-authorization-resources/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Dealing with authentication and authorization in ASP.NET Core while working with modern web apps has been a much better experience than in older versions of ASP.NET. And it&amp;rsquo;s been further improved with v2. There are few quirks when you work with it enough, but the overall feeling is much better.&lt;/p&gt;</description></item><item><title>ASP.NET Core 2 - Global Model validation</title><link>https://codingblast.com/asp-net-core-global-model-validation/</link><pubDate>Sat, 24 Feb 2018 11:34:56 +0000</pubDate><guid>https://codingblast.com/asp-net-core-global-model-validation/</guid><description>&lt;h2 id="how-we-some-of-us-do-model-validation-right-now"&gt;How we (some of us?) do Model validation right now&lt;/h2&gt;
&lt;p&gt;We, developers, use a lot of repetitive code in our ASP.NET (Core) Web API / MVC actions. Inside of our controller actions we usually check if the model is valid by using &lt;em&gt;ModelState&lt;/em&gt;property available on MVC&amp;rsquo;s base controller class:&lt;/p&gt;</description></item><item><title>ASP.NET Core - Unit testing IAuthorizationService and dependencies inside of your controller</title><link>https://codingblast.com/asp-net-core-unit-testing-authorizationservice-inside-controller/</link><pubDate>Mon, 12 Feb 2018 16:52:08 +0000</pubDate><guid>https://codingblast.com/asp-net-core-unit-testing-authorizationservice-inside-controller/</guid><description>&lt;h2 id="unit-testing---iauthorizationservice-requirement-and-handler"&gt;Unit Testing - IAuthorizationService, Requirement and Handler&lt;/h2&gt;
&lt;p&gt;You have a controller that makes use of &lt;em&gt;IAuthorizationService&lt;/em&gt; and you have a custom requirement - implementation of &lt;em&gt;IAuthorizationRequirement&lt;/em&gt;. You might also have your custom handler which is an implementation of &lt;em&gt;IAuthorizationHandler&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>ASP.NET Core - InvalidOperationException: Cannot find compilation library location for package 'Microsoft.Win32.Registry'</title><link>https://codingblast.com/asp-net-core-invalidoperationexception-cannot-find-compilation-library-location-package-microsoft-win32-registry/</link><pubDate>Thu, 01 Feb 2018 10:55:22 +0000</pubDate><guid>https://codingblast.com/asp-net-core-invalidoperationexception-cannot-find-compilation-library-location-package-microsoft-win32-registry/</guid><description>&lt;h2 id="tldr"&gt;TL;DR&lt;/h2&gt;
&lt;p&gt;Add following line to your &lt;strong&gt;.csproj&lt;/strong&gt; file:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;MvcRazorExcludeRefAssembliesFromPublish&gt;false&lt;/MvcRazorExcludeRefAssembliesFromPublish&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;I was publishing a project I am working on to web server (Linux) and I had an issue with Razor Pages.&lt;/p&gt;
&lt;p&gt;However, it seems that this error occurs only when you precompile your Razor views (MVC views, Razor Pages). Why would you do that? Well, precompiling your views results in a smaller published bundle and faster startup time.&lt;/p&gt;</description></item><item><title>ASP.NET Core Interview Questions</title><link>https://codingblast.com/asp-net-core-interview-questions/</link><pubDate>Wed, 03 Jan 2018 16:41:45 +0000</pubDate><guid>https://codingblast.com/asp-net-core-interview-questions/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;ASP.NET Core and .NET Core have been in development for years already. If you look into ASP.NET Core MVC repository history, you will find commits from July 2013. These are the new frameworks from Microsoft, that are the completely open source and cross-platform.&lt;/p&gt;</description></item><item><title>ASP.NET Core SignalR Chat with React.js</title><link>https://codingblast.com/asp-net-core-signalr-chat-react/</link><pubDate>Fri, 17 Nov 2017 23:39:39 +0000</pubDate><guid>https://codingblast.com/asp-net-core-signalr-chat-react/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In one of the last posts, we saw how we can make a simple chat with &lt;a href="https://codingblast.com/asp-net-core-signalr-chat-angular/"&gt;ASP.NET Core SignalR and Angular 5&lt;/a&gt;. This time, we will use the same code from the backend and swap Angular with React on the frontend.&lt;/p&gt;</description></item><item><title>ASP.NET Core SignalR Chat with Angular 5</title><link>https://codingblast.com/asp-net-core-signalr-chat-angular/</link><pubDate>Tue, 14 Nov 2017 08:19:52 +0000</pubDate><guid>https://codingblast.com/asp-net-core-signalr-chat-angular/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In one of the &lt;a href="https://codingblast.com/asp-net-core-signalr-simple-chat/"&gt;previous&lt;/a&gt; posts, we saw how we can make a simple chat with ASP.NET Core SignalR. It takes about 5-10 mins for someone who is familiar with the environment and ASP.NET Core. Or even less.&lt;/p&gt;</description></item><item><title>Using Web API only on ASP.NET Core - Without MVC specific stuff</title><link>https://codingblast.com/using-web-api-asp-net-core-without-mvc-specific-stuff/</link><pubDate>Thu, 12 Oct 2017 05:22:05 +0000</pubDate><guid>https://codingblast.com/using-web-api-asp-net-core-without-mvc-specific-stuff/</guid><description>&lt;h2 id="web-api-vs-mvc"&gt;Web API vs MVC&lt;/h2&gt;
&lt;p&gt;MVC and Web API have many things in common. Things like filters, attributes, controllers. Since MVC and Web API share so many things with ASP.NET Core we got these two unified into one framework.&lt;/p&gt;</description></item><item><title>Why you should learn ASP.NET Core</title><link>https://codingblast.com/why-asp-net-core/</link><pubDate>Sun, 08 Oct 2017 23:16:42 +0000</pubDate><guid>https://codingblast.com/why-asp-net-core/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;h3 id="a-bit-of-history"&gt;A bit of History&lt;/h3&gt;
&lt;p&gt;I have been surprised by the fact that so many people are not aware of Microsoft&amp;rsquo;s open source shift over last 5 (and maybe few more) years. Lots of people are not aware of current state of .NET, .NET Core and ASP.NET Core. And I do not blame them, they have been occupied by some other responsibilities or technologies.&lt;/p&gt;</description></item><item><title>EntityFramework Core - Add an implementation of IDesignTimeDbContextFactory - Multiple DbContext's</title><link>https://codingblast.com/entityframework-core-add-implementation-idesigntimedbcontextfactory-multiple-dbcontexts/</link><pubDate>Thu, 21 Sep 2017 19:47:57 +0000</pubDate><guid>https://codingblast.com/entityframework-core-add-implementation-idesigntimedbcontextfactory-multiple-dbcontexts/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;We already talked about problem when Entity Framework Core tooling requires you to implement &lt;em&gt;IDesignTimeDbContextFactory&lt;DbContext&gt;&lt;/em&gt; - check out &lt;a href="https://codingblast.com/entityframework-core-idesigntimedbcontextfactory/"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It gets interesting when you have more than one &lt;em&gt;DbContext&lt;/em&gt; in your application and you want to add another implementation of &lt;em&gt;IDesignTimeDbContextFactory&lt;/em&gt;, without repeating the code and making sure that EF Core tooling picks the right one.&lt;/p&gt;</description></item><item><title>Entity Framework Core Generic Repository</title><link>https://codingblast.com/entity-framework-core-generic-repository/</link><pubDate>Wed, 20 Sep 2017 18:53:19 +0000</pubDate><guid>https://codingblast.com/entity-framework-core-generic-repository/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Entity Framework Core Generic Repository - Behold! The topic that some people will frown upon. They don&amp;rsquo;t even wanna talk about it. However, others love it, they feel all excited on the mention of generic repository pattern.&lt;/p&gt;</description></item><item><title>ASP.NET Core Configuration - Reloading, Binding, Injecting</title><link>https://codingblast.com/asp-net-core-configuration-reloading-binding-injecting/</link><pubDate>Thu, 14 Sep 2017 08:10:55 +0000</pubDate><guid>https://codingblast.com/asp-net-core-configuration-reloading-binding-injecting/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In the &lt;a href="https://codingblast.com/asp-net-core-configuration/"&gt;last post&lt;/a&gt;, we talked about ASP.NET Core Configuration in general.&lt;/p&gt;
&lt;p&gt;We saw how is it set up by default from ASP.NET Core.&lt;/p&gt;
&lt;p&gt;We also talked about sources and that order matters.&lt;/p&gt;
&lt;p&gt;This time we will talk about mapping configuration to classes.&lt;/p&gt;</description></item><item><title>ASP.NET Core Configuration</title><link>https://codingblast.com/asp-net-core-configuration/</link><pubDate>Sun, 10 Sep 2017 11:02:32 +0000</pubDate><guid>https://codingblast.com/asp-net-core-configuration/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;ASP.NET Core configuration differs greatly from standard ASP.NET.
Instead of web.config or any other way to set up the configuration we use built-in Configuration framework that comes with ASP.NET Core.
It is still key-value pairs collection at the end, but we can obtain those values from various sources. One of default sources is &lt;strong&gt;appsettings.json&lt;/strong&gt; file that comes with all templates. ASP.NET Core 2 templates have configuration already filled with values from &lt;strong&gt;appsettings.json&lt;/strong&gt; file, along with few other sources.
However, we can use and &lt;strong&gt;combine&lt;/strong&gt; various sources for configuration settings (values):&lt;/p&gt;</description></item><item><title>Google Analytics Tag Helper Component</title><link>https://codingblast.com/tag-helper-component-google-analytics/</link><pubDate>Fri, 01 Sep 2017 22:23:17 +0000</pubDate><guid>https://codingblast.com/tag-helper-component-google-analytics/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In the &lt;a href="https://codingblast.com/tag-helper-components/"&gt;last pos&lt;/a&gt;t, we talked about &lt;a href="https://codingblast.com/tag-helper-components/"&gt;Tag Helper Components&lt;/a&gt; and how we can use them to modify existing HTML elements and inject scripts on the fly.&lt;/p&gt;
&lt;p&gt;I needed Google Analytics scripts in my ASP.NET Core application, so I decided to make a NuGet package for that.&lt;/p&gt;</description></item><item><title>ASP.NET Core MVC - Tag Helper Components</title><link>https://codingblast.com/tag-helper-components/</link><pubDate>Fri, 25 Aug 2017 10:45:27 +0000</pubDate><guid>https://codingblast.com/tag-helper-components/</guid><description>&lt;h2 id="tag-helper-components---introduction"&gt;Tag Helper Components - Introduction&lt;/h2&gt;
&lt;p&gt;We already talked about &lt;a href="https://codingblast.com/asp-net-core-tag-helpers/"&gt;Tag Helpers&lt;/a&gt; in several posts before. This time we will be talking about something related.&lt;/p&gt;
&lt;p&gt;ASP.NET Core 2 is here and it brings us a new feature - &lt;strong&gt;Tag Helper Components&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>EntityFramework Core - Add an implementation of IDesignTimeDbContextFactory</title><link>https://codingblast.com/entityframework-core-idesigntimedbcontextfactory/</link><pubDate>Mon, 21 Aug 2017 15:09:44 +0000</pubDate><guid>https://codingblast.com/entityframework-core-idesigntimedbcontextfactory/</guid><description>&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;Your DbContext in a separate project - class library project. You are trying to add new migration and update database, and you are running into this error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Unable to create an object of type &amp;lsquo;CodingBlastDbContext&amp;rsquo;. Add an implementation of &amp;lsquo;IDesignTimeDbContextFactory&amp;rsquo; to the project, or see &lt;a href="https://go.microsoft.com/fwlink/?linkid=851728"&gt;https://go.microsoft.com/fwlink/?linkid=851728&lt;/a&gt; for additional patterns supported at design time.&lt;/p&gt;</description></item><item><title>ASP.NET Core - Best practices (tips and tricks) - an opinionated approach - Part 2</title><link>https://codingblast.com/asp-net-core-best-practices-2/</link><pubDate>Sun, 20 Aug 2017 15:25:19 +0000</pubDate><guid>https://codingblast.com/asp-net-core-best-practices-2/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In the &lt;a href="https://codingblast.com/asp-net-core-best-practices/"&gt;last post&lt;/a&gt;, we talked about tips and tricks, different strategies and approaches to make your code and project easier to maintain.&lt;/p&gt;
&lt;p&gt;This post is the second part in the series.&lt;/p&gt;
&lt;h3 id="avoid-html-helpers---use-tag-helpers"&gt;Avoid HTML Helpers - Use Tag Helpers&lt;/h3&gt;
&lt;p&gt;We should avoid using HTML Helpers in favour of Tag Helpers.&lt;/p&gt;</description></item><item><title>ASP.NET Core - Best practices (tips and tricks) - an opinionated approach - Part 1</title><link>https://codingblast.com/asp-net-core-best-practices/</link><pubDate>Fri, 18 Aug 2017 07:10:43 +0000</pubDate><guid>https://codingblast.com/asp-net-core-best-practices/</guid><description>&lt;h2 id="introduction---aspnet-core-best-practices"&gt;Introduction - ASP.NET Core Best Practices&lt;/h2&gt;
&lt;p&gt;This post is about ASP.NET Core best practices post. We will talk about some of the best practices while working with ASP.NET Core. It is a collection of tips and tricks, different strategies and approaches to make your code and project easier to maintain. Also, it will be more pleasant to work on the project. These include the ways to organise the solution, project, pieces of code, tips for writing tests and other things that developers deal with.&lt;/p&gt;</description></item><item><title>ASP.NET Core - ConfigureServices vs Configure</title><link>https://codingblast.com/asp-net-core-configureservices-vs-configure/</link><pubDate>Sun, 13 Aug 2017 21:20:45 +0000</pubDate><guid>https://codingblast.com/asp-net-core-configureservices-vs-configure/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;We already talked about Configuration method inside of Startup when we talked about &lt;a href="https://codingblast.com/asp-net-core-middleware/"&gt;requests and middleware&lt;/a&gt;. In this post, we will see what exactly &lt;em&gt;ConfigureServices&lt;/em&gt; and &lt;em&gt;Configure&lt;/em&gt; methods are for and how they differ.&lt;/p&gt;
&lt;p&gt;In &lt;a href="https://codingblast.com/asp-net-core-2-preview/"&gt;ASP.NET Core&lt;/a&gt; we have a &lt;strong&gt;Startup&lt;/strong&gt; class where &lt;a href="https://codingblast.com/asp-net-core-middleware/"&gt;all the configuration&lt;/a&gt; is done and processed once the application is starting.&lt;/p&gt;</description></item><item><title>ASP.NET Core SignalR - Simple chat</title><link>https://codingblast.com/asp-net-core-signalr-simple-chat/</link><pubDate>Mon, 07 Aug 2017 06:03:05 +0000</pubDate><guid>https://codingblast.com/asp-net-core-signalr-simple-chat/</guid><description>&lt;h2 id="update"&gt;&lt;em&gt;Update&lt;/em&gt;&lt;/h2&gt;
&lt;p&gt;The code has been updated to use latest SignalR - 6 which works with ASP.NET Core 6&lt;/p&gt;
&lt;p&gt;Link to GitHub repository: &lt;a href="https://github.com/Ibro/SignalRSimpleChat"&gt;https://github.com/Ibro/SignalRSimpleChat&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Angular 5 version: &lt;a href="https://codingblast.com/asp-net-core-signalr-chat-angular/"&gt;here&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React.js version:&lt;/strong&gt; &lt;a href="https://codingblast.com/asp-net-core-signalr-chat-react/"&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In the &lt;a href="https://codingblast.com/asp-net-core-signalr/"&gt;last post&lt;/a&gt;, we briefly mentioned what SignalR is all about and talked about the history of the SignalR.&lt;/p&gt;</description></item><item><title>ASP.NET Core SignalR Introduction</title><link>https://codingblast.com/asp-net-core-signalr/</link><pubDate>Fri, 04 Aug 2017 18:21:19 +0000</pubDate><guid>https://codingblast.com/asp-net-core-signalr/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;ASP.NET SignalR is a library for ASP.NET developers that simplifies the process of adding real-time web functionality to applications. Real-time web functionality is the ability to have server code push content to connected clients instantly as it becomes available, and not having the server wait for a client to ask for new data.&lt;/p&gt;</description></item><item><title>ASP.NET Core MVC - Custom Tag Helpers</title><link>https://codingblast.com/asp-net-core-mvc-custom-tag-helpers/</link><pubDate>Mon, 31 Jul 2017 07:06:17 +0000</pubDate><guid>https://codingblast.com/asp-net-core-mvc-custom-tag-helpers/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In on of the previous posts we talked about &lt;a href="https://codingblast.com/asp-net-core-tag-helpers/"&gt;Tag Helpers&lt;/a&gt;, we also talked about &lt;a href="https://codingblast.com/asp-net-core-mvc-caching-taghelpers/"&gt;caching Tag Helpers&lt;/a&gt; and &lt;a href="https://codingblast.com/asp-net-core-mvc-form-tag-helpers/"&gt;form Tag Helpers&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;By creating our custom Tag Helpers, we have an ability to extend existing HTML elements or create our custom HTML elements.&lt;/p&gt;</description></item><item><title>ASP.NET Core Razor Pages - Handler Methods</title><link>https://codingblast.com/asp-net-core-razor-pages-handlers/</link><pubDate>Sat, 29 Jul 2017 07:44:43 +0000</pubDate><guid>https://codingblast.com/asp-net-core-razor-pages-handlers/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In the &lt;a href="https://codingblast.com/asp-net-core-razor-pages/"&gt;last post&lt;/a&gt;, we talked about &lt;a href="https://codingblast.com/asp-net-core-razor-pages/"&gt;Razor Pages&lt;/a&gt;. Today we will talk more about handlers.&lt;/p&gt;
&lt;p&gt;We saw that we could have our code and model either in a &lt;em&gt;.cshtml&lt;/em&gt; file or inside of &lt;em&gt;code behind&lt;/em&gt;file that matches the &lt;em&gt;.cshtml&lt;/em&gt; - &lt;em&gt;&lt;strong&gt;.cshtml.cs&lt;/strong&gt;&lt;/em&gt; file.&lt;/p&gt;</description></item><item><title>ASP.NET Core Razor Pages – Introduction</title><link>https://codingblast.com/asp-net-core-razor-pages/</link><pubDate>Sun, 23 Jul 2017 13:25:25 +0000</pubDate><guid>https://codingblast.com/asp-net-core-razor-pages/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;With ASP.NET Core 2 around the corner, the hottest new thing that we are getting is Razor Pages. In one of the &lt;a href="https://codingblast.com/asp-net-core-2-preview/"&gt;previous posts&lt;/a&gt;, we briefly mentioned ASP.NET Core Razor Pages.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Razor Pages is a new feature of ASP.NET Core that makes coding page-focused scenarios easier and more productive.&lt;/p&gt;</description></item><item><title>ASP.NET Core MVC - Form Tag Helpers</title><link>https://codingblast.com/asp-net-core-mvc-form-tag-helpers/</link><pubDate>Tue, 18 Jul 2017 06:58:06 +0000</pubDate><guid>https://codingblast.com/asp-net-core-mvc-form-tag-helpers/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;We already talked about &lt;a href="https://codingblast.com/asp-net-core-tag-helpers/"&gt;Tag Helpers&lt;/a&gt;, we mentioned some of the most used Tag Helpers and we also talked about &lt;a href="https://codingblast.com/asp-net-core-mvc-caching-taghelpers/"&gt;caching Tag Helpers&lt;/a&gt;. In this post, we will talk about form Tag Helpers.&lt;/p&gt;
&lt;p&gt;HTML or Web Form is used to collect an input from the user using various HTML elements like inputs, checkboxes, radio buttons, dropdown lists, etc. When using the &lt;strong&gt;&lt;form&gt;&lt;/strong&gt; HTML element we are usually talking about POST request, even tho we could use GET. However, GET is recommended for short, non-sensitive, amounts of data usually used to fetch some data based on provided parameters.&lt;/p&gt;</description></item><item><title>ASP.NET Core MVC &amp;#8211; Caching Tag Helpers</title><link>https://codingblast.com/asp-net-core-mvc-caching-taghelpers/</link><pubDate>Fri, 07 Jul 2017 23:24:10 +0000</pubDate><guid>https://codingblast.com/asp-net-core-mvc-caching-taghelpers/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;Caching can significantly improve our application load time and responsiveness. What can we cache with cache Tag Helpers? Well, we cache HTML content. We usually cache content that does not change frequently.&lt;/p&gt;
&lt;p&gt;In one of the &lt;a href="https://codingblast.com/asp-net-core-tag-helpers/"&gt;previous posts&lt;/a&gt;, we talked about &lt;a href="https://codingblast.com/asp-net-core-tag-helpers/"&gt;Tag Helpers&lt;/a&gt;. We saw what Tag Helpers do, how we can use them and we saw how do we use some of the most used Tag Helpers.&lt;/p&gt;</description></item><item><title>dotnet CLI - how to update a NuGet package and add a new NuGet package</title><link>https://codingblast.com/update-nuget-package-dotnet-cli/</link><pubDate>Thu, 06 Jul 2017 22:00:43 +0000</pubDate><guid>https://codingblast.com/update-nuget-package-dotnet-cli/</guid><description>&lt;h2 id="adding-and-updating-nuget-packages-via-command-line---dotnet-cli"&gt;Adding and updating NuGet packages via command line - dotnet CLI&lt;/h2&gt;
&lt;p&gt;Just like we can add, remove and update NuGet packages via UI in Visual Studio or Visual Studio Code we can accomplish the same using the dotnet CLI.&lt;/p&gt;</description></item><item><title>ASP.NET Core MVC - All about Tag Helpers</title><link>https://codingblast.com/asp-net-core-tag-helpers/</link><pubDate>Sat, 01 Jul 2017 18:21:47 +0000</pubDate><guid>https://codingblast.com/asp-net-core-tag-helpers/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Tag Helpers provide us with means to change and enhance existing HTML elements in our views. Therefore, we add them to our views, and afterwards, they are processed by the Razor Templating engine which in return creates an HTML and serves it to the browser. Few Tag Helpers actually act as elements or actual tags (environment, cache, etc.).&lt;/p&gt;</description></item><item><title>Middleware in ASP.NET Core - Handling requests</title><link>https://codingblast.com/asp-net-core-middleware/</link><pubDate>Sun, 18 Jun 2017 09:10:39 +0000</pubDate><guid>https://codingblast.com/asp-net-core-middleware/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Middleware is software that application assembles into the pipeline to handle requests and responses. Each part chooses whether to pass the request on to the next part in the pipeline, and can do certain actions before and after application invokes the next part in the pipeline. Request delegates usage is to build the request pipeline.&lt;/p&gt;</description></item><item><title>Logging in ASP.NET Core - Connecting the pieces</title><link>https://codingblast.com/asp-net-core-logging/</link><pubDate>Tue, 06 Jun 2017 18:36:04 +0000</pubDate><guid>https://codingblast.com/asp-net-core-logging/</guid><description>&lt;h2 id="logging-in-aspnet-core-1"&gt;Logging in ASP.NET Core 1&lt;/h2&gt;
&lt;p&gt;Logging has been a built-in feature since the first release of ASP.NET Core. Good thing about logging is that ASP.NET Core configures it to log internal events from the platform.&lt;/p&gt;</description></item><item><title>ASP.NET Core 2.0 Preview 1 introduction</title><link>https://codingblast.com/asp-net-core-2-preview/</link><pubDate>Sun, 14 May 2017 09:39:08 +0000</pubDate><guid>https://codingblast.com/asp-net-core-2-preview/</guid><description>&lt;p&gt;Few days ago at &lt;a href="http://build.microsoft.com/"&gt;Build conference&lt;/a&gt; we got some good news: .NET Core 2.0 Preview 1 and ASP.NET Core 2 Preview1 were announced.&lt;/p&gt;
&lt;p&gt;We will take a look at some new exciting features that are coming to ASP.NET Core world. Lets see what goodies ASP.NET Core 2 brings for us developers!&lt;/p&gt;</description></item></channel></rss>