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
100
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
100
browserify
talles
0
65
DDD
talles
0
150
Testando Web Services
talles
0
88
npm for dummies
talles
0
220
A biblioteca do dólar
talles
0
53
JavaScript Orientado a Objetos
talles
0
61
A linguagem JavaScript
talles
0
67
VCS e Git
talles
0
99
Other Decks in Programming
See All in Programming
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
620
Oxlint JS plugins
kazupon
1
940
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
200
CSC307 Lecture 06
javiergs
PRO
0
680
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
560
CSC307 Lecture 04
javiergs
PRO
0
660
Featured
See All Featured
It's Worth the Effort
3n
188
29k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Everyday Curiosity
cassininazir
0
130
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
[SF Ruby Conf 2025] Rails X
palkan
1
750
Speed Design
sergeychernyshev
33
1.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Chasing Engaging Ingredients in Design
codingconduct
0
110
Google's AI Overviews - The New Search
badams
0
910
Statistics for Hackers
jakevdp
799
230k
Six Lessons from altMBA
skipperchong
29
4.1k
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!