<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from JSP/Servlets to ASP.NET</title><link>http://forums.asp.net/45.aspx</link><description>Discuss moving from JSP/Servlets to ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Migration of .Net web application into a J2EE application.</title><link>http://forums.asp.net/thread/3559654.aspx</link><pubDate>Fri, 11 Dec 2009 07:22:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3559654</guid><dc:creator>GurpreetKaur</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3559654.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=3559654</wfw:commentRss><description>&lt;p&gt;I have a web application which is coded in .Net framework.&lt;/p&gt;
&lt;p&gt;And I need to port it into J2EE application.&lt;/p&gt;
&lt;p&gt;Is there any technique available which can convert .Net web application into a J2EE application?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;
Gurpreet&lt;/p&gt;</description></item><item><title>can someone show me how to convert this into c# </title><link>http://forums.asp.net/thread/3540283.aspx</link><pubDate>Mon, 30 Nov 2009 20:49:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3540283</guid><dc:creator>gissah</dc:creator><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3540283.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=3540283</wfw:commentRss><description>&lt;p&gt;&amp;lt;APPLET NAME=&amp;quot;Ticker2&amp;quot;&lt;br /&gt;CODE=&amp;quot;Ticker.class&amp;quot;&lt;br /&gt;ARCHIVE=&amp;quot;Ticker.jar&amp;quot;&lt;br /&gt;CODEBASE=&amp;quot;http://java.barchart.com/ticker&amp;quot;&lt;br /&gt;HEIGHT=&amp;quot;48&amp;quot;&lt;br /&gt;WIDTH=&amp;quot;450&amp;quot;&lt;br /&gt;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;panels&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:symbols&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;&amp;#39;Indices,$NASX:Nasdaq,$NYS:NYSE,$IUX:Russell,$VLA:Value Line&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:scroll&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;-1, 100&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:bgcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#0000FF&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:fgcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#FFFFFF&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:pscolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#00CC00&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:ngcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#FF3333&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:hilight&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#FFFF00&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;1:font&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;Arial, Normal, 10&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:symbols&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;&amp;#39;Stocks,MSFT:Microsoft,IBM,QQQQ,SIEB:Siebert,TSA:Sports Authority,EBAY,YHOO:Yahoo!&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:scroll&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;-1, 200&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:bgcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#FFFFFF&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:fgcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#000000&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:pscolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#00AA00&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:ngcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#AA0000&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:hilight&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#0000FF&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;2:font&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;Arial, Normal, 10&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:symbols&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;&amp;#39;Commodities,CZ7:Dec Corn,LHY0:Lean Hogs Spot,SPZ7:S&amp;amp;P 500 Futures&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:scroll&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;-1,&amp;nbsp; 50&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:bgcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#333333&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:fgcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#FFFFFF&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:pscolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#00CC00&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:ngcolor&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#FF3333&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:hilight&amp;quot;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;#CCFFFF&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;PARAM NAME=&amp;quot;3:font&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE=&amp;quot;Arial, Normal, 10&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/APPLET&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How can i include a .jar in my web site?</title><link>http://forums.asp.net/thread/3428843.aspx</link><pubDate>Mon, 28 Sep 2009 12:22:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3428843</guid><dc:creator>xtinction84</dc:creator><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3428843.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=3428843</wfw:commentRss><description>&lt;p&gt;I need to integrate &lt;a href="http://jmathtools.berlios.de/doku.php" rel="nofollow"&gt;JMathPlot&lt;/a&gt;.jar in my web site.but i dont know how. &lt;/p&gt;&lt;p&gt;It is possible? I want to put a scatter plot in 3D in my site. &lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Java to C# or C# to Java?</title><link>http://forums.asp.net/thread/3526109.aspx</link><pubDate>Sun, 22 Nov 2009 06:30:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526109</guid><dc:creator>thuhue</dc:creator><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526109.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=3526109</wfw:commentRss><description>&lt;p&gt;Has anyone switched from Java to C# (optional: then from C# back to Java)? Please share your experience with us.&lt;/p&gt;</description></item><item><title>ASP.NET - JAVA Bridge</title><link>http://forums.asp.net/thread/2382442.aspx</link><pubDate>Tue, 27 May 2008 09:59:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2382442</guid><dc:creator>cubee</dc:creator><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/2382442.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2382442</wfw:commentRss><description>&lt;p&gt;Hey my question isn&amp;#39;t exactly about &amp;quot;Migrating&amp;quot; but more about&lt;span style="font-size:10pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt; integrating.&lt;/span&gt;&lt;br /&gt;I wish to merge ASP.NET with Java. I&amp;#39;ve looked around, and saw that over JAVA boards people praising &amp;quot;Mainsoft&amp;quot;..&lt;br /&gt;&lt;br /&gt;So I made some searches and found that they got &lt;span style="font-size:10pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;a href="http://www.mainsoft.com/solutions/interoperability.aspx"&gt;Java .NET Interop&lt;/a&gt; solution - And I wish to get some honest &lt;/span&gt;objective from ASP.net fans &lt;img src="http://forums.asp.net/emoticons/emotion-13.gif" alt="Angel" /&gt;&lt;/p&gt;&lt;p&gt;This page over their website saying their software make capable to companies to deploy ASP.NET applications as pure JSR 
															168 portlets. &lt;/p&gt;&lt;p&gt;Anyone ever had any good experience with them?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Convert Java code to C#</title><link>http://forums.asp.net/thread/2699880.aspx</link><pubDate>Wed, 22 Oct 2008 15:05:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2699880</guid><dc:creator>olaamigos</dc:creator><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/2699880.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2699880</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I need to convert the Java code to C#, Can anyone help me?&amp;nbsp; This is urgent, Thanks&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; decrypt(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; key, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; cypherText)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;byte&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;[] bytes = toBytes(cypherText);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; newClearText = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;try&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;{&lt;/p&gt;DESKeySpec desKey = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; DESKeySpec(key.getBytes());&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Key&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; cypherKey = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Key&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SecretKeySpec(desKey.getKey(), &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;DES&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;Cipher des = Cipher.getInstance(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;DES/CBC/PKCS5Padding&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;des.init(Cipher.DECRYPT_MODE, cypherKey, paramSpec);&lt;/p&gt;newClearText = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(des.doFinal(bytes));&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Exception&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; excep)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;System&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.out.println(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Decrypt Error:&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;excep.printStackTrace();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; newClearText;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;</description></item><item><title>J2EE to .NET Conversion</title><link>http://forums.asp.net/thread/3301442.aspx</link><pubDate>Sat, 18 Jul 2009 14:16:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3301442</guid><dc:creator>HKM</dc:creator><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3301442.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=3301442</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a J2EE Application written in Java 1.5 which I need to convert to .NET architecture. Could you please let me know if there are any tools available for converting the application completely&amp;nbsp;with minimal manual intervention?&lt;/p&gt;
&lt;p&gt;If I need to develop a tool to that can do this conversion(so that future versions also can be converted easily) what is the approach I should take? Any inputs on this would be really helpful as I am relatively new to .NET.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;HKM&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Somthing similar to AJP13-Protocoll </title><link>http://forums.asp.net/thread/3299240.aspx</link><pubDate>Fri, 17 Jul 2009 09:28:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3299240</guid><dc:creator>jupp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3299240.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=3299240</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi there,&lt;br /&gt;&lt;br /&gt;From the java world I am familiar with the AJP13-Protocoll to connect Apache (&amp;nbsp;located in a DMZ)&amp;nbsp;to a tomcat App-Servers.&amp;nbsp;This Approch means, that&amp;nbsp;the Apache-Server acts like a Proxy&amp;nbsp;for the&amp;nbsp;Tomcat für dynamic content (JSP-Pages). The Communication betwenn this&amp;nbsp;thiers&amp;nbsp;is based on the AJP13 Protocoll. I would&amp;nbsp;use a similar Approch for a&amp;nbsp;Aps.NET Project. Is this&amp;nbsp;approöch possible with&amp;nbsp;the&amp;nbsp;.NET&amp;nbsp;Tech Stack.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Josef&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Are there any tools for migrating Java application to .Net platform?</title><link>http://forums.asp.net/thread/3108589.aspx</link><pubDate>Tue, 21 Apr 2009 20:15:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3108589</guid><dc:creator>w9510055</dc:creator><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3108589.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=3108589</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m working on a project to migrate a Java application (client/server) and a powerbuild application (client/server) to the .Net platform.&lt;/p&gt;&lt;p&gt;Are there any tools available in the market to assist the migration or conversion from Java and powerbuilder to the .Net platform?&lt;/p&gt;&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Harry&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Mapped Diagnostic context for .net</title><link>http://forums.asp.net/thread/2924726.aspx</link><pubDate>Sun, 08 Feb 2009 03:48:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2924726</guid><dc:creator>sosmary</dc:creator><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2924726.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2924726</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have used the Mapped Diagnostic Context (MDC) in Java to store local values to be used later for logging purposes like the username, sessionId, etc.&amp;nbsp; Currently we are converting to .Net and we want to make use of the Enterprise Library 4.0. for logging and exception handling.&amp;nbsp;&amp;nbsp;&amp;nbsp;I am looking for the MDC equivalent for .Net. Any leads on this will be very useful.&lt;/p&gt;
&lt;p&gt;I appreciate all your useful inputs.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;sosmary&lt;/p&gt;</description></item><item><title>Form Processing Question</title><link>http://forums.asp.net/thread/2989911.aspx</link><pubDate>Sat, 07 Mar 2009 18:41:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2989911</guid><dc:creator>aburningflame</dc:creator><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2989911.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2989911</wfw:commentRss><description>&lt;p&gt;I know i can set a form action to &amp;quot;&amp;quot; and have it be processed by the page its on.&lt;br /&gt;However, This isnt good practice especially for large applications&lt;/p&gt;&lt;p&gt;&amp;nbsp;In JSP you have a form, it gets submitted to a servlet, that servlet processes it, then sends an appropriate redirect&lt;/p&gt;&lt;p&gt;Ex: form action=&amp;quot;loginHandler.jsp&amp;quot;&amp;gt;&amp;gt;&amp;gt;loginHandler.jsp(process &amp;amp; send redirect)&amp;gt;&amp;gt;failedLogin.jsp or home.jsp;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Is there an equivalent to this in ASP.net? Heres what Im trying to do&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;form id=&amp;quot;loginForm&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;formProcessors/loginHandler.aspx&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;span class=&amp;quot;label&amp;quot;&amp;gt;Username:&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input class=&amp;quot;text&amp;quot; type=&amp;quot;text&amp;quot; name=&amp;quot;username&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;span class=&amp;quot;label&amp;quot;&amp;gt;Password:&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input class=&amp;quot;text&amp;quot; type=&amp;quot;password&amp;quot; name=&amp;quot;password&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;submit&amp;quot; class=&amp;quot;center&amp;quot; value=&amp;quot;Log in&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fieldset&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;/p&gt;&lt;p&gt;In my loginHandler.aspx on page load, I do:&lt;br /&gt;If(isPostBack){//process}&lt;/p&gt;&lt;p&gt;&amp;nbsp;When I click the login button on my form..nothing happens &lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to generate auto secret key in asp.net</title><link>http://forums.asp.net/thread/2965192.aspx</link><pubDate>Wed, 25 Feb 2009 09:38:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2965192</guid><dc:creator>thanigaimaniveena</dc:creator><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/2965192.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2965192</wfw:commentRss><description>&lt;p&gt;Dear Experts,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I had one function in converted from java for generate the auto secret key purpose for encrypt and decrypt the using using AES algorithm..when i used this function in .net its showing &lt;font size="2"&gt;&lt;strong&gt;SecretKeySpec &lt;/strong&gt;and &lt;strong&gt;KeyGenerator&amp;nbsp;&amp;nbsp;&lt;/strong&gt;is not defined.Even i used &lt;font size="2"&gt;&lt;strong&gt;System.Security.Cryptography &lt;/strong&gt;header name space also.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;I give the my codes.If any body know&amp;nbsp;help me &amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Private&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Function&lt;/font&gt;&lt;font size="2"&gt; keygeneration() &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; SecretKeySpec&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; skeySpec &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; SecretKeySpec = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Nothing&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Try&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; kgen &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; KeyGenerator = KeyGenerator.getInstance(&amp;quot;AES&amp;quot;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;kgen.init(128)&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; skey &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; SecretKey = kgen.generateKey()&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; key() &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; SByte = skey.getEncoded()&lt;/p&gt;skeySpec = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; SecretKeySpec(key, &amp;quot;AES&amp;quot;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Catch&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; Exception&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;Response.Write(e.Message)&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Try&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Return&lt;/font&gt;&lt;font size="2"&gt; skeySpec&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Function&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;Reply me&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;Thanx&amp;nbsp;&amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Thanigaimani&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Java Web Service responds to either of two RequestNamespaces.</title><link>http://forums.asp.net/thread/2963871.aspx</link><pubDate>Tue, 24 Feb 2009 19:54:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2963871</guid><dc:creator>ITMPdev</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2963871.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2963871</wfw:commentRss><description>&lt;p&gt;I have the thankless task of moving some of our existing web services from a Java based solution to ASP.Net.&amp;nbsp; During the testing, we have discovered that we have clients that access the&amp;nbsp;service using different wsdl definitions.&amp;nbsp; The definitions appear identical except that the RequestNamespace has been changed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I realize that once a service is released, the namespace shouldn&amp;#39;t be changed.&amp;nbsp; However, that was done long before I got here.&amp;nbsp; The question now is: how can I make an ASP.Net web service respond to the request no matter which namespace the client uses?&amp;nbsp; Fixing the clients to be consistent isn&amp;#39;t an option.&amp;nbsp; This is supposed to be a back-end infrastructure upgrade that doesn&amp;#39;t affect clients.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Medical system in JSP of capnography - how to read DB in ASP.NET?</title><link>http://forums.asp.net/thread/2771987.aspx</link><pubDate>Thu, 27 Nov 2008 18:05:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2771987</guid><dc:creator>cohennir</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2771987.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2771987</wfw:commentRss><description>&lt;p&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;I have to handle a system for hospital. I&amp;#39;ve&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt; got an important data getting from a system by &amp;quot;Oridion&amp;quot; which is JSP - after I checked their website (it says data is about &lt;a href="http://www.oridion.com/"&gt;capnography&lt;/a&gt; area to monitor info for people). DB got to be available in ASP.NET for the new system to &lt;/span&gt;&lt;/span&gt;acquire &lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;physiologic status from all patients.&lt;br /&gt;&lt;br /&gt;How can you help me with that? any &lt;/span&gt;&lt;/span&gt;guide? any efforts like that with this kind of medical systems?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Any metrics or experience of JCLA?</title><link>http://forums.asp.net/thread/2707681.aspx</link><pubDate>Mon, 27 Oct 2008 07:45:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2707681</guid><dc:creator>Mike XP</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2707681.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2707681</wfw:commentRss><description>&lt;p&gt;I have a project which involves moving an existing JSP application into DOT.NET to comply with corporate strategy. Nobody however has any idea how to size this. Have you had any experience, or do you know where any metrics are published?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Java Solution (Hardware environments) to ASP.NET (Hardware environments) ??</title><link>http://forums.asp.net/thread/2707004.aspx</link><pubDate>Sun, 26 Oct 2008 18:14:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2707004</guid><dc:creator>DavidatWork</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2707004.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2707004</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I currently run a Windows 2003 web server and iis 6.0 which is behind a firewall. I also have a Windows 2003 application server that is behind an additional firewall.&lt;/p&gt;&lt;p&gt;The iis web server passes .jsp pages to the Tomcat application server via the iisTomcatRedirector.&lt;/p&gt;&lt;p&gt;My question is, what is the best approach (hardware wise) to accomplish the same thing for .net?&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want to be able to do the same sort of redirect, if possible, for .net as I do in the Tomcat instance. Is there a similar solution for IIS and .net or do they both have to running on the same physical machine?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank in advance....&lt;/p&gt;&lt;p&gt;David &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Content repository like JSR-170 in .net?</title><link>http://forums.asp.net/thread/2092163.aspx</link><pubDate>Sat, 05 Jan 2008 18:25:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2092163</guid><dc:creator>OesisAcc2</dc:creator><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/2092163.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2092163</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;br /&gt;&lt;br /&gt;From the java world I am familiar with the java content repository as a standard, implementation independent way to access content bi-directionally on a granular level. (It&amp;#39;s basically a standard for content repositories for content management systems, or as they call it &amp;quot;a high-level information management system that is a superset of traditional data repositories, [which] implements &amp;#39;content services&amp;#39; such as: author based versioning, full textual searching, fine grained access control, content categorization and content event monitoring.&amp;quot;)&lt;br /&gt;&lt;br /&gt;I was wondering if such a specification exists in the .net universe, or if anybody has developed an implementation API for .net of the java content repository.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Matthias :)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Equivalent techniques in C#/Asp.Net for J2EE's Filter, FilterChain, FiterConfig </title><link>http://forums.asp.net/thread/2605587.aspx</link><pubDate>Sun, 07 Sep 2008 18:11:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2605587</guid><dc:creator>koundinya75</dc:creator><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/2605587.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2605587</wfw:commentRss><description>&lt;br /&gt;&lt;p&gt;Dear all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I would like to know equivalent technique to adopt in C# for J2EEs &amp;quot;request filter&amp;quot; technologies (&lt;a href="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/package-summary.html" title="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/package-summary.html" target="_blank"&gt;http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/package-summary.html)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;such as Filter, FilterChain, FilterConfig&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;&lt;p&gt;Sudhakar&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Convert A Java Code To C#</title><link>http://forums.asp.net/thread/2663039.aspx</link><pubDate>Sat, 04 Oct 2008 17:02:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2663039</guid><dc:creator>ExtremeDevilz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2663039.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2663039</wfw:commentRss><description>&lt;table class="code"&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L75"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L76"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L77"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;In Java Need Convert In C# Thanks&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L78"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L79"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;public MapleAESOFB(byte[] key, byte[] iv, short mapleVersion)&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SecretKeySpec skeySpec = new SecretKeySpec(key, &amp;quot;AES&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.cipher = Cipher.getInstance(&amp;quot;AES&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (NoSuchAlgorithmException e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.log.error(&amp;quot;ERROR&amp;quot;, e);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (NoSuchPaddingException e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.log.error(&amp;quot;ERROR&amp;quot;, e);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.cipher.init(1, skeySpec);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (InvalidKeyException e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.log.error(&amp;quot;Error initalizing the encryption cipher.&amp;nbsp; Make sure you&amp;#39;re using the Unlimited Strength cryptography jar files.&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setIv(iv);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.mapleVersion = (short)(mapleVersion &amp;gt;&amp;gt; 8 &amp;amp; 0xFF | mapleVersion &amp;lt;&amp;lt; 8 &amp;amp; 0xFF00);&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L80"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L81"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L82"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L83"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L84"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L85"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L86"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L87"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L88"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L89"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L90"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L91"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L92"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L93"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L94"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L95"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id="L96"&gt;&lt;br /&gt;&lt;/th&gt;&lt;td&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</description></item><item><title>Deployment Archive</title><link>http://forums.asp.net/thread/2648963.aspx</link><pubDate>Fri, 26 Sep 2008 18:12:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2648963</guid><dc:creator>borgmark</dc:creator><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/2648963.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2648963</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Guys,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I do have one question with regards to ASP.net deployment. In java, we use .ear archives to deploy web applications. Is there something similar in .NET ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Signature in Java</title><link>http://forums.asp.net/thread/1475736.aspx</link><pubDate>Fri, 24 Nov 2006 18:40:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1475736</guid><dc:creator>crino</dc:creator><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/1475736.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=1475736</wfw:commentRss><description>&lt;p&gt;I've this code:&lt;br /&gt;&amp;nbsp; &lt;pre class=coloredcode&gt;Signature sigVer = Signature.getInstance(&lt;span class=st&gt;"SHA1withRSA"&lt;/span&gt;);
sigVer.initVerify(publicKey);
sigVer.update(barrayToEncrypt);
result = sigVer.verify(barrayToVerify);&lt;/pre&gt;&amp;nbsp; 
&lt;p&gt;how can convert to C# (ASP.NET 2.0)??&lt;br /&gt;I tried with: &lt;/p&gt;
&lt;p&gt;RSACryptoServiceProvider RSA = (RSACryptoServiceProvider)publicKey.Key; //publicKey is get from certificate file with X509Certificate2 class&lt;br /&gt;but wheni try to call RSA.Encrypt() i get 'The key status is invalid' or something like this&lt;br /&gt;&lt;br /&gt;Any idea?? :(&lt;/p&gt;&lt;/p&gt;</description></item><item><title>Java Web Service To Asp.net c#</title><link>http://forums.asp.net/thread/2301005.aspx</link><pubDate>Wed, 16 Apr 2008 09:15:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2301005</guid><dc:creator>p2mb2</dc:creator><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2301005.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2301005</wfw:commentRss><description>&lt;p&gt;Hi guys... I&amp;#39;m, back with another problem&amp;nbsp;&lt;img src="http://forums.asp.net/emoticons/emotion-18.gif" alt="Huh?" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve a Java WEB service (created with NetBeans 6.0) that recieves a xml file, use a class code to encript it and send the response back in Xml. As I&amp;#39;m a real noob in java, I was wondering if it&amp;#39;s possible to convert that WEB Service, or just the class (the web service is just an interface) to C#.net class. &lt;img src="http://forums.asp.net/emoticons/emotion-42.gif" alt="Confused" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;img src="http://forums.asp.net/emoticons/emotion-21.gif" alt="Yes" /&gt; &lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Reading a property file</title><link>http://forums.asp.net/thread/2446292.aspx</link><pubDate>Wed, 25 Jun 2008 14:10:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2446292</guid><dc:creator>bonafiden</dc:creator><slash:comments>8</slash:comments><comments>http://forums.asp.net/thread/2446292.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2446292</wfw:commentRss><description>&lt;p&gt;I need to read a property file, which is in the project folder, without exact indication of the location. In other words, I need analog of Java&amp;#39;s statement:&lt;/p&gt;&lt;font color="#008080" size="2"&gt;InputStream&lt;/font&gt;&lt;font size="2"&gt; propStream = &lt;/font&gt;&lt;font color="#008080" size="2"&gt;Thread&lt;/font&gt;&lt;font size="2"&gt;.currentThread().getContextClassLoader().getResourceAsStream(CONFIGURATION_RULES_FILE);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;How can I do this in ASP.NET?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Converting Java to C#</title><link>http://forums.asp.net/thread/2443294.aspx</link><pubDate>Tue, 24 Jun 2008 14:14:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2443294</guid><dc:creator>bonafiden</dc:creator><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/2443294.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2443294</wfw:commentRss><description>&lt;p&gt;I need to write in C# ASP.NET application analog of the following calls in Java:&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;Request.getSession(..)&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;objRequest.getSession()&lt;/font&gt;&lt;font size="2"&gt;.getAttribute(...)&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;objRequest.getRequestURI()&lt;/p&gt;
&lt;p&gt;How can I &amp;quot;translate&amp;quot; them to C#?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Converting a Java program into C# </title><link>http://forums.asp.net/thread/2413448.aspx</link><pubDate>Tue, 10 Jun 2008 14:01:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2413448</guid><dc:creator>bthumber</dc:creator><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/2413448.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2413448</wfw:commentRss><description>&lt;p&gt;I need to convert a program that was written in Java to C# and I am trying figure out the meaning of the below, can any help?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;CallableStatement cs = myConn.prepareCall(&amp;quot;{call matchHost(@pHost=?)}&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cs.setString(1, Name + &amp;quot;[a-z][a-z]&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ResultSet myHostsAlpha = cs.executeQuery();&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;while(&lt;strong&gt;myDouble.next&lt;/strong&gt;){...code is here...}&lt;/p&gt;
&lt;p&gt;What is a CallableStatement in C#&lt;/p&gt;
&lt;p&gt;what is a setString in C#&lt;/p&gt;
&lt;p&gt;what is a ResultSet in C#&lt;/p&gt;</description></item></channel></rss>