Some notes on software development... RSS 2.0
# Wednesday, 19 January 2011

When you install the microsoft-web-helpers package to a standard ASP.NET MVC 3 application it does not run first time due to some missing DLLs.

The install package:
image

The error:
image

To fix this error the project needs to reference the WebMatrix.Data.dll and WebMatrix.WebData.dll from the C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies folder.

image

In Web.config add the following lines to the System.Web\Compilation\assemblies location:

<add assembly="WebMatrix.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="WebMatrix.WebData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

Like so:
image

Running (F5) the basic MVC application with the microsoft-mvc-helpers package now works:

image

You can now use the Facebook, Twitter, Gravatar, Bing, Video, LinkShare etc helpers Smile

Wednesday, 19 January 2011 20:30:23 (GMT Standard Time, UTC+00:00)  #    -
ASP.NET MVC
# Saturday, 15 January 2011

To change the default browser in Visual Studio 2010 you can use the excellent World of VS Default Browser Switcher extension.

It adds a browser chooser toolbar (View –> Toolbars –> Default Browser Switcher) and ‘View In Browser’ options when .aspx files are right-clicked.

The Toolbar is especially useful for ASP.NET MVC projects as they don’t allow the standard ‘Browse with..’ right-click options

World of VS Default Browser Switcher

or…

World of VS Default Browser Switcher2

Saturday, 15 January 2011 18:24:05 (GMT Standard Time, UTC+00:00)  #    -
Visual Studio
# Thursday, 11 November 2010

The Visual Studio vsdoc file for jQuery 1.4.3 is now available here:

http://static.a2cdn.net/jquery-1.4.3-vsdoc.js

Thursday, 11 November 2010 11:28:11 (GMT Standard Time, UTC+00:00)  #    -
jQuery
# Wednesday, 18 August 2010

When debugging ASP.NET from visual studio and you are using IIS, you can disable the worker process default timeout by setting Ping Enabled = False in the web site’s application pool settings:

image

Wednesday, 18 August 2010 22:42:55 (GMT Standard Time, UTC+00:00)  #    -
ASP.NET
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2018
Hadrian Phillips

All Content © 2018, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)