In a recent project we use the standard VS 2008 Web Installer Project to create a MSI to setup a web application. This worked fine before but after some recent changes the installer stopped at almost 100% and rolled back. After creating a log (by executing msiexec from the command line and specifying the /lv [...]
Posts Tagged ‘C#’
Update to Windows AppFabric Server available
There is a minor update available for the Windows AppFabric Server (not to be confused with the Windows Azure AppFabric). The beta 2 refresh supports the just released .NET 4 and Visual Studio 2010 versions. Download link: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=8197ad8d-673f-4efb-b165-82710f2648c3#filelist Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale and [...]
Create a UCMA application with presence aware workflow
In a webcast which I did together with Joachim Farla about Unified Communications Development For Non Professional Developers I talked about creating a UCMA workflow. It is based on the inbound/outbound sample which you can download from GotUC.net. It is a pretty simple application; it starts a collaboration platform, registers an OCS endpoint and begins [...]
Visual Studio 2010 is released
When you follow the Microsoft news you probably heard it: Visual Studio 2010 is released. You can download your version from the MSDN subscriber pages, but you can also get the free express editions. Happy coding!
MeasureTime function with Action
A small piece of code; if you want to test the speed of a function, you can use a timer. I created a helper function to capture this stopwatch timer. It executes your code and shows the amount of time it took to execute the action. Feedback is welcome. /// <summary> /// Measures the time [...]
Handling the The remote certificate is invalid according to the validation procedure exception
If your application accesses a webservice or other type of service where a secure connection is required by the use of SSL, you need to make sure this SSL certificate is valid. On a development machine this is not always possible. At runtime the application will throw an exception: System.Security.Authentication.AuthenticationException: The remote certificate is invalid [...]
Create predicates with the PredicateBuilder
When passing a predicate to a function, you can use lambda expressions like this: a => a.Id == 1 This is a nice way to specify strongly typed expressions to a function which can be checked at compile time. But what if you want to create an expression based on some parameters? You want to dynamically add [...]
Use Google charts in a secure site using ASP.MVC
For a recent project I did I needed a way to show a chart (pie) to the user. There are a lot of libraries available for this, but I needed something quick to implement without installing a lot of code, but with the flexibility and the right looks. Google Charts looked like a nice way [...]