Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Entity Framework compiling error

    Error 67 Error 3026: Problem in Mapping Fragment(s) starting at line(s) (982, 1103, 1112, 1121, 1129): Data loss or key constraint violation is possible in table TAggregationEvent. The following C-side state is not preserved upon retrieving persisted data from the store. An Entity instance e with Key...
    Posted to Damir Dobric Posts by Damir Dobric on 08-10-2008
    Filed under: Filed under:
  • Mimetypes required for VSTO and ClickOnce

    Following mime types should be registered in IIS, when using VSTO and ClickOnce: .application application/x-ms-application .manifest application/x-ms-manifest .deploy application/octet-stream .deploy application/x-ms-vsto
    Posted to Damir Dobric Posts by Damir Dobric on 07-22-2008
    Filed under: Filed under: , ,
  • Error by Implementing of custom ServiceCredentials

    While implementing Custom ServiceCredentials class, you may get following error: Clone() was not implemented properly by 'your type..'. The cloned object was 'System.ServiceModel.Description.ServiceCredentials'. This error indicates invalid or missing implementation of the method CloneCore...
    Posted to Damir Dobric Posts by Damir Dobric on 07-04-2008
    Filed under: Filed under: ,
  • LINQ, “orderby” and dynamic query sample

    One of important benefits of LINQ is that it enables you to write type-safe queries in VB and C#. Unfortunately there are Business cases cases where you want the flexibility to dynamically construct queries on the fly and damage type safety of Linq. :) Here is one example: Now, what if you use this code...
    Posted to Damir Dobric Posts by Damir Dobric on 06-14-2008
    Filed under: Filed under:
  • Error by using of symmetric algorithms

    By using of RijndaelManaged symmetric encryption algorithm you may get following error: " Padding is invalid and cannot be removed." By using of TrippleDES and TrippleDESCryptoServiceProvider you may get following exception: " System.Security.Cryptography.CryptographicException: Bad Data...
    Posted to Damir Dobric Posts by Damir Dobric on 06-03-2008
    Filed under: Filed under:
  • Entity Framework: How Referential Integrity Works

    For everybody who is interested on internals of Entity Framework (ER) in relation to referential integrity, I would recommend this ADO.NET team article written by elisaj: http://blogs.msdn.com/adonet/pages/how-referential-integrity-works.aspx . Another interesting article, which describes ER performance...
    Posted to Damir Dobric Posts by Damir Dobric on 05-24-2008
    Filed under: Filed under:
  • VSTS: Migrating VSMDI files

    When working with Team System, I was often almost frustrated, because somehow my test or test categories just disappear. To solve the I investigated situation when this happen. The category file can be "destroyed" when doing following: 1. When migrating the application to Team Foundation Server...
    Posted to Damir Dobric Posts by Damir Dobric on 05-24-2008
    Filed under: Filed under: ,
  • XLinq Query Examples

    In this pos I will show some intersting XLing examples used to query the data in the Visual Studio project file. Samples in this document are based on XML file shown in this post and are all preceeded with following code, which loads the root element from XML file and set the namespace member to default...
    Posted to Damir Dobric Posts by Damir Dobric on 12-13-2007
    Filed under: Filed under:
  • Hosting BPEL Workflow

    While hosting the BPEL type of the workflow in Workflow Foundation you may get following error: "The requested service System.Workflow.ComponentModel.Compiler.ITypeProvider is missing." If you would like to understand why this error accures, you should take a look on this post . If you just...
    Posted to Damir Dobric Posts by Damir Dobric on 11-21-2007
    Filed under: Filed under: ,
  • Starting of Process on Vista and XP

    Assume you are starting the process with the code shown below. Then immediately after the start you would like to perform any operation on the retrieved process instance. In my example I start the process and kill it after 5 seconds. Process proc = new Process (); proc.StartInfo.Arguments = "wf"...
    Posted to Damir Dobric Posts by Damir Dobric on 11-16-2007
    Filed under: Filed under:
  • Implementing your own Service Bus

    The idea around Service Bus technology seems to become a hot topic soon. Because of this, I will describe in this post how one Service Bus can be build on the top of WCF. If you are familiar with WCF after you read this you should know how the Service Bus could be build. Because this topic is very sophisticated...
    Posted to Damir Dobric Posts by Damir Dobric on 10-31-2007
    Filed under: Filed under: , , ,
  • Impersonating by username and password

    Sometimes it is required to authenticate the user when username and password are known. For this the windows API LogonUser function is used. This function, with little bit .NET code, can be used to fully authenticate the thread in .NET as it would be started by that interactive user. Following code shows...
    Posted to Damir Dobric Posts by Damir Dobric on 10-19-2007
    Filed under: Filed under: , ,
  • Managing Debugging Assistant (MDA - RCW)

    Few months ago, Scott described how to stop managed debugging assistance in Visual Studio in a case of ContextSwitchDeadlock. Now, from day to day I’m experiencing another frustrating Dialog which pop-ups following message: “An attempt has been made to free an RCW that is in use. The RCW is in use on...
    Posted to Damir Dobric Posts by Damir Dobric on 09-05-2007
    Filed under: Filed under:
  • Killing my workflow softly

    One of most exciting and most important features of the workflow foundation (WF) in .NET 3.0 is for sure “Workflow Persistence”. Because the WF is a framework designed for building of “long running” business processes (in this context known as workflows), there is a need for persisting of them. There...
    Posted to Damir Dobric Posts by Damir Dobric on 08-29-2007
    Filed under: Filed under:
  • Persisting of Workflow in the file

    This post contains one very simple working example of the WorkflowPersistenceService which persist workflow instances in the file store. using System; using System.Collections.Generic; using System.Text; using System.Workflow.Runtime.Hosting; using System.Workflow.ComponentModel; using System.IO; using...
    Posted to Damir Dobric Posts by Damir Dobric on 08-29-2007
    Filed under: Filed under:
Page 5 of 7 (97 items) « First ... < Previous 3 4 5 6 7 Next >
developers.de is a .Net Community Blog powered by daenet GmbH.