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
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
今から始めるClaude Code超入門
448jp
8
8.7k
Package Management Learnings from Homebrew
mikemcquaid
0
220
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
280
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
700
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
Patterns of Patterns
denyspoltorak
0
1.4k
「ブロックテーマでは再現できない」は本当か?
inc2734
0
970
Basic Architectures
denyspoltorak
0
670
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
320
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Designing for Performance
lara
610
70k
Between Models and Reality
mayunak
1
190
Paper Plane
katiecoart
PRO
0
46k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
340
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Site-Speed That Sticks
csswizardry
13
1.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
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!