<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>ASP.NET</title><link>http://www.styledesign.biz/weblogs/macinnesm/category/12.aspx</link><description>ASP.NET</description><managingEditor>Marcus Mac Innes</managingEditor><dc:language>en-IE</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>Marcus Mac Innes</dc:creator><title>WARNING: Serious ASP.NET issue with Windows Server 2003 and SP1</title><link>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/08/04/993.aspx</link><pubDate>Thu, 04 Aug 2005 17:20:00 GMT</pubDate><guid>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/08/04/993.aspx</guid><wfw:comment>http://www.styledesign.biz/weblogs/macinnesm/comments/993.aspx</wfw:comment><comments>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/08/04/993.aspx#Feedback</comments><slash:comments>59</slash:comments><wfw:commentRss>http://www.styledesign.biz/weblogs/macinnesm/comments/commentRss/993.aspx</wfw:commentRss><trackback:ping>http://www.styledesign.biz/weblogs/macinnesm/services/trackbacks/993.aspx</trackback:ping><description>&lt;P&gt;We have been trying to track down a problem with our blog aggregator software &lt;A href="http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/29/273.aspx"&gt;B.AG&lt;/A&gt; which is currently powering &lt;A href="http://www.developers.ie"&gt;INDA&lt;/A&gt;'s blog aggregator at &lt;A href="http://www.developers.ie/blogs"&gt;www.developers.ie/blogs&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;We recently upgraded the server to Windows Server 2003 SP1 and for some reason, threads were simply disappearing from our custom threadpool and the application logging which uses &lt;A href="http://logging.apache.org/log4net/"&gt;log4net&lt;/A&gt; would simply stop without warning. We have just tracked the problem down to the System.Threading.Timer class which according to &lt;A href="http://arje.net/halcyon_days_of_system.threading.timer"&gt;this&lt;/A&gt; has major issues when running on &lt;A href="http://www.microsoft.com/windowsserver2003/default.mspx"&gt;Windows Server 2003&lt;/A&gt; with &lt;A href="http://www.microsoft.com/windowsserver2003/downloads/servicepacks/sp1/default.mspx"&gt;SP1&lt;/A&gt;. It seems the Timer class stops firing at some random&amp;nbsp;point and never fires again...&lt;/P&gt;
&lt;P&gt;I know of a number of major ASP.NET sites around the world that have applications that depend on functionality provided by the Timer class and I'm very surprised that this issue has not seen more publicity. So this is just a warning to ensure that you don't fall victim to this issue!&lt;/P&gt;
&lt;P&gt;As far am I am aware there is no hotfix available&amp;nbsp;for this problem yet.&lt;/P&gt;&lt;img src ="http://www.styledesign.biz/weblogs/macinnesm/aggbug/993.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Marcus Mac Innes</dc:creator><title>ASP.Net 2.0 Roadshow in Dublin</title><link>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/03/07/312.aspx</link><pubDate>Mon, 07 Mar 2005 10:14:00 GMT</pubDate><guid>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/03/07/312.aspx</guid><wfw:comment>http://www.styledesign.biz/weblogs/macinnesm/comments/312.aspx</wfw:comment><comments>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/03/07/312.aspx#Feedback</comments><slash:comments>33</slash:comments><wfw:commentRss>http://www.styledesign.biz/weblogs/macinnesm/comments/commentRss/312.aspx</wfw:commentRss><trackback:ping>http://www.styledesign.biz/weblogs/macinnesm/services/trackbacks/312.aspx</trackback:ping><description>&lt;P&gt;Following my talk on Securing ASP.Net Applications at last Friday&amp;#8217;s Dublin leg of Microsoft&amp;#8217;s &lt;A href="http://www.microsoft.com/emea/msdn/aspontour/default.aspx"&gt;ASP.Net 2.0 European Roadshow&lt;/A&gt;, there were a couple of requests for the slides and code samples. They can be downloaded from &lt;A href="http://styledesign.biz/downloads/2005/03/Securing ASP.Net Applications.zip"&gt;here&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;Talking with developers afterwards in the bar, it was really interesting to see how many of them had heard of SQL Injection and XSS attacks but had not actually realised how vulnerable an application and the other applications which share the same database can be. Most had never actually seen how an attack would be carried out.&lt;/P&gt;
&lt;P&gt;I demonstrated how security on a web site can be compromised by taking advantage of holes within the application code. These holes can be discovered by using a series of probes which disclose whether or not vulnerability exists. &lt;/P&gt;
&lt;P&gt;The demonstration attacked the site&amp;#8217;s Login page to discover vulnerabilities. These were then exploited to bypass the application security altogether. We were then able to take control of the database for this and other applications which share the database, create our own login accounts with administrative privileges and access the site&amp;#8217;s customer&amp;#8217;s credit card information.&lt;/P&gt;
&lt;P&gt;I also demonstrated using a Cross Site Scripting attack how the Forms Authentication cookie could be stolen and silently sent to an attacker&amp;#8217;s website to be stored for later use. Once the attacker is in position of this cookie, they would be able to login to the original web site using someone else&amp;#8217;s authentication token. &lt;/P&gt;
&lt;P&gt;The key message of the talk was to ensure that all user input is validated before any other processing is done. This together with strict use of secure coding standards would have disabled any attacker&amp;#8217;s opportunities. &lt;/P&gt;
&lt;P&gt;For more information on writing secure code, please feel free to contact me. &lt;/P&gt;
&lt;P&gt;And many thanks to Microsoft for asking me to speak at this great event with the &lt;A href="http://www.microsoft.com/emea/msdn/aspontour/speakers.aspx"&gt;ASP.NET team&lt;/A&gt;!&lt;/P&gt;&lt;img src ="http://www.styledesign.biz/weblogs/macinnesm/aggbug/312.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Marcus Mac Innes</dc:creator><title>Captcha to Remove Comment SPAM for .Text</title><link>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/01/07/304.aspx</link><pubDate>Fri, 07 Jan 2005 17:07:00 GMT</pubDate><guid>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/01/07/304.aspx</guid><wfw:comment>http://www.styledesign.biz/weblogs/macinnesm/comments/304.aspx</wfw:comment><comments>http://www.styledesign.biz/weblogs/macinnesm/archive/2005/01/07/304.aspx#Feedback</comments><slash:comments>42</slash:comments><wfw:commentRss>http://www.styledesign.biz/weblogs/macinnesm/comments/commentRss/304.aspx</wfw:commentRss><trackback:ping>http://www.styledesign.biz/weblogs/macinnesm/services/trackbacks/304.aspx</trackback:ping><description>&lt;P&gt;Recently, I've been getting inundated with comment SPAM on my blog... &lt;/P&gt;
&lt;P&gt;Luckily &lt;A href="http://blogs.clearscreen.com/migs/archive/2004/11/10/575.aspx"&gt;Miguel Jimenez&lt;/A&gt;&amp;nbsp;has implemented a cool little Captcha control which is easily integrated with .Text to provide protected from the Viagra salespeople. The control has now been installed on this blog!&lt;/P&gt;
&lt;P&gt;BTW - Make sure you install the &lt;A href="http://blogs.clearscreen.com/migs/files/Clearscreen_SharpHIP_1_2.zip"&gt;v1.2&lt;/A&gt; update, although the ReadMe.txt is included with the &lt;A href="http://blogs.clearscreen.com/migs/files/Clearscreen_SharpHIP_1_1.zip"&gt;v1.1&lt;/A&gt; download.&lt;/P&gt;

UPDATE: &lt;A href="http://blogs.clearscreen.com/migs/archive/2005/02/01/905.aspx"&gt;New Version 1.3&lt;/A&gt;&lt;img src ="http://www.styledesign.biz/weblogs/macinnesm/aggbug/304.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Marcus Mac Innes</dc:creator><title>B.AG Blog Aggregator Goes Live</title><link>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/29/273.aspx</link><pubDate>Mon, 29 Nov 2004 17:51:00 GMT</pubDate><guid>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/29/273.aspx</guid><wfw:comment>http://www.styledesign.biz/weblogs/macinnesm/comments/273.aspx</wfw:comment><comments>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/29/273.aspx#Feedback</comments><slash:comments>73</slash:comments><wfw:commentRss>http://www.styledesign.biz/weblogs/macinnesm/comments/commentRss/273.aspx</wfw:commentRss><trackback:ping>http://www.styledesign.biz/weblogs/macinnesm/services/trackbacks/273.aspx</trackback:ping><description>&lt;P&gt;When we launched &lt;A href="http://www.developers.ie/"&gt;INDA&lt;/A&gt; at &lt;A href="http://www.developers.ie/"&gt;www.developers.ie&lt;/A&gt; a couple of weeks ago, we integrated the &lt;A href="http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=e99fccb3-1a8c-42b5-90ee-348f6b77c407"&gt;.Text&lt;/A&gt; blog engine so that our members (most of whom were new to blogging)&amp;nbsp;could have their own blogs on the site. I also created a blog there, but soon I was getting frustrated by having to cross post blog entries both on my own blog here at &lt;A HREF=" "&gt;www.styledesign.biz &lt;/A&gt;and on &lt;A href="http://www.developers.ie/"&gt;www.developers.ie&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;I wanted a simple blog aggregagtor, so that I could automatically pull my most recent posts onto the site without having to cross post. It was during my search for a suitable piece of software that I came across &lt;A href="http://www.enderminh.com/blog/"&gt;Minh T. Nguyen&lt;/A&gt;'s &lt;A href="http://www.enderminh.com/netdev/"&gt;.NET Blog Aggregator&lt;/A&gt; (&lt;A href="http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/10/219.aspx"&gt;which I blogged about previously&lt;/A&gt;) and decided that if there was nothing available for download, I would write my own...&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.styledesign.biz/portfolio_bag.aspx"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;log &lt;STRONG&gt;AG&lt;/STRONG&gt;gregator&lt;/A&gt; &lt;IMG src="http://www.styledesign.biz/images/portfolio/bag/baglogo96x70.gif" align=absMiddle&gt; was born!&lt;/P&gt;
&lt;P&gt;Running stand-alone or on top of &lt;A href="http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=e99fccb3-1a8c-42b5-90ee-348f6b77c407"&gt;.Text&lt;/A&gt; &lt;A href="http://www.styledesign.biz/portfolio_bag.aspx"&gt;B.AG&lt;/A&gt; pulls content from subscribed RSS feeds and presents the combined content in a&amp;nbsp;sorted, categorised format. I will more than likely blog about the internal design at some point, but for now, you can see &lt;A href="http://www.styledesign.biz/portfolio_bag.aspx"&gt;B.AG&lt;/A&gt; (Beta 1) in action at &lt;A href="http://www.developers.ie/blogs/"&gt;http://www.developers.ie/blogs/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you would like to incorporate &lt;IMG src="http://www.styledesign.biz/images/portfolio/bag/bag88x31.gif" align=absMiddle&gt; into your site... just let me know. Marcus&lt;/P&gt;&lt;img src ="http://www.styledesign.biz/weblogs/macinnesm/aggbug/273.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Marcus Mac Innes</dc:creator><title>ASP.NET 2.0 and Cross Browser Support</title><link>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/10/218.aspx</link><pubDate>Wed, 10 Nov 2004 09:36:00 GMT</pubDate><guid>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/10/218.aspx</guid><wfw:comment>http://www.styledesign.biz/weblogs/macinnesm/comments/218.aspx</wfw:comment><comments>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/11/10/218.aspx#Feedback</comments><slash:comments>143</slash:comments><wfw:commentRss>http://www.styledesign.biz/weblogs/macinnesm/comments/commentRss/218.aspx</wfw:commentRss><trackback:ping>http://www.styledesign.biz/weblogs/macinnesm/services/trackbacks/218.aspx</trackback:ping><description>&lt;P&gt;&lt;A href="http://weblogs.asp.net/scottgu"&gt;Scott Guthrie&lt;/A&gt; posted a&amp;nbsp;note on his blog &lt;A href="http://weblogs.asp.net/scottgu/archive/2004/11/09/254583.aspx"&gt;here&lt;/A&gt; about the new cross browser support for ASP.NET validators in the upcoming ASP.NET v2.0 (Whidbey) Beta 2. Scott also mentions that this functionality will be retro fitted back into ASP.NET v1.0 and v1.1. Does this mean that maybe another service pack is in the pipeline for 1.1?&lt;/P&gt;
&lt;P&gt;While this move is to be welcomed, I would like to see Microsoft state their overall position with regard to cross browser support. There are a lot of new "gadgets" in the new ASP.NET v2.0, but unless you are working on projects for Intranet deployment, we can't be sure that any of them will be of any real use.&lt;/P&gt;
&lt;P&gt;One of the most understated new features of this next release is Client Callbacks with some info &lt;A href="http://www.nikhilk.net/Entry.aspx?id=35"&gt;here&lt;/A&gt;, &lt;A href="http://weblogs.asp.net/dneimke/archive/2004/06/24/163561.aspx"&gt;here&lt;/A&gt; and &lt;A href="http://enderminh.com/blog/archive/2004/05/04/179.aspx"&gt;here&lt;/A&gt;. Asynchronous callbacks from within a web page is certainly not new, but this little control is going to take all the hastle out of the difficult plumbing. The only problem is that currently this feature is IE specific (XmlHTTP is a dependency) which is my view severely limits its usefulness.&amp;nbsp;&lt;A href="http://normen.mine.nu/myblog/"&gt;Fredrik Norm&amp;#233;n&lt;/A&gt;&amp;nbsp;points out a new property added to the HttpBrowserCapabilities class that could be used to check if the browser support Client Callbacks "SupportsCallBack"... but this doesn't make it any more useful for real world web based applications. Back in June I posted a comment on &lt;A href="http://enderminh.com/blog/"&gt;Minh T. Nguyen&lt;/A&gt; blog pointing out that Mozilla had support for XmlHTTP but unfortunately the Javascript injected by ASP.NET&amp;nbsp;is IE specific! I ask him this question directly and you can read his response &lt;A href="http://enderminh.com/blog/archive/2004/05/04/179.aspx#182"&gt;here&lt;/A&gt;. We can only wait and see if the IE Specific Javascript issues has been fixed in Beta2 for the final release...&lt;/P&gt;
&lt;P&gt;How many other controls fall foul of this same problem?&lt;/P&gt;&lt;img src ="http://www.styledesign.biz/weblogs/macinnesm/aggbug/218.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Marcus Mac Innes</dc:creator><title>.NET 2.0 Beta 2 May Be Around The Corner...</title><link>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/10/23/206.aspx</link><pubDate>Sat, 23 Oct 2004 23:43:00 GMT</pubDate><guid>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/10/23/206.aspx</guid><wfw:comment>http://www.styledesign.biz/weblogs/macinnesm/comments/206.aspx</wfw:comment><comments>http://www.styledesign.biz/weblogs/macinnesm/archive/2004/10/23/206.aspx#Feedback</comments><slash:comments>229</slash:comments><wfw:commentRss>http://www.styledesign.biz/weblogs/macinnesm/comments/commentRss/206.aspx</wfw:commentRss><trackback:ping>http://www.styledesign.biz/weblogs/macinnesm/services/trackbacks/206.aspx</trackback:ping><description>&lt;P&gt;&lt;A href="http://weblogs.asp.net/scottgu"&gt;Scott Guthrie&lt;/A&gt; has &lt;A href="http://weblogs.asp.net/scottgu/archive/2004/10/23/246707.aspx"&gt;returned to blogging&lt;/A&gt; with &lt;A href="http://weblogs.asp.net/scottgu/archive/2004/10/23/246709.aspx"&gt;this insightful blog&lt;/A&gt; about some of the internal project management and testing&amp;nbsp;techniques currently being adopted by the ASP.NET team for the next release of Microsoft ASP.NET 2.0, Beta 2.&lt;/P&gt;
&lt;P&gt;Interestingly, Scott mentions that the Beta 2 milestone is now only 3 weeks away... Positive news after this week's &lt;A href="http://www.theserverside.net/news/thread.tss?thread_id=29537"&gt;announcement of yet another delay&lt;/A&gt; to the final release of VS.NET 2.0 and SQL Server 2005.&lt;/P&gt;
&lt;P&gt;Maybe it's the SQL Server team delaying things this time in an attempt to put back the &lt;A href="http://www.styledesign.biz/weblogs/macinnesm/archive/2004/09/22/197.aspx"&gt;diagram&lt;/A&gt;!&lt;/P&gt;&lt;img src ="http://www.styledesign.biz/weblogs/macinnesm/aggbug/206.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>