Exploring Program.cs, Startup.cs and CreateDefaultBuilder in ASP.NET Core 2
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
5 Dos and 5 Don’ts For First Website
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 […]
Designing and placing together web sites is straightforward. Designing and putting collectively sites that generate paintings, enquiries and attaining your goals is hard. It has to be, in any case everyone with a site would be a millionaire, right? So, whether or not you are a new business proprietor, a geeky enthusiast (I fall into […]