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
CSC307 Lecture 03
javiergs
PRO
1
490
Basic Architectures
denyspoltorak
0
670
SourceGeneratorのススメ
htkym
0
190
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
CSC307 Lecture 06
javiergs
PRO
0
680
Oxlintはいいぞ
yug1224
5
1.3k
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
「ブロックテーマでは再現できない」は本当か?
inc2734
0
970
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
CSC307 Lecture 02
javiergs
PRO
1
780
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
230
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
Music & Morning Musume
bryan
47
7.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
66
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
210
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
The SEO identity crisis: Don't let AI make you average
varn
0
240
Deep Space Network (abreviated)
tonyrice
0
47
The Limits of Empathy - UXLibs8
cassininazir
1
210
Optimising Largest Contentful Paint
csswizardry
37
3.6k
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!