New Know How
To begin customizing your site go to Appearance -> Customizer and select Theme Options. Here's you'll find custom options to help build your site.
To begin customizing your site go to Appearance -> Customizer and select Theme Options. Here's you'll find custom options to help build your site.
To add a slider go to Theme Options -> Homepage and choose page slider. The slider will use the page title, excerpt and featured image for the slides.
To add featured content go to Theme Options -> Homepage (Featured) and turn the switch on then add the content you want for each section.
This article will guide you through the implementation of zoom functionality using fabric.js library. Install Fabric JS lib 🤦♂️ Add post install script in your package.json file’s scripts: run ‘yarn’ in command line. It will build fabric.js with gesture support. Now the code. You always into to know your contents height and weight that you
I had a VPN to access a database. Now it was hosted at the other end of the world (because most of the Devs were there). It was causing my whole internet to be slowed down. So, I had to find the IP of the DB. So, for that I used Resource monitor of windows
If you want to drop all tables, then you can use following query: You face an issue with ‘sp_msforeachtable’. So, you can create a procedure using following SQL command and try running the command above. The above script have some old syntax. But it was working at the time of writing this blog. May be,
I know text is not easy to understand for less tech savvy people. So, I am in process of making a YouTube channel for video demonstration of tutorials. What you would need (Requirements): The flow of traffic would be (architecture) Your spare computer configuration: Edit Apache server v-host configuration. The location would be something like
Authentication example: Where AzureAdOptions contains the configuration of your Azure AD. MyJwtEventsHandler is the implementation of JwtEventsHandler. e.g. Register authentication: MyAuthorizationMiddlewareResultHandler is the middleware behaviour overrider. Check Microsoft docs for more details. Use on your controller: Cheers and Peace out!!!
Sometimes we need to add claims while user is being signed in using Azure AD B2C identity provider. For that we can use API connectors. First add the API connector. There will be two options for authentication: For this post we will be using Basic authentication So, add your endpoint, username and password and save.
Sometimes we need to override the process of model creation in the DB first approach. Maybe we want to create a base class for some common functionality of all the models. So, what we could do is, use the Design Time Services: Design-time services – EF Core | Microsoft Learn. We could use ‘Custom Reverse
Pre-requisite: Now this is for DB first approach. So, we can’ use the migration scripts to automatically create a DB in docker container and run the scripts. What we could do then? We will be executing the DbUp project’s main method (since it’s a console application) by passing some arguments. E.g. Code to call at
DbUp is a tool which can be used to maintain the DB scripts in the project itself. It’s very easy to use but the docs are very up to date. I will raise the PR for docs update, hope they will accept 🙂 So, what we have: What we want to achieve Steps to follow:
Before this we used to use a filter (GlobalExceptionFilter) to handle exceptions at one place. .Net 8 has a new IExceptionFilter middleware which can be used to filter the exceptions. For more look at: Handle errors in ASP.NET Core | Microsoft Learn The new exception handler keeps information in Features property. So, If you face