🏠
Working from home
Software Developer. Experience of C#, ASP.NET Core, Web API, JavaScript, React, CSS, Bootstrap, SQL, and VBA
- New Delhi
- www.appliedk.blogspot.com
Pinned Loading
-
How to encrypt and decrypt strings i...
How to encrypt and decrypt strings in C# 1using System;
2using System.IO;
3using System.Security.Cryptography;
4using System.Text;
5 -
Create secret manager and read it
Create secret manager and read it 1Install the Secret Manager Tool:Ensure you have the .NET SDK installed, which includes the Secret Manager tool.
2Run the following command to initialize the Secret Manager:
3dotnet user-secrets init
4This command creates a UserSecretsId in your .csproj file, which is used to associate your project with the secrets stored.
5Add a Connection String to Secret Manager: Use the dotnet user-secrets command to add a connection string (or other secrets). For example:
-
asp.net core 6 configuration: additi...
asp.net core 6 configuration: additional appsettings file 1In ASP.NET Core 6, you can read a JSON file other than the default appsettings.json by using the ConfigurationBuilder to add your custom JSON file.
23using Microsoft.Extensions.Configuration;
45var builder = WebApplication.CreateBuilder(args);
-
ASP.NET Core application with SQL Se...
ASP.NET Core application with SQL Server 1Steps to interact ASP.NET Core application with SQL Server:
23Step1. Install Packages: Install EF Core and SQL Server provider.
4dotnet add package Microsoft.EntityFrameworkCore
5dotnet add package Microsoft.EntityFrameworkCore.SqlServer
-
ASP.NET-Core-5-Cookie-Authentication-Without-Identtiy
ASP.NET-Core-5-Cookie-Authentication-Without-Identtiy PublicCookie Authentication Without Identtiy
C#
-
Windows-Service-List-Files
Windows-Service-List-Files PublicSimple Windows Service. To list files contained inside 'Files' folder; the folder located at Desktop. The service can run with and without System.Timers.Timer
C#
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.