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
58
A linguagem JavaScript
talles
0
65
VCS e Git
talles
0
97
Other Decks in Programming
See All in Programming
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
880
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
170
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
1
120
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
180
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
340
C++20 射影変換
faithandbrave
0
530
AIコーディング道場勉強会#2 君(エンジニア)たちはどう生きるか
misakiotb
1
250
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
570
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
140
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
エラーって何種類あるの?
kajitack
5
300
技術同人誌をMCP Serverにしてみた
74th
0
290
Featured
See All Featured
How to Ace a Technical Interview
jacobian
277
23k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Code Reviewing Like a Champion
maltzj
524
40k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Embracing the Ebb and Flow
colly
86
4.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
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!