in

DotNetMarche

.NET Framework User Group delle Marche

Browse by Tags

  • Regular expression and performances

    Regular expressions are really powerful, but sometimes they can be quite slow, especially when you have to deal with large amount of data. I have a lot of string in database that have this format …text…||…anothertext…||..anothertext… and we need to split using || as separator...
    Posted to ExternalBlogs (Weblog) by Anonymous on 26 Oct 2009
  • Implement a simple undoable editing with a winform GridView

    I need to implement a very simple interface, the user loads from a service a certain amount of objects displayed into a gridview. Then selecting an object in the gridview the user can edit object properties in a detail panel situated under the grid. Specification ask me to 1) avoid that the user update...
    Posted to ExternalBlogs (Weblog) by Anonymous on 22 Oct 2009
  • Subtle differences from VB and C#

    For those who works like me with both languages, sometimes we can encounter some subtle differences between VB and C#. Take this code in VB Module Module1 Private Function NormalizeRank(ByVal userRank As Integer) As Integer Return CType(Math.Ceiling(Math.Min(userRank / 20, 5.0)), Integer...
    Posted to ExternalBlogs (Weblog) by Anonymous on 15 Oct 2009
  • Generate a certificate for Wcf service with windows server 2003

    In the previous post, I showed how to setup authentication with asp.net membership in wsHttpBinding for a Wcf server, and in that post I showed how to use the utility makecert.exe to generate temporary certificates. In production environment you should generate certificates with a Certification Authority...
    Posted to ExternalBlogs (Weblog) by Anonymous on 09 Sep 2009
  • Use Asp.Net Membership provider with a WCF .svc service

    Yesterday I literally lost 4 hours trying to do the following thing: Exposing a wcf service with wsHttpBinding, and using the same asp.net membership database used by the site. I encountered many problems, and I decided to write this post to explain the steps that makes everything work for me. First...
    Posted to ExternalBlogs (Weblog) by Anonymous on 08 Sep 2009
  • Test database with Nunit make easy with Visual Studio Team System For Database Edition

    I have a project born without VSTS database edition, all tests to database are done using custom preload scripts that run .sql scripts to regenerate a sandbox database to use for unit testing. This turns to be a quite good system, but it requires manteniance, since every time you change the database...
    Posted to ExternalBlogs (Weblog) by Anonymous on 06 Aug 2009
  • Installing Visual Studio Team System 2008 Database Edition GDR R2

    Today I need to install VSDB edition GDR into a older virtual machine, I just fired the installer and got this error. Visual Studio Team System 2008 Database Edition GRD Does Not Apply or is blocked by another condition on your system. Please click the link below for more details. If you click the...
    Posted to ExternalBlogs (Weblog) by Anonymous on 06 Aug 2009
  • Writing extension for Msbuild

    Msbuild is microsoft build engine, and I showed some time ago how you can write a custom task to post in twitter the outcome of a build result. Now it is time to give a greater focus on how to write a good task. Creating a Task is a simple matter of inheriting from the [...]
    Posted to ExternalBlogs (Weblog) by Anonymous on 01 Aug 2009
  • Expression tree to the rescue

    I have a little validation library that must support localized error messages, it uses a simple techniques, when you set an error message for a specific validator, if you do not want localization you can simply pass a single string, but if you want message to be localized, you specified two strings,...
    Posted to ExternalBlogs (Weblog) by Anonymous on 27 Jul 2009
  • What makes a poor programmer happy.

    I must create a duplicate of a database in another server, I need to duplicate only the structure of actual production database to use with a test web application to check how the webapp works with an empty database. I simply fired a command prompt, went to output directory of my database project, and...
    Posted to ExternalBlogs (Weblog) by Anonymous on 10 Jul 2009
Page 1 of 8 (73 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Commercial Edition), by Telligent Systems