<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>.Net Technology Blog - Seeking for new Ideas!</title>
	<atom:link href="http://dotnetweblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetweblog.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 05 Jun 2009 08:34:23 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dotnetweblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/5c1d02688748a06f2a31a928b1a6731c?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>.Net Technology Blog - Seeking for new Ideas!</title>
		<link>http://dotnetweblog.wordpress.com</link>
	</image>
			<item>
		<title>Web Forms vs. ASP.Net MVC</title>
		<link>http://dotnetweblog.wordpress.com/2009/06/05/webforms-vs-asp-net-mvc/</link>
		<comments>http://dotnetweblog.wordpress.com/2009/06/05/webforms-vs-asp-net-mvc/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 08:32:45 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[ASP.Net MVC]]></category>
		<category><![CDATA[Joe]]></category>
		<category><![CDATA[Scott Hunter]]></category>
		<category><![CDATA[WebForms]]></category>
		<category><![CDATA[WebForms Future]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=46</guid>
		<description><![CDATA[Hi,
With emergence of ASP.Net MVC, Many Web developers put forward ideas and discuss about the future of Web Forms. There is a nice podcast there on Joe&#8217;s blog interviewing Scott Hunter, Senior Program Manager Lead on the ASP.NET Team. In this podcast, Joe &#38; Scott talk about future of Web Forms and compare it to ASP.Net MVC.
Don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=46&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi,<br />
With emergence of ASP.Net MVC, Many Web developers put forward ideas and discuss about the future of Web Forms. There is a nice podcast there on Joe&#8217;s blog interviewing Scott Hunter, <em>Senior Program Manager Lead on the ASP.NET Team</em>. In this podcast, Joe &amp; Scott talk about future of Web Forms and compare it to ASP.Net MVC.<br />
Don&#8217;t miss this podcast!<br />
<a href="http://misfitgeek.com/podcast/episode-1-scott-hunter-on-the-future-of-web-forms/">Episode #1 &#8211; Scott Hunter on the future of ASP.NET Development with Web Forms</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=46&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2009/06/05/webforms-vs-asp-net-mvc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Keeping Passwords Secure</title>
		<link>http://dotnetweblog.wordpress.com/2008/10/20/keeping-passwords-secure/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/10/20/keeping-passwords-secure/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 11:18:05 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Asymmetric]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Hash]]></category>
		<category><![CDATA[One-Time Password]]></category>
		<category><![CDATA[OTP]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[password policy]]></category>
		<category><![CDATA[Password strength]]></category>
		<category><![CDATA[Salt]]></category>
		<category><![CDATA[Salted Hash]]></category>
		<category><![CDATA[Store]]></category>
		<category><![CDATA[Symmetric]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=30</guid>
		<description><![CDATA[ 
Hello,
Keeping sensitive data in database has always been one of the most challenging tasks which needs deep understanding of system planning and security issues that might affect the reliability of the system. Mainly, you may implement one of the following ways to keep passwords in database: 
1 &#8211; Storing Passwords as Clear-Text/Plain-Text:
This option is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=30&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="line-height:14.25pt;margin:0;"> </p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Hello,</span></p>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Keeping sensitive data in database has always been one of the most challenging tasks which needs deep understanding of system planning and security issues that might affect the reliability of the system. Mainly, you may implement one of the following ways to keep passwords in database: </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-size:10pt;color:#000000;font-family:&quot;">1 &#8211; Storing Passwords as Clear-Text/Plain-Text:</span></strong></p>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">This option is the</span><em><span style="font-size:10pt;color:#000000;font-family:&quot;"> most insecure</span></em><span style="font-size:10pt;color:#000000;font-family:&quot;"> way of storing passwords in DB, because each password is kept as clear text without any kind of encryption/hashing </span><span style="font-size:10pt;color:#000000;font-family:&quot;">algorithms</span><span style="font-size:10pt;color:#000000;font-family:&quot;"> used. The disadvantage of putting this into work is that anyone with access to your database will be able to read passwords and modify them. This imposes a great potential risk on your system and is not recommended in any scenario.</span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-size:10pt;color:#000000;font-family:&quot;">2 &#8211; Using Encryption Algorithms</span></strong></p>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">This is a more secure approach that may be taken into account. In this way, you may implement one of the Asymmetric/Symmetric algorithms to </span><em><span style="font-size:10pt;color:#000000;font-family:&quot;">encrypt</span></em><span style="font-size:10pt;color:#000000;font-family:&quot;">/</span><em><span style="font-size:10pt;color:#000000;font-family:&quot;">decrypt</span></em><span style="font-size:10pt;color:#000000;font-family:&quot;"> the data. In asymmetric algorithms, the key which is used to encrypt data differs from that of decrypting; there is a public key which enables you to encrypt password and a private key allowing you to decrypt it. In contrast with Asymmetric algorithms, Symmetric algorithms use a single key for encrypting/decrypting data. Intending to implement this method, use a unique public/private key for each user. C</span><span style="font-size:10pt;color:#000000;font-family:&quot;">onsequently</span><span style="font-size:10pt;color:#000000;font-family:&quot;"> if attacker obtains the private/public key of a user, it will not be usable for other users. This algorithm is mostly common in </span><span style="font-size:10pt;color:#000000;font-family:&quot;">scenarios</span><span style="font-size:10pt;color:#000000;font-family:&quot;"> which need password retrieval system, meaning that passwords can be recovered. So if password retrieval is not a part of your system planning, this method is not recommended.</span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-size:10pt;color:#000000;font-family:&quot;">3 &#8211; Hashing Passwords</span></strong></p>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">This technique is a one-way solution and makes it more secure. A &#8220;Hash Function&#8221; gets a value of variable length and produces an output with constant length. For instance, SHA256 algorithm gets the input value and generates a 256 bits output. Note that hashes of two sets of data are identical if and only if the corresponding data matches and any minor change in data causes the hash value to change dramatically, so this is a cool method when comparing large amount of data. Password recovery is also not possible when implementing this solution. When using hash functions to store scrambled data, keep in mind that if two users have the same password . the hash output will be identical and this is considered as a great </span><span style="font-size:10pt;color:#000000;font-family:&quot;">vulnerability</span><span style="font-size:10pt;color:#000000;font-family:&quot;">. To prevent this, you may use &#8220;</span><em><span style="font-size:10pt;color:#000000;font-family:&quot;">Salted-Hash</span></em><span style="font-size:10pt;color:#000000;font-family:&quot;"> technique”, it means that you should add some additional data to your password and then compute the hash of new generated data. For example you may append </span><span style="font-size:10pt;color:#000000;font-family:&quot;">username</span><span style="font-size:10pt;color:#000000;font-family:&quot;"> to the password and then hash the whole string. Consequently when authenticating users, you must first append </span><span style="font-size:10pt;color:#000000;font-family:&quot;">username</span><span style="font-size:10pt;color:#000000;font-family:&quot;"> to entered password, hash it and then comparing it with the hash value stored in database. For more security you can generate a random salt for each user and store it in database.</span></p>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">.Net Framework <a href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.aspx">System.Security.Cryptography</a> namespace provides you with many cryptographic services such as Encryption/Decryption , Hashing , Random Number generation , etc.</span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-size:10pt;color:#000000;font-family:&quot;">4 &#8211; OTP &#8211; One-Time Password</span></strong></p>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">In spite of implementing salted hash, passwords are still stored on hard disk and are prone to be cracked. So a better approach is required here. In contrast with <em>static</em> passwords, <em>one-time passwords</em> are changed each time a user logs on to the system and usually users should carry a small hardware used for <em>synchronizing</em> with server. Mainly there are two types of </span><span style="font-size:10pt;color:#000000;font-family:&quot;">OTP</span><span style="font-size:10pt;color:#000000;font-family:&quot;">:</span></p>
<ul type="disc">
<li class="MsoNormal"><strong><span style="font-size:10pt;font-family:&quot;">Time-Synchronized</span></strong><span style="font-size:10pt;font-family:&quot;">: In this method, user should enter a password in a given period of time, otherwise it will be expired and a new password is generated. Of course this method may lead to clock-skew problem, it means that if the authentication server and the user token don&#8217;t keep the same time, authentication process will fail.</span></li>
<li class="MsoNormal"><strong><span style="font-size:10pt;font-family:&quot;">Counter-Synchronized</span></strong><span style="font-size:10pt;font-family:&quot;">: A counter is synchronized between server and user client and each time the device requests an </span><span style="font-size:10pt;font-family:&quot;">OTP</span><span style="font-size:10pt;font-family:&quot;"> value, the counter is advanced. Like the previous solution, when user wants to logs on, he enters the password shown on the device.</span></li>
</ul>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt 18pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">For more information, visit <a href="http://msdn.microsoft.com/en-us/magazine/cc507635.aspx"><span style="color:#800080;">Safer Authentication with a One-Time Password Solution</span></a>.</span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-size:10pt;color:#000000;font-family:&quot;">Some Security Tips </span></strong></p>
<ol type="1">
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Try implementing salted hash.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Enforce password policies when registering users and do not allow weak passwords.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Separate</span><span style="font-size:10pt;font-family:&quot;"> authentication data (</span><span style="font-size:10pt;font-family:&quot;">i.</span><span style="font-size:10pt;font-family:&quot;">e. </span><span style="font-size:10pt;font-family:&quot;">username,</span><span style="font-size:10pt;font-family:&quot;"> password, salt, etc) and user profile data (</span><span style="font-size:10pt;font-family:&quot;">i.</span><span style="font-size:10pt;font-family:&quot;">e. </span><span style="font-size:10pt;font-family:&quot;">FirstName</span><span style="font-size:10pt;font-family:&quot;">, </span><span style="font-size:10pt;font-family:&quot;">BirthDate</span><span style="font-size:10pt;font-family:&quot;">, etc) into different tables.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Implement strong hash </span><span style="font-size:10pt;font-family:&quot;">algorithms</span><span style="font-size:10pt;font-family:&quot;"> like SHA256, SHA384, and SHA256 (known as SHA2).</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">When connecting to database, use an account with the minimum required </span><span style="font-size:10pt;font-family:&quot;">privileges</span><span style="font-size:10pt;font-family:&quot;">.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Prevent </span><span style="font-size:10pt;font-family:&quot;">SQL</span><span style="font-size:10pt;font-family:&quot;"> Injection attacks by using stored procedures, </span><span style="font-size:10pt;font-family:&quot;">parameterized</span><span style="font-size:10pt;font-family:&quot;"> queries and validating data before passing them to query.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Obtain information on different kinds of attacks (</span><span style="font-size:10pt;font-family:&quot;">i.</span><span style="font-size:10pt;font-family:&quot;">e. Dictionary, </span><span style="font-size:10pt;font-family:&quot;">Brute</span><span style="font-size:10pt;font-family:&quot;">-Force, </span><span style="font-size:10pt;font-family:&quot;">SQL</span><span style="font-size:10pt;font-family:&quot;"> Injection, etc) and how to defend against them.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Keep security tasks and functions secure by encrypting them.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">Use secure connections when sending/receiving data to/from server. (I.e. SSL).</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;">&#8230;</span></li>
</ol>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">The issues that mentioned in this article are just a few tips that should be considered in order to provide a secure system and the given recommendations are all dependant upon system requirements and </span><span style="font-size:10pt;color:#000000;font-family:&quot;">scenario</span><span style="font-size:10pt;color:#000000;font-family:&quot;">.</span></p>
<p class="MsoNormal" style="text-indent:1cm;line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Enjoy!</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=30&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/10/20/keeping-passwords-secure/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>
	</item>
		<item>
		<title>SecureString : Storing Sensitive Data</title>
		<link>http://dotnetweblog.wordpress.com/2008/07/11/securestring-storing-sensitive-data/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/07/11/securestring-storing-sensitive-data/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 06:31:56 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[.Net Security]]></category>
		<category><![CDATA[Marshal]]></category>
		<category><![CDATA[SecureString]]></category>
		<category><![CDATA[System.Security]]></category>
		<category><![CDATA[System.String]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=19</guid>
		<description><![CDATA[
Hello ,
Today , I&#8217;m going to elaborate on a great feature called System.Security.SecureString class which was introduced in .Net Framework 2.0. This class provides you with a secure way to store sensitive data and prevent them from being revealed by hackers. Implementing standard System.String class is not a secure way for keeping sensitive information and also [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=19&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div style="display:none;position:absolute;top:-1000px;"><img style="display:none;" src="http://dotnetweblog.wordpress.com/wp-admin/" alt="" /></div>
<p><!--scriptend-->Hello ,</p>
<p style="text-align:justify;">Today , I&#8217;m going to elaborate on a great feature called System.Security.SecureString class which was introduced in .Net Framework 2.0. This class provides you with a secure way to store sensitive data and prevent them from being revealed by hackers. Implementing standard System.String class is not a secure way for keeping sensitive information and also swap file is in danger of being disclosed. Let&#8217;s take a look at some disadvantages of putting System.String class into work :</p>
<ol>
<li>As it&#8217;s not encrypted , anyone with access to swap file or process memory is able to read unencrypted data easily.</li>
<li>When modifying this class , old value is not removed from the memory , so both old and new versions are kept in memory.</li>
<li>There is not a certain way to dispose it from memory when finishing with it.</li>
</ol>
<p style="text-align:justify;">SecureString class uses DAPI to encrypt data. Information ecrypted in this way by CLR is only decrypted when accessing it and in contrast with standard System.String class , this class implements IDisposable interface so that it can be cleared out from memory and its allocated memory will be zeroed out when disposing it.</p>
<p>Now , let&#8217;s see an example :<br />
<code><br />
using System.Security;<br />
using System.Runtime.InteropServices;<br />
using System;<br />
using System.Windows.Forms;</code></p>
<p>namespace SecureStringProject<br />
{<br />
public class SecureStringExample<br />
{<br />
public void ImplementSecureString()<br />
{<br />
SecureString secureString = new SecureString();<br />
///Implementing AppendChar method to add<br />
///characters to SecureString Object.<br />
secureString.AppendChar(&#8216;A&#8217;);<br />
secureString.AppendChar(&#8216;C&#8217;);<br />
secureString.AppendChar(&#8216;G&#8217;);<br />
secureString.AppendChar(&#8216;E&#8217;);<br />
secureString.AppendChar(&#8216;F&#8217;);</p>
<p>///Implementing InsertAt method to insert a character<br />
///at specified index.<br />
secureString.InsertAt(1, &#8216;B&#8217;);</p>
<p>///Implementing SetAt method to replace character<br />
///at specified index with new character.<br />
secureString.SetAt(3, &#8216;D&#8217;);</p>
<p>///Implementing RemoveAt method to<br />
///remove a character at specified index.<br />
secureString.RemoveAt(5);</p>
<p>///Reading SecureStrinng content.<br />
IntPtr pointer = Marshal.SecureStringToBSTR(secureString);<br />
MessageBox.Show(Marshal.PtrToStringUni(pointer));</p>
<p>///Clearing SecureString Object.<br />
secureString.Clear();</p>
<p>///Disposing SecureString Object.<br />
secureString.Dispose();</p>
<p>///Free BSTR pointer allocated using<br />
///SecureStringToBSTR method.<br />
Marshal.ZeroFreeBSTR(pointer);<br />
}<br />
}<br />
}</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=19&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/07/11/securestring-storing-sensitive-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>

		<media:content url="http://dotnetweblog.wordpress.com/wp-admin/" medium="image" />
	</item>
		<item>
		<title>Creating a strong assembly using ILMerge</title>
		<link>http://dotnetweblog.wordpress.com/2008/04/26/creating-a-strong-assembly-using-ilmerge/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/04/26/creating-a-strong-assembly-using-ilmerge/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 18:58:54 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[ILMerge]]></category>
		<category><![CDATA[snk]]></category>
		<category><![CDATA[Strong-Named Assembly]]></category>
		<category><![CDATA[Visual Studio.Net]]></category>
		<category><![CDATA[Weak Assembly]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=15</guid>
		<description><![CDATA[Hello ,
Sometimes , you may use an assembly that is not strong-named and also the source code is not available. How do you make an strong assembly out of that? ILMerge Tool allows you to sign/resign an assembly with a specified .snk file. Consider having a weak assembly called &#8220;Weak.dll&#8221; , you can create a strong-named [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=15&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello ,</p>
<p>Sometimes , you may use an assembly that is not <em>strong-named</em> and also the source code is not available. How do you make an strong assembly out of that? <strong>ILMerge Tool </strong>allows you to sign/resign an assembly with a specified .snk file. Consider having a weak assembly called &#8220;Weak.dll&#8221; , you can create a strong-named assembly out of that as shown below :<br />
<code><br />
ilmerge Weak.dll /keyfile:key.snk /out:Strong.dll<br />
</code></p>
<p><strong>Note</strong>: You can create a random .snk file using Sn.exe(Strong Name Tool) from Visual Studio Command Prompt , For Example :<br />
<code><br />
sn -k key.snk<br />
</code></p>
<p><a title="ILMerge Download Page" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=22914587-B4AD-4EAE-87CF-B14AE6A939B0&amp;displaylang=en">ILMerge Download Page</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=15&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/04/26/creating-a-strong-assembly-using-ilmerge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>
	</item>
		<item>
		<title>C# 3.0 : Automatic Properties</title>
		<link>http://dotnetweblog.wordpress.com/2008/02/24/c-30-automatic-properties/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/02/24/c-30-automatic-properties/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 19:04:48 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Auto-Implemented Properties]]></category>
		<category><![CDATA[Automatic Properties]]></category>
		<category><![CDATA[C# 3.0]]></category>
		<category><![CDATA[prop]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=14</guid>
		<description><![CDATA[Hello ,
Being a C# programmer , you&#8217;ve used to leverage propcode snippet to create a property . C# 3.0 provides you with a nice feature called &#8220;Automatic Properties&#8221; which enables you to avoid having to declare private accessor field for properties and write get/set logic , this will make your code more concise and legible [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=14&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello ,</p>
<p>Being a C# programmer , you&#8217;ve used to leverage <em>prop</em>code snippet to create a property . C# 3.0 provides you with a nice feature called &#8220;Automatic Properties&#8221; which enables you to avoid having to declare private accessor field for properties and write get/set logic , this will make your code more concise and legible . However , you can still create regular properties and change get/set logic.</p>
<p>This is a property created by C# 2.0 :<br />
<code><br />
        private string propertyName;<br />
        public string PropertyName<br />
        {<br />
            get { return propertyName; }<br />
            set { age= propertyName; }<br />
        }<br />
</code></p>
<p>And this one is re-writed using C# 3.0 :<br />
<code><br />
public string PropertyName { get; set; }<br />
</code><br />
Implementing this feature , the compiler automatically creates the get/set logics . If you need to make the above property <em>readonly</em> , add private keyword before set accessor :<br />
<code><br />
public string PropertyName { get; private set; }<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=14&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/02/24/c-30-automatic-properties/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Load CSV File Into SQL Server Table/View</title>
		<link>http://dotnetweblog.wordpress.com/2008/02/14/how-to-load-csv-file-into-sql-server-tableview/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/02/14/how-to-load-csv-file-into-sql-server-tableview/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 06:36:34 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[BULK INSERT]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[Load CSV]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=11</guid>
		<description><![CDATA[Hello ,
T-SQL &#8216;Bulk Insert&#8217; statement lets you load CSV or any other user-specified file formats into table/view .  In a CSV file , each field is seperated by a Comma and each line represents a record. Now , open notepad and create a CSV file named &#8216;test.csv&#8217; with the following content :
1,FirstName1,LastName1,20
2,FirstName2,LastName2,25
3,FirstName3,LastName3,30
 
The following procedure demonstrates loaing the CSV file into a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=11&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://dotnetweblog.files.wordpress.com/2008/02/result.jpg" title="result.jpg"></a>Hello ,</p>
<p>T-SQL <em>&#8216;Bulk Insert&#8217; </em>statement lets you load CSV or any other user-specified file formats into table/view .  In a CSV file , each field is seperated by a <em>Comma </em>and each line represents a <em>record</em>. Now , open notepad and create a CSV file named &#8216;test.csv&#8217; with the following content :</p>
<p><font color="#0000ff">1,FirstName1,LastName1,20<br />
2,FirstName2,LastName2,25<br />
3,FirstName3,LastName3,30</font><font color="#0000ff"><br />
</font><font color="#0000ff"> </font></p>
<p>The following procedure demonstrates loaing the CSV file into a temporary table :</p>
<p><code>Create Procedure dbo.LoadCSVFile<br />
AS<br />
Begin<br />
Create Table #CSVTest( ID INT , FN Nvarchar(50) , LN Nvarchar(50) , Age INT )<br />
BULK INSERT #CSVTest FROM 'c:\test.csv' WITH<br />
(<br />
FieldTerminator = ',' ,<br />
RowTerminator = '\n'<br />
)<br />
SELECT ID,FN,LN,Age FROM #CSVTest<br />
End</code></p>
<p>Executing the procedure results in :</p>
<p><a href="http://dotnetweblog.files.wordpress.com/2008/02/result1.jpg" title="result1.jpg"><img src="http://dotnetweblog.files.wordpress.com/2008/02/result1.jpg" alt="result1.jpg" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=11&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/02/14/how-to-load-csv-file-into-sql-server-tableview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>

		<media:content url="http://dotnetweblog.files.wordpress.com/2008/02/result1.jpg" medium="image">
			<media:title type="html">result1.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>ANTS Profiler &#8211; .Net Code &amp; Memory Profiler</title>
		<link>http://dotnetweblog.wordpress.com/2008/02/07/ants-profiler-net-code-memory-profiler/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/02/07/ants-profiler-net-code-memory-profiler/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 06:37:13 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[ANTS Profiler]]></category>
		<category><![CDATA[bottlenecks]]></category>
		<category><![CDATA[Memory Optimizer]]></category>
		<category><![CDATA[memory usage]]></category>
		<category><![CDATA[Redgate]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[Windows Application]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=10</guid>
		<description><![CDATA[Hello ,
RedGate ANTS Profiler is a great tool which enables you to identify bottlenecks in your code and optimize memory usage , It also profiles how long each line of code takes to be executed(line-level timing) and reports the slowest lines of code and procedures. In addition , It Integrates into Visual Studio with context sensitivity.
ANTS Profiler [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=10&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello ,</p>
<p><em><strong><img border="0" align="left" width="100" src="http://www.red-gate.com/images/boxshots/large/antsprofilerpro.gif" height="110" />RedGate ANTS Profiler</strong></em> is a great tool which enables you to identify <em>bottlenecks</em> in your code and <em>optimize memory usage</em> , It also profiles how long each line of code takes to be executed(<em>line-level timing</em>) and reports the slowest lines of code and procedures. In addition , It Integrates into Visual Studio with <em>context sensitivity</em>.</p>
<p><em>ANTS Profiler </em>profiles Windows Applications , ASP.Net Web Applications , COM+ Applications and Windows Services which are written under .Net Framework 1.1 , 2.0, and 3.0.</p>
<p><em><img border="0" width="500" src="http://www.red-gate.com/products/ants_profiler/images/performance/performance_profiling_results_sourcecode.gif" height="228" /></em></p>
<p><a href="https://www.red-gate.com/dynamic/downloads/downloadform.aspx?download=antsprofiler" title="Download 14-day free trial">Download 14-day free trial</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=10&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/02/07/ants-profiler-net-code-memory-profiler/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>

		<media:content url="http://www.red-gate.com/images/boxshots/large/antsprofilerpro.gif" medium="image" />

		<media:content url="http://www.red-gate.com/products/ants_profiler/images/performance/performance_profiling_results_sourcecode.gif" medium="image" />
	</item>
		<item>
		<title>Microsoft SQL Server Database Publishing Wizard 1.1</title>
		<link>http://dotnetweblog.wordpress.com/2008/01/31/microsoft-sql-server-database-publishing-wizard-11/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/01/31/microsoft-sql-server-database-publishing-wizard-11/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 19:01:11 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Generate Database Script]]></category>
		<category><![CDATA[Publishing Database]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=9</guid>
		<description><![CDATA[Hello ,
Microsoft SQL Server Database Publishing Wizard enables you to Generate Script of SQL Server Database with the following features:
1)Creating Data Only , Schema Only or Schema &#38; Data Script.
2)Building Script for specific objects.
3)Compatible with SQL Server 2000 and SQL Server 2005 servers.
4)Two scripting modes :
a)Scripting to a file .
b)Publishing to shared hosting provider.
5)Integrating into [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=9&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello ,</p>
<p><strong><em>Microsoft SQL Server Database Publishing Wizard</em> </strong>enables you to Generate Script of SQL Server Database with the following features:</p>
<p>1)Creating <em><strong>Data Only</strong></em> , <strong><em>Schema Only</em> </strong>or <em><strong>Schema &amp; Data</strong> </em>Script.</p>
<p>2)Building Script for specific objects.</p>
<p>3)Compatible with SQL Server 2000 and SQL Server 2005 servers.</p>
<p>4)Two scripting modes :</p>
<p>a)Scripting to a file .</p>
<p>b)Publishing to shared hosting provider.</p>
<p>5)Integrating into Visual Studio 2005 and/or Visual Web Developer 2005.</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&amp;displaylang=en" title="Download Microsoft SQL Server Database Publishing Wizard 1.1">Download Microsoft SQL Server Database Publishing Wizard 1.1</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=9&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/01/31/microsoft-sql-server-database-publishing-wizard-11/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>
	</item>
		<item>
		<title>BUG : Unable to update the dependencies of the project.</title>
		<link>http://dotnetweblog.wordpress.com/2008/01/28/bug-unable-to-update-the-dependencies-of-the-project/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/01/28/bug-unable-to-update-the-dependencies-of-the-project/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 06:10:22 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Dependencies]]></category>
		<category><![CDATA[Setup Project]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/?p=8</guid>
		<description><![CDATA[Hello ,
Yesterday , When building the setup project , I received the following error :
&#8220;Unable to update the dependencies of the project. The dependencies for the object &#8216; name.dll &#8216; cannot be determined..&#8221;
Also trying to Refresh Dependencies was not successful :
&#8220;The operation can not be completed.&#8221;
This problem occurs when .VDPROJ file is corrupted , to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=8&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello ,</p>
<p>Yesterday , When building the setup project , I received the following error :</p>
<p><em><span dir="ltr"><font size="2">&#8220;Unable to update the dependencies of the project. The dependencies for the object &#8216; name.dll &#8216; cannot be determined.</font></span>.&#8221;</em></p>
<p>Also trying to <em>Refresh Dependencies</em> was not successful :</p>
<p><em>&#8220;The operation can not be completed.&#8221;</em></p>
<p>This problem occurs when <em>.VDPROJ file </em>is corrupted , to resolve this bug , you may follow these steps :</p>
<p>1) Open <em>.VDPROJ file with</em> a text editor <em>:</em></p>
<p>2)Find &#8220;Hierarchy&#8221; &amp; &#8220;File&#8221; Sections and Delete everything in them ,</p>
<p>3)Delete <em>&#8220;Project Primary Output&#8221; </em>And Add it again.</p>
<p>4)Reload the project .</p>
<p>5)Rebuild the project.</p>
<p>If the above solution did not work , you may need to DELETE the setup project and create it from the scratch.</p>
<p>Note : This BUG occured on a machine having Visual Studio 2005 Team Suite Edition with SP1 Installed .</p>
<p>This BUG is reported here :</p>
<p><a href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=119625">http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=119625</a></p>
<p>Microsoft has also published a hotfix that can be found here :</p>
<p><a href="http://support.microsoft.com/kb/917036">FIX: The Visual Studio 2005 IDE may corrupt the deployment files for a Web Setup Project and for a Setup Project<br />
</a></p>
<p>In this article , the author mentined that :</p>
<p><em>&#8220;This problem may occur when you have a <strong>Database Project</strong> and a Setup Project in the same solution&#8221;</em></p>
<p>But Keep in mind that this problem may occur even if the solution <strong>does not contain any Database Project</strong> , So the above quotation is not the accurate cause of the issue.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=8&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/01/28/bug-unable-to-update-the-dependencies-of-the-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft Adds Persian Collation to SQL Server 2008</title>
		<link>http://dotnetweblog.wordpress.com/2008/01/20/microsoft-adds-persian-collation-to-sql-server-2008/</link>
		<comments>http://dotnetweblog.wordpress.com/2008/01/20/microsoft-adds-persian-collation-to-sql-server-2008/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 20:25:26 +0000</pubDate>
		<dc:creator>Alireza</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Persian Collation]]></category>

		<guid isPermaLink="false">http://dotnetweblog.wordpress.com/2008/01/20/microsoft-adds-persian-collation-to-sql-server-2008/</guid>
		<description><![CDATA[Hello ,
I appreciate Mr.Amin Sobati for requesting Microsoft to add persian collation to SQL Server 2008 and Now It&#8217;s accepted!
All Iranian Programmers and Developers would be glad to know that they no longer have any problem with persian support in SQL Server in the near future and are able to take the most advantage of SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=7&subd=dotnetweblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello ,</p>
<p>I appreciate <strong><em>Mr.Amin Sobati</em></strong> for requesting Microsoft to add persian collation to SQL Server 2008 and Now It&#8217;s accepted!</p>
<p>All Iranian Programmers and Developers would be glad to know that they no longer have any problem with persian support in SQL Server in the near future and are able to take the most advantage of SQL Server enhancements.</p>
<p>Visit the following Microsoft Connect Page :</p>
<p><a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=284192">https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=284192</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetweblog.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetweblog.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetweblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetweblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetweblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetweblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetweblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetweblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetweblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetweblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetweblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetweblog.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetweblog.wordpress.com&blog=1625527&post=7&subd=dotnetweblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetweblog.wordpress.com/2008/01/20/microsoft-adds-persian-collation-to-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0827db6250afb3526d2b7c4a25415335?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetweblog</media:title>
		</media:content>
	</item>
	</channel>
</rss>