Run the following SQL script to drop all existing tables:
Monday, January 20, 2025
Refreshing/Clean a Database with SQL and Entity Framework
Run the following SQL script to drop all existing tables:
Monday, January 13, 2025
Send Emails Through SendGrid using DotNet
This tutorial guides you through building an email notification system in ASP.NET Core using SendGrid. We’ll cover user registration, OTP email verification, and templated email functionality with best practices.
Step 1: Setting Up SendGridFollow this guide to set up your SendGrid account, obtain the API key, and configure it for email delivery.
Step 2: Email Message StructureThe `EmailMessage` class encapsulates the data required for sending emails:
Code Snippet
The `EmailSettings` class manages configuration values for SendGrid:
Code Snippet
The `SendGridEmailService` handles email sending using SendGrid’s API:
Code Snippet
Create an HTML email template for OTP delivery:
Code Snippet
Implement user registration with OTP email verification:
Code Snippet
Set up services and middleware in the `Program.cs` file:
Code Snippet
Include the following JavaScript in your blog to enable the one-click copy functionality:
Code Snippet
How To Setup SendGrid Account
Step 2 : Create API Just Click on API Key than click on Full Success.
Friday, January 10, 2025
How to Run Python in .NET: A Step-by-Step Guide for Developers
Step2: Install Python in local.
Step3: Add Script at same directory "hello.py".
Code Snippet
Code Snippet
Now you can Enjoy with Python in DotNet😉
Monday, January 6, 2025
How to open Blob Files in New Tab using dot net and angular
Angular code
HTML Code
Step 2: Add DotNet Code To Download blob File.
Dot Net Code
Note: use this in your api service
Saturday, January 4, 2025
How to Add Image Slider in Blogger
Login ==> Create New Post ==> Click On < > ==> Click HTML View ==> Copy and Paste Below
For images Link => just normally upload files and copy links and replace with href For Add Slider
Note: After Take Link remove that.
Add In Post
Go To Theme ==> Click Customize Drop Down ==> Click Edit HTML ==> Add Below Code Before Body Closing Tag
CSS And JavaScript Code
Friday, January 3, 2025
How to hide navbar and footer of blogger
navbar (showing at top):
Footer:
Here I am trying to hide using below steps:
Go To Theme ==> Click Customize Drop Down ==> Click Edit HTML ==> Add Below Css Code
Code Snippet
Wednesday, January 1, 2025
How to add input box with copy to Clipboard Functionality in Blogger
Login ==> Create New Post ==> Click On < > ==> Click HTML View ==> Copy and Paste Below
For Title Change => Code SnippetFor Input Add Content in TextArea Tag
Add In Post
Go To Theme ==> Click Customize Drop Down ==> Click Edit HTML ==> Add Below Code Before Body Closing Tag
CSS And JavaScript Code
How to Do Cross-Browser Testing on Windows — Including Safari via Playwright
To test follow few steps: Step 1. Install node Step 2. create Folder and run these commands commands Copy Code ...
-
Parallel processing in .NET can significantly improve performance when dealing with large collections. However, when working with scoped de...
-
Login ==> Create New Post ==> Click On < > ==> Click HTML View ==> Copy and Paste Below For Title Change => Code Snipp...
-
This tutorial guides you through building an email notification system in ASP.NET Core using SendGrid. We’ll cover user registration, OTP em...