Blogs @ IRM

Welcome to Blogs @ IRM Sign in | Join | Help
in Search

Browse by Tags

All Tags » .NET 2.0   (RSS)
Showing page 1 of 6 (102 total posts)
  • Getting Started with Media Center Development in Visual Studio 2010

    I got an idea for an Windows Media Center (MCE) application (add-in) that I wanted to try out if I could get it working. First step was to learn how to develop something for Media Center. I found this to be harder than I thought it would be, partly because I have chosen to not install Visual Studio 2008 on this machine. This post will be ...
    Posted to Eric's Blog (Weblog) by ericqu on december 7, 2010
  • The Small Things: How to Show the Color Categories in Outlook

    In an add-in for Outlook that I’m developing I wanted to show the built in Color Categories dialog so that the user could choose categories in a familiar way. The categories should be set on an object that is unique for the add-in (aka not for a mail or calendar item). I couldn’t find any way to show the dialog itself and when searching Internet I ...
    Posted to Eric's Blog (Weblog) by ericqu on augusti 11, 2010
  • The Beauty of ClickOnce Deployment of Office Solutions

    Three years ago (can’t believe it’s been so long) I blogged about creating an Outlook add-in. The add-in was developed with VSTO 2, but now I thought it was time to upgrade it to VSTO 3 and try out the ClickOnce deployment. If I was impressed about how easy and much better it had become to develop for Outlook 2007 with VSTO 2, I must say that the ...
    Posted to Eric's Blog (Weblog) by ericqu on februari 1, 2010
  • RC for Windows Identity Framework (Geneva)

    Windows Identity Framework (known as Geneva) has now been released as a release candidate (RC). This is great and will have a big impact on how identity and some other security related parts of your applications will be implemented. If yu haven’t started use claims yet, now is the time to do some reading to catch up and shift yuor mind. Vibro’s ...
    Posted to Eric's Blog (Weblog) by ericqu on november 8, 2009
  • MVVM not for Windows Forms?

    Lately I’ve been using Model-View-ViewModel (MVVM) in Windows Forms application with great success. I really like using this pattern because it has made me getting even more code out of the View and into the ViewModel instead. One reason for this I believe, is that the ViewModel has no reference to the View and this forces me to have better ...
    Posted to Eric's Blog (Weblog) by ericqu on augusti 8, 2009
  • Binding Visible Property Often Requires Workaround

    I haven't managed to bind the Visible property of Windows Forms controls and getting it to work. I belive that it does not work because the property that I bind to returns false initially and therefor are the control never created, and the data binding of the control is not active if the control is not created (because of optimization). This is ...
    Posted to Eric's Blog (Weblog) by ericqu on februari 13, 2009
  • Send a Collection as Argument To A SQL Server Stored Procedure

    Sometimes it is necessary to send a complete collection as argument to a stored procedure. I recantley had a situation where I wanted to get information from the database dependeing on which windows groups/roles the user belonged to. I think that the easiest way to solve this problem is to send the collection as XML (if you don't use SQL Server ...
    Posted to Eric's Blog (Weblog) by ericqu on december 5, 2008
  • The Small Things: Getting the Names of the Users Windows Roles

    UPDATE 2008-12-06: After Dominick Baier's comment (thanks!), I have now updated the code to be more effecient. Since .NET 2.0 it has been possible to get the groups that a user belongs to, by accessing the Groups property of the WindowsIdentity class. What you get when from the property is an IdentityReference, which in turn has a Value property. ...
    Posted to Eric's Blog (Weblog) by ericqu on december 2, 2008
  • Move Your Synchronous Code to Be Asynchronous

    We, as developers, must begin to use more asynchronous thinking when we develop applications. Processors don't get any faster, they just gets more cores that can do more work simultaneously, but that is no good for us if we don’t use it. Microsoft is for example working on ParallelFX, which probably will be included in .NET 4.0. There is ...
    Posted to Eric's Blog (Weblog) by ericqu on september 25, 2008
  • Microsoft Sync Framework 1.0

    Today I noticed that Microsoft Sync Framework v1.0 became available for donwload in the beginning of august. I have not heard or read much about it since TechEd 2007, but the sessions I joined on TechEd presented a promising picture of this important piece of technology. A couple of years ago I wrote an occassionally connected client with bits ...
    Posted to Eric's Blog (Weblog) by ericqu on september 23, 2008
  • redgate Acquired .NET Reflector

    I just learned from a former colleague that redgate has acquired .NET Reflector. Read more at redgates web.
    Posted to Eric's Blog (Weblog) by ericqu on augusti 21, 2008
  • Adding Objects to EntitySet<> does not Refresh Grid

    I run into an issue with grids not showing newly added objects in one of my projects a couple of days ago. We use LINQ to SQL classes and the client is built according to the MVP pattern and what we want to do is of course to add child objects to the collections in the presenter class. The problem with this though is that the newly added object ...
    Posted to Eric's Blog (Weblog) by ericqu on mars 21, 2008
  • How to Use SchemaImporterExtension for DataSets

    I recently blogged about the much improved Add Service Reference dialog in Visual Studio 2008. If you have DataSets exposed in your web services it will still generate new Datasets from the schemas and not reuse your existing DataSets even if you have a reference to the DataSet-project. The new dialog handles this without problem for you ...
    Posted to Eric's Blog (Weblog) by ericqu on mars 20, 2008
  • Manually Issue a SAML token

    In my requirements for the STS implementation I wanted to be able to use the SAML token in the client and I also wanted to log in the user against the STS when the user logs in through the GUI and not when the first call to a service is made. To be able to fulfill this I need to manually issue a SAML token and set the token to my custom principal ...
    Posted to Eric's Blog (Weblog) by ericqu on januari 30, 2008
  • Modifying the Configuration File as Part of the Build

    A common problem is the need of different configurations in development, test and production environments. For example it's very common to have different databases, and therefore its necessary to modify the connectionStrings section when moving from development to test. Visual Studio 2005 Web Deployment Projects contains a solution for this, but ...
    Posted to Eric's Blog (Weblog) by ericqu on januari 16, 2008
  • Exposing the SAML Token to the Business Logic

    When a business service receives a SAML token, WCF will extract the SAML attributes (containing the information) as claims and make it available as a ClaimSet that can be reached through the AuthorizationContext. This not the way I would like my business logic to work with the information available in the SAML token though, because that will thigh ...
    Posted to Eric's Blog (Weblog) by ericqu on december 11, 2007
  • WCF Security Token Service (STS)

    Almost three years ago I started to think in the terms of having an infrastructure service to handle security like verifying users, getting which roles they belong to and so on. Back then it was WSE 3 in a beta and no information available on the Internet (that I could find anyway). I had heard of WS-Trust and I had also seen a sample on an event ...
    Posted to Eric's Blog (Weblog) by ericqu on december 4, 2007
  • TechEd: Service Factory V3

    First of all, the service factory version 3 will be released any minute now. I've just listen to Don Smith from pattern & practices and he hopes that he got the sign of on the bits by now so that he can release version 3 after this session. Version 3 main goal is to enable model driven creation of services, but it also wanted to enable the ...
    Posted to Eric's Blog (Weblog) by ericqu on november 7, 2007
  • TechEd: Keynote

    TechEd keynote this year is presented by S. Somasegar (Corporate Vice President of the Developer Division, Microsoft) and we've got some great seating not far from the stage (super early bid benefit).   Announcment: Microsoft Sync Framework CTPSoftware + Services Blueprints from pattern & practices Visual Studio 2008 and .Net Framework 3.5 ...
    Posted to Eric's Blog (Weblog) by ericqu on november 5, 2007
  • Using VS 2008 for .NET 2/3 Projects

    I started to use Visual Studio 2008 for some development when it was released in Beta 2. The projects still targets .NET 2.0 and 3.0, but one nice thing with using VS 2008 is that it is possible to use some of the new compiler goodies. For example there is a new short version of writing properties.public string Context { get; set; }By writing a ...
    Posted to Eric's Blog (Weblog) by ericqu on oktober 29, 2007
1 2 3 4 5 Next > ... Last »
Powered by Community Server, by Telligent Systems