<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Web Dev Bros</title>
	<atom:link href="http://www.webdevbros.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevbros.net</link>
	<description>hot talk about web development</description>
	<lastBuildDate>Wed, 09 May 2012 13:17:41 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Generate JSON from VBScript (ASP) datatypes by Chris Broughton</title>
		<link>http://www.webdevbros.net/2007/04/26/generate-json-from-asp-datatypes/#comment-20592</link>
		<dc:creator>Chris Broughton</dc:creator>
		<pubDate>Wed, 09 May 2012 13:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://fabiankoehler.de/wdb/2007/04/26/generate-json-from-asp-datatypes/#comment-20592</guid>
		<description>I know this is an old post but I just realized how to do this and though others may want to know.

I made a dictionary, added the proporties I needed, then when using toJSON I set the label to Empty instead of any kind of string.

Something like this:

set d = server.createObject(&quot;scripting.dictionary&quot;)
d.add &quot;page&quot;, 1
d.add &quot;total&quot;, 1
d.add &quot;records&quot;, 6
d.add &quot;rows&quot;, rsEquipmentList
response.write( (new JSON).toJSON(Empty, d, false) )</description>
		<content:encoded><![CDATA[<p>I know this is an old post but I just realized how to do this and though others may want to know.</p>
<p>I made a dictionary, added the proporties I needed, then when using toJSON I set the label to Empty instead of any kind of string.</p>
<p>Something like this:</p>
<p>set d = server.createObject(&#8220;scripting.dictionary&#8221;)<br />
d.add &#8220;page&#8221;, 1<br />
d.add &#8220;total&#8221;, 1<br />
d.add &#8220;records&#8221;, 6<br />
d.add &#8220;rows&#8221;, rsEquipmentList<br />
response.write( (new JSON).toJSON(Empty, d, false) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Keep session alive with Javascript by agame</title>
		<link>http://www.webdevbros.net/2006/12/14/keep-session-alive-with-javascript/#comment-20577</link>
		<dc:creator>agame</dc:creator>
		<pubDate>Tue, 08 May 2012 13:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://fabiankoehler.de/wdb/?p=12#comment-20577</guid>
		<description>thanks admin cool article yeahh</description>
		<content:encoded><![CDATA[<p>thanks admin cool article yeahh</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generate JSON from VBScript (ASP) datatypes by Introdução ao JSON &#187; klebermota.eti.br</title>
		<link>http://www.webdevbros.net/2007/04/26/generate-json-from-asp-datatypes/#comment-20529</link>
		<dc:creator>Introdução ao JSON &#187; klebermota.eti.br</dc:creator>
		<pubDate>Fri, 04 May 2012 13:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://fabiankoehler.de/wdb/2007/04/26/generate-json-from-asp-datatypes/#comment-20529</guid>
		<description>[...] JSON ASP utility class. [...]</description>
		<content:encoded><![CDATA[<p>[...] JSON ASP utility class. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ajaxed on Ajaxian by TP</title>
		<link>http://www.webdevbros.net/2007/07/11/ajaxed-on-ajaxian/#comment-19180</link>
		<dc:creator>TP</dc:creator>
		<pubDate>Mon, 06 Feb 2012 19:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/2007/07/11/ajaxed-on-ajaxian/#comment-19180</guid>
		<description>Hi... I am one of those poor folks that still has to support classic asp, and to be honest... I think it is a very easy, flexible scripting language, and argue that scripting languages are more suitable for the web and you know exactly what they are doing, because you wrote the code, instead of depending on pre-built objects, classes, etc... but that is a another web architecture argument...

Right now, I have found something that is very easy to do in .net, java, and other web development, but hard to find in classic asp. I need to read the FULL, RAW body of the request into a stream.
I have xml that is posted to my asp page and that xml is NOT posted as a form field &quot;xmldata=&quot; - no not like this.. that would be easy... the raw xml is just posted to the body of the request. I need to read the FULL, RAW request body that was posted to my asp page. I was hoping maybe your library might help, or do you have any ideas?
I couldn&#039;t find the link to download your library.</description>
		<content:encoded><![CDATA[<p>Hi&#8230; I am one of those poor folks that still has to support classic asp, and to be honest&#8230; I think it is a very easy, flexible scripting language, and argue that scripting languages are more suitable for the web and you know exactly what they are doing, because you wrote the code, instead of depending on pre-built objects, classes, etc&#8230; but that is a another web architecture argument&#8230;</p>
<p>Right now, I have found something that is very easy to do in .net, java, and other web development, but hard to find in classic asp. I need to read the FULL, RAW body of the request into a stream.<br />
I have xml that is posted to my asp page and that xml is NOT posted as a form field &#8220;xmldata=&#8221; &#8211; no not like this.. that would be easy&#8230; the raw xml is just posted to the body of the request. I need to read the FULL, RAW request body that was posted to my asp page. I was hoping maybe your library might help, or do you have any ideas?<br />
I couldn&#8217;t find the link to download your library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Role Based Access Control in ASP.Net MVC by Bas</title>
		<link>http://www.webdevbros.net/2009/12/16/role-based-access-control-in-asp-net-mvc/#comment-16829</link>
		<dc:creator>Bas</dc:creator>
		<pubDate>Thu, 20 Oct 2011 07:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/?p=874#comment-16829</guid>
		<description>Ah, the good old days were bit and byte operations are size and speed optimal: only need one byte to have 8 or even 16 roles (16-bits systems, they were the bomb!).

However, there is one terrible flaw in your method. When a user is a student (1) and is assigned the role twice, it will add up to 2. Now he has employer rights! (The dream of each student that needs higher grades).

You can make this fail safe with one simple alteration of your code. Don&#039;t add up the roles with +=, but bitwise OR the roles with the &#124; sign.</description>
		<content:encoded><![CDATA[<p>Ah, the good old days were bit and byte operations are size and speed optimal: only need one byte to have 8 or even 16 roles (16-bits systems, they were the bomb!).</p>
<p>However, there is one terrible flaw in your method. When a user is a student (1) and is assigned the role twice, it will add up to 2. Now he has employer rights! (The dream of each student that needs higher grades).</p>
<p>You can make this fail safe with one simple alteration of your code. Don&#8217;t add up the roles with +=, but bitwise OR the roles with the | sign.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.Net MVC, Fluent Validation and testing by Shawn</title>
		<link>http://www.webdevbros.net/2010/12/03/asp-net-mvc-fluent-validation-and-tesing/#comment-15638</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Sat, 03 Sep 2011 17:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/?p=932#comment-15638</guid>
		<description>Have you tested it? I want to create check password strength routine for a project.</description>
		<content:encoded><![CDATA[<p>Have you tested it? I want to create check password strength routine for a project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nhibernate returns duplicate results on paged data sets &#8211; work around by Dai Bok</title>
		<link>http://www.webdevbros.net/2010/11/11/nhibernate-returns-duplicate-results-on-paged-data-sets-work-around/#comment-14201</link>
		<dc:creator>Dai Bok</dc:creator>
		<pubDate>Tue, 10 May 2011 13:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/?p=909#comment-14201</guid>
		<description>Hi Ben,

Have you tried using the orginal class &quot;QuotedAndParenthesisStringTokenizer&quot; and method &quot;ExtractColumnOrAliasNames&quot; instead of overriding these? 

My PC is packed away ATM as we are in the process of moving, so I have not had time to run tests on this and see what else may be effected.</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>Have you tried using the orginal class &#8220;QuotedAndParenthesisStringTokenizer&#8221; and method &#8220;ExtractColumnOrAliasNames&#8221; instead of overriding these? </p>
<p>My PC is packed away ATM as we are in the process of moving, so I have not had time to run tests on this and see what else may be effected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nhibernate returns duplicate results on paged data sets &#8211; work around by Ben</title>
		<link>http://www.webdevbros.net/2010/11/11/nhibernate-returns-duplicate-results-on-paged-data-sets-work-around/#comment-14108</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 02 May 2011 14:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/?p=909#comment-14108</guid>
		<description>David,

I hope so... But I got your code working with NHibernate 3.0. It was just some renaming, and oop design changes they have made. Here are the updates I had to make to get it working:

1- Change &quot;param.OriginalPositionInQuery = parameterPositon;&quot; to &quot;param.ParameterPosition = parameterPositon;&quot;

2- Change &quot;public class QuotedAndParenthesisStringTokenizer : IEnumerable&quot; to &quot;public new class QuotedAndParenthesisStringTokenizer : IEnumerable&quot;

3- Change &quot;private static void ExtractColumnOrAliasNames(SqlString select, out List columnsOrAliases,
                out Dictionary aliasToColumn)&quot;  to &quot;private new static void ExtractColumnOrAliasNames(SqlString select, out List columnsOrAliases,
                out Dictionary aliasToColumn)&quot;</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>I hope so&#8230; But I got your code working with NHibernate 3.0. It was just some renaming, and oop design changes they have made. Here are the updates I had to make to get it working:</p>
<p>1- Change &#8220;param.OriginalPositionInQuery = parameterPositon;&#8221; to &#8220;param.ParameterPosition = parameterPositon;&#8221;</p>
<p>2- Change &#8220;public class QuotedAndParenthesisStringTokenizer : IEnumerable&#8221; to &#8220;public new class QuotedAndParenthesisStringTokenizer : IEnumerable&#8221;</p>
<p>3- Change &#8220;private static void ExtractColumnOrAliasNames(SqlString select, out List columnsOrAliases,<br />
                out Dictionary aliasToColumn)&#8221;  to &#8220;private new static void ExtractColumnOrAliasNames(SqlString select, out List columnsOrAliases,<br />
                out Dictionary aliasToColumn)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nhibernate returns duplicate results on paged data sets &#8211; work around by Dai Bok</title>
		<link>http://www.webdevbros.net/2010/11/11/nhibernate-returns-duplicate-results-on-paged-data-sets-work-around/#comment-14106</link>
		<dc:creator>Dai Bok</dc:creator>
		<pubDate>Mon, 02 May 2011 08:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/?p=909#comment-14106</guid>
		<description>Hi Ben,

I will look into this when I get a chance, to be honest, I was hoping they would fix this in NH 3.0! I posted on jira that they still have not solved the problem :-( . 

Good news is that this has been assigned to a Julian, Lets hope he gets that sorted soon.</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>I will look into this when I get a chance, to be honest, I was hoping they would fix this in NH 3.0! I posted on jira that they still have not solved the problem :-( . </p>
<p>Good news is that this has been assigned to a Julian, Lets hope he gets that sorted soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nhibernate returns duplicate results on paged data sets &#8211; work around by Ben</title>
		<link>http://www.webdevbros.net/2010/11/11/nhibernate-returns-duplicate-results-on-paged-data-sets-work-around/#comment-14054</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 28 Apr 2011 20:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/?p=909#comment-14054</guid>
		<description>David,

We have been using your dialect for NHibernate 2.0. It used to work well. Thanks a lot. 


However, we updated our system to work on Nhibernate 3.0, and we cant get our project to build. It throws the following error: 

Error	1	&#039;NHibernate.SqlCommand.Parameter&#039; does not contain a definition for &#039;OriginalPositionInQuery&#039; and no extension method &#039;OriginalPositionInQuery&#039; accepting a first argument of type &#039;NHibernate.SqlCommand.Parameter&#039; could be found (are you missing a using directive or an assembly reference?)	C:\TFS\JO\JOPortal\Branches\Kentucky\Persistence\CustomSql2008Dialect.cs	89	23	Persistence


Error	2	Warning as Error: &#039;NHibernate.Dialect.CustomSql2005Dialect.ExtractColumnOrAliasNames(NHibernate.SqlCommand.SqlString, out System.Collections.Generic.List, out System.Collections.Generic.Dictionary)&#039; hides inherited member &#039;NHibernate.Dialect.Dialect.ExtractColumnOrAliasNames(NHibernate.SqlCommand.SqlString, out System.Collections.Generic.List, out System.Collections.Generic.Dictionary)&#039;. Use the new keyword if hiding was intended.	C:\TFS\JO\JOPortal\Branches\Kentucky\Persistence\CustomSql2008Dialect.cs	191	29	Persistence


Error	3	Warning as Error: &#039;NHibernate.Dialect.CustomSql2005Dialect.QuotedAndParenthesisStringTokenizer&#039; hides inherited member &#039;NHibernate.Dialect.Dialect.QuotedAndParenthesisStringTokenizer&#039;. Use the new keyword if hiding was intended.	C:\TFS\JO\JOPortal\Branches\Kentucky\Persistence\CustomSql2008Dialect.cs	336	22	Persistence

Do you have a version of your dialect to work with NHibernate 3.0? I would really appreciate any help I can get. 


Thanks
Ben Kojabash</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>We have been using your dialect for NHibernate 2.0. It used to work well. Thanks a lot. </p>
<p>However, we updated our system to work on Nhibernate 3.0, and we cant get our project to build. It throws the following error: </p>
<p>Error	1	&#8216;NHibernate.SqlCommand.Parameter&#8217; does not contain a definition for &#8216;OriginalPositionInQuery&#8217; and no extension method &#8216;OriginalPositionInQuery&#8217; accepting a first argument of type &#8216;NHibernate.SqlCommand.Parameter&#8217; could be found (are you missing a using directive or an assembly reference?)	C:\TFS\JO\JOPortal\Branches\Kentucky\Persistence\CustomSql2008Dialect.cs	89	23	Persistence</p>
<p>Error	2	Warning as Error: &#8216;NHibernate.Dialect.CustomSql2005Dialect.ExtractColumnOrAliasNames(NHibernate.SqlCommand.SqlString, out System.Collections.Generic.List, out System.Collections.Generic.Dictionary)&#8217; hides inherited member &#8216;NHibernate.Dialect.Dialect.ExtractColumnOrAliasNames(NHibernate.SqlCommand.SqlString, out System.Collections.Generic.List, out System.Collections.Generic.Dictionary)&#8217;. Use the new keyword if hiding was intended.	C:\TFS\JO\JOPortal\Branches\Kentucky\Persistence\CustomSql2008Dialect.cs	191	29	Persistence</p>
<p>Error	3	Warning as Error: &#8216;NHibernate.Dialect.CustomSql2005Dialect.QuotedAndParenthesisStringTokenizer&#8217; hides inherited member &#8216;NHibernate.Dialect.Dialect.QuotedAndParenthesisStringTokenizer&#8217;. Use the new keyword if hiding was intended.	C:\TFS\JO\JOPortal\Branches\Kentucky\Persistence\CustomSql2008Dialect.cs	336	22	Persistence</p>
<p>Do you have a version of your dialect to work with NHibernate 3.0? I would really appreciate any help I can get. </p>
<p>Thanks<br />
Ben Kojabash</p>
]]></content:encoded>
	</item>
</channel>
</rss>

