.NET 3.5
If you didn’t know, you probably will soon, the SPGridView is not available in Sandboxed solutions. To be honest there doesn’t seem to be a great deal of information out there about the whys and what nots, basically its not part of the Sandbox SharePoint API. Of course the error message from SharePoint is about as useful as punch in the face… An unexpected error has been encountered in this Web Part. Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. You don't have...
Just a quick one, seems pretty weird to me. I installed .net 4.0 on an old IIS6 box, ready to deploy a asp.net mvc app targeting .net 4.0. I thought, which to me seems logical, that I install .net 4.0, setup a new web site, new app pool, set the web site to asp.net 4.0 (other configuration also needed to run MVC on IIS6 here and here) and it would just work. Errr… No. The page cannot be displayed! Nothing to do with MVC. Apparently just because you have installed .net 4 and the option is available...
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...
Silverlight makes working with videos pretty straight forward, Microsoft makes Silverlight pretty straight forward with ASP.net and sharepoint is written in ASP.net, so match made in tech heaven!! I wanted a video player web part for sharepoint, that had some simple functionality like play, pause and volume. I started with expression encoder which output a nice media player interface...this is OK, but has a couple of restrictions; 1, its far to rich for what I wanted, animations all over the place...
The more I work and develop with SharePoint I am learning that 95% of the task, with a little guidance is a walk in the park, especially when compared to that final 5%, which is either impossible or is the most painfully experience any developer can experience!! Take my Friday hell for an example... A requirement comes in for custom news item, with a property that is the users department, but could be changed to another. Sure i think, drop down control, bind to all the possible departments, auto...
I mentioned a while back that I had something I was working on that involved a change in language, actually a pretty radical change. I have been working on vocational project written in VB.net and made heavy use of LINQ to SQL. I wasn't sure of LINQ to SQL for anything else other than RAD and to be honest I'm still not. Anyway, I'm not getting into that debate. Needless to say I went all the way and don't use a single sproc in this project. Some of you will know I play cricket every Saturday for...
System.ComponentModel.Win32... The specified service has been marked for deletion. This is the first time I have ever seen this error and it may well have been complete luck that I haven't as there seems to be a pretty solid reason why it occurs. It popped when I uninstalled a service using InstallUtil.exe, then tried to install again using the same utility. Because I had the Windows Services window open (apparently it can also happen when you run uninstall without stopping the service as...
I have recently came up against a perfect opportunity to get stuck into LINQ to SQL, its a small project where RAD is top priority. As often is the case I need to audit changes to properties, normally I would probably do some work in the getter and setter of the property, but of course with LINQ to SQL I don't have access to the properties in the same way. Looking through the intellisense of the LINQ generated class I can see a PropertyChanged and PropertyChanging event, perfect! Not exactly. Here...
Right, the virtual server is up and running...time to soak up some SharePoint...get some dnrTv episodes down my throat. Sahil Malik recorded a series of SharePoint episodes, 4 in fact. He starts with what happens when SharePoint is installed and finishes with some massive XML files for a Business Data Catalogue application. Tip: They are an hour long, so watch it in fast mode, the talking speed is still good and it only takes 30 mins to watch. Session 1 Session 2 Session 3 Session 4 Note: You can...
Anyone looking for top notch windows 2008 hosting should take a look here Technorati Tags: windows 2008 hosting,hosting,IIS7...
Last night was the first user group meeting of 2008, and it was my first meeting - I have blogged about it before, just being the socially inept loner that I am!!, I just haven't got round to going. The presentation was on Test Driven development TDD (Another post coming on that!) from a guy called Craig Murphy - this is a really interesting subject to me as we adopt TDD as best we can, it does however sometimes gives way to deadlines!! It was reassuring to see that we go about TDD in the right way...
You are all undoubtedly aware of LINQ to SQL, its fair to say its had a large amount of publicity and coverage in the .net circle. VS 2008 makes getting going with LINQ to SQL very easy but that is not the case with SQL Compact (yet!). However its not difficult if you have heard of a wonderful little app called SqlMetal, this little beauty will generate the .dbml files for you...happy days :) I have a small SQL Compact database to use for this demo, you can see it here in VS 2008 server explorer...
MIX is over and this is the first of two posts covering the final day. I am currently on the train home with my lappy in power saving mode, minimum CPU etc etc. 1.5 hours left so I should get enough time to say what needs to be said! Today I decided instead of going the main stream route all the way I would slip off to a smaller session. After a chat with Scott Guthrie (!) I decided to miss the first of his two part session on VS 2008 and asp.net 3.5, I read most of the content on his blog and have...
Day one is over at MIX UK. As my first experience of a Microsoft conference I must say I was not disappointed :) The conference opened with a keynote from George Moore and Scott Guthrie and lots of small demos from third party companies and the little apps they have developed using MS technologies, mainly Silverlight, which is the main theme of the conference, well day one at least!! In the first and second session I stayed with ScottGu and watched as he ripped through the power of silverlight, present...
I just noticed that there was a serious problem with my javascript editor in VS 2008, goes to show how much JS I write! I have had VS 2008 installed since beta 1 :) Anyway, I had no intellisense or an colour at all, all the text was just black. After a little searching I found this blog post from the webdevtools blog. You need to change a couple of values in the registry... [HKEY_LOCAL_MACHINE\SOFTWAR... "CodeBase"=file:///C:\\Program...
My hosting company who are normally quick to install new technologies have just installed .net 3.5 beta 2 framework. Pretty rare indeed :) If you are looking for a host then check them out, they are top draw and I think you get a 14 day free trial
For the one person in the world that is using Visual Studio 2008 and doesn't subscribe to ScottGu's blog you should check this post! Technorati Tags: ScottGu, VS 2008...
OK, so just about everyone reading this post will be aware of LINQ, if not you can checkout that link, another great place is that man, ScottGu's blog. Anyway, I found myself with a spare few minutes (hence this post) which was largely due to how quick LINQ dealt with my small and simple task. I wanted to read user data out of a database and create a new XML file with that data (there is some stuff to go on after that but unless LINQ can compress and email files its use ends here!) There is nothing...
Just registered for my place at MIX 07 on September 11th & 12th in London. Anyone going?? Technorati Tags: MIX UK...