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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
Fragmented Architectures
denyspoltorak
0
150
並行開発のためのコードレビュー
miyukiw
0
120
Oxlint JS plugins
kazupon
1
950
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
450
AI & Enginnering
codelynx
0
110
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
Grafana:建立系統全知視角的捷徑
blueswen
0
330
ぼくの開発環境2026
yuzneri
0
220
CSC307 Lecture 04
javiergs
PRO
0
660
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
120
Featured
See All Featured
A Soul's Torment
seathinner
5
2.3k
Designing Experiences People Love
moore
144
24k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.9k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Side Projects
sachag
455
43k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
Six Lessons from altMBA
skipperchong
29
4.1k
Fireside Chat
paigeccino
41
3.8k
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!