- Follow MSDev.pro blog on WordPress.com
Follow us
-
Recent Posts
Categories
Recent Comments
Archives
Category Archives: Development
Starting a scheduled task in C#
I had to start a scheduled task. Most of the examples on MSDN use C++ for this, because there are no managed APIs to work with the task scheduler. Lucky for me the COM components for the Task Scheduler are … Continue reading
Posted in Development
Leave a comment
Using a SmartPartPlaceHolder
Tags van Technorati: CAB,SCSF,SmartPart,SmartPartPlaceholder When you want to present a SmartPart like a Usercontrol, you can use a SmartPartPlaceholder. The placeholder hase a property ‘SmartPartName’ which is used to store it in a collection of the WorkItem. This means that … Continue reading
Posted in Development
Leave a comment
SCSF – giving a smartpart a title using attributes
When creating a [SmartPart] in SCSF, and adding it in a Tabbed Workspace, its title is empty by default. This results in a tab without a label in the workspace, not a pretty view. The standard way to solve this … Continue reading
Posted in Development
Leave a comment
Choose Items crashing Visual Studio 2008
When trying to choose items to add to the toolbox in VS 2008 the following happened: * Wait for a couple of minutes * VS 2008 shuts down, no error message, just gone. After the crash, the following events … Continue reading
Posted in Development
Leave a comment
WCF – get identity of calling user
To get the identity of the calling user of your web method, you can use something like this: string name = OperationContext.Current.ServiceSecurityContext.WindowsIdentity.Name; Constraint: your service contract must have a session. In WSSF you can change this in the … Continue reading
Posted in Development
Leave a comment
Debugging a webservice created by WSSF
To debug the webservice rightclick on the solution name and get the Startup Projects. Select the client app that you’re going to use for your debugging, and put its action on start or start without debugging. Do the same for … Continue reading
Posted in Development
Leave a comment
WSSF
Today I’ve been investigating the Web Service Software Factory: Modeling Edition. I have gone over the tutorial and created my first web service with it. It’s a great tool to model your web services first, and then implement them. The … Continue reading
Posted in Development
Leave a comment