﻿<?xml version="1.0" encoding="utf-8"?><rss 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:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - async</title><link>http://www.intersoftsolutions.com/Community/Tags/async/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to write async operations in Intersoft WebApi based ApiControllers?</title><link>http://www.intersoftsolutions.com/Community/Tags/async/</link><pubDate>Wed, 31 Dec 2014 07:24:41 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><category>async</category><category>WebApi</category><description>&lt;p&gt;Intersoft WebApi Controllers support sync methods, but I cannot find a way to use them in async mode. As you know, the async methods are supported by the latest version of WebApi 2, it can increase performance significantly. Please take a look.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Maybe the code can be generated as below:&lt;/p&gt;&lt;pre&gt;[HttpGet]public async Task&amp;lt;QueryResult&amp;gt; Categories(ODataQueryOptions&amp;lt;Category&amp;gt; options)
{
	return await this.ToQueryResultAsync&amp;lt;Category&amp;gt;(db.Context.Categories, options);
}&lt;/pre&gt;</description></item></channel></rss>