configuration

Read & Write app.config

Imports System.Configuration Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim config As System.Configuration.Config... = ConfigurationManager.OpenEx... Me.txtFromFolder.Text = ConfigurationManager.AppSet... Me.txtToFolder.Text = ConfigurationManager.AppSet... End Sub Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormCl...

web.config/app.config and VSS

As .Net Developers we often need to change web.config/app.config settings. We also need to share web.config/app.config without clobbering each others settings via Visual Source Safe (VSS). There are two kinds of config changes. 1. Changes that you do not want other developers to inherit a. Connection string changes or settings values i. that do not change the config structure ii. that need to vary between developers ยท You should: 1. Point to each config files with Windows Explorer 2. Uncheck the...

ASP.NET 2.0: Use VB.NET and C# within the App_Code folder

[code:xml] ASP.NET 2.0: Use VB.NET and C# within the App_Code folder Original Article: http://pietschsoft.com/post... Thanks to Chris Pietschmann There is a way to partition the App_Code folder into sub-folders, one for each set of code files written in the same programming language. Awesome, I didn't have to spend a couple hours converting code from VB.NET to C#! <configuration> <system.web> <compilation> <codeSubDirectories>...

How To: Configure MachineKey in ASP.NET 2.0

How To: Configure MachineKey in ASP.NET 2.0 http://msdn2.microsoft.com/

How to map your own, made-up server name to an IP address

How to map your own, made-up server name to an IP address edit a file called "hosts" (no file extension), in folder: C:\WINDOWS\system32\drivers