<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tummala Krishna Kishore</title>
    <description>The latest articles on DEV Community by Tummala Krishna Kishore (@webruster).</description>
    <link>https://dev.to/webruster</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F223483%2F4d8818dc-ba2f-4e50-bc1d-a75b5d02da5b.png</url>
      <title>DEV Community: Tummala Krishna Kishore</title>
      <link>https://dev.to/webruster</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/webruster"/>
    <language>en</language>
    <item>
      <title>Open In-line video in fullscreen</title>
      <dc:creator>Tummala Krishna Kishore</dc:creator>
      <pubDate>Tue, 01 Feb 2022 05:55:24 +0000</pubDate>
      <link>https://dev.to/webruster/open-in-line-video-in-fullscreen-28ge</link>
      <guid>https://dev.to/webruster/open-in-line-video-in-fullscreen-28ge</guid>
      <description>&lt;p&gt;Its been a long time i have written my posts, so got some free time to publish some articles which are usefull for the people who are implementing In-line video and make it fullscreen in Ionic.&lt;/p&gt;

&lt;p&gt;In the &lt;strong&gt;Config.xml&lt;/strong&gt; we need to Add this Block of code to Make it full screen&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;preference name="AllowInlineMediaPlayback" value="true" /&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Which Triggers the Native app to play in Inline. while coming to the HTML5 there is a intresting fact that was stated in &lt;a href="https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html" rel="noopener noreferrer"&gt;Apple Developer Site&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;on iPhone and iPod touch, which are small screen devices, Video is NOT presented within the Web Page&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>ionic</category>
      <category>angular</category>
      <category>iphone</category>
    </item>
    <item>
      <title>Publish from Visual Studio and automatically encrypt appSettings using aspnet_regiis</title>
      <dc:creator>Tummala Krishna Kishore</dc:creator>
      <pubDate>Tue, 17 Aug 2021 06:04:18 +0000</pubDate>
      <link>https://dev.to/webruster/publish-from-visual-studio-and-automatically-encrypt-appsettings-using-aspnetregiis-1m1e</link>
      <guid>https://dev.to/webruster/publish-from-visual-studio-and-automatically-encrypt-appsettings-using-aspnetregiis-1m1e</guid>
      <description>&lt;p&gt;After going through your all edits and a bit of research from me , you want to execute the following command after the publish from the Visual Studio&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -pe "appSettings" -site Default -app "/" &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If I understood right , You can try wrapping the&amp;nbsp;&lt;em&gt;ItemGroup&lt;/em&gt;&amp;nbsp;in a Target with&amp;nbsp;&lt;em&gt;AfterTargets&lt;/em&gt;&amp;nbsp;set to&amp;nbsp;&lt;strong&gt;AddIisSettingAndFileContentsToSourceManifest&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;Target Name="executeinHosts" AfterTargets="AddIisSettingAndFileContentsToSourceManifest"&amp;gt;
    &amp;lt;ItemGroup&amp;gt;
      &amp;lt;MsDeploySourceManifest Include="runCommand"&amp;gt;
       //here would be your path that need to run after the publish
      &amp;lt;/MsDeploySourceManifest&amp;gt;
    &amp;lt;/ItemGroup&amp;gt;
  &amp;lt;/Target&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So in Your case this is how that part should look:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;Target Name="executeinHosts" AfterTargets="AddIisSettingAndFileContentsToSourceManifest"&amp;gt;
    &amp;lt;ItemGroup&amp;gt;
      &amp;lt;MsDeploySourceManifest Include="runCommand"&amp;gt;
         &amp;lt;path&amp;gt;C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -pe "appSettings" -site $(DeployIisAppPath) -app "/"&amp;lt;/path&amp;gt;
      &amp;lt;/MsDeploySourceManifest&amp;gt;
    &amp;lt;/ItemGroup&amp;gt;
  &amp;lt;/Target&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;em&gt;Additional Info:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AddIisSettingAndFileContentsToSourceManifest&lt;/strong&gt;&amp;nbsp;target works just right before Web Deploy copying files from local to server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;aspnet_regiis&lt;/strong&gt; can be run in&amp;nbsp;&amp;nbsp;node by&amp;nbsp;&lt;em&gt;&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;Exec Command="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pef connectionStrings $(ProjectDir)obj\Debug\Package\PackageTmp" WorkingDirectory="$(publishUrl)" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>dotnet</category>
      <category>iis</category>
    </item>
    <item>
      <title>Display datetime correctly in iOS/Safari using ionic2/angular2</title>
      <dc:creator>Tummala Krishna Kishore</dc:creator>
      <pubDate>Tue, 06 Jul 2021 07:58:39 +0000</pubDate>
      <link>https://dev.to/webruster/display-datetime-correctly-in-ios-safari-using-ionic2-angular2-lof</link>
      <guid>https://dev.to/webruster/display-datetime-correctly-in-ios-safari-using-ionic2-angular2-lof</guid>
      <description>&lt;p&gt;The issue is caused by the Intlapi because DatePipe for Angular 2. Release is working fine only for FireFox and Chrome with custom format strings. it Doesn’t work on Safari due to lack of Intl. so as a temporary work around is to include the Intl polyfill&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale.en"&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Solution 2 You can use the moment.js which can format your required date as follows&lt;/p&gt;

&lt;p&gt;&lt;code&gt;moment(singleTable[0].FromCurrentDate).format("dd/MM/yyyy,h:mm:ss a")&lt;/code&gt;&lt;/p&gt;

</description>
      <category>angular</category>
      <category>ionic</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Pass multiple Eval field in one command argument in Repeater Control</title>
      <dc:creator>Tummala Krishna Kishore</dc:creator>
      <pubDate>Thu, 01 Jul 2021 10:11:47 +0000</pubDate>
      <link>https://dev.to/webruster/pass-multiple-eval-field-in-one-command-argument-in-repeater-control-10m7</link>
      <guid>https://dev.to/webruster/pass-multiple-eval-field-in-one-command-argument-in-repeater-control-10m7</guid>
      <description>&lt;p&gt;This is the most common problem that generally users face while dealing with Repeater control. I gave this solution in Stackoverflow. want to post it here for users coming from search&lt;/p&gt;

&lt;p&gt;Add the below snippet in in template&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CommandArgument='&amp;lt;%#Eval("ScrapId")+","+ Eval("UserId")%&amp;gt;'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In code behind you can use retrieve values like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;protected void GridViews_RowCommand(object sender, GridViewCommandEventArgs e)
{
    if (e.CommandName == "Comment")
    {
        string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
        string scrapid = commandArgs[0];
        string uid = commandArgs[1];
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>dotnet</category>
      <category>csharp</category>
      <category>nuggets</category>
    </item>
  </channel>
</rss>
