By tag: Configuration
0
kicks
Replacing Web.config settings with Transformations
Let’s say you want to point to a different connection string when you deploy your ASP.NET Web Project to your hosting provider. Until recently you’d have to modify your Web.config file manually. This is an easy procedure but you might end screwing up the file in some way.
Visual Studio 2010 comes w...
0
kicks
Targeting multiple environments and machines – part 2/2
How do you as a developer work seamlessly across multiple environments machines? In this article I describe one possible solution.
0
kicks
IIS 7 – Managed pipeline mode – Global.asax redirect not working
I implemented the exception handling and after logged the exception wrote line for redirecting the page to the error page. So that user will see the custom error page instead of the original exception screen. But, when I deploy the code on WS 2003 or earlier it's working without issues. But, When I ...
0
kicks
How to add custom build step to a TFS Server Build ?
Most of the time when you are creating a build script (TFSBuild.proj), you need to do some steps after the build. Wether it's creating an MSI for easier deployment, creating a VSI for a Visual Studio Add-in, or whatever if may be... you normally do a post build.
A post build event looks like the ...
0
kicks
Unit testing Internals member of a solution from another project
Here is a little bit of knowledge that lots of people are not aware of. There is an Attribute that is InternalsVisibleToAttribute that allows access to a specific external project (the unit test project).
0
kicks
Problem deploying a solution package on a SharePoint 2007 farm?
You have a WSP and you are trying to deploy it inside the farm and it doesn't work. You hate it. You try to look in the Event Viewer, SharePoint logs, etc.
Before you event start looking around everywhere, be sure to know that when you are adding/deploying a solution package you need some specify...
0
kicks
NHibernate Query Analyzer + ActiveRecord
NHibernate Query Analyzer (NHQA) helps a lot while working in a .NET project with a relational database that makes use of NHibernate as the persistence manager.
I was having a problem getting NHQA to work with a business data layer constructed with the help of ActiveRecord - I searched the Intern...
0
kicks
How to disable web.config Inheritance for Child Applications?
Each ASP.NET Web Application has its own configuration file called web.config file.
In fact every directory in ASP.NET application can have one. Settings in each web.config file apply to the directory where its placed, and all the subdirectories of that directory.
This is called Configuration In...
0
kicks
IISAdmin - Free tool for creating multiple websites on IIS5
IISAdmin - Tool for creating multiple asp.net websites on IIS5 and winxp
0
kicks
Securing Configurations
Have you ever wanted to provide a level of protection to your values in the configuration files? Using aspnet_regiis will help you in encrypting the configuration section(s) in the config files. The executable resides in: "<windows_root>\Microsoft.NET\Framework\<framework_version>&q...
0
kicks
configuration management,sharepoint server,patching,lesson learned,sha
Lessons learned: Patching SharePoint servers and configuration management.
0
kicks
Using SingleTagSectionHandler Instead Of appSettings
As an alternative to appSettings you can use SingleTagSectionHandler to store settings in a web.config file. Learn how.
0
kicks
.NET 2.0 Tip: Strongly Typing Configuration Settings
Funny – this approach is so darned simple, I am surprised why I hardly find anyone who actually uses it.
0
kicks
Windows Forms Application Start-Up Parameters
Often it is useful to pass parameters to a Windows Forms application on start-up from a command line or shortcut. These parameters can be used to indicate a document to load or the initial configuration of the application.