<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1614442095383242743</id><updated>2024-09-11T03:46:32.099+01:00</updated><category term="Sharepoint"/><category term="C#"/><category term="ASP.NET. MVC"/><category term="ADO.NET"/><category term="Data Annotation"/><category term="Razor"/><category term="ASP.NET"/><category term="Bootstrap"/><category term="Content Database"/><category term="EP Plus"/><category term="EPPlus"/><category term="Entity Framework"/><category term="Excel Export"/><category term="HTML"/><category term="MVC"/><category term="PDF"/><category term="PageLayout"/><category term="SQL Server"/><category term="STSADM"/><category term="TextBoxFor"/><category term="Unity"/><category term="Unity Application Block"/><category term="Utilities"/><category term="WSP"/><category term="Web Parts"/><title type='text'>Curse The Compiler</title><subtitle type='html'>This is where I get to Curse the Compiler. it seems to be a bit of an occupational hazard, but lots of fun regardless.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-6091320006558497404</id><published>2015-03-04T11:29:00.000+00:00</published><updated>2015-03-04T14:25:35.507+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Annotation"/><category scheme="http://www.blogger.com/atom/ns#" term="EP Plus"/><category scheme="http://www.blogger.com/atom/ns#" term="EPPlus"/><category scheme="http://www.blogger.com/atom/ns#" term="Excel Export"/><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>ASP.NET Generating Excel Exports using Data Annotations</title><summary type="text">In my ASP.NET MVC application, I have recently had the requirement to generate a few Excel Spreadsheets from Data. &amp;nbsp;I soon realised I had a lot of boiler plate code that I was starting to copy and paste all over the show. &amp;nbsp;

So I took the opportunity to sit back and see if there was a better solution. I use Data Annotations a lot (for example see my&amp;nbsp;Tool tip Data Annotation&amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/6091320006558497404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2015/03/aspnet-generating-excel-exports-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/6091320006558497404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/6091320006558497404'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2015/03/aspnet-generating-excel-exports-using.html' title='ASP.NET Generating Excel Exports using Data Annotations'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-4061876410424042593</id><published>2014-07-04T10:15:00.001+01:00</published><updated>2015-03-02T11:58:17.865+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET. MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="Bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Annotation"/><category scheme="http://www.blogger.com/atom/ns#" term="Razor"/><title type='text'>Tooltip Data Annotation</title><summary type="text">I am a fan of Data Annotations, I like the fact I can define stuff in one place and it works everywhere.
One thing I felt that was missing is a tooltip annotation, which then using the technique discussed in “Standardising through HTML helpers”

Coding the Data Annotation
The Data Annotation is going to look like this
&amp;nbsp;&amp;nbsp;&amp;nbsp;[StringLength(255)]
&amp;nbsp;&amp;nbsp;&amp;nbsp;[DisplayName(&quot;Colour&quot;)]</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/4061876410424042593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2014/07/tooltip-data-annotation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/4061876410424042593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/4061876410424042593'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2014/07/tooltip-data-annotation.html' title='Tooltip Data Annotation'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-6687102868133800413</id><published>2014-06-27T12:48:00.004+01:00</published><updated>2014-07-04T10:57:06.241+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET. MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="Razor"/><category scheme="http://www.blogger.com/atom/ns#" term="TextBoxFor"/><title type='text'>Standardising through HTML Helpers</title><summary type="text">
HTML TextBoxFor in Razor are really useful.

I know that is a bit of an understatement,but they can be even better.&amp;nbsp; I use bootstrap (www.getbootstrap.com) and a number of other js components such as the bootstrap date picker( http://www.eyecon.ro/bootstrap-datepicker/ ) .&amp;nbsp; And by creating my own versions of the helpers we can add a lot of conformity and standardisation.&amp;nbsp; Also if </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/6687102868133800413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2014/06/standardising-through-html-helpers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/6687102868133800413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/6687102868133800413'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2014/06/standardising-through-html-helpers.html' title='Standardising through HTML Helpers'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-1404721120500569852</id><published>2013-06-27T16:09:00.001+01:00</published><updated>2013-06-28T09:58:30.252+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET. MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="PDF"/><title type='text'>ASP.Net MVC View as PDF</title><summary type="text">So I needed to export a view as a pdf, and although the Chrome trick of printing to PDF is okay the page was too wide and needed tweaking.



After the usual google search I came up with a couple of things I thought might be useful and with a bit of patience came up with the following solution.




Create a view of the item I want to print (along with the controller)
Convert the html to string
</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/1404721120500569852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2013/06/aspnet-mvc-view-as-pdf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/1404721120500569852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/1404721120500569852'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2013/06/aspnet-mvc-view-as-pdf.html' title='ASP.Net MVC View as PDF'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-1416590853868774844</id><published>2010-05-25T18:18:00.001+01:00</published><updated>2010-05-25T18:18:32.570+01:00</updated><title type='text'>Accessing SharePoint List Data using Linq</title><summary type="text">Recently I wanted to return a SharePoint list as an List&amp;lt;&amp;gt; of a business object.  I did some scouring on the internet, as there is no point re-inventing the wheel.&amp;#160; But was generally disappointed with the results, as they required a lot of iterations and loops. Eric White’s blog here got me thinking, that we could do it with Linq   So here is what I did Projects my business object </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/1416590853868774844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/05/accessing-sharepoint-list-data-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/1416590853868774844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/1416590853868774844'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/05/accessing-sharepoint-list-data-using.html' title='Accessing SharePoint List Data using Linq'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-7524180700056976768</id><published>2010-05-25T18:05:00.001+01:00</published><updated>2010-05-25T18:05:00.645+01:00</updated><title type='text'>Converting a Sharepoint Personal View into a Public View List.</title><summary type="text">I have the problem where a user has created a view and I need to get access to it and make it public.&amp;#160; I appreciate this is quite a slog, especially in an ideal world the user would make the List public but if he/she has left …  The first problem was identifying the information for the view. After quite a bit of digging I find it in the WebParts table in the appropriate Content Database  </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/7524180700056976768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/05/converting-sharepoint-personal-view.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/7524180700056976768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/7524180700056976768'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/05/converting-sharepoint-personal-view.html' title='Converting a Sharepoint Personal View into a Public View List.'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-8288797936028386916</id><published>2010-04-20T08:31:00.001+01:00</published><updated>2010-04-20T08:31:08.920+01:00</updated><title type='text'>Dundas Charts – Accessing Primary Key Information for Drill Down</title><summary type="text">I had the situation where I want to show Countries along the x (horizontal) axis, but for the drill down on the click event I wanted to use the Id for the item. The solution is surprisingly simple although did cause some head scratching for an hour or so.  We are going to store the additional information in an additional Y axis. To do so we need to tell the chart we are going to have an </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/8288797936028386916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/04/dundas-charts-accessing-primary-key.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/8288797936028386916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/8288797936028386916'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/04/dundas-charts-accessing-primary-key.html' title='Dundas Charts – Accessing Primary Key Information for Drill Down'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-2986520695544519580</id><published>2010-04-13T09:14:00.001+01:00</published><updated>2010-04-13T09:16:08.780+01:00</updated><title type='text'>Sys.WebForms.PageRequestManagerParserErrorException in Sharepoint</title><summary type="text">I have just tripped over this (again), the reason;   &amp;lt;add name=&amp;quot;ScriptModule&amp;quot; type=&amp;quot;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; /&amp;gt;  had not been added to the httpModules section of the web.config file.    </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/2986520695544519580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/04/syswebformspagerequestmanagerparsererro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/2986520695544519580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/2986520695544519580'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/04/syswebformspagerequestmanagerparsererro.html' title='Sys.WebForms.PageRequestManagerParserErrorException in Sharepoint'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-791374672389662365</id><published>2010-03-31T14:16:00.001+01:00</published><updated>2010-03-31T14:20:36.618+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADO.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Programmatically Exporting Data from SharePoint into SQL Server using SQLBulkCopy</title><summary type="text">&amp;#160;  Those who have read my previous posts will know I was planning on using the SSIS SharePoint Connectors for extracting data from SharePoint to SQL Server.&amp;#160; All was going swimmingly well until I deployed them onto the server, then for some reason (and I spent a day scratching my head) they did not work.&amp;#160; Unfortunately on this server I have limited debugging resources, and had to </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/791374672389662365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/03/programmatically-exporting-data-from.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/791374672389662365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/791374672389662365'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/03/programmatically-exporting-data-from.html' title='Programmatically Exporting Data from SharePoint into SQL Server using SQLBulkCopy'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-291413773149879667</id><published>2010-03-04T14:23:00.001+00:00</published><updated>2010-03-04T14:49:40.696+00:00</updated><title type='text'>Creating SharePoint Views</title><summary type="text">As usual a little background, as I do not want you to take it out of context.  I am using SSIS with the SharePoint connectors to extract data out of a SharePoint list, to do so I wanted to create a custom view, this allows me to get all of the columns and to select the rows I need.&amp;#160; Also I like to do these things programmatically as I personally will not be doing the release.  To create a </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/291413773149879667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/03/creating-sharepoint-views.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/291413773149879667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/291413773149879667'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/03/creating-sharepoint-views.html' title='Creating SharePoint Views'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-4936061054406207213</id><published>2010-02-22T13:22:00.001+00:00</published><updated>2010-02-22T13:22:50.238+00:00</updated><title type='text'>Using WSPBuilder</title><summary type="text">I have been using WSPBuilder for a while and suddenly noticed that the documentation on the Codeplex site is a bit poor.&amp;#160;   For those who do not know WSPBuilder is a tool and a set of extensions which facilitates the making, deploying and debugging of SharePoint features.  Creating a WSPBuilder Project  Select WSPBuilder from the project types, then select either “WSPBuilder Project” or “</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/4936061054406207213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/using-wspbuilder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/4936061054406207213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/4936061054406207213'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/using-wspbuilder.html' title='Using WSPBuilder'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKdVdG7DKwz960UrAoSeLK49_HJUrCYfc31x_ez9x2hS0eQI98bTiPgzzRs4-lEyYXxwrYsQDpUkjXrPpVIo73CgGmjFPXpJbdcnED54QUwWKq4CCZ18HPjdh6zSEH6AkeFW2XH4iU2pM/s72-c/?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-3025144128756634089</id><published>2010-02-19T09:12:00.002+00:00</published><updated>2010-02-19T09:37:25.644+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="STSADM"/><category scheme="http://www.blogger.com/atom/ns#" term="WSP"/><title type='text'>WSP Feature Deployment and Uninstalling</title><summary type="text"> I need to deploy / uninstall some features which I have created and not having access to the servers and not wanting to create complicated release notes, I came up with the following batch file  it is called with 2 or 3 parameters; the first is the wsp name, the second the server and the third “U” or “u” if you want to uninstall it.  I am sure everyone will have their own bit they want to do, </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/3025144128756634089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/wsp-feature-deployment-and-uninstalling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/3025144128756634089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/3025144128756634089'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/wsp-feature-deployment-and-uninstalling.html' title='WSP Feature Deployment and Uninstalling'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-1236881528704072960</id><published>2010-02-17T14:24:00.002+00:00</published><updated>2010-02-22T09:35:58.280+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Utilities"/><title type='text'>SharePoint Tools I have found useful</title><summary type="text">This is another one of those, i need to make a note of these tools and this is a “good place as any” posts.  WSPBuilder – this is the tool for creating VS.Net projects much better than VSE WSS.  SharePoint Manager (also has link to 2007 version)- This shows the SharePoint Hierarchy and allows you to do stuff  CAML Builder – because CAML is a bugger. Although do not forget to remove the &amp;lt;query&amp;</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/1236881528704072960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/sharepoint-tools-i-have-found-useful.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/1236881528704072960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/1236881528704072960'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/sharepoint-tools-i-have-found-useful.html' title='SharePoint Tools I have found useful'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-8884585661690078927</id><published>2010-02-09T15:21:00.002+00:00</published><updated>2010-02-19T09:21:04.821+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Content Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><title type='text'>Restoring and moving a content database Sharepoint 2007</title><summary type="text">   For no other reason than I have had to do this a couple of times this week and I have to keep looking it up!  Restoring a database from a backup file to another database name  RESTORE DATABASE WSS_Content_ArtworksTest   FROM  DISK = N&#39;C:\test\WSS_content_artworks.bak&#39;    WITH  FILE = 1,    MOVE N&#39;WSS_Content_Artworks&#39; TO N&#39;C:\Program Files\Microsoft Office Servers\12.0\Data\MSSQL.5\MSSQL\Data\</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/8884585661690078927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/restoring-and-moving-content-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/8884585661690078927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/8884585661690078927'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/restoring-and-moving-content-database.html' title='Restoring and moving a content database Sharepoint 2007'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-7355629806494302817</id><published>2010-02-05T09:29:00.001+00:00</published><updated>2010-02-05T09:29:58.885+00:00</updated><title type='text'>Which IIS 7.0 Worker Process (w3wp.exe) shall I attach the debugger</title><summary type="text">&amp;#160;  We have all had the problem, which IIS Worker process shall I attach to when debugging. This morning I have stumbled across perhaps the easiest way of doing this!  Fire up IIS, make sure the server is selected     Then select “Worker Processes”       et Voila!, just find the Application Pool for the correct Item.  </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/7355629806494302817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/which-iis-70-worker-process-w3wpexe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/7355629806494302817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/7355629806494302817'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2010/02/which-iis-70-worker-process-w3wpexe.html' title='Which IIS 7.0 Worker Process (w3wp.exe) shall I attach the debugger'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWi7oVIYeLRFg9Rl4608fWteERksjVIBUdN32q2nyKYnXIUEZgLfQ5819Ago_sSzfcJJ1NSFIEje7ByMXsFNJtWjAnpEGMa7igE3V0Tuns0Fp8q8v2-OwpIbAfyHxXv-WHUW5B3Cfflyo/s72-c/?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-3313932050631563117</id><published>2009-11-27T10:57:00.002+00:00</published><updated>2009-11-30T16:45:56.726+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Unity"/><category scheme="http://www.blogger.com/atom/ns#" term="Unity Application Block"/><title type='text'>Unity Application Block, using Configuration Files.</title><summary type="text">Introduction  In my last blog Unity Application Block, I introduced some of the concepts for using the Unity Application Block this blog introduces the added flexibility of using config files. This example will work either Web.Config or App.Config files, however it is possible to use other types of files.  Recap  We have a solution with 4 projects;      InterfaceLibrary, this contains all of my </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/3313932050631563117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2009/11/unity-application-block-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/3313932050631563117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/3313932050631563117'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2009/11/unity-application-block-using.html' title='Unity Application Block, using Configuration Files.'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-4968840030847491190</id><published>2009-11-12T16:19:00.001+00:00</published><updated>2009-11-12T16:19:47.778+00:00</updated><title type='text'>Unity Application Block</title><summary type="text">Introduction   The Unity Application Block is a lightweight framework which allows/simplifies the implementation of;   · Inversion of control (IoC)   · Service Location   · Dependency injection   See the terminology section for a brief discussion of these concepts.   When to use Unity  these have been compiled from http://msdn.microsoft.com/en-us/library/dd203206.aspx&amp;#160;          Your objects </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/4968840030847491190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2009/11/unity-application-block.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/4968840030847491190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/4968840030847491190'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2009/11/unity-application-block.html' title='Unity Application Block'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-5347965167154125093</id><published>2009-06-25T15:54:00.002+01:00</published><updated>2009-06-25T17:10:45.524+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADO.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Entity Framework"/><title type='text'>Entity Framework</title><summary type="text">Introduction  The entity framework is Microsoft’s offering into the ORM market. Subsequently it maps databases to entities or objects with zero coding. Wikipedia has the following to say here.  Version 1.0 has been released as part of VS.NET 2008 Service Pack 1 and the MSDN pages start here  Although there has been some controversy about the tool, however Microsoft are determined that the Entity </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/5347965167154125093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2009/06/entity-framework_25.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/5347965167154125093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/5347965167154125093'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2009/06/entity-framework_25.html' title='Entity Framework'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-7495665432168254056</id><published>2009-02-18T10:18:00.001+00:00</published><updated>2009-02-18T10:18:38.070+00:00</updated><title type='text'>Packaging multiple lists in a single feature</title><summary type="text">&amp;#160;  The comment at the following site suggests that it is not possible to put multiple lists in a feature.   http://msdn.microsoft.com/en-us/library/ms434306.aspx  Which although is correct, as always Microsoft have another method of doing this.  The procedure is relatively straight forward.     Create list     Save the list as a template.     Save the stp file(s)     create a feature in </summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/7495665432168254056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2009/02/packaging-multiple-lists-in-single.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/7495665432168254056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/7495665432168254056'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2009/02/packaging-multiple-lists-in-single.html' title='Packaging multiple lists in a single feature'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCy_gD3PPra_KIkVAwiTqpap-s1pe6aXqgiTwwG5pKAUhJrh5Y2t6QZyg6hyO64ysbGN5Tdds5GFFpXTruNhgBQ-kijwIMkXy-bxHM_g-RatM45RST-5Erw-9C995TZ8UO0I1woPsc0o8/s72-c/?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-2355286622851380176</id><published>2009-02-14T11:09:00.006+00:00</published><updated>2009-02-14T11:58:25.177+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PageLayout"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Parts"/><title type='text'>No Parameterless Constructor defined for the Object</title><summary type="text">So we had created a new Web Part and using SharePoint  Designer we put it on to a pagelayout, then deployed as a Feature.FantasticThen when creating a page based on the layout we got this error &quot;No Parameterless Constructor defined for the Object&quot;So  a bit of digging on the internet (and reading the error message) we discover that the problem can be caused by the Web Part not having a Constructor</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/2355286622851380176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2009/02/no-parameterless-constructor-defined.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/2355286622851380176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/2355286622851380176'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2009/02/no-parameterless-constructor-defined.html' title='No Parameterless Constructor defined for the Object'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1614442095383242743.post-3946428416259412913</id><published>2009-02-13T16:57:00.000+00:00</published><updated>2009-02-13T17:05:23.208+00:00</updated><title type='text'>What a week</title><summary type="text">So it has been one hell of a week, but it is almost over now.I have started looking at passing the ASP.NET 3.5 exam.Also had a look at Ruby for the first time.I am sure you can imagine the amount of cursing that was going on.</summary><link rel='replies' type='application/atom+xml' href='http://cursethecompiler.blogspot.com/feeds/3946428416259412913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cursethecompiler.blogspot.com/2009/02/what-week.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/3946428416259412913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1614442095383242743/posts/default/3946428416259412913'/><link rel='alternate' type='text/html' href='http://cursethecompiler.blogspot.com/2009/02/what-week.html' title='What a week'/><author><name>Richard Maly</name><uri>http://www.blogger.com/profile/04866130628362786693</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>