alkampfer on November 28th, 2009

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 [...]

kick it on DotNetKicks.com

Continue reading about Database Edition Custom Rule

alkampfer on November 28th, 2009

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 [...]

kick it on DotNetKicks.com

Continue reading about Try visual studio beta with windows 7 with xp mode

alkampfer on November 27th, 2009

I really believe that Lab Management is the most exiting stuff introduced with VS2010, and I’m happy that it has a dedicated blog, take a look at it Alk. Tags: LabManagement

kick it on DotNetKicks.com

Continue reading about VS2010 lab management blog

alkampfer on November 26th, 2009

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”> [...]

kick it on DotNetKicks.com

Continue reading about Wcf over https, authentication with asp.net membership

alkampfer on November 26th, 2009

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 [...]

kick it on DotNetKicks.com

Continue reading about vsdbcmd.exe, overriding variable value