<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>C#, VS Deployment and all geek talk - All Comments</title><link>http://msmvps.com/blogs/vipul/default.aspx</link><description>Talk C# by Vipul Patel
</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Application which does not create an entry in Add/Remove Programs</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/13/Prevent-entry-in-Add-Remove-Programs-List.aspx#1448763</link><pubDate>Tue, 08 Jan 2008 22:51:23 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1448763</guid><dc:creator>adpniyd</dc:creator><description>&lt;p&gt;Welcome to our site [url=&lt;a rel="nofollow" target="_new" href="http://www.iwantu.com/?id=92855002"&gt;www.iwantu.com&lt;/a&gt;]Adult dating and Personals[/url]&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1448763" width="1" height="1"&gt;</description></item><item><title>re: Application which does not create an entry in Add/Remove Programs</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/13/Prevent-entry-in-Add-Remove-Programs-List.aspx#1403619</link><pubDate>Tue, 18 Dec 2007 15:05:39 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1403619</guid><dc:creator>House appartment</dc:creator><description>&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://xlpod.com/&amp;quot;&amp;gt;flat"&gt;xlpod.com/&amp;quot;&amp;gt;flat&lt;/a&gt; flat buy apartment&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1403619" width="1" height="1"&gt;</description></item><item><title>re: Application which does not create an entry in Add/Remove Programs</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/13/Prevent-entry-in-Add-Remove-Programs-List.aspx#1402315</link><pubDate>Mon, 17 Dec 2007 21:50:03 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1402315</guid><dc:creator>House appartament</dc:creator><description>&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://xlpod.com/&amp;quot;&amp;gt;flat"&gt;xlpod.com/&amp;quot;&amp;gt;flat&lt;/a&gt; flat buy apartament&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1402315" width="1" height="1"&gt;</description></item><item><title>re:  Sql Server 2005 blocking quiz</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/20/Sql-Server-2005-blocking-quiz.aspx#1357651</link><pubDate>Mon, 26 Nov 2007 10:55:26 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1357651</guid><dc:creator>Radhika</dc:creator><description>&lt;p&gt;Get me the SQL server 2005 quiz details&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1357651" width="1" height="1"&gt;</description></item><item><title>re: MSN Messenger invites</title><link>http://msmvps.com/blogs/vipul/archive/2006/01/09/80665.aspx#1280723</link><pubDate>Sat, 03 Nov 2007 20:47:18 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1280723</guid><dc:creator>mhulisto</dc:creator><description>&lt;p&gt;pls can yu invite me &amp;nbsp;&lt;/p&gt;
&lt;p&gt;mhulisto (at) hotmail (dot) com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1280723" width="1" height="1"&gt;</description></item><item><title>re: Application which does not create an entry in Add/Remove Programs</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/13/Prevent-entry-in-Add-Remove-Programs-List.aspx#1242202</link><pubDate>Tue, 09 Oct 2007 08:41:17 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1242202</guid><dc:creator>Maxim</dc:creator><description>&lt;p&gt;The Iraqi government says guards from US security firm Blackwater killed more people than previously thought.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1242202" width="1" height="1"&gt;</description></item><item><title>re: Application which does not create an entry in Add/Remove Programs</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/13/Prevent-entry-in-Add-Remove-Programs-List.aspx#1229454</link><pubDate>Wed, 03 Oct 2007 19:29:53 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1229454</guid><dc:creator>Marki</dc:creator><description>&lt;p&gt; Learn flintknapping techniques of Paleo-Americans and later Woodland styles of making arrowheads, knives, and spearpoints in this workshop for beginners and intermediates. The materials fee is included in cost of class and will cover instructional videos and all the tools and materials for making arrowheads, knives and spear points.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1229454" width="1" height="1"&gt;</description></item><item><title>re: Application which does not create an entry in Add/Remove Programs</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/13/Prevent-entry-in-Add-Remove-Programs-List.aspx#1060501</link><pubDate>Fri, 27 Jul 2007 03:01:37 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1060501</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;Managed Hosting, Colocation and Data Center Services by victoryushchenkonashpresudent ...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1060501" width="1" height="1"&gt;</description></item><item><title>re: My articles on "Anonymous types" is up</title><link>http://msmvps.com/blogs/vipul/archive/2006/03/08/Anonymous-Types-article.aspx#927342</link><pubDate>Sat, 26 May 2007 23:32:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:927342</guid><dc:creator>kalimurzino@rambler.ru</dc:creator><description>&lt;p&gt;4500 Waldeck Street&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=927342" width="1" height="1"&gt;</description></item><item><title>re: When is a static constructor in C# called?</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/20/Static-constructors-in-CSharp.aspx#922407</link><pubDate>Thu, 24 May 2007 02:34:40 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:922407</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Something interesting I just noticed is that the static constructor of a child class isn't called when using methods in the base class. For instance:&lt;/p&gt;
&lt;p&gt;public abstract SingletonBase {&lt;/p&gt;
&lt;p&gt;static protected SingletonBase singleton;&lt;/p&gt;
&lt;p&gt;static public SingletonBase Singleton { get { return singleton; } }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;public MySingleton : SingletonBase&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;static MySingleton() { singleton = new MySingleton(); }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;MySingleton mySingleton = (MySingleton)MySingleton.GetInstance();&lt;/p&gt;
&lt;p&gt;This causes a NullReferenceException, AFAIK because the static constructor in MySingleton never executes, as there is no instance of MySingleton created in the normal program flow to trigger the MySingleton static constructor. The only way around this is to move GetInstance() to each child class, which removes the benefits of having an abstract singleton class.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=922407" width="1" height="1"&gt;</description></item><item><title>re: .NET Tip - Getting logged in user name in ASP.NET web application</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/07/Show-Logged-In-User-ASPNET.aspx#921830</link><pubDate>Wed, 23 May 2007 19:06:16 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:921830</guid><dc:creator>robert</dc:creator><description>&lt;p&gt;this code works in aspx files but it doesn't in a masterpage file, how can you solve this problem?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=921830" width="1" height="1"&gt;</description></item><item><title>polysyncronism.com  &amp;raquo; Blog Archive   &amp;raquo; How to: Determining programmatically if DLL is registered - C#, VS Deployment and all geek talk</title><link>http://msmvps.com/blogs/vipul/archive/2006/01/27/Is-DLL-Registered.aspx#906197</link><pubDate>Tue, 15 May 2007 22:03:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:906197</guid><dc:creator>polysyncronism.com  » Blog Archive   » How to: Determining programmatically if DLL is registered - C#, VS Deployment and all geek talk</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;polysyncronism.com &amp;nbsp;&amp;amp;raquo; Blog Archive &amp;nbsp; &amp;amp;raquo; How to: Determining programmatically if DLL is registered - C#, VS Deployment and all geek talk&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=906197" width="1" height="1"&gt;</description></item><item><title>re: .NET Tip - Getting logged in user name in ASP.NET web application</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/07/Show-Logged-In-User-ASPNET.aspx#879424</link><pubDate>Thu, 26 Apr 2007 15:39:06 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:879424</guid><dc:creator>Pradeep</dc:creator><description>&lt;p&gt;I am also facing the same problem. It is returning the username under which the process is running. I have got 10 virtual directory application under Default website. The Authentication setting of Default website is set to Anonymous and Virtual Directory is set to &amp;quot;windows integrated authentication&amp;quot;. Here is the setting of web.config in root folder of virtual directory&lt;/p&gt;
&lt;p&gt;		&amp;lt;authentication mode=&amp;quot;Windows&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;		&amp;lt;authorization&amp;gt;&lt;/p&gt;
&lt;p&gt;			&amp;lt;deny users=&amp;quot;?&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/authorization&amp;gt;&lt;/p&gt;
&lt;p&gt;Any Help would be appreciated&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=879424" width="1" height="1"&gt;</description></item><item><title>re: When is a static constructor in C# called?</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/20/Static-constructors-in-CSharp.aspx#774569</link><pubDate>Mon, 09 Apr 2007 20:06:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:774569</guid><dc:creator>john</dc:creator><description>&lt;p&gt;that's because the Main method is sitting in the class as one of the static methods. therefore the static constructor is being called before the Main method.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=774569" width="1" height="1"&gt;</description></item><item><title>ctl00$_$ctl00$_$ctl01$_$form$_$tbTitle</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/13/Prevent-entry-in-Add-Remove-Programs-List.aspx#715454</link><pubDate>Tue, 27 Mar 2007 11:49:51 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:715454</guid><dc:creator>ctl00$_$ctl00$_$ctl01$_$form$_$tbName</dc:creator><description>&lt;p&gt;ctl00$_$ctl00$_$ctl01$_$form$_$tbComment&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=715454" width="1" height="1"&gt;</description></item><item><title>re: .NET Tip - Getting logged in user name in ASP.NET web application</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/07/Show-Logged-In-User-ASPNET.aspx#528195</link><pubDate>Tue, 30 Jan 2007 09:43:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:528195</guid><dc:creator>Venkat</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you are actually getting the account under which the current process is running. &lt;/p&gt;
&lt;p&gt;WindowsIdentity.GetCurrent does not return you the logged in user name, it gives you the user name under which the current process is running&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=528195" width="1" height="1"&gt;</description></item><item><title>re: .NET Tip - Getting logged in user name in ASP.NET web application</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/07/Show-Logged-In-User-ASPNET.aspx#491868</link><pubDate>Sun, 14 Jan 2007 19:14:39 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:491868</guid><dc:creator>Steve</dc:creator><description>&lt;p&gt;What about in the code behind?&lt;/p&gt;
&lt;p&gt;If I want to assign a variable to the current logged in user, I can't just set:&lt;/p&gt;
&lt;p&gt;string myVar = User.Identity.Name&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=491868" width="1" height="1"&gt;</description></item><item><title>re: .NET Tip - Getting logged in user name in ASP.NET web application</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/07/Show-Logged-In-User-ASPNET.aspx#475903</link><pubDate>Sun, 07 Jan 2007 13:43:17 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:475903</guid><dc:creator>A.Branko</dc:creator><description>&lt;p&gt;Thank's... &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=475903" width="1" height="1"&gt;</description></item><item><title>re: Visual Studio Tip of the day - Format Document</title><link>http://msmvps.com/blogs/vipul/archive/2006/01/24/Visual-Studio-Format-Document.aspx#106080</link><pubDate>Fri, 28 Jul 2006 14:53:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:106080</guid><dc:creator>Tim</dc:creator><description>I love this little command, but for some reason it stopped working in my IDE. I type ctrl K ctrl D and nothing happens... I recently imported the visual studio settings from idesign.net, probably screwed something up. Any idea what setting would affect this?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=106080" width="1" height="1"&gt;</description></item><item><title>re: .NET Tip - Getting logged in user name in ASP.NET web application</title><link>http://msmvps.com/blogs/vipul/archive/2006/02/07/Show-Logged-In-User-ASPNET.aspx#96653</link><pubDate>Tue, 23 May 2006 21:20:32 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:96653</guid><dc:creator>Amol Wankhede</dc:creator><description>This is How you do it in the Windows - WinForms&lt;br&gt;&lt;br&gt;Getting the User Credentials in Windows Forms&lt;br&gt;&lt;br&gt;using System.Security.Principal;&lt;br&gt;.....&lt;br&gt;&lt;br&gt;WindowsIdentity currIdentity = WindowsIdentity.GetCurrent();&lt;br&gt;&lt;br&gt;string NtAccountName = currIdentity.Name;&lt;br&gt;&lt;br&gt;Enjoy !&lt;br&gt;&lt;br&gt;Amol&lt;br&gt;&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=96653" width="1" height="1"&gt;</description></item></channel></rss>