<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tolga Koseoglu : asp.net</title><link>http://weblogs.asp.net/tolgakoseoglu/archive/tags/asp.net/default.aspx</link><description>Tags: asp.net</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Getting Powershell to work in your asp.net application</title><link>http://weblogs.asp.net/tolgakoseoglu/archive/2008/11/06/getting-powershell-to-work-in-your-asp-net-application.aspx</link><pubDate>Fri, 07 Nov 2008 04:21:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6724869</guid><dc:creator>kemaltolga</dc:creator><author>kemaltolga</author><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tolgakoseoglu/rsscomments.aspx?PostID=6724869</wfw:commentRss><comments>http://weblogs.asp.net/tolgakoseoglu/archive/2008/11/06/getting-powershell-to-work-in-your-asp-net-application.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;First, the most important part is to add the System.Management.Automation.dll to your web application. Its location is a mystery...at least for me it was. HEre it is&lt;/P&gt;
&lt;P mce_keep="true"&gt;"C:\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0"&lt;/P&gt;
&lt;P mce_keep="true"&gt;Once you added this reference you are able to imports the following asseblies...&lt;/P&gt;&lt;FONT color=#0000ff size=4&gt;&lt;FONT color=#0000ff size=4&gt;
&lt;P&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4&gt; System.Management.Automation;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4&gt;&lt;FONT color=#0000ff size=4&gt;
&lt;P&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4&gt; System.Management.Automation.Runspaces;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=4&gt;Now you are able to code your powershell "HelloWorld" asp.net web application. &lt;A class="" href="http://www.leastprivilege.com/HostingPowerShellInASPNET.aspx" target=_blank mce_href="http://www.leastprivilege.com/HostingPowerShellInASPNET.aspx"&gt;This is one...&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6724869" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tolgakoseoglu/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/tolgakoseoglu/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Saved passwords after deploying web applications</title><link>http://weblogs.asp.net/tolgakoseoglu/archive/2008/10/02/saved-passwords-after-deploying-web-applications.aspx</link><pubDate>Thu, 02 Oct 2008 17:22:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6653797</guid><dc:creator>kemaltolga</dc:creator><author>kemaltolga</author><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tolgakoseoglu/rsscomments.aspx?PostID=6653797</wfw:commentRss><comments>http://weblogs.asp.net/tolgakoseoglu/archive/2008/10/02/saved-passwords-after-deploying-web-applications.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Hi:&lt;/P&gt;
&lt;P mce_keep="true"&gt;The&amp;nbsp;Problem&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;I ran into a very odd, at the time, issue after I deployed my applications. I opened various directories on different web servers using an admin account. I deployed my apps, but when I browsed to the apps they failed, because they wouldn't authenticate my personal account which I was signed in with on my local desktop.&lt;/P&gt;
&lt;P mce_keep="true"&gt;The Cause&lt;/P&gt;
&lt;P mce_keep="true"&gt;When browsing to the the various applications via IE, windows used the same account you used when deploying your application (admin account). So, your apps are not broken, you just get authentication issue since Windows is saving the accounts your are using to log into your web servers. &lt;/P&gt;
&lt;P mce_keep="true"&gt;The Solution&lt;/P&gt;
&lt;P mce_keep="true"&gt;Open your control panel and delete your saved passwords.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6653797" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tolgakoseoglu/archive/tags/asp.net/default.aspx">asp.net</category></item><item><title>Complete hide textbox without loosing functionality</title><link>http://weblogs.asp.net/tolgakoseoglu/archive/2008/06/30/complete-hide-textbox-without-loosing-functionality.aspx</link><pubDate>Mon, 30 Jun 2008 16:49:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6340741</guid><dc:creator>kemaltolga</dc:creator><author>kemaltolga</author><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/tolgakoseoglu/rsscomments.aspx?PostID=6340741</wfw:commentRss><comments>http://weblogs.asp.net/tolgakoseoglu/archive/2008/06/30/complete-hide-textbox-without-loosing-functionality.aspx#comments</comments><description>&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;asp&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;TextBox&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;ID&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="txtHiddenTeamBalances"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;runat&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="server"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;Width&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="0px"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;BackColor&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="Transparent"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;ForeColor&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="White"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;BorderStyle&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="None"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;ReadOnly&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="true"&amp;gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;asp&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;TextBox&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6340741" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/tolgakoseoglu/archive/tags/asp.net/default.aspx">asp.net</category></item></channel></rss>