Thoughts on .Net & Coding
.Net Articles, tutorials, reviews, code and more...
-
JWT Authentication in ASP.NET Core using jQuery Client
In my previous article we discussed what JWT authentication is and how to implement it in ASP.NET Core APIs. In that article you learnt to use Postman tool to test the JWT functionality. In most of the real-world cases you will be handling the JWT using either client side script (jQuery, Angular etc.) or server side code (HttpClient component). To that end this article discusses using jQuery to consume the SecurityController and EmployeeController we developed earlier.
-
Implement JWT Authentication in ASPNET Core APIs
If you developed web applications using ASP.NET before, chances are you are already familiar with cookie authentication. Although cookie based authentication is still available under ASP.NET Core, JSON Web Token or JWT based authentication is becoming more and more common. To that end this article aims at introducing you to JWT and JWT based authentication.
-
Add ASP.NET Core projects to GitHub using Visual Studio 2019
If you a beginner in ASP.NET Core, you might have wondered as to how newly created projects can be placed under a GitHub repository. In this article we will see the overall steps and configuration to do so. You will get an idea about how GitHub can be integrated in Visual Studio 2019.
-
Send emails in ASP.NET Core in 5 easy steps
Sending emails is a common requirement in ASP.NET Core web applications. In this article we will learn how to send emails with attachments using a popular and open source component - MailKit. Let's get going.
-
Implement Two-way Data Binding in JavaScript
One of the fundamental features of modern JavaScript libraries and frameworks is data binding. The data binding features offered by them allows you to keep model and view in sync. Did you ever wondered how something similar can be implemented in plain JavaScript? If so this article shows you one such simple yet working implementation. Although simple implementation as discussed in this article is not intended to substitute what is offered by these libraries and frameworks, it will certainly give you a glimpse of how data binding might be implemented if needed.
-
Deploy ASPNET Core Web Applications to Azure in 5 Easy Steps
In one of my previous articles I discussed how easy it is to deploy an ASP.NET Core web application to IIS. Now a days more and more people are going for cloud platforms for their ting needs. So, it would be worthwhile to know how to deploy an ASP.NET Core web application to Azure. To that end this article outlines the basic steps to accomplish the task.
-
Aggregate Multiple RSS Feeds in ASP.NET Core
At times you also need to aggregate multiple feeds into a new feed. This is a case when you have a network of websites and you wish to expose content from all of them into a single feed. You might also have many feeds for individual content categories and want the end user to either get individual feeds or a combined feed. To that end this article discusses how to aggregate multiple RSS feeds in ASP.NET Core.
-
Store user options using enumeration, bitwise operators, and EF Core
At times you need to store a set of options, settings, or choices for a user. A common approach is to create three tables - Users, Options, and UserOptions - to store the data involved. However, you can also use an alternate approach that involves enumerations, bitwise operators, and EF core value converters. To that end this article discusses such an approach with an example.
-
Use MongoDB in ASP.NET Core (Part - 2, CRUD operations)
In Part 1 of this article we discussed how to perform CRUD operations using MongoDB console client. In this part we will learn to perform CRUD operations using ASP.NET Core and MongoDB driver for .NET Core.
-
Use MongoDB in ASP.NET Core (Part - 1)
Now a days NoSQL databases are not uncommon. One such popular database is MongoDB. MongoDB is an open source and cross platform database that allows you to store data in the form of documents. This article series illustrates how MongoDB can be used in ASP.NET Core applications.