Wordpress - anubhavg.wordpress.com - Anubhav Goyal
General Information:
Latest News:
Generate msbuild file from solution 5 Aug 2013 | 06:11 am
Here is a quick way to generate a start up msbuild file from your solutions file. Launch Visual Studio Command prompt and change directory to your project directory and then type the following 2 comm...
++ operator in VB.Net 14 Jun 2013 | 10:40 am
We do miss the power of ++ operator in Vb.Net. Here is a quick way to achieve the same result Use System.Math.Max(System.Threading.Interlocked.Increment(i),i – 1) to achieve the same result as i++ ...
How to run asp.net development server from command line 7 Jun 2013 | 08:22 am
With help of couple of posts on web and stackoverflow.com to run asp.net 2.0 webdev server, copy the following command in a .bat file C:\Windows\Microsoft.NET\Framework\v2.0.50727\Webdev.WebServer.e...
error : The Web Application Project * is configured to use IIS. The IIS Web server is not installed on this computer. 7 Jun 2013 | 07:39 am
This problem arises when you try to load an existing web project, configured to run on IIS. A simple quick solution can be to open the project in a text editor and update the property UseIIS from True...
... 8 Oct 2012 | 02:52 am
Mohammed Amine BENABDALLAH Professeur de droit public, Université Mohammed V, Agdal-Rabat - Doctorat d'Etat en Droit public, Universite de Paris II; - Diplôme des Etudes supérieures en sciences admin...
Add custom messages to Validation Summary in asp.net mvc form 3 Nov 2011 | 11:21 am
Sometimes you might need to add messages to Validation summary. Here is a small javascript function that will help you do that. The method can be called onClick event of a button. Hope it helps
How to find all values that have changes in mvc object 27 Oct 2011 | 02:44 pm
‘Compare the original and new versions of any db model, return a string of changes Function GetChanges(ByRef database As YourCaretakerEntities, ByRef originalValues As Object, ByRef newValues As Obje...
Handle Access Denied in asp.net MVC 18 Oct 2011 | 12:39 pm
Today I had to add security to the application. Essentially check if the logged in user has got permission to access a function and if not redirect to Unauthorised page. There may be a few ways this c...
How to get date 3 days before today 13 Oct 2011 | 11:48 am
Its pretty simple really… DateTime.Now.AddDays(-3) Cheers
ASP MVC 3rd Party Controls 30 Sep 2011 | 10:37 am
If you are looking for MVC Ajax controls to speed up application development, here are a few good ones, I think the best are Telerik, not free free http://mvccontrolstoolkit.codeplex.com/ about USD...