Welcome to RightHand's community place Sign in | | Help

Browse by Tags

All Tags » .net 3.5

Entity Framework leaves the door open to a SQL Injection attack?

I couldn’t believe it when I read Julie Lerman’s post about EF and SQL Injection . She discovered that Entity Framework doesn’t use parameterized queries always! I had to try it for myself on Northwind database: var query = from c in
Posted by Miha Markic | 7 Comments
Filed under: ,

Calling WCF services from within Sql Server

It is possible to create a managed .net stored procedure for SQL Server that acts like a WCF client. SQL Server 2005 at least is required. But I won't talk about how to. I'd rather discuss an odd error you can encounter while performing this stunt. On
Posted by Miha Markic | 0 Comments
Filed under: , ,

Using extension methods to make code less cluttered

Here is an example where an extension method is useful. Take this LLBLGen Pro code for example: public EntityCollection < CustomersEntity > GetCustomers() { using (DataAccessAdapter da = new DataAccessAdapter( " Data Source=[SERVER];Initial
Posted by Miha Markic | 3 Comments

Visual Studio, CodeRush and Silverlight 2

If your Visual Studio 2005 or 2008 freezes while creating a Silverlight project, or any other project then you might try switching off CodeRush add in. Yep, it causes Visual Studio to freeze when creating a shinny new Silverlight 2.0 application. I am
Posted by Miha Markic | 0 Comments
Filed under: ,

Minimum database permissions for using SqlDependency with SQL Server 2005

If you wonder what minimum permissions you need to use SqlDependency with SQL Server 2005 then look no further. This code project article definitely works and is the most complete one I've found. Note that setting minimum database permissions for notification
Posted by Miha Markic | 0 Comments
Filed under: ,

Material from my &quot;Making ORM applications more secure/Naredimo ORM aplikacije varnejše&quot; presentation

I posted both slides and demo code from my " Making ORM applications more secure/Naredimo ORM aplikacije varnejše " presentation held at Bleeding Edge conference in Portorož on 1.10.2008. The material is in Slovene language. Enjoy.
Posted by Miha Markic | 1 Comments

Righthand has joined LLBLGenPro partners

I am proud to announce that today, after years of experience with LLBLGenPro development, I've become an official LLBLGenPro partner . As such I am offering consultancy and development with LLBLGenPro , the #1 ORM product for .net. Do you want to
Posted by Miha Markic | 2 Comments

Visual Studio 2008 SP1 most peculiar installation known issue

I was reading VS2008 SP1 known issues file and this issue struck me: 2.1.4 Visual Studio 2008 SP1 installation fails when the Windows Vista sidebar is enabled . Visual Studio 2008 SP1 installation fails when the Windows Vista sidebar is on. To resolve
Posted by Miha Markic | 3 Comments
Filed under:

Visual Studio 2008/.net 3.5 SP1 is out!

Go get the long awaited SP1 now. A warning though (make sure you read IMPORTANT paragraph below the links): If you previously installed a Visual Studio 2008 Hotfix, you must run the Hotfix Cleanup Utility before installing Visual Studio 2008 SP1. For
Posted by Miha Markic | 1 Comments
Filed under:

Creating wrappers for sealed and other types for mocking

Did you ever wanted to mock a sealed class or non-virtual methods? Unless you are using TypeMock you are in for some coding as there is no easy way to mock them just like that (I am fiddling with MOQ but AFAIK no mock framework is capable of mocking sealed
Posted by Miha Markic | 2 Comments
Filed under: ,

Can't start World Wide Web Publishing Service because of Windows Process Activation Service

Recently I had to check out an asp.net application on my workstation and found out that the "Default Web Site" is stopped for some reason. After trying to start it I've got this message: So I've tried to start the mentioned services
Posted by Miha Markic | 0 Comments
Filed under: ,

Developer Express offers free Silverlight grid: agDataGrid

That's a Silverlight 2.0 data grid of course. They won't just ship agDataGrid for free, they'll include full source code, too. Looks like WPF and Silverlight are making companies to give away their grids for free (first Xceed with their DataGrid for WPF
Posted by Miha Markic | 1 Comments

Linq to LLBLGen Pro hits the RTM!

LLBLGen Pro v2.6 is released and a free upgrade to v2.x customers. The major feature of this release is Linq to LLBLGen Pro, as Frans said, " one of the most feature-rich Linq providers available on .net today ". Having tested beta versions I can only
Posted by Miha Markic | 0 Comments
Filed under: ,

NTKonferenca 2008 Entity Framework slides

You can download the slides of my Entity Framework presentation from NTKonferenca 2008 . I hope you've enjoyed the presentation.
Posted by Miha Markic | 1 Comments
Filed under: , ,

LLBLGen Pro gets LINQ capability

My favorite ORM tool just got better - Frans implemented Linq to LLBLGen Pro . He really implemented it to the last detail as he writes in a series of blog post (a must read for everybody doing LINQ to an ORM product). If you are a customer go grab the
Posted by Miha Markic | 0 Comments
Filed under: , ,
More Posts Next page »