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
87
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
84
browserify
talles
0
53
DDD
talles
0
130
Testando Web Services
talles
0
77
npm for dummies
talles
0
200
A biblioteca do dólar
talles
0
40
JavaScript Orientado a Objetos
talles
0
56
A linguagem JavaScript
talles
0
57
VCS e Git
talles
0
83
Other Decks in Programming
See All in Programming
DDD, necessary but insufficient: physical design principles for microservices
cer
PRO
0
2.2k
Kotlinを用いたDSL的な設計手法と使用上の注意
kohii00
3
530
Go1.22からの疑似乱数生成器について/go-122-pseudo-random-generator
convto
1
160
ドメイン・ファーストで考える問題解決に役立つモデル設計 / Domain First Model Design
suzushin54
1
1.5k
9年開発を牽引して見えてきた、共通化すべきものと個別でつくるもの ~プログラム言語~
shinout
1
270
WebComponentsで フレームワークを1ページに共存させる
webuilder240
0
150
品質が高いコードって何?Rev2.1
ickx
1
490
生成 AI の中身を覗いてみよう〜基礎から医療現場での応用まで〜
soh9834
2
770
Deep Dive 大規模システムアーキテクチャ/開発組織エンジニアリング / Deep Dive Large-Scale System Architecture, Development Organization Engineering
nrslib
15
2.9k
Crafting a Own PHP - ウキウキ手作りミニマリストPHP
uzulla
4
1.1k
SwiftUI, Jetpack Composeの導入で変化した「家族アルバム みてね」のアプリ開発体験
hicka04
6
400
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
1
140
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
92
4.7k
Designing on Purpose - Digital PM Summit 2013
jponch
109
6.4k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
GraphQLとの向き合い方2022年版
quramy
28
12k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
67
38k
YesSQL, Process and Tooling at Scale
rocio
160
13k
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
Mobile First: as difficult as doing things right
swwweet
215
8.5k
Testing 201, or: Great Expectations
jmmastey
27
6.3k
Building Applications with DynamoDB
mza
88
5.6k
Six Lessons from altMBA
skipperchong
19
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
343
19k
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!