Shahar Gvirtz's Weblog

Browse by Tags

All Tags » C# (RSS)
DTOGenerator: Easily Generate Data Transfer Objects from ADO.NET Entity Framework or LINQ to SQL Data Classes
In my previous post I wrote about a small utility that automatically generates Data Transfer Objects from LINQ to SQL Data Classes. Few days ago I had the time to add an important feature – the application can now generate DTO’s from ADO.NET Entity Framework...
an Open Source Utility that Automatically Create Data Transfer Objects based on LINQ to SQL Data Classes
Few weeks ago I posted in my Hebrew blog a post about using Data Transfer Objects to work with LINQ to SQL and ADO.NET Entity Framework (that currently both of them doesn’t support working with POCO). One of the comments I got was that using DTO’s takes...
IPSWeb – Web Client for Windows PowerShell
Yesterday, I published small application I developed called IPSWeb . This application is actually web client for Windows PowerShell. It’s very simple, to install this application you create new IIS website, copy the files to the website directory and...
How-To: Use ClickOnce to deploy your Applications
Part 1 - What is ClickOnce? CickeOnce, is a technology for deploying smart-client applications. When we talk about smart-client application that deployed with ClickOnce, we want that the application will: Provide automatic installation in one click. Install...
Dynamic Data Web Application - Part 1
ASP.NET 3.5 Extensions is a package of new controls and tools that improve the existing ASP.NET 3.5. One of the interesting (and time-saving) features, is the Dynamic Data Controls. Dynamic Data Controls can be used to build easily, almost without writing...
How to run PowerShell script from command-let
Sometimes, we want to run PowerShell script from command-let that derives from PSCmdlet (If you derived from Cmdlet, you can't use this way). To do so, we just have to use this code: 1: using System.Management.Automation; 2: using System.Collections.ObjectModel;...
[Tip] Option Explicit in PowerShell
Someone asked me how we can set Windows PowerShell to work like in VB when you specify Option Explicit. How to disable using of variables that didn't defined in the code. In this way, you know for sure that you aren't use undefined variable and get unexpected...
How to get the full command line
Someone asked me, and I post here the answer - sometimes, we want to get from our command-let the command that the user entered to use our command-let. we want the full line, with all the command-lets in the pipeline and all the parameters. In this case...
Cmdlet vs. PSCmslet - Windows PowerShell
When you write a Command-Let in Windows PowerShell, you must derive from one of the following classes: System.Management.Automation.Cmdlet or System.Management.Automation.PSCmdlet. One of the most popular questions from beginners PowerShell developers...
Use C# 3 features from C# 2 and .NET 2.0 code (var keyword, anoynoymous types, auto-properties and more from .NET 2.0 project)
Visual Studio 2008 and .NET 3.5 are already here, but some of us, sometimes, still need to use .NET 2.0. Visual Studio 2008, support in a new feature called “Multi Targeting”. You can use Visual Studio 2008 ad IDE for .NET 2.0 and .NET 3.0...
More Posts