Pages

Monday, May 28, 2012

Entity Framework

http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-a-more-complex-data-model-for-an-asp-net-mvc-application
MVC
Joins

Saturday, May 19, 2012

publishing MVC3 to amazon using free linux and mono

http://www.integratedwebsystems.com/2011/12/get-started-with-amazon-ec2-run-your-net-mvc3-razor-site-in-the-cloud-with-linux-mono-2/

Friday, May 18, 2012

New Log Reporting, Database Management, and other cool admin modules for IIS 7

http://weblogs.asp.net/scottgu/archive/2008/03/26/new-log-reporting-database-management-and-other-cool-admin-modules-for-iis-7.aspx

Tuesday, April 10, 2012

Windows Installer Guide
http://msdn.microsoft.com/en-us/library/aa370905(v=vs.85).aspx

Basic MSI custom actions
http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx

You can condition custom actions that are sequenced after InstallValidate to handle major upgrades by using the UPGRADINGPRODUCTCODE property:

  • If you want a custom action to run during an uninstallation of the product, but not during the removal of the product by a major upgrade, use this condition.

    REMOVE="ALL" AND NOT UPGRADINGPRODUCTCODE

If you want a custom action to run only during a major upgrade, use this condition.

UPGRADINGPRODUCTCODE

ALSO...

http://stackoverflow.com/questions/537584/how-to-execute-custom-action-only-in-install-not-uninstall


Add a condition on the action so it's only triggered during installation, not uninstallation.

Action run only during Install

NOT Installed AND NOT PATCH 

Action runs during Install and repair

NOT REMOVE 

Run on initial installation only:

NOT Installed 

Run on initial install or when repair is selected.

NOT Installed OR MaintenanceMode="Modify" 

Finally, to only run an action during uninstall use the following condition:

REMOVE 

Wednesday, March 21, 2012

Sunday, December 18, 2011

Drop in two-factor authentication control, used by the likes of CloudKick.com

Thursday, December 01, 2011

Securing a .Net Remoting

We were experimenting with hosting our server on Azure and connecting remotely from our legacy desktop client.  Of course, this meant the client/server connection, which relies on .Net Remoting needed to be secured.  As it turned out, this only required a change in the app.config to set "secure=true". In the end, securing a .Net Remoting connection was fairly simple.  http://www.codeguru.com/columns/dotnet/article.php/c10253

Sunday, October 16, 2011

Good article on UINavigationController
Explains the basics well, and suggests how to use it programatically.
http://www.shrinkrays.net/articles/monotouch-controllers-by-example/uinavigationcontroller-by-example.aspx

Tuesday, October 11, 2011

Important ASP.Net tip on "deleting" from a link


http://stephenwalther.com/blog/archive/2009/01/21/asp.net-mvc-tip-46-ndash-donrsquot-use-delete-links-because.aspx