<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx</link><description>The question “ Is Jasper useable from c#? ” came up on the Jasper forum . The short answer is – We designed Jasper specifically for CLR languages with late-bound facilities such as VB and IronPython. C# doesn’t currently support late-bound calls and hence</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#2414965</link><pubDate>Fri, 04 May 2007 23:52:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2414965</guid><dc:creator>Andres Aguiar</dc:creator><description>&lt;p&gt;Why don't you build a BuildProvider for ASP.NET that generates the classes dynamically? That way you don't need late binding and you can use it from C# in ASP.NET.&lt;/p&gt;</description></item><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#2419818</link><pubDate>Sat, 05 May 2007 05:34:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2419818</guid><dc:creator>aconrad</dc:creator><description>&lt;p&gt;For a few reasons we don't use ASP.net build providers:&lt;/p&gt;
&lt;p&gt;1) &amp;nbsp;We also want to support Avalon and winform apps with the same Jasper API and experience. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) &amp;nbsp;ASP.Net build providers statically generate code - not dynamically at runtime like Jasper. &amp;nbsp;So in reality, this would not be a huge improvement over the EDMGen utility currently being shipped as part of the Entity Framework. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;3) &amp;nbsp;We are trying to make Jasper a data access API geared toward iterative &amp;amp; agile development. &amp;nbsp;This means supporting scenarios like changing the database without recompiling the app and working in interactive environments like the Python REPL utility – either of which will work with build providers as they exist today.&lt;/p&gt;
</description></item><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#2459475</link><pubDate>Mon, 07 May 2007 10:48:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2459475</guid><dc:creator>Panagiotis Kanavos</dc:creator><description>&lt;p&gt;Aren't C# type inference, extension methods and the like enough to implement Jasper's functionality? Why should a project that uses Jasper have to use a late binding language? &lt;/p&gt;
&lt;p&gt;There are over 30 ORMs and frameworks in the market that don't have this limitation which use every conceivable method from Dynamic Methods (NHibernate) to Reflection to code generation, that don't have any language dependencies.&lt;/p&gt;
&lt;p&gt;Furthermore, the agile community is predominantly C# oriented. &amp;nbsp;By providing a VB only data access API you may annoy the very crowd you are trying to please.&lt;/p&gt;</description></item><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#2478084</link><pubDate>Tue, 08 May 2007 14:51:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2478084</guid><dc:creator>Andres Aguiar</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt;OK about 1 and 2&lt;/p&gt;
&lt;p&gt;On 3, it's true, but from the development experience point of view is equivalent (or actually better as you have intellisense) as the compilation is performed at runtime. &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description></item><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#2816892</link><pubDate>Wed, 23 May 2007 17:29:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2816892</guid><dc:creator>Steve</dc:creator><description>&lt;p&gt;// can now call&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var stories = myDynamicContext.GetQuery(&amp;quot;Stories&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Story myStory = stories(0); //get first story&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;myStory.Title = &amp;quot;New Story Title&amp;quot;; &lt;/p&gt;
&lt;p&gt;This code will not work... stories(0) was probably ment as stories[0] but the stories instance has no type information... So I guess what it ment to be was:&lt;/p&gt;
&lt;p&gt;// can now call&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var stories = myDynamicContext.GetQuery&amp;lt;Story&amp;gt;(&amp;quot;Stories&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Story myStory = stories[0]; //get first story&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;myStory.Title = &amp;quot;New Story Title&amp;quot;; &lt;/p&gt;</description></item><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#3084907</link><pubDate>Mon, 04 Jun 2007 22:07:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3084907</guid><dc:creator>aconrad</dc:creator><description>&lt;p&gt;thanks - fixed the array indexer call. &amp;nbsp; It is hard constantly switching between languages.&lt;/p&gt;
&lt;p&gt;However, note when you call GetQuery, you don't need to specify the type T. &amp;nbsp;We have a non-generic version.&lt;/p&gt;
</description></item><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#9187824</link><pubDate>Tue, 09 Dec 2008 23:44:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9187824</guid><dc:creator>Jason Kergosien</dc:creator><description>&lt;p&gt;I heard a while back that Project Jasper was discontinued, but the code may be used somewhere in ADO.NET.&lt;/p&gt;
&lt;p&gt;Where can we get some information on this?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jason Kergosien&lt;/p&gt;</description></item><item><title>re: Jasper and C#</title><link>http://blogs.msdn.com/aconrad/archive/2007/05/04/jasper-and-c.aspx#9202847</link><pubDate>Fri, 12 Dec 2008 20:30:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9202847</guid><dc:creator>aconrad</dc:creator><description>&lt;p&gt;Not that I know of. &amp;nbsp;We have been waiting for the DLR to mature before proceeding with dynamic languages.&lt;/p&gt;
</description></item></channel></rss>