Skip to content
View AppliedK's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report AppliedK

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. How to encrypt and decrypt strings i... How to encrypt and decrypt strings in C#
    1
    using System;
    2
    using System.IO;
    3
    using System.Security.Cryptography;
    4
    using System.Text;
    5
    
                  
  2. Create secret manager and read it Create secret manager and read it
    1
    Install the Secret Manager Tool:Ensure you have the .NET SDK installed, which includes the Secret Manager tool.
    2
    Run the following command to initialize the Secret Manager:
    3
    dotnet user-secrets init
    4
    This command creates a UserSecretsId in your .csproj file, which is used to associate your project with the secrets stored. 
    5
    Add a Connection String to Secret Manager: Use the dotnet user-secrets command to add a connection string (or other secrets). For example:
  3. asp.net core 6 configuration: additi... asp.net core 6 configuration: additional appsettings file
    1
    In 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.
    2
    
                  
    3
    using Microsoft.Extensions.Configuration;
    4
    
                  
    5
    var builder = WebApplication.CreateBuilder(args);
  4. ASP.NET Core application with SQL Se... ASP.NET Core application with SQL Server
    1
    Steps to interact ASP.NET Core application with SQL Server:
    2
    
                  
    3
    Step1. Install Packages: Install EF Core and SQL Server provider.
    4
    dotnet add package Microsoft.EntityFrameworkCore
    5
    dotnet add package Microsoft.EntityFrameworkCore.SqlServer
  5. ASP.NET-Core-5-Cookie-Authentication-Without-Identtiy ASP.NET-Core-5-Cookie-Authentication-Without-Identtiy Public

    Cookie Authentication Without Identtiy

    C#

  6. Windows-Service-List-Files Windows-Service-List-Files Public

    Simple 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#