<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>.Net on Ash Tewari</title><link>https://www.tewari.info/tag/.net/</link><description>Recent content in .Net on Ash Tewari</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 10 Feb 2025 04:32:25 +0000</lastBuildDate><atom:link href="https://www.tewari.info/tag/.net/feed.xml" rel="self" type="application/rss+xml"/><item><title>SPCHR: Speech To Text App for Windows</title><link>https://www.tewari.info/2025/02/09/spchr-speech-to-text-app-for-windows/</link><pubDate>Mon, 10 Feb 2025 04:32:25 +0000</pubDate><guid isPermaLink="false">https://www.tewari.info/?p=1456</guid><description>&lt;p&gt;I&amp;rsquo;m excited to announce the release of SPCHR. Pronounced as &amp;ldquo;speaker&amp;rdquo;. I know, I know. My apologies, it was too late at night and that&amp;rsquo;s the best I could come up with ;)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It is a Windows desktop application for speech-to-text transcription.&lt;/li&gt;
&lt;li&gt;You can use it to &amp;ldquo;add&amp;rdquo; voice input to applications that don’t natively support it. It works anywhere you can type or paste text.&lt;/li&gt;
&lt;li&gt;You can use it entirely locally on your PC if you like, so it is private and secure.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="key-features"&gt;Key Features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Flexible&lt;/strong&gt;: SPCHR can use either Azure Speech Services or a local OpenAI Whisper model, giving you the flexibility to choose between cloud-based and local transcription.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero Configuration&lt;/strong&gt;: The application works immediately with local Whisper processing - no account setup required!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Global Hotkey&lt;/strong&gt;: Start and stop recording from &lt;em&gt;any&lt;/em&gt; application with Ctrl+Alt+L.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Seamless Integration&lt;/strong&gt;: Transcribed text is automatically pasted into your active window.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="getting-started"&gt;Getting Started&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Clone the repository&lt;/li&gt;
&lt;li&gt;Build the solution using Visual Studio and run it&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Press Ctrl+Alt+L and start speaking&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Watch as your words appear in your active window&lt;/li&gt;
&lt;li&gt;For those wanting cloud-based transcription, simply add your Azure Speech Services credentials to the configuration file.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="open-source"&gt;Open Source&lt;/h2&gt;
&lt;p&gt;SPCHR is released under the MIT License, and I welcome contributions from the community. Whether you&amp;rsquo;re interested in adding features, fixing bugs, or improving documentation, your help is appreciated.&lt;/p&gt;</description></item><item><title>Does Xamarin have a future?</title><link>https://www.tewari.info/2015/11/07/does-xamarin-have-a-future/</link><pubDate>Sat, 07 Nov 2015 17:33:01 +0000</pubDate><guid isPermaLink="false">http://www.tewari.info/?p=998</guid><description>&lt;p&gt;&lt;a href="https://xamarin.com/"&gt;Xamarin&lt;/a&gt;&amp;rsquo;s cross-platform mobile application framework has Xamarin.iOS and Xamarin.Android at its core. Both &lt;a href="https://en.wikipedia.org/wiki/Xamarin"&gt;Xamarin.Android and Xamarin.iOS&lt;/a&gt; are based on Mono. &lt;a href="https://en.wikipedia.org/wiki/Mono_(software)"&gt;Mono&lt;/a&gt; is an open source implementation of .NET (&lt;a href="https://en.wikipedia.org/wiki/Common_Language_Infrastructure"&gt;CLI&lt;/a&gt; and CLS). Xamarin&amp;rsquo;s customers are Microsoft (.NET) shops. Microsoft is open sourcing .NET itself. What does all this mean for Xamarin?&lt;/p&gt;
&lt;p&gt;Is Xamarin&amp;rsquo;s competitive advantage going to be undermined by the open source .NET? Microsoft&amp;rsquo;s Universal Application Platform (UAP) and the promise of making .NET applications run on Mac and Linux seems to indicate that Microsoft may be emerging as a threat to Xamarin.&lt;/p&gt;</description></item><item><title>Understanding and Using System.Transactions</title><link>https://www.tewari.info/2012/10/17/understanding-and-using-system-transactions/</link><pubDate>Wed, 17 Oct 2012 16:10:42 +0000</pubDate><guid isPermaLink="false">http://www.tewari.info/?p=380</guid><description>&lt;p&gt;These are some resources to help grasp &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/system.transactions(v=vs.90).aspx" title="System.Transactions Namespace"&gt;System.Transactions&lt;/a&gt; functionality and use it effectively in your projects:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/ee818755(v=vs.100).aspx"&gt;Features Provided by System.Transactions&lt;/a&gt; to &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/ee818751(v=vs.100).aspx"&gt;create transactional applications&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/ee818746(v=vs.100).aspx"&gt;Implementing an Implicit Transaction using Transaction Scope&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;MSDN Magazine Articles by &lt;a href="http://www.johnpapa.net/"&gt;John Papa&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163847.aspx"&gt;ADO.NET and System.Transactions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163527.aspx"&gt;Revisiting System.Transactions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;These are specific to &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/system.transactions.transactionscope(v=vs.100).aspx"&gt;TransactionScope&lt;/a&gt;(the way to go in most cases):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Here is a practical example of &lt;a href="http://thewayofcode.wordpress.com/2011/12/11/handling-transactions-in-net-using-transactionscope/"&gt;Using TransactionScope to handle transactions in .net&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;This &lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300805.aspx"&gt;article in MSDN Magazine&lt;/a&gt; gets in depth with the way a TransactionScope like functionality can be implemented. Gives you a good understanding of what is happening under the hood when using TransactionScope in some Repository implementations in multi-threaded scenarios.&lt;/li&gt;
&lt;li&gt;This CodeProject article is another example of &lt;a href="http://www.codeproject.com/Articles/31270/A-Transactional-Repository-Implementation-in-NET"&gt;implementing a transactional repository&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;There are &lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/06/03/using-new-transactionscope-considered-harmful.aspx"&gt;excellent tips here&lt;/a&gt; about configuring TransactionScope when using it with SQL Server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This is a good resource for &lt;a href="http://www.codeproject.com/Articles/55472/Committable-Transactions-in-C-SQL"&gt;understanding CommitableTransaction&lt;/a&gt; usage.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;And this one on the CodeProject has brilliant, in-depth and under-the-hood coverage - &lt;a href="http://www.codeproject.com/Articles/35087/Truly-Understanding-NET-Transactions-and-WCF-Imple"&gt;Truly Understanding .NET Transactions and WCF Implementation&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>RIA with Silverlight and WCF - Los Angeles .NET Developers Group</title><link>https://www.tewari.info/2009/03/26/ria-with-silverlight-and-wcf-los-angeles-net-developers-group/</link><pubDate>Fri, 27 Mar 2009 04:43:01 +0000</pubDate><guid isPermaLink="false">http://www.tewari.info/2009/03/26/ria-with-silverlight-and-wcf-los-angeles-net-developers-group/</guid><description>&lt;p&gt;I will be attending &lt;a href="http://geekswithblogs.net/jberes/Default.aspx" title="Jason Beres' Blog"&gt;Jason Beres&amp;rsquo;&lt;/a&gt; &amp;ldquo;RIA with Silverlight and WCF&amp;rdquo; lecture on Saturday the 4th. Check-out the details here : &lt;a href="http://ladotnet.org/default.asp" title="Los Angeles .NET Developers Group"&gt;Los Angeles .NET Developers Group.&lt;/a&gt; Let me know If you are planning to be there. It will be a great opportunity to meet.&lt;/p&gt;</description></item><item><title>Dial Gauge is a ProgressBar</title><link>https://www.tewari.info/2008/06/10/dial-gauge-is-a-progressbar/</link><pubDate>Wed, 11 Jun 2008 06:49:43 +0000</pubDate><guid isPermaLink="false">http://www.tewari.info/2008/06/10/dial-gauge-is-a-progressbar/</guid><description>&lt;p&gt;I am not just being philosophical here. In &lt;a href="http://msdn.microsoft.com/en-us/netframework/aa663326.aspx" title="MSDN-WPF"&gt;WPF&lt;/a&gt;, &lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163497.aspx" title="Using Templates to Customize WPF Controls"&gt;ControlTemplates&lt;/a&gt; allow you to transform a control&amp;rsquo;s appearance. This is not the same as applying stylesheets. This is an entirely new level of customization. What you see in the screenshot below looks like a Dial but is actually a simple ProgressBar control wearing a &amp;ldquo;Dial&amp;rdquo; template. The Dial template was created using &lt;a href="http://www.microsoft.com/expression/products/Overview.aspx?key=blend" title="Microsoft-Expression-Blend"&gt;Microsoft Expression Blend&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;&lt;img alt="dial-is-a-progressbar.PNG" loading="lazy" src="https://www.tewari.info/images/dial-is-a-progressbar.PNG"&gt;&lt;/p&gt;
&lt;p&gt;Include the ControlTemplate as a Window.Resource and then assign it to ProgressBar element&amp;rsquo;s Template attribute :&lt;/p&gt;</description></item><item><title>WPF - LINQ to SQL Sample</title><link>https://www.tewari.info/2008/03/07/wpf-linq-to-sql-sample/</link><pubDate>Fri, 07 Mar 2008 07:15:35 +0000</pubDate><guid isPermaLink="false">http://www.tewari.info/2008/03/07/wpf-linq-to-sql-sample/</guid><description>&lt;p&gt;This exercise in binding a WPF ListView control with LINQ to SQL was a lot of fun ! The following image shows data from &lt;a href="http://www.codeplex.com/MSFTDBProdSamples" title="MSSQL Sample Databases"&gt;AdventureWorks&lt;/a&gt; sample database displayed in the ListView control. The end result is very admirable, even in this very basic demo. Feeling a complete sense of freedom is unavoidable when working with WPF.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Linq2SqlSample1.Png" loading="lazy" src="https://www.tewari.info/images/Linq2SqlSample1.Png"&gt;&lt;/p&gt;
&lt;p&gt;This sample demonstrates :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;LINQ to SQL mapping.&lt;/li&gt;
&lt;li&gt;WPF ListView Control DataBinding.&lt;/li&gt;
&lt;li&gt;Displaying images stored in database as varbinary in WPF control.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The sample code can be downloaded here : &lt;a href="https://www.tewari.info/downloads/Linq2SqlSample.zip" title="Linq2SqlSample.zip"&gt;WPF-LINQ to SQL Sample&lt;/a&gt;
License : &lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/"&gt;Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.&lt;/a&gt; &lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/"&gt;&lt;img alt="Creative Commons License" loading="lazy" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png"&gt;&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>