Understand TypeScript Data Types
In the previous article and companion video of this series you prepared an ASP.NET Core project in Visual Studio to use TypeScript. You also developed a simple "Hello World" example. Now let's move ahead and learn something about the data types supported by TypeScript.
Posted On : 06 Apr 2020
Prepare ASP.NET Core projects to use TypeScript
Now a days many ASP.NET developers use TypeScript for their client side code. So, it's worth to add TypeScript in your web development skill-set. If you are a beginner new to TypeScript this multipart series consisting of articles and videos is just for you. In this series I am going to introduce you with the fundamentals of TypeScript language and how to integrate it in your ASP.NET Core apps. I am going to assume that you use Visual Studio 2019 as the IDE for your web development and you are familiar with the basics of JavaScript programming.
Posted On : 30 Mar 2020
Introduction to .NET 5 for ASP.NET Developers
If you are keeping an eye on the progress and future direction of .NET you might be aware that somewhere in May 2019 Microsoft announced that the next major release after .NET Core 3.0 will be .NET 5. And just a few days ago they announced the availability of .NET 5 Preview 1. The remainder of this article discusses the current state of .NET Framework and .NET Core and where the things are heading to for web developers.
Posted On : 23 Mar 2020
Create Simple DatePicker Component in Blazor
ASP.NET Core Blazor allows you to develop client side web applications using HTML, Razpr, and C#. A typical Blazor application consists of one or more Razor components. A Razor component physically exists as .razor file and contains a mix of HTML markup, Razor constructs, and C# code. A Razor component can either be used as if it is a page or it can be housed inside other component. If you are beginner in Blazor it's worthwhile to learn some fundaments of building Blazor components. That's what this article is about.
Posted On : 16 Mar 2020
Add Client Side Routing in ASP.NET Core
As an ASP.NET Core developer you are familiar with server side routing. If you ever worked with JavaScript frameworks such as Angular you might be familiar with their client side routing capabilities. You are probably aware that many frameworks and libraries offer a client side "router" that enables client side routing capabilities for your JavaScript code. For real-world professional web apps it makes sense to pick some robust and feature rich client side routing mechanism. But for simple purposes and for learning how client side routing works, it would be good to write some code that implements such a capabilities. To that end this article illustrates how a simple client side router can be built using JavaScript.
Posted On : 09 Mar 2020
Handle Unknown Actions in ASP.NET Core MVC
While working with ASP.NET Core MVC, usually you have known number of actions and views. At times you might come across a situation where you need to deal with actions unknown at development time. Let me briefly explain a situation I recently stumbled upon.
Posted On : 02 Mar 2020
Perform CRUD operations on MySQL database using EF Core and ASP.NET Core
As an ASP.NET Core web developer you are probably quite comfortable working with Microsoft SQL Server and Entity Framework Core. However, at times you need to work with other popular data stores. One such popular database engine is MySQL. To that end this article illustrates how to connect with a MySQL database and perform CRUD operations using MySQL Entity Framework Core provider.
Posted On : 24 Feb 2020
Create database from model using Entity Framework Core and ASP.NET Core
While working with Entity Framework Core and ASP.NET Core you typically create EF Core model consisting of a custom DbContext and entity classes. If your database already exists, it can be mapped with the EF Core model. However, if the database doesn't exist already, you would want it to be created. Of course, you can create the database manually by looking at the EF Core model and creating tables accordingly. Wouldn't it be nice if the database gets created automatically for you based on the EF Core model your created? To that end this article discusses just that.
Posted On : 17 Feb 2020
Use AutoMapper to map one object to another in ASP.NET Core
While developing ASP.NET Core web applications you often need to transfer data residing in one object into another. You can accomplish this task manually by setting properties of the target object with the values from the source object. But wouldn't it be nice if this task can be automated? That's what the AutoMapper library is about. In this article you learn to use AutoMapper in an ASP.NET Core application.
Posted On : 03 Feb 2020
Integrate Swagger with ASP.NET Core Web API
Once you build the Web APIs required by your ASP.NET Core web application, you typically want to test them by invoking their actions. The best way to do so is by building a client application using HttpClient or Ajax. However, creating such a client can be time consuming. You might want to quickly test the Web APIs before moving ahead with your further development. That's where Swagger can be helpful.
Posted On : 20 Jan 2020