Nov 15, 2022Making the Test User a part of Identity ServerIn the previous blog post, we added the UI to the identity server, but we did not add the user to the server for authentication. So let's go ahead and add some users to test it out. To add a test user to Identity Server, Identity Server created a class called Test User. So we need to use it and create the list of users. Now that we have a Test user configured with the JWT claims(We will talk about it in upcoming blog) . We need to add it to the configuration to identity server for the system to recognize the user.Dotnet Core1 min readDotnet Core1 min read
Nov 4, 2022Building Authentication Server — UIIn the previous blog article, we built an identity server project and worked directly with the API. Even with tools like Postman and Insomnia, it is possible. It is really convenient that we can add a user interface to it. We can easily add a UI to the identity server…Oidc2 min readOidc2 min read
Nov 3, 2022Building Your own Authentication Server — Part 1We discussed how a centralized server should authenticate our requests rather than every service. Building a service that authenticates and authorizes is difficult, and doing so across multiple services makes it even more difficult. A tried-and-true protocol exists to accomplish even the most challenging software tasks. …Identity Management3 min readIdentity Management3 min read
Oct 23, 2022Securing Asp .NET Core ApplicationsIn this article, I’ll begin a series in which I’ll try to explain identity concepts and how they are implemented in the.NET world. although, in principle, it could be applied to any language. Post in the series Building your own Authentication Server Building Your own Authentication Server — UI Adding…Dotnet4 min readDotnet4 min read
Oct 21, 2022Yarp-based Direct Forwarding PatternA reverse proxy can be used to spread out the work, make the system more secure, send traffic to a different upstream, and so on. However, in some cases, we only need to forward the request to the external system without making any changes. …Dotnet2 min readDotnet2 min read
Oct 18, 2022Build your Own Reverse proxyMicrosoft’s Yarp is an open-source project for building your own reverse proxy. YARP is different from other proxies because it is built as a library that gives you the core proxy functionality. You can then change it by adding or removing modules. …Dotnet3 min readDotnet3 min read
Aug 22, 2022Cloudflare worker: Run code on the edgeCloudflare's Cloudflare Worker is a serverless platform, but it differs significantly from those offered by other well-known providers. The distinction requires some background knowledge to be understood. History Cloudflare was one of the first companies to offer CDN and DNS services in over 200 locations. They have a data center in…Cloud Computing3 min readCloud Computing3 min read
Published inDevOps.dev·Jun 22, 2022Searching Nobel winners using RedisRedis is a phenomenal cache, and I sometimes have heard it as a synonym for the cache. Well, that's just scratching the surface of an in-memory database. In this Blog Post, I will introduce how to use Redis as a Seach engine and get an ultra-fast search result with a…Dotnet Core4 min readDotnet Core4 min read
Apr 23, 2022Add New Column to Hugging Face DatasetsHugging Face Datasets uses Apache arrow for manipulating the data and to add a column hugging face has provided an extension to do so. This got released in the latest version of the library as of the blog publishing date. Add New Column Code is straightforward for doing the same but with few minor observations. When you load the datasets you get a DataSetDict which provides a dictionary of datasets and you have to choose the key. for eg in the above code, you can find it as a trainHugging Face1 min readHugging Face1 min read
Apr 23, 2022CSV in HuggingFace DatasetsHugging face datasets provide a nice interface to load different types of ML datasets. It comes with a cleaner interface to load, process, and save data. Install You can use the following pip command to install the Datasets library. pip install datasets Load Data To load CSV data, You need to use the load_datasets interface for the same. Save/Convert to_csv To Save or convert to CSV, You can use the following code.Hugging Face1 min readHugging Face1 min read