Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Transformação de Web.config
Search
talles
May 18, 2016
Programming
0
98
Transformação de Web.config
talles
May 18, 2016
Tweet
Share
More Decks by talles
See All by talles
Por que Riot.js?
talles
0
97
browserify
talles
0
63
DDD
talles
0
140
Testando Web Services
talles
0
86
npm for dummies
talles
0
220
A biblioteca do dólar
talles
0
50
JavaScript Orientado a Objetos
talles
0
59
A linguagem JavaScript
talles
0
65
VCS e Git
talles
0
97
Other Decks in Programming
See All in Programming
TROCCO×dbtで実現する人にもAIにもやさしいデータ基盤
nealle
0
340
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
270
コーディングエージェント時代のNeovim
key60228
1
110
KessokuでDIでもgoroutineを活用する / Go Connect #6
mazrean
0
120
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.2k
tool ディレクティブを導入してみた感想
sgash708
1
150
RDoc meets YARD
okuramasafumi
3
140
ライブ配信サービスの インフラのジレンマ -マルチクラウドに至ったワケ-
mirrativ
2
270
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
180
ECS初心者の仲間 – TUIツール「e1s」の紹介
keidarcy
0
110
一人でAIプロダクトを作るための工夫 〜技術選定・開発プロセス編〜 / I want AI to work harder
rkaga
13
2.8k
TanStack DB ~状態管理の新しい考え方~
bmthd
2
340
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.2k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
For a Future-Friendly Web
brad_frost
179
9.9k
Building Adaptive Systems
keathley
43
2.7k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Bash Introduction
62gerente
614
210k
Gamification - CAS2011
davidbonilla
81
5.4k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
How to Ace a Technical Interview
jacobian
279
23k
Transcript
Transformação de Web.config
Web.Debug.config? Web. Release.config?
Gestão de configuração oras!
Mas… SCM ou desenvolvimento?
Permite • Trocar elementos • Inserir elementos • Remover elementos
• Setar atributos • Remover atributos
Permite Trocar elementos • xdt:Transform="Replace" Inserir elementos • xdt:Transform="Insert" •
xdt:Transform="InsertBefore" • xdt:Transform="InsertAfter" Remover elementos • xdt:Transform="Remove" • xdt:Transform="RemoveAll" Setar atributos • xdt:Transform="SetAttributes()" Remover atributos • xdt:Transform="RemoveAttributes()"
MSDN é a referência https://msdn.microsoft.com/library/dd465326
É por configuração de solução
(Ainda bem que) não afeta execução, apenas publicação
(Infelizmente) só funciona para aplicações web
A partir do Visual Studio 2012 temos "Preview Transform"
Ignorando pubxml (de maneira não muito elegante) <ItemGroup> <None Include="Properties\PublishProfiles\*.pubxml"
/> </ItemGroup>
Exercício do dia: fazer um Web.config transformista!