@@ -26,6 +26,12 @@ footer: 'https://chris-ayers.com'
26
26
27
27
---
28
28
29
+ # Session Feedback
30
+
31
+ ![ bg right fit] ( ./img/session-feedback.png )
32
+
33
+ ---
34
+
29
35
![ bg right:40% auto] ( ./img/dotnet-logo.png )
30
36
31
37
# Agenda
@@ -111,12 +117,45 @@ footer: 'https://chris-ayers.com'
111
117
<div class =" columns " >
112
118
<div >
113
119
114
- ![ height:400px] ( ./img/net-framework-config.png )
120
+ ``` xml
121
+ <appSettings >
122
+ <add key =" webpages:Version" value =" 3.0.0.0" />
123
+ <add key =" webpages:Enabled" value =" false" />
124
+ <add key =" ClientValidationEnabled" value =" true" />
125
+ <add key =" UnobtrusiveJavaScriptEnabled" value =" true" />
126
+ <add key =" Greeting" value =" Hello, Everyone!" />
127
+ <add key =" CurrentMajorDotNetVersion" value =" 6" />
128
+ </appSettings >
129
+ <system .web>
130
+ <compilation debug =" true" targetFramework =" 4.7.2" />
131
+ <httpRuntime targetFramework =" 4.7.2" />
132
+ </system .web>
133
+ ```
115
134
116
135
</div >
117
136
<div >
118
137
119
- ![ height:400px] ( ./img/net-framework-static.png )
138
+ ``` xml
139
+ <configuration xmlns : xdt =" http://schemas.microsoft.com/XML-Document-Transform" >
140
+ <connectionStrings >
141
+ <add name =" MyDB"
142
+ connectionString =" Data Source=ReleaseSQLServer..."
143
+ xdt : Transform =" SetAttributes" xdt : Locator =" Match(name)" />
144
+ </connectionStrings >
145
+
146
+ ```
147
+
148
+
149
+ ``` cs
150
+ private string greeting = " " ;
151
+ private int majorDotNetVersion = 0 ;
152
+ public HomeController ()
153
+ {
154
+ greeting = ConfigurationManager .AppSettings [" Greeting" ];
155
+ string ver = ConfigurationManager .AppSettings [" CurrentMajorDotNetVersion" ]
156
+ majorDotNetVersion = Int32 .Parse (ver );
157
+ }
158
+ ```
120
159
121
160
</div >
122
161
</div >
@@ -366,6 +405,12 @@ public class FileOptions
366
405
367
406
---
368
407
408
+ # Session Feedback
409
+
410
+ ![ bg right fit] ( ./img/session-feedback.png )
411
+
412
+ ---
413
+
369
414
<div class =" columns " >
370
415
<div >
371
416
0 commit comments