Geeks With Blogs

Michael Freidgeim's Blog MS .Net Development
I've recently did some work with PowerShell ISE and missed a few features,that I wish to have in the ISE.1.It will be good to Stop debugger(Shift-F5) icon on toolbar2.In the popup----------------------... PowerShell ISE------------------------... cannot edit any script files in Windows PowerShell ISE while the debugger is running. To edit ......

I wanted to call from batch file powershell script that required administrative privileges.I needed to check, if it was started as Administrator and also set current directory where the batch is located.Thanks to couple of stackoverflow questions I've got this batch@echo offpushd %~dp0 &:: @http://stackoverflow.com/q... ......

In our PowerShell scripts for different folder it's required to delete if exist and create empty folder. To avoid to repeat folder name in three commands I've created a functionfunction DeleteIfExistsAndCreateEmpt... ){ if ( Test-Path $dir ) { Remove-Item -Recurse -Force $dir } New-Item -ItemType Directory -Force -Path $dir} ......

I haven't used Pocket on IPad for the last 2 years and was shocked that the ability to rename articles is still missing. It was available in Read It Later and was one of the biggest issues after Pocket forcibly replaced it.Four years later they acknowledged that it is one of the top requests but nothing is currently planned. It's just ridiculous. Previously ......

I needed to read CSV files with columns, containing strings in double quotes. The problem was that there were new lines within the column. Fortunately I found the article that reads the strings with multiple lines http://www.blackbeltcoder.c... article that I considered ,but haven't used ishttp://blogs.msdn.com/b/e... ......

I wanted to implement rich text editor in ASP.Net Web Form. I found that Tiny MCE editor is very popular and selected it.I've followed the article http://blog.tentaclesoftwar... and it was enough to make it workingAnother article, that I read was http://www.aspsnippets.com/... ......

I wanted to verify, are DataTables in DataSets the same. I found a few similar implementations on StackOverflow, but the one that I've selected (http://stackoverflow.com/q... didn't work and returned unexpectedly false, when comparing two cells with the same values tbl1.Rows[i][c] 2 object ......

When writing Integration Tests for WCF Services, you have 2 options to access SUT(system under test)1. Inproc – Test Classes are calling methods from application DLLs directly.2. External – Tests are calling external services using client proxy with specified URL.If you own the code of the service, the Inproc method is preferred as it is allow to test ......

Our team need to choose a JS framework. Base on the research Angular is the preferred framework. The only essential concern - if you need to support old IE6/7 browsers(but also there are articles how to support/workaround the IE issues)From http://www.quora.com/JavaSc... supports almost all ......

After some merge of source code branches I've got a build error POSTSHARP : error PS0052: The plug-in "PostSharp.Patterns.Diagnos... required by the type "PostSharp.Patterns.Diagnos... was not found. [C:\Builds\\MAIN_Master\Sou... wasn't able to find immediately which code caused the error, ......

The following C# line to call AutoFixture methodfixture.Create<Lis... Error 63 'System.Collections.Generic... is a 'type' but is used like a 'variable' It wasn't obvious, that closing '>' was missing. I believe that compiler can recognize ......

Recently I've setup Visual Studio on new machine and I wanted to install a few tools, that I am using all the time.It includes Resharper, GhostDoc(aka ctrl-shift-d) http://visualstudiogallery.... - alternative to VS 2012 pending window ( http://stackoverflow.com/qu... ......

After creating new build type 32bitDebug (based on Debug) according to How to: Create and Edit Configurations I received the following error during compileError 409 WebServiceBindingAttribute is required on proxy classes. C:\TFS\myProject\SGEN MyAssemblyNameThe instructions from SO answer http://stackoverflow.com/qu... ......

Some time ago I have discussion with my co-worker how to organize test projects. Should we have a single test project that does all sorts of things and references every project?It is good to have one integration test dll, but for unit tests, what is the point merging everything into one.In ideal world I agree that small independent projects are better. ......

I've posted below a few Office customization tips, that I prefer to setup when using a new computer.Display File Path in Excelfrom http://excelexperts.com/Exc... to display the file path of the current open file (Excel 2007):Right click on the ribbonChoose "Customise quick access toolbar"Select "All commands"Then choose ......

Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net | Join free