Keep getting error below after deleting a web resource file from VS>Organization>Web Resources>Data(XML) I had to delete one of the resource file as it was not deploying updated version. After deletion and on deployment I kept getting above error… Checked … Read More
Microsoft
How to run Asynchronous task and override it
We need to run Asynchronous task due to some requirements but we want that to be override able, unfortunately that is not possible however we can create Asynchronous method but then call that method inside of Synchronous method and make … Read More
CRM Linq The ‘select’ and ‘orderBy’ calls may only reference a single common entity type
When using Linq query in CRM you might come across error below.. “The ‘select’ and ‘orderBy’ calls may only reference a single common entity type” Above error usually comes up if you are joing multiple entites and returning a value … Read More
How to install and uninstall a window service created in C#
First make sure you have all files you need to install a Windows Service (dll, sql, anything else needed) To install a Windows service use the command below installutil MyWindowService.exe First open Developer Command Prompt for Visual Studio andthen navigate … Read More
How to debug a Windows Service in Visual Stdio once it is installed
To debug a Windows Service once it has been installed followthe steps below 1)Copy the pdb files in the same folder where restof the dlls are for Windows Service 2)Go to visual studio and Tools>Attach toProcess 3)Look for something with … Read More
How to run a task asynchronously using Windows Service C#
How to run a task asynchronously using Windows Service C# If you need to run something, let’s say every 10 minutes or hours we can use C# to develop a Windows Service in Visual Studio and that will do the … Read More
Windows Service: Command Text property has not been initialized
Windows Service: Command Text property has not been initialized When calling a SQL query in Windows service might throw an error Command Text property has not been initialized Usually this error is that Windows Service can’t find SQL query code. … Read More
How to install a Window Service on server without visual studio tools
If need to install a window service on a server where Visual Studio is not installed or you don’t have Visual Studio tools then follow the steps below 1) You can find InstallUtil.exe at following directoryC:\Windows\Microsoft.NET\Framework64\v4.0.30319 (depending on system it could … Read More
Simple tutorial to create Xaml Workflow in Visual studio 2013
Create a simple Workflow console application using Xaml Workflow Go to new project in Visual Studio 2013 and select Installed>Templates>Visual C#>Workflow>Workflow Console Application Give it a name “WindowsWorkflow.ConsoleApp” Delete Workflow1.xaml file as we will be adding a new file Right … Read More
How to Add a Datagrid in WPF
–Datagrid in WPF 1) Create a Datagrid <DataGrid x:Name=”uxHistory” AutoGenerateColumns=”False” IsReadOnly=”True” Margin=”0,5,0,0″> </DataGrid> 2) then define datagrid column <DataGrid.Columns></DataGrid.Columns> 3) Now add DataGridTemplateColumn field to actually specify data related to each column <DataGridTemplateColumn Header=”{DynamicResource ResourceKey=RegistrationSearchControl.ApplicationNumber.TextBlock.Text}” Width=”Auto”></DataGridTemplateColumn> 4)<DataGridTemplateColumn.CellTemplate></DataGridTemplateColumn.CellTemplate> 5) <DataTemplate></DataTemplate> 6) … Read More