Posts

Showing posts from July, 2012

Probing element in app.config + Post build event to copy multiple files

Probing is quite good to arrange assemblies in case if you have lots of private libraries referred to your executables and which are there under a probing path mentioned under the probing element in app.config file When I started developing an executable , which demands to split its logic among several dlls and which are part of same solution and are deployed using simple xcopy method I found it quite convenent to use probing path combined with postbuild script under project properties section of the main executable file . Here in my example project, I have a dll project and an executable , which has been refered by the executable project in the same solution The following post-script build script save me from copying the required files into Binaries\Libs folder strcuture under the current selected build method(Release/Debug) . This is quite convenient in case to perform an xcopy of your binaries to the deployment folder. All the unwanted .vshost , pdb,manifest etc  files are

WatiN+CassiniDev project Provide automated testing of your asp.net webforms

WatiN  (pronounced as What-in)   http://watin.org/ WatiN is developed in C# and aims to bring an easy way to automate tests with Internet Explorer and FireFox using .Net Read code project article on WatiN and nUnit http://bit.ly/Mv1RZj CassiniDev project http://cassinidev.codeplex.com/ CassiniDev project is to provide an open platform for developing a robust ASP.Net web server CassiniDev is packaged as a standalone WinForms GUI application, a console application and library assembly suitable for self hosting and in automated testing scenarios including continuous integration and as a 100% compatible drop-in replacement for the Visual Studio 2008/2010 development server. Combining CassiniDev project  +  WatiN  + VisualStudioTestProject OR nUnit + your asp.net web application project = Automated asp.net webform testing without providing a moke object for your asp.net page I have made one sample application which can be downloaded by accessing URL  http://bit.ly/MvcvPS  (Goo