Learn How to Create ASP.NET Core using Kendo UI from AngularJS Read more Exploring Program.cs, Startup.cs and CreateDefaultBuilder in ASP.NET Core 2
Using cutting edge technology means overcoming that initial learning curve. Many times, we would like to just jump in and get started without starting from scratch. But as we all know the best meals are the ones that are well prepared, and rushing into things too quickly ends up making someone sick or leaving an […]
Read more How to Automate Reload Configuration in ASP.NET Core
One of the goals in ASP.NET Core 2.0 has been to clean up the basic templates, simplify the basic use-cases, and make it easier to get started with new projects. This is evident in the new Program and Startup classes, which, on the face of it, are much simpler than their ASP.NET Core 1.0 counterparts. In this post, I’ll take a […]
Read more What is DDOS and How to Prevent it?
In this article, I want to explore IOptionsSnapshot and show how to work with IOptionsSnapshot in ASP.NET Core 1.1. We will use the dot-net CLI to create a new project and configure it using the reload technique in combination with IOptionsSnapshot. Make sure you are using at least ASP.NET Core 1.1. Get started by creating […]
Read more What Changed on ASP.NET Core Logging?
There is nothing more frustrating to a customer or client who is unable to access the website of a company, bank or retailer. Multiple emails and attempts to “check out” often lead to the viewpoint of “forget them; I will just go to another e-retailer to see if they have it in stock.” Equally frustrating, and […]
Read more Form Tag Helper in ASP.NET Core MVC
If you are getting started with ASP.NET Core, you are probably wondering what has changed with logging. In short, the answer is both nothing and everything. The common logging libraries you have always used with .NET still work. Microsoft does provide its own interface for logging with .NET Core and it uses it for .NET […]
Read more ASP.NET Core – How it Works?!
In this post, I will cover the Form tag helper that is used to bind a Form element to a particular MVC controller action or named route. This tag helper is an alternative to the following HTML helper method syntax:
@using (Html.BeginForm("ControllerName", "ActionName"))
//Form Contents Here
Binding to Controller Action With the form tag helper, you can bind a form […]
Read more How to Deploy ASP.NET Core Using Heroku
The hosting model for ASP.NET Core is dramatically different from previous versions of ASP.NET. This is also one area where I’ve seen a fair amount of misunderstanding. ASP.NET Core is a set of libraries you can install into a project using the NuGet package manager. One of the packages you might install for HTTP message […]
Read more FREE Web Hosting Services, How Can They Survive?
This post is about hosting ASP.NET Core applications on Heroku using Docker. Heroku is a cloud Platform-as-a-Service (PaaS) supporting several programming languages that is used as a web application deployment model. Heroku, one of the first cloud platforms, has been in development since June 2007, when it supported only the Ruby programming language, but now […]
Read more ASP.NET Core Tutorial – Status Code with Empty Response
Who don’t like free stuff? The fact there are no free lunch in this world. Every website that hosted on the server need reliable server. In offline industry, we know that the location is very important to determine our business/store, for business website web hosting server is one of the most important things. There are […]
If you create JSON APIs, you know that sometimes it is useful to return empty response with just status code set. For example when user calls the API to get a document with id 123 and he doesn’t have the rights to this particular document, it is a good practice to return with a status ‘403 Forbidden’. When you […]