Geeks With Blogs

News

Steve Clements .Net and then some.... Visual Studio Anything related to Home!
ASP.net MVC | MvcBuildViews | MachineToApplication Error
You may come up against this little error when working on a MVC application, I specifically find things like this crop up when you are upgrading from previous version e.g. VS 2008 to 2010 and the like. They are a complete pain in the bum quite frankly, you can spend hours googling around, trying this trying that, posting questions here and there etc etc…so I’m adding to the this and that which you will of course try, because it’s the sort of error you don’t care about…it’s just getting in the way ......

Posted On Monday, November 29, 2010 8:12 AM

Visual Studio 2010: Custom Start Page
As Visual Studio 2010 IDE has been mostly written in WPF, extending the start page has become pretty darn easy and I for one find this quite interesting as I always open with the start page and the more customisation I can have the better! There are a few things you will need to install first to get going Visual Studio 2010 SDK Start page project template, which you can either get from the New Project dialog, in the online gallery section in VS or download from here I was going to write a blog post ......

Posted On Wednesday, April 21, 2010 3:32 AM

Dynamic connection for LINQ to SQL DataContext
If for some reason you need to specify a specific connection string for a DataContext, you can of course pass the connection string when you initialise you DataContext object. A common scenario could be a dev/test/stage/live connection string, but in my case its for either a live or archive database. I however want the connection string to be handled by the DataContext, there are probably lots of different reasons someone would want to do this…but here are mine. I want the same connection string ......

Posted On Friday, April 16, 2010 1:14 AM

Postbuild script for Sharepoint project in Windows 2008 and Visual Studio 2008
Now that is a bad ass title!! Anyone who has been through the MindSharp training course for SharePoint and any others that have looked at any code Todd Bleeker puts out there will most certainly be aware of using post build scripts in Visual Studio to deploy your sharepoint project. This knowledge is of course not limited to MindSharp grads, its just that being one I know what they know! To get them to work in a Windows 2008 and Visual Studio 2008 environment you will need to make some changes. As ......

Posted On Monday, June 9, 2008 6:49 PM

Microsoft Source Analysis for C#
I was just about to blog about this, then I found this post while scanning the asp.net feed. Guy Barrette does a great job of summarising it. If your in a rush, the home page is: http://blogs.msdn.com/sourc... and you can download it from here: http://code.msdn.microsoft.... While in the link mode; I spotted this at the same time on Charlie Calvert's blog a quick list of keyboard shortcuts for VS2008 Technorati Tags: Microsoft Source ......

Posted On Monday, May 26, 2008 9:22 AM

Error | EventType clr20r3
As errors go I found this one is pretty horrific. I got the error deploying a windows service written in .net 3.5 from my Vista x86 dev rig, to a 2003 x86 server. Only having the .NET runtime installed on the server I wrapped the service up in a deployment project. The service installed fine, however when trying to start the service I got a "The service did not respond in a timely manner" error. Initially, like you would, I thought there was probably an error with my code in the OnStart method, but ......

Posted On Wednesday, April 30, 2008 4:57 PM

MS: Would it really have been so difficult?
When working with asp.net and now XAML I lean towards code view over the designer, a preference of course, but considering this feature I guess I am not alone. When working with events in XAML you can simply type "Click=" and the nice little helper jumps up asking what event handler you'd like to wire it up to or even create a new one and the stub will be created. NICE! As an added little beauty, this doesn't automatically send you off into the code behind. Why-o-Why isn't it the same for asp.net ......

Posted On Thursday, April 10, 2008 8:49 AM

Copyright © Steve Clements | Powered by: GeeksWithBlogs.net