<?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/"
	>

<channel>
	<title>adorr.net &#187; Web Development</title>
	<atom:link href="http://adorr.net/category/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://adorr.net</link>
	<description>where Arts resolves into Science</description>
	<lastBuildDate>Sun, 13 May 2012 15:37:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Creating standalone page within WordPress template</title>
		<link>http://adorr.net/2012/05/creating-standalone-page-within-wordpress-template.html</link>
		<comments>http://adorr.net/2012/05/creating-standalone-page-within-wordpress-template.html#comments</comments>
		<pubDate>Sun, 13 May 2012 15:35:11 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[standalone]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1549</guid>
		<description><![CDATA[Creating standalone page within WordPress template is easier than you can imagine. There are times when you want to access to the fabulous WordPress codex but would not want to develop plugin for that purpose. You may also want to synchronize the front-end template for your homepage, blog, application and anything else on your site. [...]]]></description>
			<content:encoded><![CDATA[<p>Creating standalone page within WordPress template is easier than you can imagine. There are times when you want to access to the fabulous WordPress codex but would not want to develop plugin for that purpose. You may also want to synchronize the front-end template for your homepage, blog, application and anything else on your site.<span id="more-1549"></span></p>
<p>And no, this implementation is not limited to the same domain. That means to say, you can create a php page on anothersite.com using template from wordpresssite.com, as long as they are hosted under the same hosting.</p>
<p>Before you start, you should figure out the absolute path of your wordpresssite.com. It is not the path you see in your FTP. Create a php file with following code and upload to your wordpresssite.com, access it on front-end and you will get the path you need.</p>
<p><code>&lt;?php echo $_SERVER['SCRIPT_FILENAME']; ?&gt;</code></p>
<p>Creating the standalone page is as simple as what you see below:</p>
<p><code>&lt;?php require( '/path-to-wordpress-site/wp-load.php' ); ?&gt;<br />
&lt;?php get_header(); ?&gt;<br />
&lt;!--your application goes here--&gt;<br />
&lt;?php get_footer(); ?&gt;</code></p>
<p>Does this work for you? Do you encounter any issues?</p>
<p>Let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2012/05/creating-standalone-page-within-wordpress-template.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compare .resx Resource Files Side-by-side</title>
		<link>http://adorr.net/2012/02/compare-resx-resource-files-side-by-side.html</link>
		<comments>http://adorr.net/2012/02/compare-resx-resource-files-side-by-side.html#comments</comments>
		<pubDate>Fri, 10 Feb 2012 17:26:27 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[compare]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[resource file]]></category>
		<category><![CDATA[resx]]></category>
		<category><![CDATA[side by side]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1509</guid>
		<description><![CDATA[If you are .NET developer and have been dealing with multi-lingual websites, you should be familiar with resource files for translation purposes. Apart from getting the key right from the beginning, another major challenge of website localization is to get the words translated in an organized and efficient way. Let&#8217;s be reasonable. Programmers aren&#8217;t translators, [...]]]></description>
			<content:encoded><![CDATA[<p>If you are .NET developer and have been dealing with multi-lingual websites, you should be familiar with resource files for translation purposes.</p>
<p>Apart from getting the key right from the beginning, another major challenge of website localization is to get the words translated in an organized and efficient way.</p>
<p>Let&#8217;s be reasonable. Programmers aren&#8217;t translators, and neither the other way round. Programmers are familiar with Ms Visual Studios, while translators are familiar with Ms Office. The conventional way of converting between resx files used by programmers and doc/excel files used by translators simply causes too much overhead and open up chances for mistakes.</p>
<p>Being open-source, <a href="http://code.google.com/p/simpleresxeditor/">Simple Resx Editor</a> is no compromise in terms of features. You can edit multiple languages resource files side by side, with easy synchronization,  addition of missing strings, highlighting missing translations and so on.</p>
<p>User interface is clean and easy to use, it is definitely worth a try.</p>
<p><img class="alignnone size-full wp-image-1510" title="simple-resx.editor" src="http://adorr.net/wp-content/uploads/2012/02/simple-resx.editor.jpg" alt="" width="688" height="401" /></p>
<p>You can download my <a href="http://inventory.adorr.net/Sample.resx.zip">sample resx files</a> for testing purpose.</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2012/02/compare-resx-resource-files-side-by-side.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google +1 Button</title>
		<link>http://adorr.net/2011/07/google-1-button.html</link>
		<comments>http://adorr.net/2011/07/google-1-button.html#comments</comments>
		<pubDate>Mon, 11 Jul 2011 16:17:22 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[+1]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google +1]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[plus]]></category>
		<category><![CDATA[plusone]]></category>
		<category><![CDATA[social media]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1490</guid>
		<description><![CDATA[You should have heard about Google+ by now. Like it or not, you have to add it onto your already lengthy social media todo list for your customers, clients or your ownselves. Default button embedding code can be as simple as follow: &#60;!-- Place this tag in your head or just before your close body [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://adorr.net/wp-content/uploads/2011/07/Screen-shot-2011-07-12-at-AM-12.19.01.png" alt="" title="Screen shot 2011-07-12 at AM 12.19.01" width="551" height="138" class="alignnone size-full wp-image-1491" /></p>
<p>You should have heard about Google+ by now. </p>
<p>Like it or not, you have to add it onto your already lengthy social media todo list for your customers, clients or your ownselves. </p>
<p>Default button embedding code can be as simple as follow:</p>
<p><code>&lt;!-- Place this tag in your head or just before your close body tag --&gt;<br />
&lt;script type="text/javascript" src="https://apis.google.com/js/plusone.js"&gt;&lt;/script&gt;</code></p>
<p><code>&lt;!-- Place this tag where you want the +1 button to render --&gt;<br />
&lt;g:plusone&gt;&lt;/g:plusone&gt;</code></p>
<p>But wait! You don&#8217;t have to be bounded by the same old boring button! </p>
<p><img src="http://adorr.net/wp-content/uploads/2011/07/Screen-shot-2011-07-12-at-AM-12.23.52.png" alt="" title="Screen shot 2011-07-12 at AM 12.23.52" width="75" height="65" class="alignnone size-full wp-image-1492" /></p>
<p>Go on and get your customized <a href="http://www.google.com/webmasters/+1/button/">Google +1 Button</a> now!</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2011/07/google-1-button.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure Your Web Application Using Acunetix</title>
		<link>http://adorr.net/2011/06/secure-your-web-application-using-acunetix.html</link>
		<comments>http://adorr.net/2011/06/secure-your-web-application-using-acunetix.html#comments</comments>
		<pubDate>Mon, 27 Jun 2011 03:57:23 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[acunetix]]></category>
		<category><![CDATA[cross-site scripting]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[intrude]]></category>
		<category><![CDATA[safe]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[scanning]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web security]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1483</guid>
		<description><![CDATA[If you are in the website/web application industry, you should most probably be familiar with (or at least heard of) the name of Acunetix. To put it simply, Acunetix is web security scanner which you can use to audit your website/web application, the Enterprise way. In Software Development Life Cycle (SDLC), you should be aware [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://adorr.net/wp-content/uploads/2011/06/acunetix-734x334.jpg" alt="" title="acunetix" width="734" height="334" class="alignnone size-medium wp-image-1484" /></p>
<p>If you are in the website/web application industry, you should most probably be familiar with (or at least heard of) the name of <a href="http://www.acunetix.com" target="_blank">Acunetix</a>.</p>
<p>To put it simply, Acunetix is web security scanner which you can use to audit your website/web application, the Enterprise way.</p>
<p>In Software Development Life Cycle (SDLC), you should be aware that there is an additional essential and crucial step in website/web application SDLC, which is Security Testing. Ranging from the common Cross-site scripting (XSS) to SQL injection, Acunetix is able to preamp you with the security loopholes and possible vulnerability before it&#8217;s too late.</p>
<p>It is kind enough that Acunetix offer <a href="http://www.acunetix.com/cross-site-scripting/scanner.htm" target="_blank">free Cross-site Scripting (XSS) scanner</a> for you to get a hold on how Acunetix is and how do we operate them.</p>
<p>If this is your first time installing and running Acunetix, you may want to refer to the official <a href="http://www.acunetix.com/vulnerability-scanner/getting-started.htm" target="_blank">getting started step-by-step manual</a>.</p>
<p>The <a href="http://www.acunetix.com/ordering/index.php" target="_blank">pricing of Acunetix</a> is relatively cheap if you consider what it does to give your clients piece of mind.</p>
<p>Do you have anything to say about Acunetix? </p>
<p>Or do you know of any other (open source) alternative solutions?</p>
<p>Please share!</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2011/06/secure-your-web-application-using-acunetix.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send Email from Gmail using ASP.NET</title>
		<link>http://adorr.net/2011/06/send-email-from-gmail-using-asp-net.html</link>
		<comments>http://adorr.net/2011/06/send-email-from-gmail-using-asp-net.html#comments</comments>
		<pubDate>Thu, 16 Jun 2011 02:49:19 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1476</guid>
		<description><![CDATA[Cut the chase and let&#8217;s dive into the code right away. VB.NET code Try Dim mailUsername As String = "YOUR-USERNAME@gmail.com" Dim mailPassword As String = "YOUR-PASSWORD" Dim mailToEmail As String = "TO-ADDRESS@EMAIL.COM" Dim mailSubject As String = "this is the mail subject" Dim mailBodyFormat As System.Web.Mail.MailFormat = Web.Mail.MailFormat.Text Dim mailBody As String = "this is [...]]]></description>
			<content:encoded><![CDATA[<p>Cut the chase and let&#8217;s dive into the code right away.</p>
<h3>VB.NET code </h3>
<p><code>Try</p>
<p>			Dim mailUsername As String = "YOUR-USERNAME@gmail.com"<br />
			Dim mailPassword As String = "YOUR-PASSWORD"<br />
			Dim mailToEmail As String = "TO-ADDRESS@EMAIL.COM"<br />
			Dim mailSubject As String = "this is the mail subject"<br />
			Dim mailBodyFormat As System.Web.Mail.MailFormat = Web.Mail.MailFormat.Text<br />
			Dim mailBody As String = "this is the mail body"<br />
			Dim attachmentPath As String = ""</p>
<p>			Dim myMail As New System.Web.Mail.MailMessage()<br />
			myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "smtp.gmail.com")<br />
			myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465")<br />
			myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", "2")<br />
			myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1")<br />
			myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", mailUsername)<br />
			myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", mailPassword)<br />
			myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true")<br />
			myMail.From = mailUsername<br />
			myMail.[To] = mailToEmail<br />
			myMail.Subject = mailSubject<br />
			myMail.BodyFormat = mailBodyFormat<br />
			myMail.Body = mailBody<br />
			If attachmentPath.Trim() <> "" Then<br />
				Dim MyAttachment As New System.Web.Mail.MailAttachment(attachmentPath)<br />
				myMail.Attachments.Add(MyAttachment)<br />
				myMail.Priority = System.Web.Mail.MailPriority.High<br />
			End If</p>
<p>			System.Web.Mail.SmtpMail.SmtpServer = "smtp.gmail.com:465"<br />
			System.Web.Mail.SmtpMail.Send(myMail)</p>
<p>        Catch ex As Exception</p>
<p>            Response.Write(ex.Message.ToString)</p>
<p>        End Try</code></p>
<h3>C# code </h3>
<p><code>try {</p>
<p>	string mailUsername = "YOUR-USERNAME@gmail.com";<br />
	string mailPassword = "YOUR-PASSWORD";<br />
	string mailToEmail = "TO-ADDRESS@EMAIL.COM";<br />
	string mailSubject = "this is the mail subject";<br />
	System.Web.Mail.MailFormat mailBodyFormat = System.Web.Mail.MailFormat.Text;<br />
	string mailBody = "this is the mail body";<br />
	string attachmentPath = "";</p>
<p>	System.Web.Mail.MailMessage myMail = new System.Web.Mail.MailMessage();<br />
	myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "smtp.gmail.com");<br />
	myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465");<br />
	myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", "2");<br />
	myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");<br />
	myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", mailUsername);<br />
	myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", mailPassword);<br />
	myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true");<br />
	myMail.From = mailUsername;<br />
	myMail.To = mailToEmail;<br />
	myMail.Subject = mailSubject;<br />
	myMail.BodyFormat = mailBodyFormat;<br />
	myMail.Body = mailBody;<br />
	if (!string.IsNullOrEmpty(attachmentPath.Trim())) {<br />
		System.Web.Mail.MailAttachment MyAttachment = new System.Web.Mail.MailAttachment(attachmentPath);<br />
		myMail.Attachments.Add(MyAttachment);<br />
		myMail.Priority = System.Web.Mail.MailPriority.High;<br />
	}</p>
<p>	System.Web.Mail.SmtpMail.SmtpServer = "smtp.gmail.com:465";<br />
	System.Web.Mail.SmtpMail.Send(myMail);</p>
<p>} catch (Exception ex) {</p>
<p>	Response.Write(ex.Message.ToString());</p>
<p>}</code></p>
<p>Simple yet useful. Let me know if it works for you.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2011/06/send-email-from-gmail-using-asp-net.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erroneous Microsoft SQL Server 2008 Express R2 Installation</title>
		<link>http://adorr.net/2011/05/erroneous-microsoft-sql-server-2008-express-r2-installation.html</link>
		<comments>http://adorr.net/2011/05/erroneous-microsoft-sql-server-2008-express-r2-installation.html#comments</comments>
		<pubDate>Thu, 26 May 2011 04:22:05 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[EXPRESS]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[ldf]]></category>
		<category><![CDATA[mdf]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[r2]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[service pack]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql10_main_t.obj.x86fre]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1471</guid>
		<description><![CDATA[Issue You have installed Microsoft SQL Server 2008 Express R2 on Microsoft Windows Server 2008. You completed the installation. However when you try to start SQL Server service, you were thrown an error message &#8220;The service did not respond to the start or control request in a timely fashion.&#8220; Or, you did not get any [...]]]></description>
			<content:encoded><![CDATA[<h3>Issue</h3>
<p>You have installed <span style="color: #888888;">Microsoft SQL Server 2008 Express R2</span> on <span style="color: #888888;">Microsoft Windows Server 2008</span>.</p>
<p>You completed the installation.</p>
<p>However when you try to start SQL Server service, you were thrown an error message &#8220;<span style="color: #888888;">The service did not respond to the start or control request in a timely fashion.</span>&#8220;</p>
<p>Or, you did not get any error message, but your SQL Server service did not start either, and when you dig into Application Event Viewer you see &#8220;<span style="color: #888888;">FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file &#8216;e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf&#8217;. Diagnose and correct the operating system error, and retry the operation.</span>&#8220;</p>
<p>Retry for a few times and you may get slightly different error messages, but all have to do with not able to open file at location <span style="color: #888888;">e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\</span>, be it for the files <span style="color: #888888;">model.mdf</span>, <span style="color: #888888;">MSDBData.mdf</span>, <span style="color: #888888;">modellog.ldf</span> or <span style="color: #888888;">MSDBLog.ldf</span></p>
<p>If you have followed and encountered the same (or similar path) mentioned above, read on.</p>
<h3>Possible Fix</h3>
<p>Many have blamed the problematic <span style="color: #888888;">Microsoft SQL Server 2008 Express R2</span> installer.</p>
<p>Some managed to fix it without reinstalling (but it failed on me).</p>
<p>However, no harm giving it a try as it may work on your installation.</p>
<p>Run the following:</p>
<p><span style="color: #888888;">C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release\setup.exe</span></p>
<p>with the parameters:</p>
<p><span style="color: #888888;"> /ACTION=REBUILDDATABASE /INSTANCENAME=SQLEXPRESS /SQLSYSADMINACCOUNTS=&lt;account name&gt;</span></p>
<h3>My Solution</h3>
<p>I uninstalled my <span style="color: #888888;">SQL Server 2008 Express R2</span>.</p>
<p>I downloaded and installed  <span style="color: #888888;">Microsoft .Net Framework 3.5</span> from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&amp;displaylang=en</a></p>
<p>Last but not least, I downloaded and installed <span style="color: #888888;">SQL Server 2008 Express SP1</span> from <a href="http://www.microsoft.com/downloads/details.aspx?familyid=01AF61E6-2F63-4291-BCAD-FD500F6027FF&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?familyid=01AF61E6-2F63-4291-BCAD-FD500F6027FF&amp;displaylang=en</a></p>
<p>To play safe, I downloaded <span style="color: #888888;">SQLEXPR_x86_ENU.exe</span> which suppports installation on both 32-bit and 64-bit (WoW) O/S, though I was running 64-bit O/S.</p>
<h3>Whats More?</h3>
<p>Microsoft SQL Server 2008 Express installation will not be completed without <span style="color: #888888;">Management Studio</span>.</p>
<p>You may want to download it from: <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b" target="_blank">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b</a></p>
<p>Let me know if the above solutions works on you.</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2011/05/erroneous-microsoft-sql-server-2008-express-r2-installation.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

