Though its not critical, its better to encrypt the passwords and connection strings.
Path.to.net.framework.directory\aspnet_regiis.exe -pdf “appSettings” “path.to.web.config.directory”
Path.to.net.framework.directory\aspnet_regiis.exe -pdf “aconnectionStrings” “path.to.web.config.directory”
Replace “pdf” with “pef” for encryption.
I had an AD connection credentials inside <system.web>. The way to encrypt a section inside such tag is, ( example membership section )
aspnet_regiis.exe -pef “system.web/membership” “path.to.web.config”.
Click this link to view the tutorial.
Upgrade is at your own risk. For me some php applications stopped working ( eg. owncloud )
First step towards ‘Go Green‘
And here comes another step,
I had FHIR resource (https://www.hl7.org/fhir/) saved as XML in a SQL server database. After bit of a struggle found the way to extract data from XML, eg Given below to extract the FHIR resource status,
;WITH XMLNAMESPACES ('http://hl7.org/fhir' as X) select XMLDataColumn.value('(/X:FHIR_RESOURCE/X:status/@value)', 'nvarchar(max)') as FHIR_Resource_Status
Whenever you want to watch a movie, its troublesome to copy that to a USB and plug into your smart TV. Specially if its several Gigabytes of data.
A workaround is to created your OwnCloud server at home and copy all movies to one centralised place. Then go to Internet in Smart TV app and click on the movie. This works with mp4 formats. File with extension MOV doesnt work.
My ride to office (and back home) captured in a phone camera. No parking fees, fines, fuel costs and 15 minutes exercise on the way to office.
var yourComplexObject = @Html.Raw(Json.Encode(Model.YourComplexObject));
Add this inside <script> tags when loading the view.