Blog J.Schweiss

Infosammlung zu .NET- und anderen Programmier-Themen

Sicherheits-Checklisten

clock Januar 25, 2015 22:57 by author Administrator

BSI  Microsoft



GIT

clock Januar 25, 2015 06:26 by author Administrator

Doku



OpenWRT + CAM

clock Januar 25, 2015 05:41 by author Administrator

Article or this



ProgMem

clock Januar 24, 2015 22:11 by author Administrator

How to use



Visual Micro

clock Januar 24, 2015 22:10 by author Administrator

here



PLC–programmable logic controller

clock Januar 24, 2015 22:05 by author Administrator

with Arduino

ladder



Server Management Blogs

clock Januar 18, 2015 03:20 by author Administrator

here



Tell it!

clock Januar 17, 2015 21:01 by author Administrator

Freedom of expression is like the air we breathe, we don't feel it, until people take it away from us.

For this reason, Je suis Charlie, not because I endorse everything they published, but because I cherish the right to speak out freely without risk even when it offends others.
And no, you cannot just take someone's life for whatever he/she expressed.

Hence this "Je suis Charlie" edition.
- #JeSuisCharlie

 

Notepad++

image



Encrypt Section of Web.config or App.config

clock Januar 17, 2015 20:56 by author Administrator

HowTo  or here

 

//Toggle Encryption on app.config file:

static

void ToggleConfigEncryption(string exeConfigName)

{

// Takes the executable file name without the
// .config extension. try { // Open the configuration file and retrieve // the connectionStrings section.

Configuration config

= ConfigurationManager.

OpenExeConfiguration

(exeConfigName);

ConnectionStringsSection section

=

config

.GetSection("connectionStrings")
as ConnectionStringsSection; if (section.SectionInformation.IsProtected) { // Remove encryption.

section

.SectionInformation.UnprotectSection();
} else { // Encrypt the section.

section

.SectionInformation.ProtectSection(
"DataProtectionConfigurationProvider"); } // Save the current configuration.

config

.Save();

Console

.WriteLine("Protected={0}",

section

.SectionInformation.IsProtected);
}
catch (Exception ex) {

Console

.WriteLine(ex.Message);
}

}

//Note that you must encrypt as the same user who will consume the config file.

using

System;

using

System.Configuration;

using

System.IO;

namespace

ConnectionStringEncryptor

{

class Program { static void Main(string[] args) { if (args.Length == 0) { throw new ArgumentException("Please supply a config file to encrypt"); }
string originalConfigFilePath = args[0];

AppDomain

.CurrentDomain.SetData("APP_CONFIG_FILE", originalConfigFilePath);

Configuration config

= ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);

ConnectionStringsSection connectionStringsSection

= (ConnectionStringsSection)config.GetSection("connectionStrings");

connectionStringsSection

.SectionInformation.ProtectSection("DataProtectionConfigurationProvider");

config

.SaveAs(originalConfigFilePath + ".encrypted");
} }

}



Powershell Charts

clock Januar 11, 2015 23:08 by author Administrator

here



Powershell Add-Ons

clock Januar 11, 2015 21:51 by author Administrator

here

SnippetManager



Single Page Application (SPA) using AngularJS & MVC

clock Januar 11, 2015 02:35 by author Administrator

Article



Performance-DashBoard

clock Januar 10, 2015 22:24 by author Administrator

SQLServerPerformanceDashboard

OraclePerformanceDashBoard



NTFS File Permissions

clock Januar 10, 2015 21:28 by author Administrator

Standard

Advanced

IT-Training

Folder Virtualisation



Color Codes

clock Januar 4, 2015 06:27 by author Administrator

Site



Programme per C# manipulieren

clock Januar 4, 2015 02:44 by author Administrator

C# link to Apps



WLAN–SD Karte

clock Januar 3, 2015 22:15 by author Administrator

here



Outlook Backup

clock Januar 3, 2015 21:36 by author Administrator

described here



Plunker

clock Dezember 30, 2014 23:02 by author Administrator

Tool



UEFI

clock Dezember 29, 2014 22:40 by author Administrator

Article