How to Add ASP NET 404 Error Handling
In this post, we will explore ASP NET 404 error handling. The 404 error refers to a not-found resource/URL. The best way to handle the 404 NotFound error in ASP.NET MVC is to create a landing page for...
View Article4 Differences Between Blazor Server and Blazor WebAssembly in ASP.NET 5
Blazor is Microsoft’s newest web framework. With it’s enhancement for performance in .NET 5, it’s expected to be a popular choice for building web applications. That is because we can code client-side...
View ArticleHow to Upload File in ASP.NET Zero
Assuming that you have create empty ASP.NET Zero project on your localhost and you can implement two different way of file upload to MVC projects. Ajax based implementation and form based...
View ArticleHow to Implement HTTPS Development for ASP.NET Core
Introduction To check whether your machine has .NET core installed or not, you need to use the following command on your command prompt: dotnet – -version As you can see, in the above image, .NET...
View ArticleHow to Build Real Time Applications with Asp.net Core SignalR
SignalR on .NET Core runs on ASP.NET Core 2.1, which can be downloaded at http://aka.ms/DotNetCore21. Overall, ASP.NET Core SignalR maintains a lot of the same core concepts and capabilities as...
View ArticleTop 3 Hosting Providers Support Latest ASP.NET Core 6!
The web hosting companies listed on this page provide web hosting services that support ASP and ASP.NET programming, alongside MS Access and MS SQL databases. ASP.NET web hosts offer plans that...
View Article12 Steps to Make HTTP POST Web Request Using C#
This article will be very helpful for developers that want to know how to make HTTP POST web request using C#. Basically, like SMS sending application HTTP post web request is nothing but an internet...
View Article5 Tips to Remove IIS/ASP.NET Response Headers
In this short tutorial, I will advise tips to remove IIS/ASP.NET Response Headers. OK, here we go: #1. Remove All Custom Headers Header Name: X-Powered-By Add: <httpProtocol>...
View ArticleHow to Use Cache Headers with Static Middleware in .NET Applications
In this article, we will have a look at http cache headers and how they can be configured while serving static files middleware. Cache-Control Header Now a days, every software solution has some...
View ArticleHow to Use Stored Procedure in SQL Server
Before we begin you must know the basic defination of Stored procedure in SQL server. A SQL Server stored procedure groups one or more Transact-SQL statements into a logical unit or a reference to a...
View ArticleHow to Implement Cookies Authentication in ASP.NET Core
What is Authentication? Authentication is the process that confirms a user’s identity and provides access to sensitive information. Most of the time, authentication is done through a username and...
View ArticleHow to Connect SQL Server with Entity Framework Core
In this post we’ll go through the steps to connect a .NET API to SQL Server using Entity Framework Core, and to create a SQL Server database from code using EF Core migrations. We’ll start with an...
View ArticleHow to Inject Services in .NET Code Blazor
In .NET Core, we have built in Dependency Injection feature, .NET Core’s Blazor application’s Razor Page also provides feature to use Dependency Injection in the view page, Users can inject services...
View ArticleASPHostPortal ASP.NET Core 6 Hosting Review
ASPHostPortal is one of the most popular ASP.NET hosting providers out there. They host over 1 million domains currently. They offer a wide range of hosting options, plans at different price points,...
View ArticleUnderstanding Modelstate in ASP.NET 5 MVC
If you are programming in ASP.NET 5.0 MVC, you will certainly have seen the class ModelState pop up a few times. Ever wondered what that is, or what the property ModelState.IsValid does, and why it’s...
View ArticleHow to Redirect to Another Page with Parameters in ASP.NET using C# and VB.NET
In this article I will explain with an example, how to redirect to another Page with QueryString parameters in ASP.Net using C# and VB.Net. This article will also illustrate how to read (get) the...
View ArticleHow to Build Shortener Web App Using .NET 6
In this article, I will first briefly describe the minimal APIs feature in .NET 6. To further demonstrate its use case, I will show you how to create a URL Shortener web app and containerize it using...
View ArticleHow Route Working in ASP.NET MVC
Routing in ASP.NET MVC can be a really complex topic. In this post, I want to present the most used URL Patterns and explain how they work. Routing with Routes Routes can be created by adding them to...
View ArticleHow to Use Third Party Web APIs in ASP.NET Core
In modern web applications, it is very common to call third-party Web APIs to enhance the functionality of the application. There are thousands of free and commercial APIs available and if you know...
View ArticleHow to Add Authentication and Authorization to Your ASP.NET Core Application
One feature that a lot of web applications will need to include is the ability restrict access to certain resources within the application to authorised users only. To do this, we need to be able to...
View Article
More Pages to Explore .....