2008 Nov 09
51 of 910 | COM, RPC and Heap Corruption - Windbg Part 2 - Mr. Bugsy Elusive
We have a C# client and a Local COM server hosting a VoIP stack. We use COM
interop. for API and events to the COM server. Today after some changes, when we started to load testing the system a nasty crash happened. From initial observation it's look
like some kind of Heap Corruption(may be leaked from stack boundary and stuff
like that).
I used DTW / Gflags to run the server(sipserver.exe) under windbg and
symbols are properly set. Stack traces refer to RPC calls as usual but how to
know which thread/function from client made the LPC/RPC call. Following are my
initial observations :
-------------------------------------------------......
52 of 910 | Programming for Windows 7 - Well, Windows 7 is going to be released by the end of next year. This is great news, because it seemed, that Microsoft finally understand how to get the best of Windows Vista and make it to work not only on monster machines.
It even works on new brandy my wife's pinky machine. And if it works there and my wife is happy with it, this OS going to be very impressive.
But from the other hand, we, as developers should be ready today to developer Windows 7 ready application (by the way, Vista Battery Saver works for Windows 7 as well as for Windows Vista, in spite of the fact, that power management in Windows 7 was improved dramatically). So let's start!
First thing we need is to read b......
53 of 910 | What a WF4.0 Workflow looks like in code -
This code contains a sequential workflow running in a console application.
There is a sequence and inside the sequence a QueryActions and ForeachLoop.
The QueryActions Activity is a custom activity that you can create through Visual Studio add >> new >> .... etc... it gives you a design surface where you can drop standard out of the box activities. In this case the QueryActions activity has inside of it a standard toolbox DBQuery activity which lets you point and click your way to a database select. The QueryActions activity also takes some parameters it can supply to its DBQuery Acitivity.... Actions and DBConnectionContext. The QueryActions activity outputs a List<Ac......
2008 Nov 08
54 of 910 | [Visual Studio] [SharePoint] Workflow Toolbox doesn't have SharePoint section -
Workflow Toolbox doesn't have SharePoint section
This is what you need to do to add the SharePoint Section:
Go to the toolbox
Right Click and choose ADD NEW TAB
Rename the new tab as SharePoint
Then right click on new tab and click on CHOOSE ITEMS
Browse to: "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI"
Locate the following dll: microsoft.sharepoint.WorkflowActions.dll
Click OK
Now you have other activities etc to make use of example: CreateTask, SetState, DeleteState etc :-)
...
55 of 910 | AI RoboForm, BHO and C# - Remember the awesome AI RoboForm. Its the smartest of all web form fillers exist on earth. In case you haven't used it you can found it here. From password memorization (I'm extremely shaky about trusting any third party software expecially those deals with password, CCs etc.), to secure transfer of user data profile to removable devices by Pass2Go RoboForm has it all. Although its seems easy until I myself went on creating some proof of concept equivalent to this.
To achieve anything closer to this I need to create something called plugin. You must be saying a - 2yr-old kid also know about plugins. What's your point? To be exact I need to create something called BHOs or browser h......
56 of 910 | BizTalk Server a fait des petits... -
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
Normal
0
21
false
false
false
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tableau Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:" ";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
......
57 of 910 | The bad then the good… - I haven’t had the chance to update lately (by lately I mean this week really) because my grandfather has passed away. He was a great guy and I loved him. I just hope that he’s happier now than he was for his last few days on earth. That was the bad news, but he was a great guy and I am better for knowing him. The good news is that I’m really motivated to get some new series under way. The underlying idea when I made WTFNext was that I’ve seen so many tutorials that I’ve felt were incomplete or could be explained so much better, I felt that I should try to do those tutorials better myself. The name of this blog is a reference to how I felt after reading those incomplete and somewhat hard t......
2008 Nov 07
58 of 910 | Building applications for Windows Azure - Windows Azure is an upcoming operating system for the cloud from Microsoft, announced on October 27 at PDC. Windows Azure provides developers with on-demand compute and storage to host, scale, and manage Web applications on the Internet through Microsoft data centers. Azure goes beyond what other providers, such as Rackspace's Mosso or Amazon's EC2, offer. First, it will be available with a complete suite of tools and technologies for building your next big cloud application. Second, the Azure platform's goal is to support all developers and their choice of IDE, language, and technology; meaning that you can use your favorite tools for all kinds of development as well as Python, PHP, Ruby, ......
59 of 910 | Oslo - The Future of Software (from SOA Conference 11/2007) -
Models enable SOA which enables agility
Messaging Platform Spreads SOA out over the Internet
User Enablement
The Tools
Future Business Models and Opportunities
The SOA and BPM Conference at Microsoft was a great time, got to meet old buddies, made some new ones and learned quite a bit about the possible future of business and the software that drives it. It wasnt all fun and games though, I was recovering from pneumonia and had to pull an all-nighter to get a Demo up on Microsoft's ESB for some potential business. But anyway......
.
At the SOA and BPM Conference Microsoft unveiled the evolution......
2008 Nov 06
60 of 910 | Performance tuning - A perfect collection of all BizTalk 2006 R2 performance tuning documents: http://intltechventures.blogspot.com/2008/11/2008-11-01-saturday-biztalk-2006-r2.html.
Keep this URL in mind!!
...
2008 Nov 04
61 of 910 | Custom Code Snippets Series Part 3: XML Example - Hey guys, Here we are, and I’m taking the time to finish up my first series at my new host geekswithblogs! For this part of the series we’ll be taking a look at a practical example of an XML snippet, namely the snippet to create snippets. I’ve created my own version, but if you’ve toyed with XML snippets before you would know that Microsoft has already included a snippet snippet. This is a good alternative to the “Hard” way described in Part 1, but what if you want a little more of a custom feel to your snippet snippet? Getting Started This time around I’ve published the code on Codeplex, at the following address: http://www.codeplex.com/wtfnextsnippetseries You can download the pr......
62 of 910 | Debugging in BizTalk - I recently opened a ticket with Microsoft due to a connectivity issue with a customer. The problem was ultimatly resolved by turning off the message chunking feature in the HTTP adapter configuration. It turns out that HTTP chunking is a HTTP 1.1 version feature and our customers servers still use HTTP 1.0.
While trying to resolve this issue the Microsoft technician asked me to add some XML to the BizTalk configuration file. The XML turns on the .Net Tracing feature that is built into the System.Net, System.Net.HttpListener, System.Net.Sockets and System.Net.Cache framework code. By adding the XML a file is generated in the same folder as the configuration file. The debug information ......
63 of 910 | Documenting C# Code - An interesting application I was shown for documenting C# code is called Ghost Doc.
Roland's summary of the tool:- GhostDoc is a free add-in for Visual Studio that automatically generates XML
documentation comments for C#. Either by using existing documentation inherited
from base classes or implemented interfaces, or by deducing comments from
name and type of e.g. methods, properties or parameters.
...
64 of 910 | PDC Recap and Session Recommendations - It's been a three or four days now since I returned from PDC. After seeing all the other bloggers give detailed descriptions of the sessions and parties I didn't feel too obligated to add too much of my own spin on topics heavily covered by others. Instead, I thought I'd wait till the recordings were available and share links to the highlights I was witness too. As to my thoughts on having the recordings available so quickly after the conference and of such a high quality, I can only say I am very impressed. It doesn't mean I'm not eagerly looking forward to attending next years conference because the networking opportunities and social interaction with some great developers were pricel......
65 of 910 | Repair: FTP (Main SyncServer) Synch random hang when running sync as a service - There's been a problem plaguing our SalesLogix install since 6.2x. Our sync service would randomly hang on our Windows 2003 Server box. Eventually it became more well known as more people began upgrading to Win2003 I believe and this confirmed it.
My fix was to either babysit the service by checking MonitorConsole every day for log errors, or waiting until remotes reported a problem which usually ended up being around a week into it being broke, which in today's world isn't really practical or cool.
I heard of a PowerShell script used by one of the BPs for repair if I recall correctly, so I wanted to see if I could build my own. I've decided to release a consolidated version of the script......
2008 Nov 03
66 of 910 | Dynamic WCF location mapping and configuration -
So, I have a situation where I need to look at different web service addresses depending on where my application lives (local vs. test vs. production). In the .NET 2.0 world, I could dynamically change the URL property like so:
myserviceProxy.URL = “http://localhost/myProject/myService.asmx”
It’s hard coded there, but I could set that string based on a config parameter. Now, in WCF we don’t have a URL property, but we have something similar in Endpoint.Address.
So, now my code looks more like this:
myservice = new ServiceClient();
string loc = "http://localhost/myProject/myService1.svc";
EndpointAddress address = new EndpointAddress(loc);
myservice.Endpoint.Address = add......
67 of 910 | PDC 2008 Recommends List - I thought I would share the sessions at the PDC I really enjoyed and would recommend for viewing for those that didn't attend. And you know who you are. :) And those who did attend but didn't get to watch these. I'm sure there are more that were great, but these are the ones that stuck out to me. Deep Dive: Dynamic Languages in Microsoft .NET Jim Hugunin gives a great session on Dynamic Languages. This was the best talk I went to the entire PDC so I'm listing it first, but you should watch The Future of C# below first. It is very reminiscent of the few Computer Sciences courses I've taken. You won't learn any skills here that will directly apply, but covers theoretical aspects ......
2008 Nov 02
68 of 910 | Non-Optional Claims in the Geneva Framework - I'm currently doing some work with the Geneva Framework (formerly known as "Zermatt"), which I am very excited about; With the SOA wave and now the coming Cloud wave, federated identity becomes a crucial component in the enterprise and it is great to see such a good story for it from Microsoft. Using the "Zermatt" SDK (I now need to download the updated framework and align with it) I have succesfully, and quite simply, managed to create both an active STS scenario and a passive STS scenario, both sharing the same underlying STS code; this was a great experience and I hope to post some more details over the next few days. I was, however, a little bit surprised by the behaviour of the fra......
2008 Nov 01
69 of 910 | [SharePoint Designer]: “Unable to load workflow actions from the server.” -
Today I encountered a new error at work which is:
“Unable to load workflow actions from the server. Please contact your server administrator.”
This occurred when I opened a SharePoint site in Microsoft Office SharePoint Designer, and then tried to add a Workflow.
Apparently, if one makes a mistake when deploying his/her custom activities, no workflows work.
The solution to this is to find the error in Visual Studio and then restart the IIS and try over again. Most probably, the error is in the new XML you wrote in the .ACTIONS file, so make sure to first check that out.
Goodluck!
...
70 of 910 | [SharePoint] State Machine Workflow vs. Sequential Workflow -
The two types of workflows which exist out of the box in Visual Studio are:
Sequential Workflow
State Machine Workflow
Below, find the differences between them, so that when you are thinking of implementing a workflow, you would use the one that fits the most:
State-Machine workflows:
State-machine workflows are workflows which are driven by particular events. Example:
OnTaskChanged
OnTaskCreated
OnTaskDeleted
OnWorkflowActivated etc
In order to move to another event, the workflow needs to meet another state.
If a task is created, the workflow stays on that event until another even is c......
2008 Oct 31
71 of 910 | [C#] [Java] Testing [Part 3]: Gray Box Testing -
Gray Box Testing
Gray Box Testing is the combining of black box, and white box testing. It involves having access to internal data structure and algorithms, but the testing is still done at a user's level, therefore as black box testing. It is said to be mostly used in web services applications since the Internet is quite stable.
Advantages:
The testers do need to have the source-code while testing.
Disadvantages:
The testing is done based on limited knowledge of the internal code.
Difficult to resolve bugs as the internal code is not known and it is not easy to determine from where the problems are coming
...
72 of 910 | Silverlight Cream for October 31, 2008 -- #415 - In this issue: Jeff Wilcox, Jordan Knight, Justin Angel, Imran Shaik, Corey Schuman, Jeff Paries, and Jafar Husain.
I stopped at these 9 entries for now just to get them out. I've got 9 queued up behind these and that's just from me running my big list-o-blogs about 10:30 last night and what's been submitted since! ... a very prolific bunch you are :)
From SilverlightCream.com: AutoCompleteBox: The 5 things you need to know Jeff Wilcox has a trilogy about the AutoComplete box. This first is exactly what it says: 5 things you need to know. He followed that up immediately with AutoCompleteBox: Video introduction, and then this one Introducing the AutoCompleteBox with l......
2008 Oct 30
73 of 910 | About "Dublin" - Microsoft have announced "Dublin" in September, but up until now (PDC) there' has been very little information about how that is going to look now. Over at PDC are finally able to see some sessions as well as visit the various .net booths and get first hand look at the "bits" and ask questions about the new technologies. However, at this time of writing this, I have not yet attended any Dublin sessions, which really means anything I write here currently is stipulating on some stuff I've seen and heard "in the corridors of PDC". I have, however, spent enough time at WCF/WF booth to probably make them call me various names behind my back (I'm sure) :-) and I think have got at least an ide......
74 of 910 | Binding data controls with datasets using SqlDataAdapter - SqlDataAdapter
Use this data adapter object to bind SQL data sources.
Using SqlDataAdapter Object
Using System.Data.OleDb; // do not forget your namespace
------------------------------
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
......
2008 Oct 29
75 of 910 | CONDG Lightning Talks -
Normal
0
false
false
false
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:" ";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
Mono Presentation
Last Thursday I took part in CONDG’s answer to Open Mike night; Lightning Talks. I presented for 10 minutes on Mono, an open source implemen......
76 of 910 | So.. Who's David Silverlight? -
David Silverlight is the mastermind behind SEVERAL sites. To name a few:
www.community-credit.com
www.xmlpitstop.com (this is one I heard about recently)
www.stupidcubicle.com
www.nonprofitways.com
David Silverlight is a geek which regards to programming and xml and yes, if you were wondering: Silverlight was named after him. David himself writes about this on his blog [see here].
In short... Bill and David met for some drinks and a chat. They talked about things in general and then started to talk about Microsoft and what David was working on. Bill told him that he wants to honour him in a better way than giving him an MVP and so it goes...
David: My inst......
77 of 910 | Tutorial: [SharePoint Designer] Deploying an Activity to Office SharePoint Designer -
Tutorial: Deploying an Activity to Office SharePoint Designer
I had a really difficult time to deploy my first activity to Office SharePoint Designer, because I didn't find a complete tutorial of how to do it, so I figured out that I should do a proper one and share it with you all. Please read :-)
1. Save and successfully build the activity in Visual Studio
2. Sign the Assembly:
· Right click the solution node in the Solution Explorer
· Select Properties
· Click the tab named: Signing
· Check the box ‘Sign the assembly’
· Select ‘New’ from the Choose a strong name key file dropdown list
· Name the key file according to......
2008 Oct 28
78 of 910 | Closure Operator Support Added To Sotue - The .NET-based lexical analysis engine on which I have been working, dubbed “Sotue” for no particular reason, now supports building NFAs for regular expressions that includes what is known as the closure operators, all of which you should recognize as soon as you see them: ?, which means “match on zero or one occurrences of the preceding expression” *, which means “match on zero or more occurrences of the preceding expression” +, which means “match on one or more occurrences of the preceding expression” Numbers, for example, can be recognized as a sequence of one or more digits, so a regular expression to recognize a number might look like this: (0|1|2|3|4|5|6|7|8|9)+ This......
79 of 910 | October Baton Rouge .NET Users Group Meeting (in November) - NOTICE: Due to a scheduling conflicts as Halloween activities the October meeting has been moved 1 week to Wednesday, November 5th. Sorry for any inconvenience. .Net User Group Meeting location: At Lamar Advertising Thursday, November 5th, 2008 5:45 PM - 8:15 PM Sponsored by: Portico Learning Solutions Presenter Jeremy Beckham BIO: Jeremy is a Senior Developer for High Power Consulting, Inc. and has over 5 years of experience in .Net and SQL Server development. He's worked on projects ranging from ASP.Net MVC websites to enterprise wide custom ERP systems. He specializes in application integration and has built integration solutions including custom FTP ......
80 of 910 | SharePoint 2007 Site Definitions Part 3 - List Definitions Using SharePoint Solutions Generator 2008 1. Start SharePoint Solutions Generator a. Create List Definition b. The two custom lists are Internal Contact (Custom list) and Tasks (Custom View) c. Hit defaults’ to finish d. VS 2008 Solutions Generator will provide a link to the generated solution 2. Create two Feature folders in the WSPBuilder Solution a. Tasks b. InternalContacts 3. Copy the two folders created by the Solutions Generator into these folders 4. Notice the custom view in the tasks list definition a. In addition, The ListDefinition.xml file. b. We will use this to create the feature so: i. Move this to the next folder up on both lists ......
81 of 910 | SharePoint 2007 Site Definitions Part 4 - ONET.XML Part 4 is the real difference in the site definition we are creating and those offered in many books and blogs. Except for the methodology I am presenting, I haven’t really offered anything new! Today we will start to deviate. The ONET.xml file is fairly simple when you get to using it a few times! The ONET.XML file I am proposing is very simple and not much in it except for some OOTB xml and the only thing that will change in this instance is adding all the features we have created and two more new features! Feature receiver for code and a feature stapler to add the code to the site definition. But first let’s complete the ONET.XML file: 1. NavBars Element: We will keep the defa......
82 of 910 | SharePoint 2007 Site Definitions Part 5 - A blog that provides details but not a solution which compiles and installs is not very helpful as there is just too much going on and assumptions about the knowledge of the reader are impossible to make! I have tried to follow many step by step tutorials and had the final product fail because of missing steps or my understanding of the steps! If you add this solution, you must activate the feature at the site collection level prior to creating a new site. If you create a new site collection with this solution this step is unnecessary. The solution provided is not exactly the same as described in the blog entries Part 2 - part 4. But is close enough to validate the methodology. I have ......
2008 Oct 27
83 of 910 | SharePoint 2007 Site Definitions Part 1 (Basics) - For the last 1 1/2 years I have browsed and used content from hundreds of blogs that I have researched in the performance of my position as a SharePoint developer. I have needed to do this as SharePoint 2007 has many books which have shallow dives into the API only a few offer insights into “Best Practices” and the best way to accomplish SharePoint customizations. This blog entry is some pay back for all those bloggers whom I have used to ensure successful engagements.
In the last 16 months I have had 4 major clients and a few smaller ones and for a few of the engagements I have found the need to provide the client with a site definition for a common division/department site. In the beginn......
84 of 910 | SharePoint 2007 Site Definitions Part 2 - I spend some time over the last weeks reverse engineering Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2 and with the help of a few bloggers who really did much of the investigations I just validated them. I’ll allude to these as we develop the site definition. In WSPBuilder when creating a project the tool behind the scenes parses the 12 hive and creates entries in a solution manifest file corresponding to these entries. I won’t go into the details and they aren’t needed just use the tool and thank the developers for the effort, just understand that solution development was much harder before these tools were developed! Let’s get started: 1. Create a n......
2008 Oct 25
85 of 910 | [FREE SHAREPOINT TOOLS] Free Workflow Activities -
I found online some free Workflow Activities for SharePoint, it is worth it to take a look at them and see if they are significant for you: http://wf.netfx3.com/files/14/default.aspx.
These include:
ForEach Activity
Workflow WebPage Activity
Create Word Document Activity
Send Email Activity
Create Excel Spreadsheet Activity
SQL Server Database Activity
Enjoy!
...
86 of 910 | [SharePoint - VisualStudio] Description of the files when creating a SharePoint Server Sequential Workflow Library - The files that appear in the solution explorer automatically when you create a new Sequential Workflow Library are:
· Feature xml (DeploymentFiles\FeatureFiles) :
o This xml file is used to put together a workflow as a feature, in order for it to be deployed into SharePoint. When creating the project, this file is almost blank.
· Workflow.xml (DeploymentFiles\FeatureFiles) :
o This workflow xml file is the final piece the developer needs to deploy workflow to SharePoint. At the beginning, this file is almost blank too.
· Manifest.xml (DeploymentFiles\ProductionDeployment) :
o This is used in the process of packaging the workflow into a soluti......
87 of 910 | [SharePoint - VisualStudio] Error : Corroleation value has not been initializedon declaration *correlation name* for activity *name of activity* -
This error arises on the deployment of a SharePoint Workflow where the developer has put an activity above the onWorkflowActivated activity.
Kindly, put the onWorkflowActivated activity as the first activity in your workflow as this is a SharePoint restriction.
Try to deploy again. Good luck!
...
2008 Oct 22
88 of 910 | [Book Review] MicrosoftOffice SharePoint Designer 2007 Step by Step - Penelope Coventry - Book Review: MicrosoftOffice SharePoint Designer 2007 Step by Step - Penelope Coventry
This book is full of tutorials and hints in building customised SharePoint sites. It helps you build pages complete with CSS (Cascading Style Sheets), Libraries, lists and also webparts which are very customisable.
I bought the book for the main purpose to learn creating workflows with SharePoint Designer 2007, and it really help me. The book as the title says, is really step by step and it is designed and laid out in a way, that it makes the user interested to read and learn. It is not a boring black and white book, but it engages the reader to take interest.
The CD which comes free with this ......
89 of 910 | Combining BizTalk Software Factory and BizTalk Deployment Framework - Recently I have finished a preliminary version of an adaptation of the BizTalk Software Factory guidance automation package, owned by Jean-Paul Smit and Dick Dijkstra (BSF), where I have extended the functionality of the BizTalk Software Factory with support for Scott Colestock's BizTalk Deployment Framework (BDF). The new BSF code should be up & downloadable any time soon, so you can testdrive it yourself then.
The main advantage of using BSF and BDF in conjunction is that you should be able to produce a full BizTalk compilable and deployable solution within minutes using a few mouseclicks (ok, and some keyboard entries), leaving a situation where you have a repeatable development and......
90 of 910 | Unit testing BizTalk artifacts using BizUnit - First off, credit where credit's due: Tomas Restrepo has done an amazing job making pipeline testing way easier with the pipeline testing library. Read all about it here.
Tomas' library inspired me to write some test steps for the BizUnit framework that would allow for true unit testing of BizTalk components: being able to test BizTalk components without having to deploy the components to a BizTalk server, making testing roundtrips easier and overall less painfull. As additional advantage, you can have all tests use a similar approach/syntax, and use the already present validation steps to validate the results. I have implemented the following steps for BizUnit:
- ExecuteMapStep
- Execut......
2008 Oct 21
91 of 910 | Building's the easy part...now I gotta change it. - It would be great if we could just build a service and leave it alone. Unfortunately that's rarely the case. For one reason or another, we have to make changes that impact the service in such a way that the applications that talk to it are affected. All of a sudden, that elegant piece of code becomes a nightmare because it no longer wants to talk to anything else.
Let me preface this by mentioning two events. First, many months ago I had the enjoyment of seeing a change I made to a service cause a break in the application calling it. Lucky for me it only made it to test and not to production, but it still was a source of heartburn because I held up another change that needed testing......
2008 Oct 20
92 of 910 | Custom Code Snippets Series Part 2 of 3: The “Easy” Way - Here we are at part two of the Custom Code Snippet Series. In the previous part we covered how to make your own snippet by creating an XML .snippet file and adding to it the necessary content to get a custom snippet up and running. This time around, we’re going to cover the “Easy” method of creating custom code snippets: through a GUI. Thankfully, the MSDN itself has a Code Snippet Editor for both Visual Basic 2005 and 2008 available at the following links. This tutorial will make use of the Visual Basic 2005 Code Snippet Editor. To get the 2005 version: http://msdn.microsoft.com/en-us/vbasic/ms789085.aspx to get the 2008 version: http://msdn.microsoft.com/en-us/vbasic/bb973770.aspx ......
93 of 910 | So, just how hard is it to build a service? - I know many of you out there have probably already used WCF for building services. However, it's been my recent experience that several of my fellow developers either haven't built services at all or are used to the way ASP.NET does them. One of the things I've been tasked to do is to put together a presentation explaining the benefits of using WCF. In researching the topic, I found this nifty little demo (again from Channel 9) building a simple service and app using nothing more than Notepad.
WCF 101 Demo (a la Notepad)
Very basic, but it demonstrates how easy it is to set up a service in .NET 3.5, even if you're not using Visual Studio.
...
2008 Oct 19
94 of 910 | Copying/Moving a document to another library anywhere in the site or sub-site [SharePoint] -
Part 2
Copying/Moving a document to another library anywhere in the site or sub-site
Workflow 2
Go to the document library in which the documents are going to be stored.
1. In SPD, go to File > New > Workflow.
2. Name it “Check Out Item” and attach it to your SharePoint Library… In our case “Documents”.
3. Check the boxes for:
a. Automatically start this workflow when a new item is created
b. Automatically start this workflow whenever an item is changed
4. Click Next > to Continue.
1. Name the first step and only steps as “Check in list item”.
2. No Conditions
3. Action > Check in Item
a. Clic......
2008 Oct 16
95 of 910 | Dynamic GridViews with ITemplate and Services in SharePoint - GridViews and SharePoint
Programming for SharePoint poses some challenges to the .NET developer. Of course first you should be familiar with .NET, I will be using c# in my examples here. One of the main development paths for SharePoint is to create modular functionality in Web Parts. Web Parts are great little chunks of a web page that you can cram anything you can think of into; however you won’t have the nice visual tools you are used to working with. For a simple “Hello World” type application this is fine, but what if you want to do something more complicated like say, display a GridView on your page. And what if that GridView got its data from a web service which requires custom colum......
96 of 910 | First Reaction to Silverlight 2 RTW - I can just say that I'm happy to say good bye to Blend 2.5, it was really a pain to use to different Blend versions (2.0 and 2.5 as I mostly work on WPF) and since already bought the Expression Studio I was wondering if I had to buy Blend 2.5 just for Silverlight but now I am happy. I might bring new tutorials and now that we have a stable version it will be better I was just waiting for the final and stable release so as to kick start developing commercial Silverlight applications. I must add that since Silverlight 2 Beta 1 was released and my dissatisfaction was confirmed I really lost heart on Silverlight but full credit to Microsoft on updating Silverlight versions to its final releas......
2008 Oct 15
97 of 910 | WCF - The action is invalid or unrecognized error - When consuming a WCF Service in BizTalk, I came across the error: The action is invalid or unrecognized.
The reason was that when I created the logical Request/Response port for the service in the orchestration, I used a new port type. When generating the files for consuming the service, BizTalk had automatically created a Port Type for the Request/Response port.
When I used this port type, the error went away.
...
2008 Oct 14
98 of 910 | Custom Code Snippets Series Part 1 of 3: The “Hard” Way - In this brief series I’m going to go over creating your own custom code snippets for use in Visual Studio 2005 or later. We’ll be using the XML Schema from Visual Studio 2005, but I assure you it works for both. This series will contain three parts: The “Hard” Way The “Easy” Way Practical Example of an XML Snippet The reason we’re going to call this version the “Hard” way is because there are snippet generator apps available, including one made by the teams themselves. So before we begin, I’d like to say that I prefer to use the “Hard” way.