One of the coolest feature of Visual Studio Database Edition is the ability to run Rules against a database project, like fxcop against a c# project. And the coolest part about this feature is that is really simple to write a custom rule. Rules are important, I’ve seen project where there is no naming rule [...]
This is not a new tip, it was already gave by many others, but it worth mentioning again. When you want to try beta software the best solution is using a virtual machine, to avoid the installer to break your dev machine. With windows7 you have another option, the xp mode. AS you can see [...]
Continue reading about Try visual studio beta with windows 7 with xp mode
In last article I explained how to configure WCF to secure a service with https, with no authentication, now I want to show you the configuration needed to enable role and user membership using a standard asp.net provider. Here is the service definition on the server <service behaviorConfiguration=”WsHttpWithAuthBehavior” name=”MyProject.DoSomethingService”> <endpoint address=”https://mydomain.it/DoSomethingService.svc” binding=”wsHttpBinding” name=”MyService” bindingConfiguration=”wsHttps” contract=”MyProject.IDoSomethingService”> [...]
Continue reading about Wcf over https, authentication with asp.net membership
When you deploy a database project with the command line utility vsdbcmd.exe you may want to change the value of some variables of the project. Suppose you’ve created a variable called Path1 And you have used this variable to specify the location of the files ALTER DATABASE [$(DatabaseName)] ADD FILE (NAME = [Northwind], FILENAME [...]
Continue reading about vsdbcmd.exe, overriding variable value





