DotNetShoutout - Stories tagged with Configuration
2
Shouts

Configuring MVC Routes in Web.config

posted by tduponttdupont 566 days, 13 hours, 39 minutes ago
Friday, November 04, 2011 7:03:29 AM GMT
By simply reading routes out of the Web.config you provide a way to control routing without having to redeploy code, allowing you to enable or disable website functionality on the fly. (more)
category: Web Dev | clicked: 11 | comment | | source: www.tomdupont.net
tags: Routing, Configuration, MVC
3
Shouts

Writing a Custom ConfigurationSection to handle a Collection

published 619 days, 8 hours, 33 minutes ago posted by abhi2434abhi2434 619 days, 21 hours, 3 minutes ago
Monday, September 12, 2011 12:09:00 PM GMT Sunday, September 11, 2011 11:39:29 PM GMT
Configuration is one of the major thing that you need to keep in mind while building any application. Either its an Windows Forms application or a Web site, configuration file is always needed. We write all the configuration that are needed to be changed after it is being deployed in confugration files. It is an XML File which lists all the configuration blocks itself and also allows you to define your own custom configuration sections yourself. Today I am building my own custom configuration section and... (more)
category: Architecture | clicked: 23 | 1 comment | | source: www.abhisheksur.com
tags: .NET, C#, Configuration, Source code
3
Shouts

Using Custom Classes with Application Settings

published 639 days, 21 hours, 1 minute ago posted by BlackWaspBlackWasp 641 days, 9 hours, 25 minutes ago
Monday, August 22, 2011 11:40:39 PM GMT Sunday, August 21, 2011 11:17:08 AM GMT
Application settings can be created using a project's property windows, with those values being transferred into configuration files and classes that simplify their use. The settings data can be of many different types, including custom classes. (more)
category: How To | clicked: 12 | 1 comment | | source: www.blackwasp.co.uk
tags: .NET, Configuration
5
Shouts

Replacing Web.config settings with Transformations

published 703 days, 8 hours, 14 minutes ago posted by lenielleniel 707 days, 23 hours, 43 minutes ago
Monday, June 20, 2011 12:28:19 PM GMT Wednesday, June 15, 2011 8:58:54 PM GMT
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 with a great new feature called Web.config Transformation that allows you to perform transformations in whatever section of your Web.config file. (more)
category: Web Dev | clicked: 40 | comment | | source: www.leniel.net
tags: connection string, web.config, Configuration, Transformations, Visual Studio, Settings, web project, ASP.NET
3
Shouts

How to Configure a Self Reference in Code First - Gil Fink on .Net

published 720 days, 3 hours, 31 minutes ago posted by gilfgilf 720 days, 8 hours, 58 minutes ago
Friday, June 03, 2011 5:11:01 PM GMT Friday, June 03, 2011 11:44:03 AM GMT
A few days ago a worker in Sela asked me how to configure a self referencing entity with EF Code First. In this post I’ll show you how to implement that configuration. (more)
category: How To | clicked: 21 | comment | | source: blogs.microsoft.co.il
tags: Code first, Configuration, Entity Framework 4.1
12
Shouts

Configuring WCF Data Service using Lambda Expressions - Gil Fink on .Net

published 757 days, 22 hours, 39 minutes ago posted by gilfgilf 763 days, 12 hours, 25 minutes ago
Tuesday, April 26, 2011 10:03:13 PM GMT Thursday, April 21, 2011 8:16:46 AM GMT
One of the things that I avoid when I’m writing code is the use “magic strings”. Hardcoded strings are a code smell and should be rarely used. When using WCF Data Service configuration object you’ll have to pass the entity set’s string name to the configuration methods which as I wrote I would like to avoid. This is why in today’s post I’m going to extend the DataServiceConfiguration object. (more)
category: Web Dev | clicked: 4 | comment | | source: blogs.microsoft.co.il
tags: Configuration, WCF data Service, WCF
9
Shouts

Using Code First Model Configurations Classes - Gil Fink on .Net

published 807 days, 4 hours, 30 minutes ago posted by gilfgilf 808 days, 6 hours, 48 minutes ago
Tuesday, March 08, 2011 4:11:34 PM GMT Monday, March 07, 2011 1:54:06 PM GMT
In the past I explained how to use the Code First Fluent API in order to configure and shape your EDM during runtime. One of the problems that might raise when you use the Fluent API as I showed in the previous post is that the OnModelCreating method might become bloated and hard to read. This is the time to get familiar with another model configuration option which is built inside Code First. (more)
category: How To | clicked: 1 | comment | | source: blogs.microsoft.co.il
tags: Entity Framework, Code first, Configuration
3
Shouts

Revisiting XML Configurations In Unity - Gil Fink on .Net

published 866 days, 18 hours, 58 minutes ago posted by gilfgilf 868 days, 9 hours, 47 minutes ago
Saturday, January 08, 2011 1:43:30 AM GMT Thursday, January 06, 2011 10:55:14 AM GMT
In the past I wrote a few tutorials about Unity application block. One of the things I wrote about was how to configure a Unity container using design time configuration. In this post I’m going to revisit that post and show you how the configurations changed (for the better) and are much more easier to work with in the current version of Unity (version 2). (more)
category: How To | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: Unity, XML, Configuration
3
Shouts

OWASP Top 10 for .NET developers part 6: Security Misconfiguration

published 885 days, 2 hours, 22 minutes ago posted by http://troyhunt.myopenid.com/http://troyhunt.myopenid.com/ 885 days, 14 hours, 58 minutes ago
Monday, December 20, 2010 6:20:11 PM GMT Monday, December 20, 2010 5:43:49 AM GMT
If your app uses a web server, a framework, an app platform, a database, a network or contains any code, you’re at risk of security misconfiguration. So that would be all of us then. This is where security configuration (or misconfiguration, as it may be), comes into play. How configurable settings within the app are handled – not code, just configurations – can have a fundamental impact on the security of the app. Fortunately, it’s not hard to lock things down pretty tightly, you just need to know wher... (more)
category: Web Dev | clicked: 1 | comment | | source: www.troyhunt.com
tags: Security, Configuration, OWASP
7
Shouts

Update Configurations Without Replace With Enterprise Library 5 Fluent Configuration API

published 938 days, 2 hours, 7 minutes ago posted by gilfgilf 938 days, 11 hours, 40 minutes ago
Thursday, October 28, 2010 6:34:36 PM GMT Thursday, October 28, 2010 9:02:11 AM GMT
I got a question today in an article I published about the fluent configuration API in Enterprise Library 5. The question was how to add a database connection string to an existing configuration during runtime. The person who wrote the question also published a specific solution which I refactored to a general purpose solution that I’ll show in this post. (more)
category: How To | clicked: 11 | comment | | source: blogs.microsoft.co.il
tags: Enterprise Library 5.0, Fluent, Configuration
6
Shouts

Public Application Settings (C#/.NET)

published 1001 days, 9 hours, 2 minutes ago posted by BlackWaspBlackWasp 1002 days, 11 minutes ago
Thursday, August 26, 2010 11:39:36 AM GMT Wednesday, August 25, 2010 8:31:24 PM GMT
Application settings, created using Visual Studio's project properties, are of internal scope by default, allowing them to be used from within the same assembly. The scope can be changed to public to allow settings to be shared between projects. (more)
category: How To | clicked: 1 | comment | | source: www.blackwasp.co.uk
tags: .NET, C#, Configuration
6
Shouts

Manage multiple web.config files using Phantom

published 1043 days, 7 hours, 19 minutes ago posted by http://webpoet.myopenid.com/http://webpoet.myopenid.com/ 1044 days, 15 hours, 43 minutes ago
Thursday, July 15, 2010 1:22:57 PM GMT Wednesday, July 14, 2010 4:58:49 AM GMT
In the project that I'm currently working on there are a few different environments involved on which the application has to be compiled and run on. Luckily we've found a pretty slick way to handle having local differences in web.config. (more)
category: Web Dev | clicked: 1 | comment | | source: joelabrahamsson.com
tags: configSections, Boo, Phantom, web.config, Configuration, ASP.NET
8
Shouts

Creating a custom Configuration Section in .NET

published 1045 days, 10 hours, 27 minutes ago posted by http://webpoet.myopenid.com/http://webpoet.myopenid.com/ 1047 days, 1 hour, 10 minutes ago
Tuesday, July 13, 2010 10:14:50 AM GMT Sunday, July 11, 2010 7:31:54 PM GMT
Every now and then I find myself needing to create a custom configuration section for a .NET application or module that I’m building. This is a quick template for doing that. (more)
category: Web Dev | clicked: 7 | comment | | source: joelabrahamsson.com
tags: configSections, Configuration Sections, Configuration
7
Shouts

Enterprise Library 5 Fluent Configuration API - Gil Fink on .Net

published 1126 days, 9 hours, 33 minutes ago posted by gilfgilf 1127 days, 10 hours, 29 minutes ago
Friday, April 23, 2010 11:09:19 AM GMT Thursday, April 22, 2010 10:12:46 AM GMT
One of the new Enterprise Library 5 improvements is a new fluent configuration API. In this post I’ll explain the subject and then show how to use the fluent configuration API with the Data Access Application Block. (more)
category: How To | clicked: 9 | comment | | source: blogs.microsoft.co.il
tags: Enterprise Library 5.0, DAAB, Configuration
2
Shouts

It is an error to use a section registered as allowDefinition=Machinetoapplication

posted by PraveenPraveen 1142 days, 1 hour, 55 minutes ago
Wednesday, April 07, 2010 6:47:06 PM GMT
Easily Secure SharePoint Documents Based on Metadata. By Titus Labs. It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Go to IIS and check your virtual directory is configured as an application. If it is not converted as an application then create an application. (more)
category: Web Dev | clicked: 0 | comment | | source: praveenbattula.blogspot.com
tags: Configuration, IIS
2
Shouts

unrecognized configuration section ConnectionStrings

posted by PraveenPraveen 1144 days, 38 minutes ago
Monday, April 05, 2010 8:04:06 PM GMT
If you get the error like unrecognized configuration section 'connectionStrings' in ASP.NET application then the reason behind is your application is not running under the ASP>NET version 2.0. It is running under the ASP.NET version 1.1.4322. To change this, please follow the steps below. Go to IIS and select the folder Website Select Default Websites Right click on the default web sites Select properties and choose Asp.net tabHere select the ASP.NET version to 2.0Note: To allow ASP.NET version 2.0 ... (more)
category: Web Dev | clicked: 1 | comment | | source: praveenbattula.blogspot.com
tags: Configuration, ASP .NET
4
Shouts

Try-Catch-FAIL - Using StructureMap to provide strongly-typed access to AppSettings

published 1196 days, 8 hours, 50 minutes ago posted by Matt_TCFMatt_TCF 1196 days, 21 hours, 17 minutes ago
Friday, February 12, 2010 11:52:09 AM GMT Thursday, February 11, 2010 11:24:35 PM GMT
You can use StructureMap to easily provide strongly-typed access to configuration data stored in your app.config file. Here's how! (more)
category: Architecture | clicked: 1 | comment | | source: trycatchfail.com
tags: IoC, Configuration, StructureMap
8
Shouts

Castle Windsor enabling XML configuration files in Silverlight at Primordial Code

published 1215 days, 8 hours, 58 minutes ago posted by jantujantu 1217 days, 7 hours, 48 minutes ago
Sunday, January 24, 2010 11:44:10 AM GMT Friday, January 22, 2010 12:53:43 PM GMT
When a version of Castle Windsor able to run in Silverlight was released I started to play with it, basically because I have a lot of code that use it inside my line of business infrastructure framework. I’m working on a WPF/Silverlight solution and I’ve developed a framework that work in both the environments.One of the biggest thing I miss in every ‘Silverlight-enables’ IoC system I tried is the ability to read and parse XML configuration files.The current release does not allow Silverlight to pars... (more)
category: Metro | clicked: 0 | comment | | source: www.primordialcode.com
tags: Silverlight, XML, Configuration, file, Castle Windsor
10
Shouts

Youssef Moussaoui's WCF blog : How to Change .NET Configuration Files at Runtime (including for WCF)

published 1215 days, 8 hours, 58 minutes ago posted by silverymssilveryms 1217 days, 18 hours, 55 minutes ago
Sunday, January 24, 2010 11:44:10 AM GMT Friday, January 22, 2010 1:46:48 AM GMT
How to Change .NET Configuration Files at Runtime (including for WCF) One of the most common issues people run into with WCF configuration, and .NET applications in general, is that configuration files appear to be fixed. You only have one configuration file for an executable, and you can’t use different configuration files as your exe.config while the application is running. Of course, you can always shut down the application, change the configuration, and then restart it with the new configuration fil... (more)
category: Web Dev | clicked: 0 | comment | | source: blogs.msdn.com
tags: Configuration, WCF
3
Shouts

Access web.config in SharePoint timer job

posted by PraveenPraveen 1235 days, 4 hours, 26 minutes ago
Monday, January 04, 2010 4:16:15 PM GMT
In SharePoint customization we have the requirements to write custom code for web parts, timer jobs etc. In this post I want to tell you some interesting things in SharePoint. I have written some timer jobs to deploy into my SharePoint server to match some requirements or to solve some problems. My requirement is, I want to access the web application or web site configuration [web.config] file in the SharePoint timer job. But, the limitations in SharePoint stops me to access the configuration files in ... (more)
category: Architecture | clicked: 0 | comment | | source: praveenbattula.blogspot.com
tags: web.config, Timer jobs, Configuration, Settings, Sharepoint
Previous 1 2 Next