Nov 16 2009
Nov 12 2009
Nov 06 2009

Tools for setting up SSL in IIS on your developer PC

http://www.codeproject.com/KB/WCF/7stepsWCF.aspx

http://blogs.msdn.com/fai/archive/2009/04/17/granting-permission-to-certificate.aspx

Command for creating a cert: 
makecert.exe -sr LocalMachine -ss My -a sha1 -n CN=MyServerCert -sky exchange –pe

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Oct 26 2009

Building RESTful Web Services with WCF

 Articles:

Blogs and other items of interest:

WCF Starter Kit
WCF REST: The WCF REST Starter Kit is a set of .Net Framework classes and Visual Studio features and templates that enable users to create and access REST-style Windows Communication Foundation (WCF) services. These services are based on the WCF web programming model available in .Net 3.5 SP1. The starter kit also contains the full source code for all features, detailed code samples, and unit tests.

Miscelaneous WCF

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Aug 02 2009

ServiceU Related Case Studies

 
"Helping churches and other non-profit organizations, freeing up their time to do the things that are most important."
ServiceU case studies and articles.

Microsoft
http://msdn.microsoft.com/en-us/library/ee355221.aspx
http://www.microsoft.com/casestudies/casestudy.aspx?casestudyid=4000001258
http://www.microsoft.com/casestudies/casestudy.aspx?casestudyid=49683

Dell
http://www.dell.com/content/topics/global.aspx/casestudies/FY2008_Q2_id539
http://www.dell.com/downloads/global/casestudies/2007_ServiceU_v7.pdf


COMPUTERWORLD
http://www.computerworld.com/action/article.do?command=viewArticleBasic&taxonomyId=9&articleId=9037060&intsrc=hm_topic

TechRepublic
http://whitepapers.techrepublic.com.com/casestudy.aspx?docid=276374

ZDNet (Same study on TechRepulic)
http://whitepapers.zdnet.com/casestudy.aspx?docid=276374

Other (blogs, posts, and so on)
http://brettlive.com/2006/08/03/serviceu-part-of-microsoft-case-study/
http://www.nacba.net/Article/serviceU_Profiled.htm


Press Release regarding the 10-year Anniversary of ServiceU

Article from WorshipFacilities.com Jan/Feb 2009

HT: James Hanauer (Version Infinity)

 


AMD Video

http://sites.amd.com/us/atwork/Pages/showtime4.aspx 

Dell Video

http://www.dell.com/content/topics/topic.aspx/global/shared/mediaplayer/large_screen_view?&mediaPlayerTarget=http://i.dell.com/images/global/video/flv/enterprise/dell_serviceu.flv

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Jun 23 2009

Upgrading VSTO VS2005 Excel 2003 Application to a VSTO VS2008 Excel 2007

Just documenting my experience of upgrading my development environment and an Excel 2003 application I wrote.

Out of the gate:

Opening up the solution using VS2008 (and having Office 2007 installed), there was an automatic conversion of the .xls to a .xlsx file and the new project automatically targetted the .net 3.5 framework. All seemed good, except...

1.) I had some code in my project that I copied from somewhere that apparently doesn't work any longer with the new VSTO. I do not have a solution yet to get paste this yet, but I will be looking at that closer in the coming days. Here is some of the code. The new VSTO API apparently doesn't have the RuntimeCallback object in it any longer. I am using this because I am creating Excel Worksheets dynamically in code and I am putting controls on them like dropdowns and radio buttons. I am having to keep a reference to the worksheet in a hash table so that I can always get back to it when a radio button is clicked, etc. I don't pretend to totally understand this, and it has been a while since I coded this, but I do remember having to do this "hack" to be able to get access to the worksheet controls again once the user moved to another worksheet. The object "CurrentWorksheet" no longer saw the dynamic controls on the page so I could do nothing with them. Here is a post that talks about this issue, but didn't help me resolve this issue.

UPDATE: Here is THE solution to this issue in VSTO 2007/8 (whatever it is being called). It can basically be found in the post referenced below on New GetVstoObject method? First your workbook and worksheet code pages need to import Microsoft.Office.Tools.Excel.Extensions. Then in the Workbook_Startup event you need to force VBA to startup on the Excel worksheet with a line of code like this: Dim temp As Object = Me.VBProject. After that, then you can take a reference to an Interop worksheet and can call the new GetVstoObject method and BAM - you have your full featured worksheet host item with full access to all of your controls and such.

Dim hostItemProvider As Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider = CType(RuntimeCallback.GetService(GetType(Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider)), Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider)

2.) Next I wanted to target the .net 2.0 framework with this project because my users don't have the 3.5 framework on their PCs. Changing this the target framework cause me to have this compile-time build failure with this error message: "EntryPoint not specified for manifest targeting Framework version". Well, a little binging lead me to this forum discussion. The bottom line of what was posted: ".NET 3.5 is a requirement to use the new ClickOnce publishing and deployment options in VS2008. the ClickOnce publishing and deployment feature is only applicable to the 2007 Microsoft Office system. If you do choose to use ClickOnce, manifests must be signed with a certificate. For more information about ClickOnce deployment, see http://msdn2.microsoft.com/en-us/library/bb386179(VS.90).aspx. If you choose to use .NET 2.0 with VS2008, you can only develop for Office 2003." Ok - so I guess my plan has to be to upgrade my users to the .net framework 3.5.

This upgrade is done and working! Woot! Now just need to deploy again and start having users test it. I anticipate that the users will need to have .NET 3.5 sp1 installed before this will work for them. I am also guessing they will need the new VSTO runtime. I guess we will see... more on that later!

Other Helpful Links:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Jun 23 2009

Export to Excel 2007 throwing a Corrupted file warning?

Check this blog post from the "VS Office Developer Escalation team at Microsoft Support".

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
May 12 2009

Open Source or Die – The "Real" Future of Graffiti?

If you are interested in the future of Graffiti CMS, be sure to read this blog post.

This is an excellent post regarding the concern for the future of the .NET CMS software "Graffiti". I couldn't agree more. I checked into this software when it first came out. I downloaded the beta, custom themed it, made it do a few tricks and used it for my own personal purposes at my home. I love the software, but as soon as it looked like the support wasn't there then my interest in the software died. I check back at the site every so often, but there is little news that offers any comfort. I have implemented this blog with blogengine.net. This is open source and it works well. I like it, but it doesn't have some of the slick features of Graffiti. I am not complianing, I love BlogEngine, I am just stating that there are differences in the software, differences that I appreciate.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Apr 23 2009

Linqpad

Learned about this at the Memphis .NET User Group.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Apr 09 2009

Enums, Flags, Bitwise Operators - Oh My!

I have run across some interesting items in the last couple days regarding Enums. I have used some of these techniques before, but never really understood them. I don't claim to understand them any more than I did now, but at least I found someone else talking about it! :)

 

 

I ran into an interesting scenario with this on the GridView control's RowState property which is of type DataControlRowState. DataControlRowState is an Enum with the various states that a row in the grid can be in. See this link for the information directly regarding this on MSDN. In the RowDataBound function I was using an IF statement to check if the state of the current row was in edit mode (Enum value of 4). If e.Row.RowState = DataControlRowState.Edit Then... Well, this worked great for "DataControlRowState.Normal" rows (Enum value of 0), but not so much for "DataControlRowState.Alternate" rows (Enum value of 1), because the RowState actually equaled 5 (which is a combination of Edit (4) and Alternate (1)). This is a problem because my IF only worked for Normal Rows. So the question was how do I test for Edit regardles of any of the other settings that might also be true at the time. You can find this in a couple of the articles above, but here is the actual IF statement that works! If (e.Row.RowState And DataControlRowState.Edit) = DataControlRowState.Edit Then... 

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5