ASP.NET Core
ASP.NET Core Razor Pages - Handler Methods
Introduction In the last post, we talked about Razor Pages. Today we will talk more about handlers. We saw that we could have our code and model either in a .cshtml file or inside of code behindfile that matches the .cshtml - .cshtml.cs file.
ASP.NET Core Razor Pages – Introduction
Introduction With ASP.NET Core 2 around the corner, the hottest new thing that we are getting is Razor Pages. In one of the previous posts, we briefly mentioned ASP.NET Core Razor Pages. Razor Pages is a new feature of ASP.NET Core that makes coding page-focused scenarios easier and more productive.
ASP.NET Core MVC - Form Tag Helpers
Introduction We already talked about Tag Helpers, we mentioned some of the most used Tag Helpers and we also talked about caching Tag Helpers. In this post, we will talk about form Tag Helpers. 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 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.
ASP.NET Core MVC – Caching Tag Helpers
Introduction 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. In one of the previous posts, we talked about Tag Helpers. 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.
dotnet CLI - how to update a NuGet package and add a new NuGet package
Adding and updating NuGet packages via command line - dotnet CLI 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.
ASP.NET Core MVC - All about Tag Helpers
Introduction 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.).
Middleware in ASP.NET Core - Handling requests
Introduction 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.
Logging in ASP.NET Core - Connecting the pieces
Logging in ASP.NET Core 1 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.
ASP.NET Core 2.0 Preview 1 introduction
Few days ago at Build conference we got some good news: .NET Core 2.0 Preview 1 and ASP.NET Core 2 Preview1 were announced. 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!